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

RE: UW-IMAP auth via PAM & LDAP



Bingo, rpm -ql nss_ldap-105-1  showed that I now have an /etc/ldap.conf
which needs attention.  I made my changes, but still no authentification.

Here are the results from slapd debugging.  I can't figure out what it's
telling me. The base orgunit, bind DN, and password look ok.  I am not sure
about the taget DN.

Perhapse I have selected the wrong encryption in ldap.conf?  I tried all 3.
What process do I need to HUP after I edit that ldap.conf? I saw nothing
familiar in etc/rc.d/ to restart.

Thanks again all.


select activity on 1 descriptors
new connection on 7
conn=0 fd=7 connection from unknown (127.0.0.1) accepted.
activity on:
listening for connections on 6, activity on: 7r
before select active_threads 0
select activity on 1 descriptors
activity on: 7r
read activity on 7
ber_get_next
ber_get_next: tag 0x30 len 37 contents:
ber_dump: buf 0x808fed0, ptr 0x808fed0, end 0x808fef5
          current len 37, contents:
        02 01 01  ` 20 02 01 02 04 13  c  n  =  A  d  m
         i  n  ,  o  =  G  B  B  ,  c  =  U  S 80 06  s
         e  c  r  e  t
listening for connections on 6, activity on: 7r
before select active_threads 1
do_bind
do_bind: version 2 dn (cn=Admin,o=GBB,c=US) method 128
conn=0 op=0 BIND dn="CN=ADMIN,O=GBB,C=US" method=128
==> ldbm_back_bind: dn: CN=ADMIN,O=GBB,C=US
dn2entry_r: dn: "CN=ADMIN,O=GBB,C=US"
=> dn2id( "CN=ADMIN,O=GBB,C=US" )
=> ldbm_cache_open( "/usr/local/gotham-ldbm/dn2id.dbb", 7, 600 )
ldbm_cache_open (blksize 4096) (maxids 1022) (maxindirect 4)
<= ldbm_cache_open (opened 0)
<= dn2id NOID
dn2entry_r: dn: "O=GBB,C=US"
=> dn2id( "O=GBB,C=US" )
=> ldbm_cache_open( "/usr/local/gotham-ldbm/dn2id.dbb", 7, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id 1
=> id2entry_r( 1 )
=> ldbm_cache_open( "/usr/local/gotham-ldbm/id2entry.dbb", 7, 600 )
ldbm_cache_open (blksize 4096) (maxids 1022) (maxindirect 4)
<= ldbm_cache_open (opened 1)
=> str2entry
<= str2entry 0x8091980
entry_rdwr_rlock: ID: 1
<= id2entry_r( 1 ) (disk)
====> cache_return_entry_r
entry_rdwr_runlock: ID: 1
do_bind: bound "cn=Admin,o=GBB,c=US" to "cn=Admin, o=GBB, c=US"
send_ldap_result 0::
ber_flush: 14 bytes to sd 7
         0 0c 02 01 01  a 07 0a 01 00 04 00 04 00
select activity on 1 descriptors
activity on: 7r
read activity on 7
ber_get_next
ber_get_next: tag 0x30 len 51 contents:
ber_dump: buf 0x8091928, ptr 0x8091928, end 0x809195b
          current len 51, contents:
        02 01 02  c  . 04 0a  o  =  G  B  B  ,  c  =  U
         S 0a 01 02 0a 01 00 02 01 01 02 01 00 01 01 00
        a3 0f 04 02  c  n 04 09  m  c  o  u  g  h  l  a
         n  0 00
listening for connections on 6, activity on: 7r
before select active_threads 2
conn=0 op=0 RESULT err=0 tag=97 nentries=0
do_search
SRCH "O=GBB,C=US" 2 0    1 0 0
begin get_filter
EQUALITY
end get_filter 0
    filter: (cn=MCOUGHLAN)
    attrs:
conn=0 op=1 SRCH base="O=GBB,C=US" scope=2 filter="(cn=MCOUGHLAN)"
=> ldbm_back_search
using base "O=GBB,C=US"
subtree_candidates: base: "O=GBB,C=US" lookupbase
dn2entry_r: dn: "O=GBB,C=US"
=> dn2id( "O=GBB,C=US" )
====> cache_find_entry_dn2id: found dn: O=GBB,C=US
<= dn2id 1 (in cache)
=> id2entry_r( 1 )
====> cache_find_entry_dn2id: found id: 1 rw: 0
entry_rdwr_rtrylock: ID: 1
<= id2entry_r 0x8091980 (cache)
====> cache_return_entry_r
entry_rdwr_runlock: ID: 1
=> filter_candidates
        OR
=> list_candidates 0xa1
=> filter_candidates
        EQUALITY
=> ava_candidates 0xa3
=> index_read( "objectclass" "=" "REFERRAL" )
=> ldbm_cache_open( "/usr/local/gotham-ldbm/objectclass.dbb", 7, 600 )
ldbm_cache_open (blksize 4096) (maxids 1022) (maxindirect 4)
<= ldbm_cache_open (opened 2)
<= index_read 0 candidates
<= ava_candidates 0
<= filter_candidates 0
=> filter_candidates
        EQUALITY
=> ava_candidates 0xa3
=> index_read( "cn" "=" "MCOUGHLAN" )
=> ldbm_cache_open( "/usr/local/gotham-ldbm/cn.dbb", 7, 600 )
ldbm_cache_open (blksize 4096) (maxids 1022) (maxindirect 4)
<= ldbm_cache_open (opened 3)
<= index_read 0 candidates
<= ava_candidates 0
<= filter_candidates 0
<= list_candidates 0
<= filter_candidates 0
send_ldap_result 0::
ber_flush: 14 bytes to sd 7
         0 0c 02 01 02  e 07 0a 01 00 04 00 04 00
select activity on 1 descriptors
activity on: 7r
read activity on 7
ber_get_next
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf 0x808ff00, ptr 0x808ff00, end 0x808ff05
          current len 5, contents:
        02 01 03  B 00
conn=0 op=1 RESULT err=0 tag=101 nentries=0
listening for connections on 6, activity on: 7r
before select active_threads 1
select activity on 1 descriptors
activity on: 7r
read activity on 7
ber_get_next
ber_get_next on fd 7 failed errno 0 (Success)
*** got 0 of 0 so far
conn=0 op=-1 fd=7 closed errno=0
listening for connections on 6, activity on:
before select active_threads 1
do_unbind
conn=0 op=2 UNBIND