i setup an openmediavault server with version 2.2.13 (Stone Burner) and installed the "openmediavault-ldap 2.1" plugin.
The ldap plugin configuration seems to work. All the users/groups are available and i can login to the webinterface with ldap credentials.
Unfortunately it doesn't seems to work neither with smb nor ftp shares (thats the both i tryed).
I tryed it from an Mac (sierra) and Windows (Win 10) client, with and without the domain specified (username, domain\usernme, username@domain).
I also tryed different settings in the right management of the shares. Allowed my user and a group i'm in, set the owner and group of the shares to my user/group but it didn't worked.
btw. where are the logs for ldap plugin? auth.log and syslog and samba/* aren't very helpful.
There is another problem.
If directory service is off, i can use a local user to authenticate. works on mac and windows
The moment i activate directory services, i am unable to authenticate with any user, including the local users.
I am also unable to edit a local user:
exception 'OMVException' with message 'Failed to execute command 'export LANG=C; (echo 'aaaaaa'; echo 'aaaaaa') | pdbedit --create --verbose --password-from-stdin --fullname='test' 'test' 2>&1': smbldap_search_domain_info: Adding domain info for OMV-TEST failed with NT_STATUS_UNSUCCESSFUL#0 /usr/share/openmediavault/engined/module/samba.inc(173): OMVModuleSamba->onAddUser(8, 'org.openmediava...', Array)#3 /usr/share/openmediavault/engined/rpc/usermgmt.inc(606): OMVNotifyDispatcher->notify(8, 'org.openmediava...', Array)#6 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('setUser', Array, Array)
With debug level "Normal" in SMB Conf, i get at least some info in syslog
As i read, "net getdomainsid" should output the same SID fpr local and domain, but "Could not fetch domain SID"
Also, "S-1-5-21-xxx806" is not the SID of the domain, wich is "S-1-5-21-xxx586". So aparently the error message got that right
I'm still a noob at ldap, so i don't rly know what i should do
By the way. I have a Sysnology NAS that work fine with the LDAP Server. Didn't needed to do anything special to get it to run.
Hmm. This works even after restarting SMB Service from the GUI, but it shouldn't be necessary. Also, "net getdomainsid" gives still the NT_STATUS_UNSUCCESSFUL error.