mirror of
https://github.com/samba-team/samba.git
synced 2025-01-31 01:48:16 +03:00
Merge JohnR's patch.
Removed extra copy of server name in the printername field (it was mangling the the name to be \\server\\\server\printer ... yes, there were 3 backslashes) reported by get & enum jobs level 2. Jeremy.
This commit is contained in:
parent
2b5664823e
commit
d079edf732
@ -6137,9 +6137,7 @@ static BOOL fill_job_info_2(JOB_INFO_2 *job_info, print_queue_struct *queue,
|
||||
|
||||
job_info->jobid=queue->job;
|
||||
|
||||
slprintf(chaine, sizeof(chaine)-1, "\\\\%s\\%s", get_called_name(), ntprinter->info_2->printername);
|
||||
|
||||
init_unistr(&job_info->printername, chaine);
|
||||
init_unistr(&job_info->printername, ntprinter->info_2->printername);
|
||||
|
||||
init_unistr(&job_info->machinename, temp_name);
|
||||
init_unistr(&job_info->username, queue->fs_user);
|
||||
|
Loading…
x
Reference in New Issue
Block a user