[Samba] unable to upload printer driver
Rowland Penny
rpenny at samba.org
Tue Dec 6 15:15:50 UTC 2016
On Tue, 06 Dec 2016 15:26:32 +0100
Heinz Hölzl via samba <samba at lists.samba.org> wrote:
> Hi list,
>
> i have a samba member-server in a samba4-AD with cups.
> cups works fine, i can print the testpage from cups and from a
> windowsclient. but, i am not able to upload a printer driver to a
> samba4 print-server:
>
> i followed this howto:
> https://wiki.samba.org/index.php/Configuring_Point%27n%27Print_automatic_printer_driver_deployment
>
>
Try setting your smb.conf to something like this:
[global]
netbios name = PAGH
security = ADS
workgroup = KLINGONS
realm = KLINGONS.GVCC.NET
log level = 3
dedicated keytab file = /etc/krb5.keytab
kerberos method = secrets and keytab
winbind refresh tickets = yes
winbind use default domain = yes
winbind nss info = template
template homedir = /home/%U
template shell = /bin/bash
idmap config *: backend = tdb
idmap config *:range = 300000-400000
idmap config KLINGONS : backend = ad
idmap config KLINGONS : schema_mode = rfc2307
idmap config KLINGONS : range = 500-290000
hosts allow = localhost, 100.0.0.0/255.0.0.0, 172.27.0.0/255.255.0.0, 172.20.0.0/24
# For ACL support on domain member
vfs objects = acl_xattr
map acl inherit = Yes
store dos attributes = Yes
load printers = yes
printing = cups
printcap name = cups
[printers]
path = /srv/samba/var/spool
printable = yes
printing = CUPS
[print$]
path = /srv/samba/Printer_drivers/
comment = Printer drivers
read only = no
Follow this wiki page:
https://wiki.samba.org/index.php/Setup_a_Samba_print_server#Setup_the_.5Bprinters.5D_share
Then the page you referred and use windows ACLs not posix ACLs
I also take it you have given your users & groups uidNumber or
gidNumber attributes.
Rowland
More information about the samba
mailing list