summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-12-19 02:50:44 +0000
committerJeremy Allison <jra@samba.org>2001-12-19 02:50:44 +0000
commit9648cd0c0fb39f3ba0874547d79639db2b238d1a (patch)
treecfbb45bbaaf549ea4340fa98860014ea1cf18acc /source3
parentea274ac97ff5c46c5f910c38b463d6a553dea9e6 (diff)
downloadsamba-9648cd0c0fb39f3ba0874547d79639db2b238d1a.tar.gz
samba-9648cd0c0fb39f3ba0874547d79639db2b238d1a.tar.bz2
samba-9648cd0c0fb39f3ba0874547d79639db2b238d1a.zip
Patch from dan_thibadeau@hp.com to allow domain set in authfile.
Jeremy. (This used to be commit 5700cbbd3fc0175932890df5f5ceb4931ba50dd3)
Diffstat (limited to 'source3')
-rw-r--r--source3/client/client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index c1b4ade011..52c032e130 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -2648,7 +2648,8 @@ static int do_message_op(void)
}
else if (strwicmp("username", param) == 0)
pstrcpy(username, val);
-
+ else if (strwicmp("domain", param) == 0)
+ pstrcpy(workgroup,val);
memset(buf, 0, sizeof(buf));
}
x_fclose(auth);