mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
r3566: Completely replace the queryuseraliases call. The previous implementation does
not exactly match what you would expect. XP workstations during login actually do this, so we should better become a bit more correct. The LDAP query issued is not really fully optimal, but it is a lot faster and more correct than what was there before. The change in passdb.h makes it possible that queryuseraliases is done with a single ldap query. Volker
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
3298f6105e
commit
2508d4ed1e
@ -689,7 +689,7 @@ static int net_groupmap_memberships(int argc, const char **argv)
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (!pdb_enum_alias_memberships(&member, &aliases, &num)) {
|
||||
if (!pdb_enum_alias_memberships(&member, 1, &aliases, &num)) {
|
||||
d_printf("Could not list memberships for sid %s: %s\n",
|
||||
argv[0], nt_errstr(result));
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user