Projects
Kolab:3.4
cyrus-imapd
0010-do-not-apply-ptloader-ldap-root-dn-discove...
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0010-do-not-apply-ptloader-ldap-root-dn-discovery.patch of Package cyrus-imapd (Revision 54)
Currently displaying revision
54
,
Show latest
diff --git a/ptclient/ldap.c b/ptclient/ldap.c index b45a1a0..8e30e53 100644 --- a/ptclient/ldap.c +++ b/ptclient/ldap.c @@ -946,7 +946,7 @@ static int ptsmodule_get_dn( if (rc != PTSM_OK) return rc; - if (ptsm->domain_base_dn && (strrchr(canon_id, '@') != NULL)) { + if (ptsm->domain_base_dn && ptsm->domain_base_dn[0] != '\0' && (strrchr(canon_id, '@') != NULL)) { syslog(LOG_DEBUG, "Attempting to get domain for %s from %s", canon_id, ptsm->domain_base_dn); /* Get the base dn to search from domain_base_dn searched on domain_scope with
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.