From: Clif H. <ch...@us...> - 2002-12-03 02:34:38
|
Update of /cvsroot/perl-ldap/website In directory sc8-pr-cvs1:/tmp/cvs-serv21298/website Modified Files: FAQ.html Log Message: Added section on what is a proper bind DN. Corrected some spelling errors. Index: FAQ.html =================================================================== RCS file: /cvsroot/perl-ldap/website/FAQ.html,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- FAQ.html 15 Jul 2002 01:23:25 -0000 1.12 +++ FAQ.html 3 Dec 2002 02:34:35 -0000 1.13 @@ -60,6 +60,7 @@ <LI><A HREF="#How_do_I_connect_to_my_server_">How do I connect to my server ?</A> <LI><A HREF="#Net_LDAP_new_sometimes_returns">Net::LDAP->new sometimes returns undef, why ?</A> + <LI><A HREF="#What_is_the_proper_format_of_the_bind_DN">What is the proper format of the bind DN.</A> <LI><A HREF="#How_can_I_tell_when_the_server_r">How can I tell when the server returns an error, bind() always returns</A> <LI><A HREF="#How_can_I_set_the_ldap_version_o">How can I set the ldap version of a connection to my ldap server?</A> <LI><A HREF="#I_did_a_search_on_my_directory_u">I did a search on my directory using the 'search' method. Where did</A> @@ -382,9 +383,9 @@ Example of a DN: <P> -<PRE> cn=Road Runner, ou=bird, dc=carton, dc=com - ou=bird, dc=carton, dc=com - dc=carton, dc=com +<PRE> cn=Road Runner, ou=bird, dc=cartoon, dc=com + ou=bird, dc=cartoon, dc=com + dc=cartoon, dc=com dc=com </PRE> <P> @@ -401,13 +402,13 @@ Example of a DN: <P> -<PRE> cn=Road Runner,ou=bird,dc=carton,dc=com +<PRE> cn=Road Runner,ou=bird,dc=cartoon,dc=com </PRE> <P> <PRE> RDNs of the proceeding DN: RDN => cn=Road Runner RDN => ou=bird - RDN => dc=carton + RDN => dc=cartoon RDN => dc=com </PRE> <P> @@ -420,7 +421,7 @@ Example of a DN: <P> -<PRE> cn=Road Runner,ou=bird,dc=carton,dc=com +<PRE> cn=Road Runner,ou=bird,dc=cartoon,dc=com </PRE> <P> <PRE> Naming RDN of the proceeding DN: @@ -443,15 +444,15 @@ Example of a DN: <P> -<PRE> cn=Road Runner,ou=bird,dc=carton,dc=com +<PRE> cn=Road Runner,ou=bird,dc=cartoon,dc=com </PRE> <P> Possible search <CODE>base(s)</CODE> for the proceeding DN: <P> -<PRE> Base => cn=Road Runner,ou=bird,dc=carton,dc=com - Base => ou=bird,dc=carton,dc=com - Base => dc=carton,dc=com +<PRE> Base => cn=Road Runner,ou=bird,dc=cartoon,dc=com + Base => ou=bird,dc=cartoon,dc=com + Base => dc=cartoon,dc=com Base => dc=com </PRE> <P> @@ -684,6 +685,23 @@ The constructor will return undef if there was a problem connecting to the specified server. Any error message will be available in $@ +<P> +<HR> +<H2><A NAME="What_is_the_proper_format_of_the_bind_DN">What is the proper format of the bind DN.</A></H2> +<P> +The DN used to bind to a LDAP or X.500 directory is a FULLY QUALIFIED DN. +The exact syntax of the DN will vary between LDAP or X.500 implementations. +<P> +The following are valid examples. +<P> +uid=clif,ou=People,dc=umich,dc=edu +<P> +cn=directory manager,ou=admins,dc=umich,dc=edu +<P> +In many LDAP and X.500 directory implementations the following +would be a valid fully qualified DN of the directory manager. +<P> +cn=directory manager <P> <HR> <H2><A NAME="How_can_I_tell_when_the_server_r">How can I tell when the server returns an error, bind() always returns |