diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-05-08 10:42:21 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-05-08 10:42:21 +0000 |
commit | 88ad00b82acc4636ab57dfe710af08ea85b82ff1 (patch) | |
tree | cd7a154b1e7e814870840c3a7c1255bb88ad0c72 /source/smbd/reply.c | |
parent | 1d3bd3c486bf9f6b6c9d5f6207f591f465517e1e (diff) | |
download | samba-88ad00b82acc4636ab57dfe710af08ea85b82ff1.tar.gz samba-88ad00b82acc4636ab57dfe710af08ea85b82ff1.tar.xz samba-88ad00b82acc4636ab57dfe710af08ea85b82ff1.zip |
added secrets.tdb and changed storage of trust account password to use
it
Diffstat (limited to 'source/smbd/reply.c')
-rw-r--r-- | source/smbd/reply.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c index 90d4200f5e3..7a818971d98 100644 --- a/source/smbd/reply.c +++ b/source/smbd/reply.c @@ -838,14 +838,7 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf,int strlower(user); - /* - * In share level security, only overwrite sesssetup_use if - * it's a non null-session share. Helps keep %U and %G - * working. - */ - - if((lp_security() != SEC_SHARE) || (*user && !guest)) - pstrcpy(sesssetup_user,user); + pstrcpy(sesssetup_user,user); reload_services(True); |