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

Re: port



aleks a écrit :

How does one change the port in openldap ... I tried PORT option in ldap.conf and restarted ldap ...
but when I tried ldapsearch -h localhost -p 390 .... it says can't contact server .


from man :

-h ldaphost
Specify an alternate host on which the ldap server is running. Deprecated in favor of -H.


-p ldapport
Specify an alternate TCP port where the ldap server is listening. Deprecated in favor of -H.



ldapsearch -H ldap://machine:port