Home › Forums › OS X Server and Client Discussion › Open Directory › LDAP on Panther Server
- This topic has 0 replies, 1 voice, and was last updated 22 years, 9 months ago by
sscotti.
-
AuthorPosts
-
February 16, 2004 at 10:53 pm #357394
sscotti
ParticipantI’ve been trying to get get LDAP working on Panther Server without much success. Initially, I was able to browse the entries with ldapbrowser (java app), but now I cannot do that either. I’m afraid that I somehow corrupted the config files or the server configuration and I’m asking for guidance on how to reconfigure things so that it works. I really only want to use it to serve a “people” containing in my Netinfo database to various apps, and maybe also over the internet.
BTW. Is there anyway to serve a database from a remote server, such as .Mac.
I’m including some info from slapd debug mode:
==> netinfo_back_db_open
==> netinfo_back_get_ditinfo
>>> dnPrettyNormal: <“”>
=> ldap_bv2dn(“”,0)
<= ldap_bv2dn(“”,0)=84
<== netinfo_back_get_ditinfo
(Canonical suffix (null))
<== netinfo_back_db_open
slapd starting
put_filter: “(objectclass=*)”
put_filter: simple
put_simple_filter: “objectclass=*”
ber_scanf fmt (m) ber:
connection_get(9): got connid=0
connection_read(9): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 25 contents:
ber_get_next
ber_get_next on fd 9 failed errno=35 (Resource temporarily unavailable)
do_bind
ber_scanf fmt ({imt) ber:
ber_scanf fmt (m}) ber:
>>> dnPrettyNormal: <sscotti>
=> ldap_bv2dn(sscotti,0)
<= ldap_bv2dn(sscotti,0)=84
bind: invalid dn (sscotti)
send_ldap_result: conn=0 op=0 p=2
send_ldap_response: msgid=1 tag=97 err=34
ber_flush: 24 bytes to sd 9
connection_get(9): got connid=0
connection_read(9): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 284 contents:
ber_get_next
ber_get_next on fd 9 failed errno=35 (Resource temporarily unavailable)
do_search
ber_scanf fmt ({miiiib) ber:
>>> dnPrettyNormal: <>
<<< dnPrettyNormal: <>, <>
ber_scanf fmt ({m) ber:
ber_scanf fmt (m) ber:
ber_scanf fmt ({m) ber:
ber_scanf fmt (m) ber:
ber_scanf fmt ({m) ber:
ber_scanf fmt (m) ber:
ber_scanf fmt ({m) ber:
ber_scanf fmt (m) ber:
ber_scanf fmt ({M}}) ber:
send_ldap_result: conn=0 op=1 p=3
send_ldap_response: msgid=2 tag=101 err=0
ber_flush: 14 bytes to sd 9
connection_get(9): got connid=0
connection_read(9): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 5 contents:
ber_get_next
ber_get_next on fd 9 failed errno=35 (Resource temporarily unavailable)
do_unbind
connection_closing: readying conn=0 sd=9 for close
connection_resched: attempting closing conn=0 sd=9
connection_close: conn=0 sd=9
connection_get(9): got connid=1
connection_read(9): checking for input on id=1
ber_get_next
ber_get_next: tag 0x30 len 25 contents:
ber_get_next
ber_get_next on fd 9 failed errno=35 (Resource temporarily unavailable)
do_bind
ber_scanf fmt ({imt) ber:
ber_scanf fmt (m}) ber:
>>> dnPrettyNormal: <sscotti>
=> ldap_bv2dn(sscotti,0)
<= ldap_bv2dn(sscotti,0)=84
bind: invalid dn (sscotti)
send_ldap_result: conn=1 op=0 p=2
send_ldap_response: msgid=1 tag=97 err=34
ber_flush: 24 bytes to sd 9
connection_get(9): got connid=1
connection_read(9): checking for input on id=1
ber_get_next
ber_get_next: tag 0x30 len 284 contents:
ber_get_next
ber_get_next on fd 9 failed errno=35 (Resource temporarily unavailable)
do_search
ber_scanf fmt ({miiiib) ber:
>>> dnPrettyNormal: <>
<<< dnPrettyNormal: <>, <>
ber_scanf fmt ({m) ber:
ber_scanf fmt (m) ber:
ber_scanf fmt ({m) ber:
ber_scanf fmt (m) ber:
ber_scanf fmt ({m) ber:
ber_scanf fmt (m) ber:
ber_scanf fmt ({m) ber:
ber_scanf fmt (m) ber:
ber_scanf fmt ({M}}) ber:
send_ldap_result: conn=1 op=1 p=3
send_ldap_response: msgid=2 tag=101 err=0
ber_flush: 14 bytes to sd 9
connection_get(9): got connid=1
connection_read(9): checking for input on id=1
ber_get_next
ber_get_next: tag 0x30 len 5 contents:
ber_get_next
ber_get_next on fd 9 failed errno=0 (Undefined error: 0)
connection_read(9): input error=-2 id=1, closing.
connection_closing: readying conn=1 sd=9 for close
connection_close: deferring conn=1 sd=9
do_unbind
connection_resched: attempting closing conn=1 sd=9
connection_close: conn=1 sd=9
connection_get(9): got connid=2
connection_read(9): checking for input on id=2
ber_get_next
ber_get_next: tag 0x30 len 25 contents:
ber_get_next
ber_get_next on fd 9 failed errno=35 (Resource temporarily unavailable)
do_bind
ber_scanf fmt ({imt) ber:
ber_scanf fmt (m}) ber:
>>> dnPrettyNormal: <sscotti>
=> ldap_bv2dn(sscotti,0)
<= ldap_bv2dn(sscotti,0)=84
bind: invalid dn (sscotti)
send_ldap_result: conn=2 op=0 p=2
send_ldap_response: msgid=1 tag=97 err=34
ber_flush: 24 bytes to sd 9
connection_get(9): got connid=2
connection_read(9): checking for input on id=2
ber_get_next
ber_get_next: tag 0x30 len 284 contents:
ber_get_next@(#) $OpenLDAP: slapd 2.1.22 (Nov 20 2003 17:03:41) $
root@scarface:/private/var/tmp/OpenLDAP/OpenLDAP-37.0.1.obj~1/servers/slapd
daemon_init: listen on ldap:///
daemon_init: 1 listeners to open…
ldap_url_parse_ext(ldap:///)
daemon: initialized ldap:///
daemon_init: 2 listeners opened
slapd init: initiated server.
slap_sasl_init: initialized!
bdb_initialize: initialize BDB backend
bdb_initialize: Sleepycat Software: Berkeley DB 4.1.25: (December 19, 2002)
>>> dnNormalize: <cn=Subschema>
=> ldap_bv2dn(cn=Subschema,0)
<= ldap_bv2dn(cn=Subschema,0)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=subschema,272)=0
<<< dnNormalize: <cn=subschema>
/etc/openldap/slapd.conf: line 15: schema checking disabled! your mileage may vary!
==> netinfo_back_db_init
<== netinfo_back_db_init
>>> dnPrettyNormal: <>
<<< dnPrettyNormal: <>, <>
(DSSTORE_FLAGS_ACCESS_READONLY: OFF)
(DSSTORE_FLAGS_ACCESS_READWRITE: ON)
(DSSTORE_FLAGS_SERVER_CLONE: ON)
(DSSTORE_FLAGS_SERVER_MASTER: OFF)
(DSSTORE_FLAGS_CACHE_ENABLED: ON)
(DSSTORE_FLAGS_CACHE_DISABLED: OFF)
(DSSTORE_FLAGS_REMOTE_NETINFO: OFF)
(DSSTORE_FLAGS_OPEN_BY_TAG: OFF)
(DSENGINE_FLAGS_NETINFO_NAMING: ON)
(DSENGINE_FLAGS_X500_NAMING: OFF)
(DSENGINE_FLAGS_POSIX_NAMING: OFF)
(DSENGINE_FLAGS_DEREFERENCE_IDS: OFF)
(DSENGINE_FLAGS_NATIVE_AUTHORIZATION: ON) -
AuthorPosts
- You must be logged in to reply to this topic.