summaryrefslogtreecommitdiff
path: root/source3/smbd/reply.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-02-16 00:24:43 +0000
committerJeremy Allison <jra@samba.org>2001-02-16 00:24:43 +0000
commit62dc55a43295e9e3abd9da13148b322b3aa89917 (patch)
treeb8d50b8d786eea9c0accdd8b3d1d07709bf84d95 /source3/smbd/reply.c
parentddfac242e3c6b16b93a6fabf73f837cd5ffe216a (diff)
downloadsamba-62dc55a43295e9e3abd9da13148b322b3aa89917.tar.gz
samba-62dc55a43295e9e3abd9da13148b322b3aa89917.tar.bz2
samba-62dc55a43295e9e3abd9da13148b322b3aa89917.zip
configure configure.in smbd/posix_acls.c smbd/dosmode.c: Fix for zero permission W2K profiles.
libsmb/cliconnect.c rpc_client/cli_login.c smbd/reply.c: codepage fixes from Tim. Jeremy. (This used to be commit 3ded1e6bd5f79948e437ce5b1799705945f36ad2)
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index e1feb921f5..402f9db754 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -837,17 +837,16 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf,int
fstrcpy(user,p);
p = skip_string(p,1);
/*
- * Incoming user is in DOS codepage format. Convert
+ * Incoming user and domain are in DOS codepage format. Convert
* to UNIX.
*/
dos_to_unix(user,True);
domain = p;
-
+ dos_to_unix(domain, True);
DEBUG(3,("Domain=[%s] NativeOS=[%s] NativeLanMan=[%s]\n",
domain,skip_string(p,1),skip_string(p,2)));
}
-
DEBUG(3,("sesssetupX:name=[%s]\n",user));
/* If name ends in $ then I think it's asking about whether a */