diff options
Diffstat (limited to 'source/smbwrapper/smbw_dir.c')
-rw-r--r-- | source/smbwrapper/smbw_dir.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/smbwrapper/smbw_dir.c b/source/smbwrapper/smbw_dir.c index 95b2ac4b642..3dd10d49253 100644 --- a/source/smbwrapper/smbw_dir.c +++ b/source/smbwrapper/smbw_dir.c @@ -146,7 +146,8 @@ static void smbw_printjob_add(struct print_job_info *job) finfo.mtime = job->t; finfo.atime = job->t; finfo.ctime = job->t; - finfo.uid = nametouid(job->user); + finfo.uid = (uid_t)-1; + nametouid(job->user, finfo.uid); finfo.mode = aRONLY; finfo.size = job->size; |