>>> "buzz lightyear" <buzzheavyyear@hotmail.com> 01/30/04 02:13pm >>> I've spent the last couple of days trying to figure this one out, but no luck .... I'm running Solaris 9, and sasl and berkeley are installed. Everything compiles fine, but when I do the 'make test', or install and run slapd, I always get .. daemon_init: <null> daemon_init: listen on ldap:/// daemon_init: 1 listeners to open... ldap_url_parse_ext(ldap:///) daemon: getaddrinfo failed: invalid flags slapd stopped. connections_destry: nothing to destroy .. in the debug log. Does anyone have any insight into this to help me move along. Cheers buzz <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Hi buzz, Sorry to be sending this to you twice, buzz, but I forgot to include the list in the first one ... mea culpa. First, you do not say which version of OpenLDAP you are trying to compile, but ... IIRC, when I compiled 2.1.24 on Solaris 9, I needed to change slightly servers/slapd/daemon.c to pass a corrected "hints" structure. A patch is attached for this. I can not recall exactly at which point mine failed during compile or testing, but I _think_ it was during testing like yours. In the patch, I moved the ai_socktype down one line to line up with Sun's definition of hints -- just my own anal-retentive preference, but the added ai_protocol is necessary! HTH Mike.
Attachment:
daemon.diff
Description: Binary data