Simon Pierre Desrosiers
Dabbler
- Joined
- May 20, 2016
- Messages
- 28
Hello all,
I have configured a freenas (FreeNAS-11.1-U4) system to authenticate to an openDirectory (
10.11.6
). Configuration seems to be not that bad since I can retrieve the list of my users and the list of groups comming from my ldap server using
But I cannot login to afp nor to smb nor to ssh, or su on the freenas. Nothing gets logged on the freenas or the ldap server.
If I run tcpdump, I can see that the freenas tries to authenticate to the ldap server, some answer is comming back, but I can still not mount the shares. I do have shares define to a directory for which permission have been set to a domain user.
From here, any help would be appreciated.
One last thing, the enable check box will not get checked. But nsswitch.conf seems correctly updated with ldap entries at group and passwd.
I have configured a freenas (FreeNAS-11.1-U4) system to authenticate to an openDirectory (
10.11.6
). Configuration seems to be not that bad since I can retrieve the list of my users and the list of groups comming from my ldap server using
getent passwd
Using ldapsearch and ldapwhoami, I can actually verify my password and it works :Code:
root@delos:~ # ldapwhoami -vvv -D "uid=legros,cn=users,dc=myserver,dc=mydomain,dc=com" -W -H ldap://myserver:389 -x ldap_initialize( ldap://laposte:389/??base ) Enter LDAP Password: dn:uid=legros,cn=users,dc=myserver,dc=mydomain,dc=com Result: Success (0) root@delos:~ # ldapwhoami -vvv -D "uid=legros,cn=users,dc=myserver,dc=mydomain,dc=com" -W -x ldap_initialize( <DEFAULT> ) Enter LDAP Password: dn:uid=legros,cn=users,dc=myserver,dc=mydomain,dc=com Result: Success (0) root@delos:~ #
But I cannot login to afp nor to smb nor to ssh, or su on the freenas. Nothing gets logged on the freenas or the ldap server.
If I run tcpdump, I can see that the freenas tries to authenticate to the ldap server, some answer is comming back, but I can still not mount the shares. I do have shares define to a directory for which permission have been set to a domain user.
From here, any help would be appreciated.
One last thing, the enable check box will not get checked. But nsswitch.conf seems correctly updated with ldap entries at group and passwd.