summaryrefslogtreecommitdiff
path: root/source4/winbind/wb_pam_auth.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2011-10-21 16:10:43 -0400
committerGünther Deschner <gd@samba.org>2011-10-24 19:19:28 +0200
commit8870daeb8d93e45320eb5bcfa58544d520dc7c69 (patch)
tree918faedfbb2b5f4b618323ee822590b78b4c2d50 /source4/winbind/wb_pam_auth.c
parentf3c25bc6a5f23a248f832fa58c59c16522ac255b (diff)
downloadsamba-8870daeb8d93e45320eb5bcfa58544d520dc7c69.tar.gz
samba-8870daeb8d93e45320eb5bcfa58544d520dc7c69.tar.bz2
samba-8870daeb8d93e45320eb5bcfa58544d520dc7c69.zip
idl: Improve MS-PAC IDL
Change some misleading variable names to reflect the actual function. Add missing field name/types previously marked as unkown. Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Oct 24 19:19:28 CEST 2011 on sn-devel-104
Diffstat (limited to 'source4/winbind/wb_pam_auth.c')
-rw-r--r--source4/winbind/wb_pam_auth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/winbind/wb_pam_auth.c b/source4/winbind/wb_pam_auth.c
index e09addac73..bcbc6286b5 100644
--- a/source4/winbind/wb_pam_auth.c
+++ b/source4/winbind/wb_pam_auth.c
@@ -170,9 +170,9 @@ static void pam_auth_crap_recv_logon(struct composite_context *ctx)
state->user_name = base->account_name.string;
talloc_steal(state, base->account_name.string);
}
- if (base->domain.string) {
- state->domain_name = base->domain.string;
- talloc_steal(state, base->domain.string);
+ if (base->logon_domain.string) {
+ state->domain_name = base->logon_domain.string;
+ talloc_steal(state, base->logon_domain.string);
}
state->unix_username = talloc_asprintf(state, "%s%s%s",