Enviada: Sex Set 22, 2006 4:42 pm Assunto: WARNING: passdb expand explicit = yes is deprecated
Tudo bem pessoal, gostaria de saber se alguém tem a solução para este problema, já procurei por toda a net, google e foruns que conheço por uma solução, e não encontrei, até já vi mais gente com o problema, mas não encontrei a solução resolvido.
Aqui estou configurando uma máquina para ser servidor Samba e autenticar em LDAP, já desabilitei o SELinux na instalação e no momento em que rodo o testparm no smb.conf sempre há o retorno da msg "WARNING: passdb expand explicit = yes is deprecated"
testparm smb.conf
Load smb config files from smb.conf
Processing section "[homes]"
Processing section "[netlogon]"
Processing section "[printers]"
Loaded services file OK.
WARNING: passdb expand explicit = yes is deprecated
Server role: ROLE_DOMAIN_PDC
O que faço???
Abaixo meu smb.conf, já configurei o /etc/openldap/slapd.conf e o /etc/ldap.conf, e o serviço ldap está funcionando normalmente.
[global]
workgroup = Samba
netbios name = secinfo1
server string = Servidor Samba
enable privileges = yes
hosts allow = 192.168.10. 127.
printcap name = /etc/printcap
load printers = yes
printing = cups
time server = yes
log file = /var/log/samba/%m.log
max log size = 100
security = user
ldap passwd sync = Yes
passdb backend = ldapsam:ldap://127.0.0.1/
ldap admin dn = cn=Manager,dc=29bib,dc=net
ldap suffix = dc=29bib,dc=net
ldap group suffix = ou=Groups
ldap user suffix = ou=Users
ldap machine suffix = ou=Computers
ldap ssl = start_tls
add machine script = /usr/local/sbin/smbldap-useradd -w "%u"
add user script = /usr/local/sbin/smbldap-useradd -m "%u"
ldap delete dn = Yes
add group script = /usr/local/sbin/smbldap-groupadd -p "%g"
add user to group script = /usr/local/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/local/sbin/smbldap-groupmod -x "%u" "%g"
set primary group script = /usr/local/sbin/smbldap-usermod -g "%g" "%u"
username map = /etc/samba/smbusers
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = yes
os level = 33
domain master = yes
preferred master = yes
domain logons = yes
logon drive = U:
logon script = logon.bat
veto files = /*.mp3/*.wmv/*.wma/*.ogg/*.mpeg/
dns proxy = no
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/false
winbind use default domain = no
#=====================Share Definitions =========================
[homes]
comment = Pasta do Usuario (U:)
browseable = no
writable = yes
[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
guest ok = yes
writable = yes
browseable = no
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes