diff options
author | Günther Deschner <gd@samba.org> | 2005-07-27 15:11:20 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:00:17 -0500 |
commit | faa4b4a9f206b7c1352b77a71f4adbfce3913898 (patch) | |
tree | c1d968ecc2f5accf9a53a58a437a2dd4da57eccf /source3 | |
parent | 1106d1fa6bab66592780429eb1e9162b42a67e8e (diff) | |
download | samba-faa4b4a9f206b7c1352b77a71f4adbfce3913898.tar.gz samba-faa4b4a9f206b7c1352b77a71f4adbfce3913898.tar.bz2 samba-faa4b4a9f206b7c1352b77a71f4adbfce3913898.zip |
r8797: avoid unset rids for builtin-aliases.
Guenther
(This used to be commit c2810bcf662771113dccdd603cd658d19a09de80)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/passdb/pdb_ldap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c index b0c0dc1680..ee7a1f5b4c 100644 --- a/source3/passdb/pdb_ldap.c +++ b/source3/passdb/pdb_ldap.c @@ -3752,7 +3752,8 @@ static BOOL ldapgroup2displayentry(struct ldap_search_state *state, case SID_NAME_WKN_GRP: - if (!sid_check_is_in_builtin(&sid)) { + if (!sid_peek_check_rid(&global_sid_Builtin, &sid, &result->rid)) { + DEBUG(0, ("%s is not in builtin sid\n", sid_string_static(&sid))); return False; } |