[horde] passing authentication information

Tony Earnshaw tonni at billy.demon.nl
Sat Jan 11 12:43:54 PST 2003


lør, 2003-01-11 kl. 20:53 skrev Tony Earnshaw:

Done it wrong again, sigh.

The 'bind_dn => tonye' line should be left out, of course (it was
commented out anyway in my script):

$cn = Auth::getAuth();
$cfgSources['localldap'] = array(
    'title' => _("Local Directory Server"),
    'type' => 'ldap',
    'params' => array(
        'server' => 'ldaps://localhost/',
        'port' => 636,
        'root' => 'dc=billy,dc=demon,dc=nl',
        'bind_dn' => 'cn=' . $cn .
',ou=people,ou=groups,dc=billy,dc=demon,dc=nl',
        'bind_password' => Auth::getCredential('password'),
        'dn' => array('cn'),
        'objectclass' => '*',
        'encoding' => 'utf8',
        'version' => 3
    ),

etc.


Tony

-- 

Tony Earnshaw

When all's said and done ...
there's nothing left to say or do.

e-post:		tonni at billy.demon.nl
www:		http://www.billy.demon.nl





More information about the horde mailing list