[Samba] ldap users with users samba

TAKAHASHI Motonobu monyo at monyo.com
Tue Jan 22 10:01:50 MST 2013


From: rodrigo tavares <rodrigofariat at yahoo.com.br>
Date: Tue, 22 Jan 2013 03:17:44 -0800 (PST)

> Hello,
> 
> I create one user, with the command.
> 
> smbldap-useradd -a -P user
> 
> The option -a (atributtes samba) and -P call smbldap-passwd.
> This command make atributtes.
> 
> Then, i try to login in domain, but some error.
> 
> root at replica:~# smbclient -L localhost -U user
> Enter user's password:
> session setup failed: NT_STATUS_LOGON_FAILURE

Because you set:

-----
    passdb backend = ldapsam:ldap://10.65.8.95
    passdb backend = tdbsam
-----

in your smb.conf. If you set a parameter twice in smb.conf, latter one is
enabled. So you use tdbsam now.

---
TAKAHASHI Motonobu <monyo at monyo.com> / @damemonyo 
                   facebook.com/takahashi.motonobu





More information about the samba mailing list