populating printer location from CUPS
Gerald (Jerry) Carter
jerry at samba.org
Fri Mar 16 19:32:32 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andy,
> We were in need to populate printer location information from
> CUPS to Samba and further to AD. Attached patch implements
> function transferring the location and comment from CUPS
> server to NT_PRINTER_INFO_LEVEL structure. Then the
> patch adds call to this function into nt_printer_publish,
> but there might be better place for this...
The better place is to add it to get_a_printer_2() if the
location field is an empty string. I'll make that change.
The modification to print_cups.c looks pretty good to me.
cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFF+vDPIR7qMdg1EfYRAiDHAKDDQ8sakHQ6RrPrOkr+oRiXgZTyFgCfUbyr
4YzVX9H/koLLeBISYQ7WQ9Q=
=cIXb
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list