Parse a PRINTER_INFO_2 structure
Gerald Carter
jerry at samba.org
Wed Oct 9 18:02:01 GMT 2002
On Mon, 30 Sep 2002, Stefan (metze) Metzmacher wrote:
> Hi Jerry,
>
> I was playing a bit with the addprinter command...
>
> I got this parameters:
>
> printer->info_2->printername = \smb-1\PRT02SW
> printer->info_2->sharename = PRT02SW
>
> Shouldn't it be:
>
> printer->info_2->printername = PRT02SW
> printer->info_2->sharename = \smb-1\PRT02SW
>
> maybe the PRINTER_INFO_2 structure isn't parsed in the right order???
>
> I use a win XP machine and HEAD
I can some win32 tests apps against a 2k server to verify.
The printername is the UNC path to the printer and the share
name is just that (not a UNC path name). So it appears we are
correct.
cheers, jerry
More information about the samba-technical
mailing list