|Willipedia is now back online as of 5/5/2019|
|It has been several years since Willipedia closed. Please help get it updated!|
|Go to the Willipedia 2.0 Project to learn more.|
Difference between revisions of "LDAP"
|Line 57:||Line 57:|
==Info from LDAP==
==Info from LDAP==
In addition to the servers above, you can query
In addition to the servers above, you can query for general directory info. SSL
Latest revision as of 09:02, May 30, 2008
LDAP is a protocol for searching for email addresses and checking the passwords of people with a Unix ID. The College runs three LDAP servers:
- nds1.williams.edu is the Novell NetWare server that has a lot of information about you, and that can check your password;
- nds2.williams.edu is nds1's twin;
- ldap.williams.edu is used solely for searching email addresses.
Auto-completing email addresses
Many email clients let you configure an LDAP server to act as your address book. This means you can search for someone's email address directly in your mail client, without having to use WSO Facebook. Here are the settings you'll need:
Search Base: ou=People,o=williams
Use SSL: No
If you're writing a program and want to use the LDAP server to retrieve a person's first name, last name, and email address you'll want to use the search base "uid=$USER,o=williams,ou=people" (where $USERNAME is a person's Unix ID), and retrive the attributes "sn" (last name), "givenName" (first name), and "mail" (email address).
Authenticating with LDAP
Here are settings for checking the passwords of different types of users. Ideally, you can authenticate more than one type, but that will depend what kind of support your software has. Of course, if you are a true badass, you shouldn't be afraid to write your own extension to handle multiple LDAP settings. In all cases, you need to somehow substitute $USER with the name of the user that's logging in.
Server: nds2.williams.edu (or nds1.williams.edu) Bind domain: cn=$USER,ou=student,o=williams SSL: no
These include some students and some alumni.
Server: wanda Bind domain: uid=$USER,cn=users,dc=ursula,dc=local SSL: yes
Server: nds2.williams.edu Bind domain: cn=$USER,ou=faculty,o=williams SSL: no
Server: nds2.williams.edu Bind domain: cn=$USER,ou=staff,o=williams SSL: no
Server: alumni.williams.edu Bind domain: uid=$USER,ou=alumni,o=williams SSL: no(?)
Info from LDAP
In addition to the servers above, you can query ldap2.williams.edu for general directory info. (No SSL)