mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-17 14:00:30 +08:00
objectclass=* -> NULL
This commit is contained in:
parent
816ace24cf
commit
250a816549
@ -252,7 +252,7 @@ GLOB_STRUCT *glob;
|
||||
char *cPtr, *ptype;
|
||||
char *tattr;
|
||||
|
||||
if ( (rc = ldap_search_s( ld, dn, LDAP_SCOPE_BASE, "objectClass=*",
|
||||
if ( (rc = ldap_search_s( ld, dn, LDAP_SCOPE_BASE, NULL,
|
||||
NULL, 0, &res )) != LDAP_SUCCESS ) {
|
||||
do_error(fp, rc, NOT_FOUND, glob);
|
||||
return;
|
||||
@ -342,7 +342,7 @@ GLOB_STRUCT *glob;
|
||||
|
||||
timeout.tv_sec = glob->timeout;
|
||||
timeout.tv_usec = 0;
|
||||
if ( (rc = ldap_search_st( ld, dn, LDAP_SCOPE_BASE, "objectClass=*",
|
||||
if ( (rc = ldap_search_st( ld, dn, LDAP_SCOPE_BASE, NULL,
|
||||
NULL, 0, &timeout, &res )) != LDAP_SUCCESS ) {
|
||||
do_error(fp, rc, NOT_FOUND, glob);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user