Test for existance of samba attibutes when setting up LDAP
Samba requires special samba attributes in ldap. Without these ldap will function, however samba won't be able to authenticate using ldap users.
May as well test for them when setting up ldap. Not sure if we should make having them mandatory or just warn....John?
#2 Updated by John Hixson about 6 years ago
Sooooo. It turns out while this sounds like a good idea, it may not be ;-) I come to this conclusion after speaking with several folks on IRC trying to get LDAP working (but clearly missing the samba schema on their LDAP server), that aren't even using CIFS but want LDAP users and groups for NFS and AFP. Perhaps we should do a check and just issue a warning? I don't think it should be a hard requirement at this point. Whaddaya say jpaetzel ?
#4 Updated by Josh Paetzel about 6 years ago
- Status changed from 15 to Screened
LDAP without using CIFS is a perfectly valid use case. Hence we should pop up an informational notice when binding to an LDAP server with no samba extensions:
Notice: samba extensions not detected. CIFS authentication to LDAP disabled.