[Samba] Authentication problem with Mysql backend

Rodrigo De la Pena rodelapena at calipso.com.co
Fri Oct 28 15:42:59 GMT 2005


thann you Andrew for your help, it works fine

i add the users an open the tcp 139 and 445 and udp 137 and everything
went fine.



On Thu, 2005-10-27 at 10:23 +1000, Andrew Bartlett wrote:
> 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
> 
-- 
Rodrigo De la Peña
Soporte Corporativo
Calipso Comunicaciones



More information about the samba mailing list