Add back sys_getpwnam() and freinds to the system.c interface, but don't
[kai/samba.git] / source3 / lib / util_pw.c
index 47711788c79aec84061b5af78a99b7f75391d242..9d075a05e885bfc080f7257c3298a2cbcdbd8d5c 100644 (file)
@@ -56,7 +56,7 @@ struct passwd *getpwnam_alloc(const char *name)
 {
        struct passwd *temp;
 
-       temp = getpwnam(name);
+       temp = sys_getpwnam(name);
        
        if (!temp) {
 #if 0
@@ -74,7 +74,7 @@ struct passwd *getpwuid_alloc(uid_t uid)
 {
        struct passwd *temp;
 
-       temp = getpwuid(uid);
+       temp = sys_getpwuid(uid);
        
        if (!temp) {
 #if 0