diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-05-12 05:10:32 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-05-12 05:10:32 +0000 |
commit | dd8f9b5491e92b04bc0c13df265698e97a3ea3c2 (patch) | |
tree | 75f1ee391e6171da4d2a087516db185e9541c151 /source3 | |
parent | dd8c8b0c3575cd9bbfb375acd28993a8c4ab5ae9 (diff) | |
download | samba-dd8f9b5491e92b04bc0c13df265698e97a3ea3c2.tar.gz samba-dd8f9b5491e92b04bc0c13df265698e97a3ea3c2.tar.bz2 samba-dd8f9b5491e92b04bc0c13df265698e97a3ea3c2.zip |
fixed a problem with appliance operation
(This used to be commit acf9286e82b851e25ee863f673bff713a38002e7)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/reply.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 1fc377f362..5c80a61511 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -855,10 +855,10 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf,int /* if the username exists as a domain/username pair on the unix system then use that */ - if (!Get_Pwnam(user, False)) { + if (!getpwnam(user)) { pstring user2; slprintf(user2,sizeof(user2),"%s/%s", domain, user); - if (Get_Pwnam(user2, True)) { + if (getpwnam(user2)) { DEBUG(3,("Using unix username %s\n", user2)); pstrcpy(user, user2); } |