summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2003-05-16 07:59:52 +0000
committerSimo Sorce <idra@samba.org>2003-05-16 07:59:52 +0000
commit10717c720d083e7b901666de5f348b8845eeeea1 (patch)
tree44875d24293b64ec45c7a36f29b94a94b428fb0b /source3/passdb
parent9e9849c0ee5cfc79dc51e29c8015d9c53fa4bfcc (diff)
downloadsamba-10717c720d083e7b901666de5f348b8845eeeea1.tar.gz
samba-10717c720d083e7b901666de5f348b8845eeeea1.tar.bz2
samba-10717c720d083e7b901666de5f348b8845eeeea1.zip
Fix from Alex Deiter <tiamat@komi.mts.ru>
Reversed check. (This used to be commit 542ee1d3d6401c4d03770f07cfc907d016e166b4)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_ldap.c2
1 files changed, 1 insertions, 1 deletions
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);