git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd8c8b0
)
fixed a problem with appliance operation
author
Andrew Tridgell
<tridge@samba.org>
Fri, 12 May 2000 05:10:32 +0000
(
05:10
+0000)
committer
Andrew Tridgell
<tridge@samba.org>
Fri, 12 May 2000 05:10:32 +0000
(
05:10
+0000)
(This used to be commit
acf9286e82b851e25ee863f673bff713a38002e7
)
source3/smbd/reply.c
patch
|
blob
|
history
diff --git
a/source3/smbd/reply.c
b/source3/smbd/reply.c
index 1fc377f36220d5ed704f85150142269df01647e2..5c80a615113165f6d89d0d9647ef5aac2389b117 100644
(file)
--- 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);
}