I've been happily using OS X Mavericks server as an LDAP backend for AFP for a while now. Been working fine for whole-house Time Machine, etc.
I recently decided to try to get CIFS up and running since that's apparently the direction the Apple winds are currently blowing but it appears that if I have LDAP enabled and enable CIFS, then Samba automatically configures to use LDAP.
It also appears that Samba has specific LDAP schema requirements. smbd simply does not start.
I've found a few articles regarding updating openldap schema to accommodate samba but I know all my work will just be blown out by an OS X update in the future if I was even able to get it working at all.
Are there some FreeNAS settings for CIFS that I can use to just use simple user/password/group LDAP on CIFS shares?
Using FreeNAS-9.2.1.1-RELEASE-x64 (0da7233) - hoping it fixed 9.2.1 since it had a bunch of smb fixes but no joy.
Thanks.
I recently decided to try to get CIFS up and running since that's apparently the direction the Apple winds are currently blowing but it appears that if I have LDAP enabled and enable CIFS, then Samba automatically configures to use LDAP.
It also appears that Samba has specific LDAP schema requirements. smbd simply does not start.
Code:
[2014/02/22 09:13:00.574881, 1, pid=10334, effective(0, 0), real(0, 0)] ../source3/passdb/pdb_ldap_util.c:236(add_new_domain_info) add_new_domain_info: failed to add domain dn= sambaDomainName=HOMENAS,dc=homedomain,dc=com with: Invalid DN syntax invalid DN [2014/02/22 09:13:00.574926, 0, pid=10334, effective(0, 0), real(0, 0)] ../source3/passdb/pdb_ldap_util.c:313(smbldap_search_domain_info) smbldap_search_domain_info: Adding domain info for HOMENAS failed with NT_STATUS_UNSUCCESSFUL [2014/02/22 09:13:00.575031, 0, pid=10334, effective(0, 0), real(0, 0), class=passdb] ../source3/passdb/pdb_ldap.c:6529(pdb_ldapsam_init_common) pdb_init_ldapsam: WARNING: Could not get domain info, nor add one to the domain. We cannot work reliably without it.
I've found a few articles regarding updating openldap schema to accommodate samba but I know all my work will just be blown out by an OS X update in the future if I was even able to get it working at all.
Are there some FreeNAS settings for CIFS that I can use to just use simple user/password/group LDAP on CIFS shares?
Using FreeNAS-9.2.1.1-RELEASE-x64 (0da7233) - hoping it fixed 9.2.1 since it had a bunch of smb fixes but no joy.
Thanks.