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

Re: dn aliases?



OK, I got past this problem by simply configuring all overlays (required installing application that provided sql.h library):

./configure --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --enable-backends --enable-overlays

Started slapd with these warnings:
 ...
WARNING: No dynamic config support for database relay.
config_build_entry: "olcDatabase={2}relay"
WARNING: No dynamic config support for overlay rwm.
config_build_entry: "olcOverlay={0}rwm"
backend_startup_one: starting "dc=example,dc=com"
bdb_db_open: Warning - No DB_CONFIG file found in directory /var/lib/ldap: (2)
Expect poor performance for suffix dc=example,dc=com.
bdb_db_open: dbenv_open(/var/lib/ldap)
backend_startup_one: starting "dc=alias,dc=example,dc=com"
slapd starting
Unable to actually add or search because of this error (getting this when trying to add the first entry "Manager"):

    [root@db workarea]# ldapadd -x -D "cn=Manager,dc=example,dc=com" -W -f example.ldif
    Enter LDAP Password:
    >>> slap_listener(ldap:///)
    connection_get(12): got connid=4
    connection_read(12): checking for input on id=4
    ber_get_next
    ber_get_next: tag 0x30 len 50 contents:
    ber_get_next
    do_bind
    ber_scanf fmt ({imt) ber:
    ber_scanf fmt (m}) ber:
    >>> dnPrettyNormal: <cn=Manager,dc=example,dc=com>
    <<< dnPrettyNormal: <cn=Manager,dc=example,dc=com>, <cn=manager,dc=example,dc=com>
    do_bind: version=3 dn="cn=Manager,dc=example,dc=com" method=128
    bdb_dn2entry("cn=manager,dc=example,dc=com")
    entry_decode: "n=Manager,dc=example,dc=com"
    <= entry_decode: str2ad(n): AttributeDescription contains inappropriate characters
    <= entry_decode: slap_str2undef_ad(n): AttributeDescription contains inappropriate characters
    send_ldap_result: conn=4 op=0 p=3
    send_ldap_response: msgid=1 tag=97 err=80
    ber_flush: 28 bytes to sd 12
    ldap_bind: Internal (implementation specific) error (80)
    additional info: internal error
    connection_get(12): got connid=4
    connection_read(12): checking for input on id=4
    ber_get_next
    ber_get_next on fd 12 failed errno=0 (Success)
    connection_closing: readying conn=4 sd=12 for close
    connection_close: conn=4 sd=12

What the heck does this mean and what do I do about it?

Thanks!

-ron

Ron Parker wrote:
Downloaded: openldap-stable-20070831.tgz

Unpacked.

Ran this because I want the relay back end enabled and want all the executables installed in /usr directory tree.  I also want slapd.conf to be in /etc:

../configure --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --enable-relay=yes --enable-rewrite

make depend
make

I edited my slapd.conf for this (modified to my server):

database        relay
suffix          "dc=virtual,dc=naming,dc=context"
relay           "dc=real,dc=naming,dc=context" massage

I run:  /usr/libexec/slapd -d 1

I get this error:

overlay "rwm" not found
/etc/openldap/slapd.conf: line 133: unable to install rwm overlay in "relay <dn> [massage]" line
slapd destroy: freeing system resources.
slapd stopped.
connections_destroy: nothing to destroy.

Looks like I'm getting much closer.  Thanks so much for all the help!

-ron

Pierangelo Masarati wrote:

3) get rid of rpms and build it yourself.

p.



Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Email:   pierangelo.masarati@sys-net.it
---------------------------------------



__________ NOD32 2519 (20070910) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com



 





-- 
Ron Parker
Software Creations               http://www.scbbs.com
Self-Administration Web Site     http://saw.scbbs.com
SDSS Subscription Mgmt Service   http://sdss.scbbs.com
Central Ave Dance Ensemble       http://www.centralavedance.com
R & B Salsa                      http://www.randbsalsa.com