Zentyal Forum, Linux Small Business Server
Zentyal Server => Installation and Upgrades => Topic started by: Peter Haile on April 24, 2013, 05:34:11 pm
-
Hi,
I am currently trying to get Zentyal running as a DC in my active directory domain. This is my first Linux project that i have ever started myself, so any help would be greatly appreciated.
I followed the instructions to the tee using:
- http://trac.zentyal.org/wiki/Documentation/Community/Document/MultipleWithWindows
- http://trac.zentyal.org/wiki/Documentation/Community/Document/MultipleZentyal
- http://trac.zentyal.org/wiki/Documentation/Community/Document/SingleZentyal
Does it work? Yes -- to a degree. My Zentyal server joins the domain and acts as a DC. This DC replicates all groups from the PDC of the domain but it does not replicate any users.
After digging deeper i find that a home directory for each user in the domain HAS been created, but the users themselves have not been created.
Am i unsure where i can find the log files for this on Linux (I will post if informed), but my LDAP settings are as follows:
Base DN: dc=thedomain,dc=local
Root DN: cn=zentyal,dc=thedomain,dc=local
Password: mvk@MOAChH/HriMUqTvz
Read-only root DN: cn=zentyalro,dc=thedomain,dc=local
Read-only password: V8bl2I28==HB7F47/v4v
Users DN: ou=Users,dc=thedomain,dc=local
Groups DN: ou=Groups,dc=thedomain,dc=local
ANY help on this matter would be greatly appreciated.
Cheers.
-
I think my first question is "Where can i find the logs files ascertaining to user creation in Zentyal?"
-
Log file attached.
Please note: there are zero errors when Zentyal initially tries to add the domain users.
-
Has anyone had this issue before? Zentyal is continuously trying to replicate all the users in the domain over and over and over again, but the users group remains empty. :/
Honestly, ANY help on this would be appreciated, even if its just random ideas to get the troubleshooting juices flowing!
-
Just curious about a few things -- do I have to be a member of the Zentyal community to warrant a reply? Are my posts too vague? Is this possibly a known issue that has not been resolve/people are working on?
It would be nice to at least be acknowledged.
-
Hi Peter,
Sorry...you do warrant a reply. Regrettably, I can't help with any of your questions :( . I don't know if this is a known or at least reported issue. Apparently the community currently lacks the experience to provide even minimal guidance--including random ideas.
So I'm not sure how to best help you. Let me start with a quick search of trac materials on "ad replication":
http://trac.zentyal.org/search?q=ad+replication
Maybe with a bit of random luck there will be something useful to you in there.
-
Thanks for the reply Sam!
I searched online for the answer to my solution quite a bit before posting in this forum. I believe my issue is an isolated one and therefor I probably wont find the answers online.
I'm going to continue plugin away at this for the time being. If I happen to find a solution i will undoubtedly post it here for others to benefit.
Thanks again,
Peter.
-
Actually -- I just solved this.
For whatever reason the initial user replication did not work. Every couple minutes Zentyal would try the replication again -- but the home directories where created already and therefor the users could not be added.
Over the last couple days I tried using chown, deluser and rmdir to alter/remove these directories but with zero success. Just now I randomly tried using mv to move all the (bad) home directories to a new location and voila it worked -- the home directories were moved and Zentyal was able to create the new user accounts.
I now have a working (pending testing) Zentyal AD DC.
Thank-you,
Peter.
-
Excellent news! Thank you for sharing the solution.
-
Sorry to bump this old thread but I forgot to add something to my *fix*.
Before starting the File Sharing module do the following:
- Navigate to /etc/zentyal
- Open users.conf using sudo
- Change the line 'mk_home = yes' into 'mk_home = no'
Thanks again Zentyal staff.