diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-11-05 23:34:00 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:53:09 -0500 |
commit | 2508d4ed1e16c268fc9f3676b0c6a122e070f93d (patch) | |
tree | a5bfc8a9d8be2eeb91778e4fe0c37cddd6c166ad /source/utils | |
parent | 3298f6105e6a88c9390cac02245c8f2eee1e5046 (diff) | |
download | samba-2508d4ed1e16c268fc9f3676b0c6a122e070f93d.tar.gz samba-2508d4ed1e16c268fc9f3676b0c6a122e070f93d.tar.xz samba-2508d4ed1e16c268fc9f3676b0c6a122e070f93d.zip |
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
Diffstat (limited to 'source/utils')
-rw-r--r-- | source/utils/net_groupmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/utils/net_groupmap.c b/source/utils/net_groupmap.c index 3431196b1e6..b2d96041dc3 100644 --- a/source/utils/net_groupmap.c +++ b/source/utils/net_groupmap.c @@ -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; |