|
|
| |
if(ldap_basedn.len) { | if(ldap_basedn.len) { |
/* Save the BaseDN so it can be restored later. */ | /* Save the BaseDN so it can be restored later. */ |
if(! stralloc_copys(&basedn_orig, ldap_basedn.s) ) _exit(QLX_NOMEM); |
//if(! stralloc_copys(&basedn_orig, ldap_basedn.s) ) _exit(QLX_NOMEM); |
if(! stralloc_0(&basedn_orig)) _exit(QLX_NOMEM); |
//if(! stralloc_0(&basedn_orig)) _exit(QLX_NOMEM); |
} | } |
| |
/* To make sure we search below the correct DN, put the ControlDN in the BaseDN variable */ | /* To make sure we search below the correct DN, put the ControlDN in the BaseDN variable */ |