summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-11-21 22:37:03 +0000
committerJeremy Allison <jra@samba.org>2000-11-21 22:37:03 +0000
commit7254a66e00f47578ebcb207368a7e33dede31c22 (patch)
treea78f77e43fa79ea7c2541326d6d8e712999c6907 /source3/smbd
parent14067f9c9ce1ea4d0301c0c8c7ba71278234d1bb (diff)
downloadsamba-7254a66e00f47578ebcb207368a7e33dede31c22.tar.gz
samba-7254a66e00f47578ebcb207368a7e33dede31c22.tar.bz2
samba-7254a66e00f47578ebcb207368a7e33dede31c22.zip
Don't forget to convert into UNIX character set before calling
winbindd. Jeremy. (This used to be commit 00cd72c385f1e5d075dbacf834b68769b5ac38f3)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index dd53eb46e7..5942d63206 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -863,7 +863,7 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf,int
that */
if (!getpwnam(user)) {
pstring user2;
- slprintf(user2,sizeof(user2),"%s%s%s", domain, lp_winbind_separator(), user);
+ slprintf(user2,sizeof(user2),"%s%s%s", dos_to_unix(domain,False), lp_winbind_separator(), user);
if (getpwnam(user2)) {
DEBUG(3,("Using unix username %s\n", user2));
pstrcpy(user, user2);