[imp] $conf['auth']['params'] for ldap

alois.blasbichler at sb-brixen.it alois.blasbichler at sb-brixen.it
Thu Feb 20 11:30:58 PST 2003


Zitat von jkpsj <jkpsj at yahoo.com>:

> that is the pref params *NOT* the auth params.
> 
> 
> --- alois.blasbichler at sb-brixen.it wrote:
> > Zitat von jkpsj <jkpsj at yahoo.com>:
> > 
> > > in ~/horde/config/horde.php under Horde Authentication, what do i need
> to
> > > specify the
> > > $conf['auth']['params'] for ldap ?
> > > 
> > > [..snip..]
> > > // What backend should we use for authenticating users to Horde? Valid
> > > // options are currently 'imap', 'ldap', 'mcal', 'sql', 'ftp' and
> 'krb5'.
> > > $conf['auth']['driver'] = 'ldap';
> > > 
> > > // An array holding any parameters that the Auth object will need to
> > > // function correctly.
> > > $conf['auth']['params'] = array();
> > > 
> > > // For IMAP, this is the server name, port, protocol, etc.
> > > // $conf['auth']['params']['dsn'] = '{imap.example.com:143/imap}INBOX';
> > > [..snip..]
> > > 
> > > rgds.
> > > 
> > we use : 
> > 
> > $conf['prefs']['driver'] = 'ldap';
> > $conf['prefs']['params']['hostspec'] = 'localhost';
> > $conf['prefs']['params']['port'] = '389';
> > $conf['prefs']['params']['basedn'] = 'cn=users,dc=domain,dc=it';
> > $conf['prefs']['params']['uid'] = 'uid';
> > 
change oll 'prefs' with 'auth' and it works or
authenticate with IMP 

luis




More information about the imp mailing list