Creating Users Through LDAP | Official Apple Support Communities
Imported from the Apple Support Forums via the Wayback Machine 🔗
I am working on a web application that is using Open Directory and the new CalendarServer, and trying to find the best way to create users in Open Directory that can have calendar access outside of using the workgroup manager, and preferably through LDAP as that is how I am going to be doing auth.
I have found the apple-serviceslocator field that I can set the pointer to iCal Server, but it seems that I cannot use the calendar server without the authAuthority being set on the record for that user as well.
Here's the issue though, if I don't set authAuthority lines and set the 'userpassword' = (in php...) '{MD5}'.base64_encode(pack('H', md5($password))), then i can auth against LDAP with the password.
However, when I add the authAuthority lines , all of the sudden I can't auth anymore with the password set the same way. (authAuthority entries copied and modified from another existing user, i have compared multiple created through workgroup manager and all that changes in those lines is the username in the Kerberosv5 entry)
I am assuming this means that when I add those authAuthority lines, it is no long er checking for auth against LDAP, but rather the ApplePasswordServer, however, I do not know that for sure, and am not sure how to set that in the ApplePasswordServer, as I would assume that setting/changing the password in LDAP should keep all that in sync.
So, anyone know how I can create users via LDAP and still be able to auth against ApplePasswordServer and Kerberos?
2 replies
Sign in or join Beachball Help to reply.
- 0
- 0