[Samba] How the program spoolss works ?

Rowland penny rpenny at samba.org
Fri Feb 7 10:07:48 UTC 2020


On 07/02/2020 09:54, nathalie ramat via samba wrote:
> Hello,
>
> In my directory /var/lib/samba/printers I have
>
> COLOR color  IA64  W32ALPHA  W32MIPS  W32PPC  W32X86  WIN40  x64
>
> I delete the directory  COLOR  and restart samba
You deleted the wrong one, you should have deleted 'color'
>
> but I have always the same error .
> I have perahps a problem of rights. the owner of the directory 
> /var/lib/samba/printers is root.
>
>
> Thanks for your help .
>
> That is my smb.conf
>
>
> # Global parameters
> [global]
>     netbios name = BUSTERSERVERSAM
>     realm = KILIMANDJARO.CALAIS.FR
>     server role = active directory domain controller
>     server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, 
> winbindd, ntp_signd, kcc, dnsupdate
>     workgroup = KILIMANDJARO
>     idmap_ldb:use rfc2307 = yes
>     log level = 3
>     log file=/var/log/samba/log.%M
>     max log size = 1000
>
>     host msdfs = no
>     vfs objects = acl_xattr
>     map acl inherit = yes
>     store dos attributes =yes
>
>     load printers = yes
>     printing = cups
>     printcap name = cups
>
>
>     security = user
>
>     winbind use default domain = yes
>     winbind separator = /
>     winbind enum groups =yes
>     winbind enum users = yes
>
OK, this is from a Samba AD DC, so remove these lines, they have no 
place in a DC smb.conf:

     host msdfs = no
     vfs objects = acl_xattr
     map acl inherit = yes
     store dos attributes =yes
     security = user
     winbind use default domain = yes

I would also remove these:

     winbind enum groups =yes
     winbind enum users = yes

They only make 'getent passwd' and 'getent group' work without supplying 
a username or groupname, they can also slow things down.

Rowland





More information about the samba mailing list