Web lists-archives.com

[Samba] Problem with automatic drivers




Dear,
         i try config with automatic drivers in samba no work. I can
printing with the printers but no add automatic drivers.

I use too, "smbpasswd -a root", no have problems.

Exists pastes.

ls /var/lib/samba/drivers/
IA64  W32ALPHA  W32MIPS  W32PPC  W32X86  WIN40  x64

Version:
samba-4.4.4 (Centos 7)


testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions

################################################3
My config:
cat /etc/samba/smb.conf
# See smb.conf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.

[global]
workgroup = SAMBA
security = user

passdb backend = tdbsam

printing = cups
printcap name = cups
load printers = yes
cups options = raw

[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes

[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = Yes

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
#write list = root
create mask = 0664
directory mask = 0775
write list = impressora
        inherit permissions = yes

#####################

net -S localhost -U root -W delorean1 rpc rights grant 'delorean1'
SePrintOperatorPrivilege
Enter root's password:
Successfully granted rights.

######################

[root@delorean1 ~]# smbclient -L localhost
Enter root's password:
Anonymous login successful
Domain=[SAMBA] OS=[Windows 6.1] Server=[Samba 4.4.4]

Sharename       Type      Comment
---------       ----      -------
print$          Disk      Printer Drivers
IPC$            IPC       IPC Service (Samba 4.4.4)
Ricoh-Aficio-MP-5002 Printer   CIB
Anonymous login successful
Domain=[SAMBA] OS=[Windows 6.1] Server=[Samba 4.4.4]

Server               Comment
---------            -------

Workgroup            Master
---------            -------

-- 
<<<<<<<<<<<<<<<<<<<------------------------------------------------------------------->>>>>>>>>>>>>>>>>>>

< Disse-lhe Jesus: Eu sou o caminho, e a verdade e a vida; ninguém vem ao
Pai, senão por mim >
                                                             (João 14:6)

                                                                    Att.
                                        ♪ ♫  Luiz Guilherme Nunes
Fernandes  ♫ ♪

<<<<<<<<<<<<<<<<<<<------------------------------------------------------------------->>>>>>>>>>>>>>>>>>>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba