[Samba] Automating cupsaddsmb or some alternative

David Morel david.morel at amakuru.net
Tue Apr 8 06:25:19 GMT 2003


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

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.

users declared as printer admin can upload drivers on the server, which
is what you want; IIRC it can be done through the NT/2K printer setup
interface, and drivers go into the designated share.

It is mentined in a couple of howtos around; a bit of googleing wouldn't
hurt. try "printer driver automation samba"

you're not supposed to restart samba every time; wouldn't a killall -HUP
~ smbd do the job? I remember seeing somewhere that the config file was
re-read at regular intervals anyway(to be confirmed).

| 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//
|


- --
***********************************************
david.morel at amakuru.net
OpenPGP public key: http://www.amakuru.net/dmorel.asc
28192ef126bc871757cb7d97f4a44536

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+kmtPqr7QF98duCMRAk8sAKCJ1oh5W8oq4fx9zbVuGkgZCAWUowCgnVaZ
xAMhMEd6YoJtg7c3K2IWsIA=
=m+5d
-----END PGP SIGNATURE-----



More information about the samba mailing list