Paolosnz
25-01-2006, 13:51
salve ho configurato samba con la seguente configurazione:
[global]
workgroup = dsmlab
netbios name = server samba
security = user
smb passwd file = /etc/samba/smbpasswd
encrypt passwords = Yes
[b]
comment = Home Directories
valid users = test2
read only = No
inherit acls = Yes
path = /home/b
[a]
comment = All users
path = /home/a
read only = No
inherit acls = Yes
quando accedo al server da xp mi chiede user e password (uso quella dell'account di linux ed entro) la cartella A va bene accedo tranquillamente ma in B dopo aver messo user e password mi da il messaggio
http://img83.imageshack.us/img83/1663/err7pl.jpg (http://imageshack.us)
l'utente test2 su samba l'ho creato (smbpasswd -a test2) e credo che il problema non sia questo... infatti se sbaglio password o user non mi da l'errore ma mi richiede la user e la password...
dove sbaglio?
testparm mi restituisce questo:
linux:~ # testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[b]"
Processing section "[a]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
workgroup = DSMLAB
netbios name = SERVER SAMBA
[b]
comment = Home Directories
path = /home/b
valid users = test2
read only = No
inherit acls = Yes
[a]
comment = All users
path = /home/a
read only = No
inherit acls = Yes
linux:~ #
[global]
workgroup = dsmlab
netbios name = server samba
security = user
smb passwd file = /etc/samba/smbpasswd
encrypt passwords = Yes
[b]
comment = Home Directories
valid users = test2
read only = No
inherit acls = Yes
path = /home/b
[a]
comment = All users
path = /home/a
read only = No
inherit acls = Yes
quando accedo al server da xp mi chiede user e password (uso quella dell'account di linux ed entro) la cartella A va bene accedo tranquillamente ma in B dopo aver messo user e password mi da il messaggio
http://img83.imageshack.us/img83/1663/err7pl.jpg (http://imageshack.us)
l'utente test2 su samba l'ho creato (smbpasswd -a test2) e credo che il problema non sia questo... infatti se sbaglio password o user non mi da l'errore ma mi richiede la user e la password...
dove sbaglio?
testparm mi restituisce questo:
linux:~ # testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[b]"
Processing section "[a]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
workgroup = DSMLAB
netbios name = SERVER SAMBA
[b]
comment = Home Directories
path = /home/b
valid users = test2
read only = No
inherit acls = Yes
[a]
comment = All users
path = /home/a
read only = No
inherit acls = Yes
linux:~ #