summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-05-12 05:10:32 +0000
committerAndrew Tridgell <tridge@samba.org>2000-05-12 05:10:32 +0000
commitacf9286e82b851e25ee863f673bff713a38002e7 (patch)
treec7217f417c2cfc2ccf8ab5a0ebe4ae60821a844c /source
parente20ef3c082f2448587f7d9002d57a897ecde092d (diff)
downloadsamba-acf9286e82b851e25ee863f673bff713a38002e7.tar.gz
samba-acf9286e82b851e25ee863f673bff713a38002e7.tar.xz
samba-acf9286e82b851e25ee863f673bff713a38002e7.zip
fixed a problem with appliance operation
Diffstat (limited to 'source')
-rw-r--r--source/smbd/reply.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index 1fc377f3622..5c80a615113 100644
--- a/source/smbd/reply.c
+++ b/source/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);
}