[LDAPsh-cvs] ldapsh,1.8,1.9 ldapshrc,1.2,1.3
Status: Beta
Brought to you by:
rcorvalan
From: <rco...@us...> - 2002-07-31 09:54:57
|
Update of /cvsroot/ldapsh In directory usw-pr-cvs1:/tmp/cvs-serv11031 Modified Files: ldapsh ldapshrc Log Message: Contributed by Peder O. Klingenberg (pok): ====== START ====== Bring SSL in line with standards According to the documentation for Net::LDAPS, usage of Net::LDAPS is discouraged. The correct way of doing things is by using Net::LDAP with its method start_tls. This is controlled through setting $CONNPARAMS->{SSL} to 'ssl' or 'tls'. 'ssl' will connect with SSL encapsulation (usually port 636). 'tls' will send a start_tls message, so usually the port is the standard LDAP port (389) ====== END ====== Index: ldapshrc =================================================================== RCS file: /cvsroot/ldapsh/ldapshrc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ldapshrc 6 Jun 2002 16:14:05 -0000 1.2 --- ldapshrc 31 Jul 2002 09:54:33 -0000 1.3 *************** *** 12,16 **** sub unixldap { $CONNPARAMS->{SERVER} = 'ldap-2'; ! $CONNPARAMS->{SSL} = 1; $CONNPARAMS->{PORT} = 636; $CONNPARAMS->{BINDDN} = ''; --- 12,16 ---- sub unixldap { $CONNPARAMS->{SERVER} = 'ldap-2'; ! $CONNPARAMS->{SSL} = 'ssl'; $CONNPARAMS->{PORT} = 636; $CONNPARAMS->{BINDDN} = ''; |