git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4afdc0
)
r4926: Use LDAP_SCOPE_ONELEVEL instead of OpenLDAP's LDAP_SCOPE_ONE-scope.
author
Günther Deschner
<gd@samba.org>
Sat, 22 Jan 2005 04:09:21 +0000
(
04:09
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:55:08 +0000
(10:55 -0500)
Guenther
(This used to be commit
eee0bd806b4fd4558f9c48c09f7e85274e2b807f
)
source3/passdb/pdb_ldap.c
patch
|
blob
|
history
diff --git
a/source3/passdb/pdb_ldap.c
b/source3/passdb/pdb_ldap.c
index 2691965364cce0328958039833b27737adad1c65..2994b06ef0a9785552cbe1345ea26d95aa2577b4 100644
(file)
--- a/
source3/passdb/pdb_ldap.c
+++ b/
source3/passdb/pdb_ldap.c
@@
-2921,7
+2921,7
@@
static NTSTATUS ldapsam_get_account_policy(struct pdb_methods *methods, int poli
search:
rc = smbldap_search(ldap_state->smbldap_state, base,
- LDAP_SCOPE_ONE, filter, attrs, 0, &result);
+ LDAP_SCOPE_ONE
LEVEL
, filter, attrs, 0, &result);
if (rc != LDAP_SUCCESS)
return ntstatus;
@@
-3033,7
+3033,7
@@
static NTSTATUS ldapsam_set_account_policy(struct pdb_methods *methods, int poli
get_global_sam_name(), lp_ldap_suffix());
rc = smbldap_search(ldap_state->smbldap_state, base,
- LDAP_SCOPE_ONE, filter, attrs, 0, &result);
+ LDAP_SCOPE_ONE
LEVEL
, filter, attrs, 0, &result);
if (rc != LDAP_SUCCESS)
return ntstatus;