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

Re: ldapsearch -p option ignored (ITS#2532)

Specifying -p without -h should likely be treated as an error
instead of being ignored.  Without a -h, the default URI is
"ldap://localhost:389";.  You can set a different default URI
via ldap.conf (via URI or via component options) but you
cannot mix command line components with ldap.conf components.


At 02:44 PM 5/21/2003, norbert@burgundy.dyndns.org wrote:
>Full_Name: Norbert Klasen
>Version: head
>OS: SuSE Linux 8.1/x86
>Submission from: (NULL) (
>The port option (-p) is ignored when specified without the hostname option
>> bin/ldapsearch -d 1 -p 2389 -b "" -s base -x +
>ldap_connect_to_host: TCP localhost:389
>ldap_new_socket: 3
>ldap_prepare_socket: 3
>ldap_connect_to_host: Trying
>ldap_connect_timeout: fd: 3 tm: -1 async: 0
>ldap_ndelay_on: 3
>ldap_is_sock_ready: 3
>ldap_ndelay_off: 3
>ldap_open_defconn: successful
>ber_flush: 14 bytes to sd 3
>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: Wed May 21 23:39:30 2003