X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Fldap.c;h=f4bffb0aa3240c69ce77c5d614249e89c19bf07e;hp=7a5b18060d06affd8754a44260cba640b74c15e3;hb=738d978faebcf47543d9310c9ccd784ba457ee63;hpb=6a82444d499be104e019899b9bdc8a14ad0cbd0f diff --git a/citadel/ldap.c b/citadel/ldap.c index 7a5b18060..f4bffb0aa 100644 --- a/citadel/ldap.c +++ b/citadel/ldap.c @@ -600,6 +600,16 @@ void CtdlSynchronizeUsersFromLDAP(void) syslog(LOG_DEBUG, "\033[33mldap: display name: <%s> , uid = <%d>\033[0m", fullname, uid); // FIXME now create or update the user + int i; + struct ctdluser usbuf; + + i = getuserbyuid(&usbuf, uid); + if (i == 0) { + syslog(LOG_DEBUG, "\033[32m...and that user EXISTZ0RS!!!\033[0m"); + } + else { + syslog(LOG_DEBUG, "\033[31m...and that user D0EZ N0T EXISTZ0R!!\033[0m"); + } }