summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-12-01 16:41:34 +0000
committerLuke Leighton <lkcl@samba.org>1998-12-01 16:41:34 +0000
commit2c0d91e64a6b330b209ca62c3306ec1a53fda873 (patch)
tree375ee21b7f3becd8583cc59a63c720a27bccaea7
parentf5cedb8c9618b83b63b5e2db867d238eebc7e13c (diff)
downloadsamba-2c0d91e64a6b330b209ca62c3306ec1a53fda873.tar.gz
samba-2c0d91e64a6b330b209ca62c3306ec1a53fda873.tar.xz
samba-2c0d91e64a6b330b209ca62c3306ec1a53fda873.zip
hm. removed the "if failed to map nt name to unix name, fail tcon call"
restriction and "domain user map" seems to work. amazing.
-rw-r--r--source/smbd/reply.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index 505067c83e5..bd238c130cc 100644
--- a/source/smbd/reply.c
+++ b/source/smbd/reply.c
@@ -263,10 +263,7 @@ int reply_tcon(connection_struct *conn,
parse_connect(smb_buf(inbuf)+1,service,user,password,&pwlen,dev);
- if (!map_nt_and_unix_username(global_myworkgroup, user))
- {
- return(connection_error(inbuf,outbuf,ERRbadpw));
- }
+ map_nt_and_unix_username(global_myworkgroup, user);
conn = make_connection(service,user,password,pwlen,dev,vuid,&ecode);
@@ -336,10 +333,7 @@ int reply_tcon_and_X(connection_struct *conn, char *inbuf,char *outbuf,int lengt
StrnCpy(devicename,path + strlen(path) + 1,6);
DEBUG(4,("Got device type %s\n",devicename));
- if (!map_nt_and_unix_username(global_myworkgroup, user))
- {
- return(connection_error(inbuf,outbuf,ERRbadpw));
- }
+ map_nt_and_unix_username(global_myworkgroup, user);
conn = make_connection(service,user,password,passlen,devicename,vuid,&ecode);