1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

issues spotted by herb.

This commit is contained in:
Luke Leighton 0001-01-01 00:00:00 +00:00
parent 2c438c86cb
commit 57e0254946
2 changed files with 3 additions and 3 deletions

View File

@ -381,9 +381,9 @@ void cmd_sam_add_aliasmem(struct client_info *info)
uint32 flags = 0x200003f3; /* absolutely no idea. */
uint32 alias_rid;
const char **names = NULL;
uint32 num_names = 0;
int num_names = 0;
DOM_SID *sids = NULL;
uint32 num_sids = 0;
int num_sids = 0;
int i;
sid_copy(&sid1, &info->dom.level5_sid);

View File

@ -147,7 +147,7 @@ static void smbw_printjob_add(struct print_job_info *job)
finfo.atime = job->t;
finfo.ctime = job->t;
finfo.uid = (uid_t)-1;
nametouid(job->user, finfo.uid);
nametouid(job->user, &finfo.uid);
finfo.mode = aRONLY;
finfo.size = job->size;