[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.

Kurt

At 02:44 PM 5/21/2003, norbert@burgundy.dyndns.org wrote:
>Full_Name: Norbert Klasen
>Version: head
>OS: SuSE Linux 8.1/x86
>URL: 
>Submission from: (NULL) (217.226.22.82)
>
>
>The port option (-p) is ignored when specified without the hostname option
>(-h):
>
>> bin/ldapsearch -d 1 -p 2389 -b "" -s base -x +
>ldap_create
>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: 3
>ldap_prepare_socket: 3
>ldap_connect_to_host: Trying 127.0.0.1:389
>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
>ldap_send_server_request
>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