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

SLAPD: "fd=12 DENIED from unknown (10.1.3.59)"



Hi

Im using openldap 2.2.14 in freebsd 4.10-RELEASE

When I try to connect to my ldap server using either ldapadd or ldapsearch
or any other LDAP client, the slapd throws the following...

slapd starting
daemon: added 8r
daemon: added 9r
daemon: select: listen=8 active_threads=0 tvp=NULL
daemon: select: listen=9 active_threads=0 tvp=NULL
daemon: activity on 1 descriptors
daemon: new connection on 12
fd=12 DENIED from unknown (10.1.3.59)
daemon: closing 12
daemon: activity on:
daemon: select: listen=8 active_threads=0 tvp=NULL
daemon: select: listen=9 active_threads=0 tvp=NULL


In my slapd.con the access directive is:
access to * by * read


ldapadd throws:
 user@host:~/LDAP $ ldapadd -x -D "cn=manager,dc=veranet"  -f manager.ldif
-W -d -1
ldap_create
Enter LDAP Password: 
ldap_bind_s
ldap_simple_bind_s
ldap_sasl_bind_s
ldap_sasl_bind
ldap_send_initial_request
ldap_new_connection
ldap_int_open_connection
ldap_connect_to_host: TCP localhost:389
ldap_new_socket: 4
ldap_prepare_socket: 4
ldap_connect_to_host: Trying ::1 389
ldap_connect_timeout: fd: 4 tm: -1 async: 0
ldap_ndelay_on: 4
ldap_ndelay_off: 4
ldap_open_defconn: successful
ldap_send_server_request
ber_flush: 41 bytes to sd 4
  0000:  30 27 02 01 01 60 22 02  01 03 04 15 63 6e 3d 6d   0'...`".....cn=m

  0010:  61 6e 61 67 65 72 2c 64  63 3d 76 65 72 61 6e 65   anager,dc=verane

  0020:  74 80 06 73 65 63 72 65  74                        t..secret

ldap_write: want=41, written=41
  0000:  30 27 02 01 01 60 22 02  01 03 04 15 63 6e 3d 6d   0'...`".....cn=m

  0010:  61 6e 61 67 65 72 2c 64  63 3d 76 65 72 61 6e 65   anager,dc=verane

  0020:  74 80 06 73 65 63 72 65  74                        t..secret

ldap_result msgid 1
ldap_chkResponseList for msgid=1, all=1
ldap_chkResponseList returns NULL
wait4msg (infinite timeout), msgid 1
wait4msg continue, msgid 1, all 1
** Connections:
* host: localhost  port: 389  (default)
  refcnt: 2  status: Connected
  last used: Mon Aug  2 11:49:53 2004

** Outstanding Requests:
 * msgid 1,  origid 1, status InProgress
   outstanding referrals 0, parent count 0
** Response Queue:
   Empty
ldap_chkResponseList for msgid=1, all=1
ldap_chkResponseList returns NULL
ldap_int_select
read1msg: msgid 1, all 1
ber_get_next
ldap_read: want=8 error=Connection reset by peer
ber_get_next failed.
ldap_perror
ldap_bind: Can't contact LDAP server (-1)

Do you have any idea why slapd is denying the access?

Thanks in advance