Salve tutti, ho qualche problema per aggiugere un utente a samba.... Adduser funziona, quando volevo mettere la password (nulla) all'utente guest mi visualizza il seguente errore:
Codice PHP:
[root@localhost script]# smbpasswd guest
New SMB password:
Retype new SMB password:
fetch_ldap_pw: neither ldap secret retrieved!
ldap_connect_system: Failed to retrieve password from secrets.tdb
Connection to LDAP Server failed for the 1 try!
smbldap_search_suffix: Problem during the LDAP search: (unknown) (Invalid credentials)
fetch_ldap_pw: neither ldap secret retrieved!
ldap_connect_system: Failed to retrieve password from secrets.tdb
Connection to LDAP Server failed for the 1 try!
smbldap_search_suffix: Problem during the LDAP search: (unknown) (Invalid credentials)
Failed to modify entry for user guest.
Failed to modify password entry for user guest
Cosa vuole!?!??
Allego anche il mio file smb.conf
Codice PHP:
[global]
workgroup = ALMA
netbios name= firewall
server string = Pc RedHat Firewall %v
hosts allow = 192.168. localhost
bind interfaces only = yes
printing = bsd
printcap name = /etc/printcap
load printers = yes
log file = /var/log/samba/%m.log
max log size = 500
log level = 3
encrypt passwords = yes
null passwords = yes
security = share
smb passwd file = /etc/samba/smbpasswd
template homedir=/home/%D/%U
template shell = /bin/bash
guest account = guest
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775
[NETLOGON]
path= /opt/samba/netlogon
read only = yes
[cd]
comment = Unità cd rom Firewall
preexec = mount /mnt/cdrom
postexec = umont /mnt/cdrom
browseable = yes
public = yes
path = /mnt/cdrom
writeable = no
[public]
comment = Cartella condivisa (pubblica)
path = /home/public
browseable = yes
writable = yes
public = yes
guest ok = yes
Spero che qualcuno mi possa aiutare!
Grazie
[/PHP]