Normand Leclerc
Dabbler
- Joined
- Apr 20, 2015
- Messages
- 14
Hi,
I wanted to share my user database between servers. I decided to give ldap a try. Before I get asked, I am on 9.3.
Right now, I am using an unencrypted jailed openldap server. I have samba schema loaded and set the database up with basic entries as found on multiple forums. FreeNas connects to the database; samba too; everything is good.
I add a user, see it added in openldap. When I try to get to a share (let's say the user's home which was previously CIFS shared), I get a login failure.
In the logs I can see
ldapsearch won't find any ntpassword either. I can't figure out why my password won't make it to the database.
Anyone can help?
Thanks,
tcn
I wanted to share my user database between servers. I decided to give ldap a try. Before I get asked, I am on 9.3.
Right now, I am using an unencrypted jailed openldap server. I have samba schema loaded and set the database up with basic entries as found on multiple forums. FreeNas connects to the database; samba too; everything is good.
I add a user, see it added in openldap. When I try to get to a share (let's say the user's home which was previously CIFS shared), I get a login failure.
In the logs I can see
smbldap_open_connection: connection opened
ldap_connect_system: successful connection to the LDAP server
init_sam_from_ldap: Entry found for user: test
ERROR: Got 0 entries for gid 20000, expected one
ERROR: Got 0 entries for gid 20000, expected one
ERROR: Got 0 entries for gid 20000, expected one
Forcing Primary Group to 'Domain Users' for test
ntlm_password_check: NO NT password stored for user test.
ntlm_password_check: Lanman passwords NOT PERMITTED for user test
init_ldap_from_sam: Setting entry for user: test
check_winbind_security: Not using winbind, requested domain [EMBRIONIX] was for this SAM.
check_ntlm_password: Authentication for user [test] -> [test] FAILED with error NT_STATUS_WRONG_PASSWORD
SPNEGO login failed: NT_STATUS_WRONG_PASSWORD
NT error packet at ../source3/smbd/sesssetup.c(263) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE
Server exit (failed to receive smb request)
ldapsearch won't find any ntpassword either. I can't figure out why my password won't make it to the database.
Anyone can help?
Thanks,
tcn