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

base suffix not working



The following is my slapd.conf. It has been working correctly for ages.
After a recent restart, the base suffix is apparently ignored. This problem
is apparent for me in both 1.2.9 and 1.2.11. Any ideas?

Regards,
Christian

include         /opt/openldap/etc/slapd.at.conf
include         /opt/openldap/etc/slapd.oc.conf
include         /opt/openldap/etc/tivoli.at.conf
include         /opt/openldap/etc/tivoli.oc.conf
include         /opt/openldap/etc/tivoli.acl.conf
schemacheck     on
pidfile         /opt/openldap/var/slapd.pid
argsfile        /opt/openldap/var/slapd.args
sizelimit       10000
loglevel        3
database        ldbm
suffix          "o=Tivoli Systems"
directory       /opt/openldap/data
rootdn          "cn=root, o=Tivoli Systems"
rootpw          XXXXXXXXX
lastmod         on
index           uid,cn,serial,manager,givenname,sn              eq

Below are 2 ldapsearches: one with '-b "o=Tivoli Systems"', one without.

% ldapsearch -d 5 -b "o=Tivoli Systems" uid=cgilmore email


ldap_init
ldap_bind_s
ldap_simple_bind_s
ldap_simple_bind
ldap_send_initial_request
open_ldap_connection
ldap_connect_to_host: localhost:389
sd 3 connected to: 127.0.0.1
ldap_delayed_open successful, ld_host is (null)
ldap_send_server_request
ber_flush: 14 bytes to sd 3
         0 0c 02 01 01  ` 07 02 01 02 04 00 80 00
ldap_result
wait4msg (infinite timeout)
** Connections:
* host: localhost  port: 389  (default)
  refcnt: 2  status: Connected
  last used: Tue Jun 13 13:57:58 2000

** Outstanding Requests:
 * msgid 1,  origid 1, status InProgress
   outstanding referrals 0, parent count 0
** Response Queue:
   Empty
do_ldap_select
read1msg
ber_get_next
ber_get_next: tag 0x30 len 12 contents:
ber_dump: buf 0x30fc8, ptr 0x30fc8, end 0x30fd4
          current len 12, contents:
        02 01 01  a 07 0a 01 00 04 00 04 00
got result msgid 1, original id 1
new result:  res_errno: 0, res_error: <>, res_matched: <>
read1msg:  0 new referrals
request 1 done
res_errno: 0, res_error: <>, res_matched: <>
ldap_free_request (origid 1, msgid 1)
ldap_free_connection
ldap_free_connection: refcnt 1
ldap_result2error
ldap_msgfree
ldap_search
put_filter "uid=cgilmore"
put_filter: default
put_simple_filter "uid=cgilmore"
ldap_send_initial_request
ldap_send_server_request
ber_flush: 66 bytes to sd 3
         0  @ 02 01 02  c  ; 04 10  o  =  T  i  v  o  l
         i 20  S  y  s  t  e  m  s 0a 01 02 0a 01 00 02
        01 00 02 01 00 01 01 00 a3 0f 04 03  u  i  d 04
        08  c  g  i  l  m  o  r  e  0 07 04 05  e  m  a
         i  l
ldap_result
wait4msg (infinite timeout)
** Connections:
* host: localhost  port: 389  (default)
  refcnt: 2  status: Connected
  last used: Tue Jun 13 13:57:58 2000

** Outstanding Requests:
 * msgid 2,  origid 2, status InProgress
   outstanding referrals 0, parent count 0
** Response Queue:
   Empty
do_ldap_select
read1msg
ber_get_next
ber_get_next: tag 0x30 len 84 contents:
ber_dump: buf 0x33080, ptr 0x33080, end 0x330d4
          current len 84, contents:
        02 01 02  d  O 04  6  u  i  d  =  c  g  i  l  m
         o  r  e  , 20  o  u  =  i  n  t  e  r  n  a  l
         , 20  o  u  =  p  e  o  p  l  e  , 20  o  =  T
         i  v  o  l  i 20  S  y  s  t  e  m  s  0 15  0
        13 04 05  e  m  a  i  l  1 0a 04 08  c  g  i  l
         m  o  r  e
got result msgid 2, original id 2
ldap_get_dn
ldap_first_attribute
ldap_get_values_len
ldap_next_attribute
ldap_msgfree
ldap_result
wait4msg (infinite timeout)
** Connections:
* host: localhost  port: 389  (default)
  refcnt: 2  status: Connected
  last used: Tue Jun 13 13:57:58 2000

** Outstanding Requests:
 * msgid 2,  origid 2, status InProgress
   outstanding referrals 0, parent count 0
** Response Queue:
   Empty
do_ldap_select
read1msg
ber_get_next
ber_get_next: tag 0x30 len 12 contents:
ber_dump: buf 0x30fe0, ptr 0x30fe0, end 0x30fec
          current len 12, contents:
        02 01 02  e 07 0a 01 00 04 00 04 00
got result msgid 2, original id 2
new result:  res_errno: 0, res_error: <>, res_matched: <>
read1msg:  0 new referrals
request 2 done
res_errno: 0, res_error: <>, res_matched: <>
ldap_free_request (origid 2, msgid 2)
ldap_free_connection
ldap_free_connection: refcnt 1
ldap_result2error
ldap_msgfree
ldap_unbind
ldap_free_connection
ldap_send_unbind
ber_flush: 7 bytes to sd 3
         0 05 02 01 03  B 00
ldap_free_connection: actually freed
uid=cgilmore, ou=internal, ou=people, o=Tivoli Systems
email=cgilmore



% ldapsearch -d 5 uid=cgilmore email
ldap_init
ldap_bind_s
ldap_simple_bind_s
ldap_simple_bind
ldap_send_initial_request
open_ldap_connection
ldap_connect_to_host: localhost:389
sd 3 connected to: 127.0.0.1
ldap_delayed_open successful, ld_host is (null)
ldap_send_server_request
ber_flush: 14 bytes to sd 3
         0 0c 02 01 01  ` 07 02 01 02 04 00 80 00
ldap_result
wait4msg (infinite timeout)
** Connections:
* host: localhost  port: 389  (default)
  refcnt: 2  status: Connected
  last used: Tue Jun 13 13:58:10 2000

** Outstanding Requests:
 * msgid 1,  origid 1, status InProgress
   outstanding referrals 0, parent count 0
** Response Queue:
   Empty
do_ldap_select
read1msg
ber_get_next
ber_get_next: tag 0x30 len 12 contents:
ber_dump: buf 0x307c0, ptr 0x307c0, end 0x307cc
          current len 12, contents:
        02 01 01  a 07 0a 01 00 04 00 04 00
got result msgid 1, original id 1
new result:  res_errno: 0, res_error: <>, res_matched: <>
read1msg:  0 new referrals
request 1 done
res_errno: 0, res_error: <>, res_matched: <>
ldap_free_request (origid 1, msgid 1)
ldap_free_connection
ldap_free_connection: refcnt 1
ldap_result2error
ldap_msgfree
ldap_search
put_filter "uid=cgilmore"
put_filter: default
put_simple_filter "uid=cgilmore"
ldap_send_initial_request
ldap_send_server_request
ber_flush: 50 bytes to sd 3
         0  0 02 01 02  c  + 04 00 0a 01 02 0a 01 00 02
        01 00 02 01 00 01 01 00 a3 0f 04 03  u  i  d 04
        08  c  g  i  l  m  o  r  e  0 07 04 05  e  m  a
         i  l
ldap_result
wait4msg (infinite timeout)
** Connections:
* host: localhost  port: 389  (default)
  refcnt: 2  status: Connected
  last used: Tue Jun 13 13:58:10 2000

** Outstanding Requests:
 * msgid 2,  origid 2, status InProgress
   outstanding referrals 0, parent count 0
** Response Queue:
   Empty
do_ldap_select
read1msg
ber_get_next
ber_get_next: tag 0x30 len 12 contents:
ber_dump: buf 0x307d8, ptr 0x307d8, end 0x307e4
          current len 12, contents:
        02 01 02  e 07 0a 01 20 04 00 04 00
got result msgid 2, original id 2
ldap_chase_referrals
new result:  res_errno: 32, res_error: <>, res_matched: <>
read1msg:  0 new referrals
request 2 done
res_errno: 32, res_error: <>, res_matched: <>
ldap_free_request (origid 2, msgid 2)
ldap_free_connection
ldap_free_connection: refcnt 1
ldap_result2error
ldap_perror
ldap_search: No such object
ldap_msgfree
ldap_unbind
ldap_free_connection
ldap_send_unbind
ber_flush: 7 bytes to sd 3
         0 05 02 01 03  B 00
ldap_free_connection: actually freed