| Intro | LDAP to AD Part I |
| LDAP to AD Part II | LDAP to AD Part III |
| LDAP to AD Part IV | LDAP to AD Part V |
| Misc | ADmitMac |
| -- The Story Thus Far -- |
Since I haven't seen much on this I thought I'd write up what I've figured out so far which is far from complete. I don't know if this will work for everyone but I thought I'd post what I have and the rest of you can tear this apart. Please don't email me for help. I feel that I barely understand this as it is. :-)
| -- Gathering the Information -- |
There are a few things you need to know to LDAP authenticate to an AD server. First, you need the IP address or DNS name of the server you will be LDAP authenticating to. Any Domain Controller running 2000 with active directory enabled will do. To test your address I suggest opening a terminal window and using PING to check your address. So, if you have the address of mydepartment.mycompany.com for a AD server you should be able to ping that and get a response.
Next up, you need to figure out the LDAP search base path. To get this going I suggest downloading this nifty java based LDAP browser here:
http://www.iit.edu/~gawojar/ldap/
Nab the ZIP file and unzip it. Open the extracted directory and double-click browser.jar. In the session list click NEW to create a new session. Enter the DNS/IP address for your AD server, the one you checked earlier by pinging it. Leave the PORT on its default setting unless you know your admin has changed it. For Version select 3 since it will default to 2. Beneath the BASE DN field click the Fetch DNs. Hopefully this will fill in your Base DN popup field with selectable entries. One of these entries (if you have more than one) is what you want to select. I can't tell you which since this is dependant on your AD configuration. Hopefully, your admin should know. A Base DN can look something like this:
DC=mydepartment,DC=mycompany,DC=net
Now that you've picked a Base DN fill in the user info section with something like:
cn=myuseraccount,cn=users
Click the append Base DN check box.
Fill in your password. Click Save and use this session to connect. If it works we now have enough info to setup LDAP authentication. If it doesn't double check that your BaseDN points to an area which contians a CN=Users. You can use the Anonymous bind to double check that your Host and Base DN are working. What you'll probably see is a record describing the LDAP server but nothing else. This, I'm told, is a normal security measure.
| -- Configuring LDAP to AD Authentication -- |
Now that we have enough information its time to setup OS X 10.2. In the Utilities folder (inside Applications) double-click Directory Access. If you're not authenticate click the little LOCK on the lower left corner of the window so you can make changes.
cn=myuseraccount,cn=users,dc=mydepartment,dc=mycompany,dc=net| -- Final Testing -- |
When the GUI login comes up enter the name of an AD account (no CN= just your standard login) and its password. If its works you'll be drop kicked into the text mode Darwin login. Enter the name and password again and YOU'RE IN.
One final note, if you have a AD account that has the same login name as a local account on your machine OS X will ALWAYS use the local account since it will be first in the authentication path. You CANNOT change this. Instead, come up with different names for local accounts or simply append "l_" to the regular AD account name when you create local accounts so you have a quick formula for accessing local accounts.
Email: Chuck Simciak