summaryrefslogtreecommitdiff
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
commit5700cbbd3fc0175932890df5f5ceb4931ba50dd3 (patch)
tree958e56ef6b120e1fa78ed75a57a1265e45817ed8
parent589aa4fe226ee5bdae0a244631193714b0b556ac (diff)
downloadsamba-5700cbbd3fc0175932890df5f5ceb4931ba50dd3.tar.gz
Patch from dan_thibadeau@hp.com to allow domain set in authfile.
Jeremy.
-rw-r--r--source/client/client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/client/client.c b/source/client/client.c
index c1b4ade011d..52c032e1309 100644
--- a/source/client/client.c
+++ b/source/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);