[Samba] Authentication problem with Mysql backend

Andrew Bartlett abartlet at samba.org
Thu Oct 27 00:23:48 GMT 2005


On Wed, 2005-10-26 at 14:44 -0500, Rodrigo De la Pena wrote:
> i'm using samba-3.0.20b, 
> 
> "did you create the unix user-account aswell ??"
> do i have to create the accounts in the OS to use them with mysql? 
> i create the account "rodelapena" whith its passwd and it failed by
> NT_STATUS_BAD_NETWORK_NAME, in theory the authentication worked, but it
> wont be necessary to create an OS account to could use it in mysql, am i
> wrong??.
> 
> i made the changes to the smb.conf that you suggested me before the
> creation of the OS account and authentication failed again. 

Yes, all Samba users must exist in the OS.  This is why I am mystified
by the number of people who want to use MySQL to back Samba :-)

I strongly suggest following the pdb_ldap route, and use nss_ldap to
provide the users to the OS.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Samba Developer, SuSE Labs, Novell Inc.        http://suse.de
Authentication Developer, Samba Team           http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20051027/bb71539a/attachment.bin


More information about the samba mailing list