[Samba] Automating cupsaddsmb or some alternative

Corey McGuire coreyfro at coreyfro.com
Tue Apr 8 00:21:28 GMT 2003


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.
Two, I need to log in via console or SSH to run cupsaddsmb, and I need to
then authenticate.

I was wondering if there was a way that I could streamline this a bit so
they'd never have to do any of that.  Also, not killing samba would be
nice, as there will be up to 200 people per print server.

Thanks!




/\/\/\/\/\/\ Nothing is foolproof to a talented fool. /\/\/\/\/\/\

coreyfro at coreyfro.com
http://www.coreyfro.com/
http://stats.distributed.net/rc5-64/psummary.php3?id=196879
ICQ : 3168059

-----BEGIN GEEK CODE BLOCK-----
GCS d--(+) s: a-- C++++$ UBL++>++++ P+ L+ E W+++$ N+ o? K? w++++$>+++++$
O---- !M--- V- PS+++ PE++(--) Y+ PGP- t--- 5(+) !X- R(+) !tv b-(+)
Dl++(++++) D++ G+ e>+++ h++(---) r++>+$ y++*>$ H++++ n---(----) p? !au w+
v- 3+>++ j- G'''' B--- u+++*** f* Quake++++>+++++$
------END GEEK CODE BLOCK------

Home of Geek Code - http://www.geekcode.com/
The Geek Code Decoder Page - http://www.ebb.org/ungeek//



More information about the samba mailing list