Hi,
I installed OpenLDAP 2.2.29 on a Win2003 SP2 server that is already an AD DC (so that might be the problem).
When I start the service, I get the following error message: service-specific error 16.
If I run sc query openldap-slapd, I get:
SERVICE_NAME: openldap-slapd TYPE : 10 WIN32_OWN_PROCESS STATE : 1 STOPPED (NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)) WIN32_EXIT_CODE : 1066 (0x42a) SERVICE_EXIT_CODE : 16 (0x10) CHECKPOINT : 0x0 WAIT_HINT : 0x0
It does work fine on WinXP tho. So I think there is a conflict with AD.
Is there a way to change the port that OpenLDAP uses?
If not, I'll just demote the server instead.
Thanks! Simon
AD uses the LDAP ports, because it is Microsoft's (poor) implementation of LDAP. I would not recommend trying to run AD and OpenLDAP on the same machine.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Paul Blondé
-----Original Message----- From: openldap-software-bounces+jpb=entel.ca@openldap.org [mailto:openldap-software-bounces+jpb=entel.ca@openldap.org] On Behalf Of Simon Renshaw Sent: Thursday, July 19, 2007 2:02 PM To: openldap-software@openldap.org Subject: Error message while starting service
Hi,
I installed OpenLDAP 2.2.29 on a Win2003 SP2 server that is already an AD DC (so that might be the problem).
When I start the service, I get the following error message: service-specific error 16.
If I run sc query openldap-slapd, I get:
SERVICE_NAME: openldap-slapd TYPE : 10 WIN32_OWN_PROCESS STATE : 1 STOPPED (NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)) WIN32_EXIT_CODE : 1066 (0x42a) SERVICE_EXIT_CODE : 16 (0x10) CHECKPOINT : 0x0 WAIT_HINT : 0x0
It does work fine on WinXP tho. So I think there is a conflict with AD.
Is there a way to change the port that OpenLDAP uses?
If not, I'll just demote the server instead.
Thanks! Simon
Simon Renshaw wrote:
Is there a way to change the port that OpenLDAP uses?
http://www.openldap.org/software/man.cgi?query=slapd&format=html
Check the -h option.
Jon Roberts www.mentata.com
-----Original Message----- From: openldap-software-bounces+mhardin=symas.com@OpenLDAP.org [mailto:openldap-software-bounces+mhardin=symas.com@OpenLDAP.org] On Behalf Of Simon Renshaw Sent: Thursday, July 19, 2007 3:02 PM To: openldap-software@openldap.org Subject: Error message while starting service
Hi,
I installed OpenLDAP 2.2.29 on a Win2003 SP2 server that is already an AD DC (so that might be the problem).
When I start the service, I get the following error message: service-specific error 16.
2.2.29's a bit old, but if you look in the source for that build you should be able to determine the cause of the error. At a guess, error 16 is "port already in use", so you're likely on the right track. At some point in the past slapd was given the ability to look in the registry for the port number (the listener, actually) and that information, too, is in the source.
If you're looking for something a bit newer, go get one of our distributions based on 2.3.x - we released a free Windows distro last month. Documentation, including information on changing the port number, is in the ReadMe that's included with the distribution.
We run OpenLDAP on AD domain controllers all the time- just change the listener to use a different port number.
Cheers,
-Matt
Matthew Hardin Symas Corporation Packaged and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
openldap-software@openldap.org