[Samba] Problems uploading printer drivers

Gerald (Jerry) Carter jerry at samba.org
Tue Jul 12 20:40:01 GMT 2005


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

Greg Baker wrote:

| I'm using samba v.3.0.10 on Gentoo.
|
| I am using security=user.
|
| Also, as a response to the person who mentioned
| directory permissions...  All  of the directories
| in /var/lib/samba are owned by root:wheel and the
| printer  admin is @wheel.  When I upload the
| drivers, they get owned by  gbaker:cs-study, which
| is my uid and primary gid.  I chmod'd all the
| directories 775, except for /var/lib/samba/private..which
| is 770.
|
| My print$ share is set up as follows..
|
| [print$]
|    comment = Printer Driver Download Area
|    path = /var/lib/samba/drivers
|    browseable = no
|    guest ok = no
|    read only = yes
|    write list = @wheel
|    create mask = 0664
|    directory mask = 0775

Greg,

In release < 3.0.11 you need to set the printer admin
option in the [global] section of smb.conf to give
user's the necessary permission to update the nt*tdb
files.  CHeck that this is working (sounds like it is).
And make sure that you don't have 'use client driver
= yes' set anywhere in smb.conf.





cheers, jerry
=====================================================================
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"I never saved anything for the swim back."     Ethan Hawk in Gattaca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC1CqhIR7qMdg1EfYRAtGzAKDVWtcbEdJnH2vizHsbfBPXCbwaMwCg5mJo
zd51hCowuTkRhB+X2K+NYtY=
=AfoQ
-----END PGP SIGNATURE-----


More information about the samba mailing list