Unable to setup OD Master with Lion Server in VM

Number:rdar://10125529 Date Originated:14-Sep-2011 10:35 PM
Status:Open Resolved:
Product:OS X Server Product Version:10.7.1 (11B26)
Classification:Serious bug Reproducible:Always
When you try to setup an OD master with Lion Server assistant in VMware Fusion 4 you end by an error. The Server.app assistant ask you to check your network settings and try again.

If you try to setup your OD master with the command line, you got an unexpected end with an ODM nonfunctional.

Steps to Reproduce:
Get a Lion Server in VM with DNS properly set.

Open a terminal as root and try that :

declare -x SSOUtilDebugLevel=9
slapconfig -createldapmasterandadmin --certAuthName "iNig-Services" --certAdminEmail "yoann@inig-services.com" diradmin "Directory Administrator" 1000

Expected Results:
The process should create the LDAP database, Password Server, KDC, etc.

Actual Results:
The tool end when trying to setup the LDAP :

diradmin's Password:
Success. Master creation is possible.
2011-09-14 20:24:46 +0000 Using generated suffix: dc=marseille,dc=inig-services,dc=com
2011-09-14 20:24:46 +0000 command: /usr/sbin/sso_util info -g -p
2011-09-14 20:24:46 +0000 Copied file from /etc/openldap/slapd.conf to /etc/openldap/slapd.conf.backup.
2011-09-14 20:24:46 +0000 Removed file at path /var/db/openldap/openldap-data/DB_CONFIG.
2011-09-14 20:24:46 +0000 Removed file at path /var/db/openldap/authdata/DB_CONFIG.
2011-09-14 20:24:46 +0000 Starting LDAP server (slapd)
2011-09-14 20:24:46 +0000 Waiting for slapd to start
2011-09-14 20:24:47 +0000 command: /usr/bin/ldapadd -c -x -H ldapi://%2Fvar%2Frun%2Fldapi

After the ldapadd command, nothing come, you can wait for a very longtime without any progress.

This bug wasn't here in 10.6

A look inside /Library/Logs/slapconfig.log confirm that the GUI tool block at the same state.


Confirm VMWare Fusion and Lion Server 10.7.2

Exact same problem with Lion Server 10.7.2 running on VMWare Fusion. 4.0.2. CY's workaround of enabling 2 CPUs fixed it. Thank you CY.

+1 and fixed offerred

I encountered what seems to be the identical problem, with Lion Server running on VirtualBox 4.1.2. My attempts to establish the OD master were solely from within the Open Directory Assistant GUI; however, the log file signature above matches mine exactly.

The fix ultimately, was to enable 2 CPUs on the VM whereas only 1 was previously configured.



Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!