2013-08-26 11:22 keltezéssel, [email protected] írta:
I'm trying to perform the prerequisites before installing Samba4 on a
functioning ZEG with Cyrus, SOGo 2.0.7 and OpenLDAP (on Ubuntu 12.04.2)

Pg. 5 [7] of Native Microsoft Outlook Configuration 2.0.7 states:

Note that if you install Samba 4 on a server that is already running a LDAP
service, you will
have to change to TCP port on which your LDAP server listens to. Samba 4 will
use the TCP port 389 and it can't be changed.

For example, with OpenLDAP, you can use the -h parameter for slapd to make it
listen on an
other TCP port.


'slapd' fails to restart after changing the port!

adam@sogo:~$ sudo netstat -lnptu | grep slapd
tcp         0      0 0.0.0.0:389          0.0.0.0:*            LISTEN   
1727/slapd      
tcp6       0      0 :::389                  :::*                    LISTEN
1727/slapd      

adam@sogo:~$ sudo slapd -h ldap://localhost:10389

adam@sogo:~$ sudo service slapd restart
  * Stopping OpenLDAP slapd                                             
[ OK ]
  * Starting OpenLDAP slapd                                             
[fail]

adam@sogo:~$ sudo netstat -lnptu | grep slapd
tcp         0      0 0.0.0.0:389          0.0.0.0:*            LISTEN   
1727/slapd      
tcp6       0      0 :::389                  :::*                    LISTEN
1727/slapd

Is 'sudo slapd -h ldap://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