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
/
lib
/
util.c
diff --git
a/source3/lib/util.c
b/source3/lib/util.c
index 36d966126e1388c9140e175f0d51d1a4bc1a4857..36b2e422e2177b073ea48e8897fa6d9cb321cb98 100644
(file)
--- a/
source3/lib/util.c
+++ b/
source3/lib/util.c
@@
-1306,7
+1306,7
@@
uid_t nametouid(const char *name)
char *p;
uid_t u;
- pass =
getp
wnam_alloc(talloc_tos(), name);
+ pass =
Get_P
wnam_alloc(talloc_tos(), name);
if (pass) {
u = pass->pw_uid;
TALLOC_FREE(pass);