Lines 403-410
Link Here
|
403 |
|
403 |
|
404 |
if(ldap_basedn.len) { |
404 |
if(ldap_basedn.len) { |
405 |
/* Save the BaseDN so it can be restored later. */ |
405 |
/* Save the BaseDN so it can be restored later. */ |
406 |
if(! stralloc_copys(&basedn_orig, ldap_basedn.s) ) _exit(QLX_NOMEM); |
406 |
//if(! stralloc_copys(&basedn_orig, ldap_basedn.s) ) _exit(QLX_NOMEM); |
407 |
if(! stralloc_0(&basedn_orig)) _exit(QLX_NOMEM); |
407 |
//if(! stralloc_0(&basedn_orig)) _exit(QLX_NOMEM); |
408 |
} |
408 |
} |
409 |
|
409 |
|
410 |
/* To make sure we search below the correct DN, put the ControlDN in the BaseDN variable */ |
410 |
/* To make sure we search below the correct DN, put the ControlDN in the BaseDN variable */ |