2013-08-26 22:13 keltezéssel, Steve Ankeny írta:
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://:10389/"
This is what you need!
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)
You don't need it.
I tried 'sudo slapd -h "ldapi:// ldap://localhost:10389' to no avail
(it didn't work)
Why did you do that?
Forget the 'slapd' binary calling from command line. Do only this following:
1. Stop the slapd service in /etc/init.d or with service command.
2. Modify the command config (above)
3. Start the slapd service
--
[email protected]
https://inverse.ca/sogo/lists