git.samba.org
/
abartlet
/
samba.git
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make getpwnam_alloc() static to lib/username.c, and ensure all username lookups go
[abartlet/samba.git/.git]
/
source3
/
auth
/
server_info_sam.c
diff --git
a/source3/auth/server_info_sam.c
b/source3/auth/server_info_sam.c
index 4731ad44f1ada9d5dcb0fcdb4f1b861a3a4cddc5..c09ae764b95cd60142e124b7bfc52dc74bce79c2 100644
(file)
--- a/
source3/auth/server_info_sam.c
+++ b/
source3/auth/server_info_sam.c
@@
-70,7
+70,7
@@
NTSTATUS make_server_info_sam(struct auth_serversupplied_info **server_info,
return NT_STATUS_NO_MEMORY;
}
- if ( !(pwd =
getp
wnam_alloc(result, username)) ) {
+ if ( !(pwd =
Get_P
wnam_alloc(result, username)) ) {
DEBUG(1, ("User %s in passdb, but getpwnam() fails!\n",
pdb_get_username(sampass)));
TALLOC_FREE(result);