[imp] LDAP preferences backend

Juan Guerrero juan_guerrero at linuxmail.org
Tue Jul 8 14:36:10 PDT 2003


I fixed the uid now it maps to uid
$conf['prefs']['driver'] = 'ldap';
$conf['prefs']['params']['hostspec'] = 'linuxlab.linux';
$conf['prefs']['params']['port'] = '389';
$conf['prefs']['params']['basedn'] = 'ou=users,o=linuxlab';
$conf['prefs']['params']['uid'] = 'uid';

and my initial ldif just changed to:
dn: o=linuxlab
objectClass: organization
o: linuxlab
description: Linuxlab directory server

dn: ou=developers, o=linuxlab
objectClass: organizationalUnit
ou: developers
description: Linuxlab developers directory

dn: ou=users, o=linuxlab
objectClass: organizationalUnit
ou: users
description: Linuxlab test users group

dn: uid=admin, ou=users, o=linuxlab
objectClass: person
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: hordePerson
cn: admin
sn: administrator
uid: admin
uidNumber: 10001
gidNumber: 10000
homeDirectory: /external/home/admin
userPassword: admin
loginShell: /bin/bash
mail: admin at linuxlab.linux
description: Admin user 1

Now tell me something, how to I give write permissions to an user in openldap?


----- Original Message -----
From: eculp at encontacto.net
Date: Tue,  8 Jul 2003 13:56:38 -0700
To: imp at lists.horde.org
Subject: Re: [imp] LDAP preferences backend

> Quoting Juan Guerrero <juan_guerrero at linuxmail.org>:
> 
> | Hello all i have been googling around to see how to solve this problem, but i
> | cound not find anything,
> | I have configured horde to use the ldap backend to store preferences with the
> | following settings:
> |
> | $conf['prefs']['driver'] = 'ldap';
> | $conf['prefs']['params']['hostspec'] = 'linuxlab.linux';
> | $conf['prefs']['params']['port'] = '389';
> | $conf['prefs']['params']['basedn'] = 'ou=users,o=linuxlab';
> | $conf['prefs']['params']['uid'] = 'dn';
> Juan,
> 
> I have my doubts about uid being dn.  I would expect cn
> from your example.
> 
> The user must have write permission.  I assume that in
> your slapd.conf users have self write.
> 
> ed
> 
> |
> | My ldap server is up and running
> | I just used the following ldif to define a test user:
> | dn: o=linuxlab
> | objectClass: organization
> | o: linuxlab
> | description: Linuxlab directory server
> |
> | dn: ou=developers, o=linuxlab
> | objectClass: organizationalUnit
> | ou: developers
> | description: Linuxlab developers directory
> |
> | dn: ou=users, o=linuxlab
> | objectClass: organizationalUnit
> | ou: users
> | description: Linuxlab test users group
> |
> | dn: cn=signal11, ou=users, o=linuxlab
> | objectClass: person
> | objectClass: inetOrgPerson
> | objectClass: posixAccount
> | objectClass: hordePerson
> | cn: signal11
> | sn: sigsegv
> | uid: 10001
> | uidNumber: 10001
> | gidNumber: 10000
> | homeDirectory: /external/home/signal11
> | userPassword: coredumped
> | loginShell: /bin/bash
> | mail: signal11 at linuxlab.linux
> | description: Test user 1
> |
> | I can log in perfectly to imp but i got this error below in the page:
> |
> | Warning: LDAP: modify operation could not be completed. in
> | /var/www/html/horde/lib/Prefs/ldap.php on line
> |
> | Could somebody please help?
> |
> | -------------------------------
> | Juan V. Guerrero
> | CTO
> | eSolutions 4 All
> | Cell: (507) 672-8173
> |
> | --
> | ______________________________________________
> | http://www.linuxmail.org/
> | Now with e-mail forwarding for only US$5.95/yr
> |
> | Powered by Outblaze
> |
> | --
> | IMP mailing list
> | Frequently Asked Questions: http://horde.org/faq/
> | To unsubscribe, mail: imp-unsubscribe at lists.horde.org
> |
> 
> 
> --
> 
> 
> -------------------------------------------------
> 
> 
> -- 
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org



-------------------------------
Juan V. Guerrero
CTO
eSolutions 4 All
Cell: (507) 672-8173

-- 
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze


More information about the imp mailing list