From dd8f9b5491e92b04bc0c13df265698e97a3ea3c2 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 12 May 2000 05:10:32 +0000 Subject: fixed a problem with appliance operation (This used to be commit acf9286e82b851e25ee863f673bff713a38002e7) --- source3/smbd/reply.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') 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); } -- cgit