Patch from dan_thibadeau@hp.com to allow domain set in authfile.
authorJeremy Allison <jra@samba.org>
Wed, 19 Dec 2001 02:50:44 +0000 (02:50 +0000)
committerJeremy Allison <jra@samba.org>
Wed, 19 Dec 2001 02:50:44 +0000 (02:50 +0000)
Jeremy.
(This used to be commit 5700cbbd3fc0175932890df5f5ceb4931ba50dd3)

source3/client/client.c

index c1b4ade011d99a33ae63e1239faa397c5393887b..52c032e1309ac606a1778d7c66c4c97fad110c61 100644 (file)
@@ -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);