st = smb_fname->st;
TALLOC_FREE(smb_fname);
- pwd = sys_getpwuid(st.st_ex_uid);
+ pwd = getpwuid(st.st_ex_uid);
if (pwd != NULL) user = pwd->pw_name;
else user = null_string;
grp = sys_getgrgid(st.st_ex_gid);
return NT_STATUS_UNSUCCESSFUL;
}
- pwd = sys_getpwuid(st.st_ex_uid);
+ pwd = getpwuid(st.st_ex_uid);
if (pwd != NULL) user = pwd->pw_name;
else user = null_string;
grp = sys_getgrgid(st.st_ex_gid);
st = smb_fname->st;
TALLOC_FREE(smb_fname);
- pwd = sys_getpwuid(st.st_ex_uid);
+ pwd = getpwuid(st.st_ex_uid);
if (pwd != NULL) user = pwd->pw_name;
else user = null_string;
grp = sys_getgrgid(st.st_ex_gid);