diff options
author | Andrew Bartlett <abartlet@samba.org> | 2007-08-02 13:08:39 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:01:27 -0500 |
commit | e0779e2d3bb29c16fc4215e78cda8764bce15767 (patch) | |
tree | 3fed4eddc9dc2130ba141328113b903e595f7558 /source4/winbind | |
parent | fc9471c4df4cbdda8917a6c06640214bfd956602 (diff) | |
download | samba-e0779e2d3bb29c16fc4215e78cda8764bce15767.tar.gz samba-e0779e2d3bb29c16fc4215e78cda8764bce15767.tar.bz2 samba-e0779e2d3bb29c16fc4215e78cda8764bce15767.zip |
r24127: Set the Domain SID into the libnet context, and have libnet_UserInfo
return full SIDs for the user SID and primary group sid.
This should help kai with his getpwnam work in winbind.
Andrew Bartlett
(This used to be commit 078671d5015c63e4bcd96815e150dae918763b83)
Diffstat (limited to 'source4/winbind')
-rw-r--r-- | source4/winbind/wb_init_domain.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/winbind/wb_init_domain.c b/source4/winbind/wb_init_domain.c index 54b1589e27..96810e0e2c 100644 --- a/source4/winbind/wb_init_domain.c +++ b/source4/winbind/wb_init_domain.c @@ -396,6 +396,7 @@ static void init_domain_recv_samr(struct composite_context *ctx) talloc_steal(state->domain->libnet_ctx->samr.pipe, state->domain->samr_binding); state->domain->libnet_ctx->samr.access_mask = SEC_FLAG_MAXIMUM_ALLOWED; state->domain->libnet_ctx->samr.name = state->domain->info->name; + state->domain->libnet_ctx->samr.sid = state->domain->info->sid; state->domain->ldap_conn = ldap4_new_connection(state->domain, state->ctx->event_ctx); |