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:
89f5301
)
Allow non unix accounts to be added to an ldap directory without NUA accounts
author
Andrew Bartlett
<abartlet@samba.org>
Fri, 14 Jun 2002 14:12:27 +0000
(14:12 +0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Fri, 14 Jun 2002 14:12:27 +0000
(14:12 +0000)
already.
Andrew Bartlett
(This used to be commit
a5d5b4cf2555b9bbded31b556d4fc74c00c6c490
)
source3/passdb/pdb_ldap.c
patch
|
blob
|
history
diff --git
a/source3/passdb/pdb_ldap.c
b/source3/passdb/pdb_ldap.c
index 7ba8d4a81017952c468d14b1e60575077cef5581..0a160714198cb7d0663f05008f7d5f3e84d1b07d 100644
(file)
--- a/
source3/passdb/pdb_ldap.c
+++ b/
source3/passdb/pdb_ldap.c
@@
-1048,6
+1048,10
@@
static uint32 search_top_nua_rid(struct ldapsam_privates *ldap_state, LDAP *ldap
}
ldap_msgfree(result);
+
+ if (top_rid < ldap_state->low_nua_rid)
+ top_rid = ldap_state->low_nua_rid;
+
return top_rid;
}