Whoh man...

did you create the unix user-account aswell ??

also try to change these settings:

-> encrypt passwords = YES
-> passdb backend = mysql:mysql
-> #mysql:username column = username:
-> #mysql:lanman pass column = lm_pw:
-> #mysql:nt pass column = nt_pw:
-> #mysql:plain pass column = plain_pw:
-> #mysql:unknown_3 column = NULL

also what version of samba do you use ??



Rodrigo De la Pena wrote:
hi,

/****************************************************
i'm trying to configure samba with the mysql backend but it doesn't
work. my smb.conf file is this:
/****************************************************
#BOF
[global]
security = user
workgroup = CABRERA
encrypt passwords = no
;passdb backend = mysql:/usr/local/samba/lib/pdb/mysql.so
passdb backend = mysql:mysql
mysql:mysql host = localhost
mysql:mysql user = samba
mysql:mysql password = abmas
mysql:mysql database = samba
mysql:mysql table = user

mysql:username column = username:
mysql:lanman pass column = lm_pw:
mysql:nt pass column = nt_pw:
;mysql:plain pass column = plain_pw:
mysql:unknown_3 column = NULL

#EOF

/****************************************************
when i run smbclient it fails
/****************************************************

[EMAIL PROTECTED] ~]# smbclient  //localhost/rodelapena -U rodelapena -d 10
/****************************************************
the dir exists in the route showed up. //home2/rodelapena/


i don't know what is going on, the pdbedit command fails when i try to
create an user but doesn't when i update it.

I'm very new in samba, if you can help me with this problem i'll thank
you ever.

Thanks a lot.
/****************************************************





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

Reply via email to