diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-12-05 04:48:51 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-12-05 04:48:51 +0000 |
commit | 3278f563b961d84997e19e6e78bded348cb79b5c (patch) | |
tree | 0332aad00bf0a7625b36791caec88502a5f88eee /source3/nsswitch/winbindd_user.c | |
parent | 19c0459153bd6f0ea56b84f78725a77bb70be138 (diff) | |
download | samba-3278f563b961d84997e19e6e78bded348cb79b5c.tar.gz samba-3278f563b961d84997e19e6e78bded348cb79b5c.tar.bz2 samba-3278f563b961d84997e19e6e78bded348cb79b5c.zip |
finally worked out how to do ldap lookups by binary blobs, so I can
now do searches on SID. This allows me to do a true ldap sid_to_name()
function
one one function to go!
(This used to be commit 7d44aa3915bc88fd2b2f8454f190b11677cbb848)
Diffstat (limited to 'source3/nsswitch/winbindd_user.c')
-rw-r--r-- | source3/nsswitch/winbindd_user.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/nsswitch/winbindd_user.c b/source3/nsswitch/winbindd_user.c index 52122a4f29..d9b2b5a0e6 100644 --- a/source3/nsswitch/winbindd_user.c +++ b/source3/nsswitch/winbindd_user.c @@ -163,8 +163,7 @@ enum winbindd_result winbindd_getpwnam_from_user(struct winbindd_cli_state *stat sid_split_rid(&user_sid, &user_rid); - status = domain->methods->query_user(domain, mem_ctx, name_user, user_rid, - &user_info); + status = domain->methods->query_user(domain, mem_ctx, user_rid, &user_info); if (!NT_STATUS_IS_OK(status)) { DEBUG(1, ("pwnam_from_user(): error getting user info for " "user '%s'\n", name_user)); @@ -259,8 +258,7 @@ enum winbindd_result winbindd_getpwnam_from_uid(struct winbindd_cli_state *state return WINBINDD_ERROR; } - status = domain->methods->query_user(domain, mem_ctx, user_name, user_rid, - &user_info); + status = domain->methods->query_user(domain, mem_ctx, user_rid, &user_info); if (!NT_STATUS_IS_OK(status)) { DEBUG(1, ("pwnam_from_uid(): error getting user info for " "user '%s'\n", user_name)); |