I'm looking at using Zimbra's LDAP server as the backend for a FreeRadius server. Now I'm slowly trying to wrap my head around LDAP.
What I would like to do, if this is even possible is add an attribute to certain users (objectClass: radUser). Then when someone authenticates against Radius it will do an LDAP lookup and if the aforementioned attribute does not exist then no loging, if it does then authenticate the username and password. I would relly appreciate some insight into this. I tried to use ldapmodify to add the objectClass attribute but it failed, not sure as to why.
I really appreciate the help, I'm such an LDAP newb
[zimbra@j ~]$ ldapmodify -D uid=zimbra,cn=admins,cn=zimbra -W
Enter LDAP Password:
modifying entry "uid=rsharpe,ou=people,dc=mydomain,dc=ca"
ldap_modify: Referral (10)