From a5d5b4cf2555b9bbded31b556d4fc74c00c6c490 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 14 Jun 2002 14:12:27 +0000 Subject: Allow non unix accounts to be added to an ldap directory without NUA accounts already. Andrew Bartlett --- source/passdb/pdb_ldap.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/passdb') diff --git a/source/passdb/pdb_ldap.c b/source/passdb/pdb_ldap.c index 7ba8d4a8101..0a160714198 100644 --- a/source/passdb/pdb_ldap.c +++ b/source/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; } -- cgit