[Samba] Automating cupsaddsmb or some alternative

Gerald (Jerry) Carter jerry at samba.org
Wed Apr 9 15:32:06 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 7 Apr 2003, Corey McGuire wrote:

> I am developing a print server for a client, and I need to make the ability
> to add and configure print servers as simple as possible.  So far, cups and
> samba are top notch, but there are two problems I have.
> 
> One, I need to restart the samba service every time I add a printer.

A solution to this has been suggested.  We need to implement a printcap 
cache time and reload printers periodically when "printing = cups"
I just haven't had time to do it.

> Two, I need to log in via console or SSH to run cupsaddsmb, and I need to
> then authenticate.

There are several ways to automate  smbclient and rpcclient 
(which cupsmbadd uses IIRC).  I didn't think it had to be local.  
If so, the would be a cupsmbadd issue since [smb|rpc]client has no 
problems installing drivers on remote servers.



cheers, jerry
 ----------------------------------------------------------------------
 Hewlett-Packard            ------------------------- http://www.hp.com
 SAMBA Team                 ---------------------- http://www.samba.org
 GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
 "You can never go home again, Oatman, but I guess you can shop there."  
                            --John Cusack - "Grosse Point Blank" (1997)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE+lDz2IR7qMdg1EfYRAuY2AKDhszOB47zQAIXS/gnqxTH3yqWxqgCg3yw7
dRCYT96uU1rHJ8YMLDOdiMo=
=pb5R
-----END PGP SIGNATURE-----



More information about the samba mailing list