I've been trying like crazy to get this to work with CentOS 5.8 + Samba/LDAP. Here's the thing: if you do not need GPO, Samba + LDAP will authenticate Windows boxes. I've gotten to the point where the users have replicated to the BDC, turned off Windows 2003 AD, and tried to join Windows 7 boxes (yes, with regedits) to my CentOS Samba. No love. For whatever reason, it bucks like a mule and refuses to let windows 7 join, either saying permission denied (via root user) or saying the machine name was already taken (both with the machine added to Samba/LDAP or not existing at all). In my searches, I came across Zentyal. I was able to get a test domain up and join a Windows 7 to the test domain. So, at this point the rest seems trivial: set Zentyal to suck the usernames/groups/computers from AD using the migration tool, then flip it to be the PDC. If that isn't a possibility, even potentially just taking the ldiff + samba database files + ldap configs + nsswitch configs+ smbtools configs + whatever the heck else I'm forgetting, put the configs in place, restart the services with Zentyal in PDC mode should work in theory; unicorns, rainbows, and the like. Here's the issue getting there, however. I install Zentyal on a machine, get it up, and couldn't find the Slave "mode". After looking through the forum, I ran the /usr/share/zentyal-users/reinstall and set the mode to slave. While that sets up fine, I set the mode, and notice that, at the top, I get a little warning:
Users and Groups module is disabled. Don't forget to enable it on the Module Status section, otherwise your changes won't have any effect.
I enable it, save, and I get an error message that Zentyal had bombed out and to check the logs. So I tail /var/logs/zentyal/zentyal.log I get:
Exit value: 1 2012/07/20 15:44:42 ERROR> GlobalImpl.pm:664 EBox::GlobalImpl::saveAllModules - The following modules failed while saving their changes, their state is unknown: users".
Now the Users/Groups section shows up as it did in stand alone mode. No more "mode" section. The users section throws me an error that this is a bug:
An internal error has occurred. This is most probably a bug, relevant information can be found in the logs. Please look for the details in the /var/log/zentyal/zentyal.log file and take a minute to submit a bug report so we can fix the issue as soon as possible.
So either I've set Zentyal up wrong from the beginning or there is something wrong with trying to go from BDC to PDC. Any ideas?