summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-03-24 15:25:05 +0100
committerJelmer Vernooij <jelmer@samba.org>2012-03-24 15:25:05 +0100
commit43f275008f1d68c6adee461c531d73c65b6b7483 (patch)
treece158dc3104c7b4332d097d8bb37b807ed654bd5 /source3/auth
parent818e0722e1a730cfa30d911be510641ef23dc446 (diff)
downloadsamba-43f275008f1d68c6adee461c531d73c65b6b7483.tar.gz
samba-43f275008f1d68c6adee461c531d73c65b6b7483.tar.bz2
samba-43f275008f1d68c6adee461c531d73c65b6b7483.zip
lib/util: Remove dummy wrapper for getpwuid().
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/token_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/auth/token_util.c b/source3/auth/token_util.c
index a84bcc1247..4a88a6bb72 100644
--- a/source3/auth/token_util.c
+++ b/source3/auth/token_util.c
@@ -93,9 +93,9 @@ struct security_token *get_root_nt_token( void )
cache_data, struct security_token);
}
- if ( !(pw = sys_getpwuid(0)) ) {
+ if ( !(pw = getpwuid(0)) ) {
if ( !(pw = getpwnam("root")) ) {
- DEBUG(0,("get_root_nt_token: both sys_getpwuid(0) "
+ DEBUG(0,("get_root_nt_token: both getpwuid(0) "
"and getpwnam(\"root\") failed!\n"));
return NULL;
}