Thank you, Peter!
(I am presuming that's your given name.)
Thank you so much! I find LDAP confusing, and honestly, I've found no
reliable HOWTO online.
Your directions were explicit and correct, and I truly appreciate the
time you took to answer.
I will now proceed (when the server is less busy) to install Samba4,
provision it and get on with my work.
Here's the output showing it was successful:
adam@sogo:/etc/default$ sudo service slapd start
* Starting OpenLDAP slapd [ OK ]
adam@sogo:/etc/default$ sudo netstat -lnptu | grep slapd
tcp 0 0 0.0.0.0:10389 0.0.0.0:* LISTEN 753/slapd
tcp6 0 0 :::10389 :::* LISTEN 753/slapd
On 08/27/2013 10:00 AM, Szládovics Péter wrote:
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