I had not understood that I could edit a file to set a different port?

All I've seen recommended is 'sudo slapd -h ...' to change the default port.

My 'etc/default/slapd' reads:

adam@sogo:~$ cat /etc/default/slapd
SLAPD_OPTIONS=""
SLAPD_SENTINEL_FILE=/etc/ldap/noslapd
SLAPD_SERVICES="ldapi:/// ldap:///";
SLAPD_PIDFILE=""
SLAPD_USER=openldap
SLAPD_GROUP=openldap
SLAPD_CONF=""

I am presuming I'd add one line at the end to read:

SLAPD_PROVIDER="ldapi:// ldap://localhost:10389";

Then make sure port 10389 is open on the firewall (perhaps the firewall is the problem)

I tried 'sudo slapd -h "ldapi:// ldap://localhost:10389' to no avail (it didn't work)

On 08/26/2013 07:28 AM, Szládovics Péter wrote:
2013-08-26 11:22 keltezéssel, [email protected] írta:
Is 'sudo slapd -hldap://localhost:10389' correct?  What about 'ldaps:' and
'ldapi:?'

What else might be keeping 'slpad' from restarting?  Thanks.

Dear Steve,

You didn't change the default slapd port. Try to change it in the /etc/default/slapd.

--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to