From 10717c720d083e7b901666de5f348b8845eeeea1 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 16 May 2003 07:59:52 +0000 Subject: Fix from Alex Deiter Reversed check. (This used to be commit 542ee1d3d6401c4d03770f07cfc907d016e166b4) --- source3/passdb/pdb_ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c index 0989a1b2ef..1ae706f6f0 100644 --- a/source3/passdb/pdb_ldap.c +++ b/source3/passdb/pdb_ldap.c @@ -1963,7 +1963,7 @@ static BOOL init_sam_from_ldap (struct ldapsam_privates *ldap_state, pdb_set_user_sid_from_string(sampass, temp, PDB_SET); } - if (!get_single_attribute(ldap_state->ldap_struct, entry, + if (get_single_attribute(ldap_state->ldap_struct, entry, get_userattr_key2string(ldap_state->schema_ver, LDAP_ATTR_PRIMARY_GROUP_SID), temp)) { pdb_set_group_sid_from_string(sampass, temp, PDB_SET); -- cgit