[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Using "overlay dynlist" with Ubuntu Karmic 9.10 LDAP server using slapd.d (not slapd.conf) ?



Am Mon, 5 Apr 2010 12:20:07 +0530
schrieb Shamika Joshi <shamika.joshi@gmail.com>:

> Yes it is in /usr/lib/ldap
> 
> admins@x6:~$ locate dynlist
> /etc/ldap/dynlist.ldif
> /usr/lib/ldap/dynlist-2.4.so.2
> /usr/lib/ldap/dynlist-2.4.so.2.5.1
> /usr/lib/ldap/dynlist.la
> /usr/lib/ldap/dynlist.so
> /usr/share/man/man5/slapo-dynlist.5.gz
> 
> admins@x6:~$ ldapsearch -xLLL -b cn=config -D cn=admin,cn=config -W
> Enter LDAP Password:
> dn: cn=config
> objectClass: olcGlobal
> cn: config
> olcArgsFile: /var/run/slapd/slapd.args
> olcLogLevel: none
> olcPidFile: /var/run/slapd/slapd.pid
> olcToolThreads: 1
> 
> dn: cn=module{0},cn=config
> objectClass: olcModuleList
> cn: module{0}
> *olcModulePath: /usr/lib/ldap*
> olcModuleLoad: {0}back_hdb
> 
> but still gives the same error, what could be the reason?
> 
> *admins@x6:~$ ldapmodify -x -D cn=admin,cn=config -W
> Enter LDAP Password:
> dn: cn=config
> changetype: modify
> add: olcModuleLoad
> olcModuleLoad: dynlist.la
> modifying entry "cn=config"
> ldap_modify: Object class violation (65)
>         additional info: attribute 'olcModuleLoad' not allowed*

I just tested it on my system:
$ ldapmodify -D cn=config -w xxx -ZZ -H ldap://magenta.avci.de
dn: cn=module{0},cn=config
changetype: modify
add: olcModuleload 
olcModuleLoad: dynlist.la

modifying entry "cn=module{0},cn=config"

and a search produces:
ldapsearch -LLL -D cn=config -w xxx -ZZ -H ldap://magenta.avci.de
 -b cn=module{0},cn=config -s base "*"

dn: cn=module{0},cn=config
objectClass: olcModuleList
cn: module{0}
olcModulePath: /usr/lib/openldap/modules
olcModuleLoad: {0}back_meta.la
olcModuleLoad: {1}dynlist.la


-Dieter

-- 
Dieter Klünter | Systemberatung
sip: +49.40.20932173
http://www.dpunkt.de/buecher/2104.html
GPG Key ID:8EF7B6C6