Zentyal Forum, Linux Small Business Server

Zentyal Server => Installation and Upgrades => Topic started by: txsastre on May 25, 2012, 09:46:59 am

Title: adding windows to domain (zentyal 2.3)
Post by: txsastre on May 25, 2012, 09:46:59 am
How could I add a windows XP to a 2.3 server ?

I cannot set a user as "administrator", son when I try to add a machine to the domain, when I set user/pass i says that "unknown user / incorrect password". So I assume a lack of privileges here.

How can I create an user with this rights, I see that it is not implemented via GUI.

thanks !
Title: Re: adding windows to domain (zentyal 2.3)
Post by: half_life on June 01, 2012, 05:59:26 am
Taking a wild guess.  Use the user credentials that you log into the Zentyal web interface.  That should work.
Title: Re: adding windows to domain (zentyal 2.3)
Post by: robb on June 01, 2012, 08:37:56 pm
Any user that is member of the admin group has 'sudo' rights. With such an account you can do administrative tasks like logging in on the zentyal webgui, create other users or add computer accounts to the Samba Domain.
Title: Re: adding windows to domain (zentyal 2.3)
Post by: txsastre on June 15, 2012, 11:20:24 am
I've tried this again, using the same administrator & password that I use when I login zentyal GUI, but when I try to add an XP machine to the zentyal domain (zentyla.lan), it says to me that "there is an error : unknown username or incorrect password".

Title: Re: adding windows to domain (zentyal 2.3)
Post by: half_life on June 24, 2012, 08:36:37 pm
One possible issue is not having the Zentyal server as the first configured dns server on the client in question.
Title: Re: adding windows to domain (zentyal 2.3)
Post by: txsastre on June 25, 2012, 12:11:35 pm
Don't think so, the client is configuring its IP via DHCP.

Zentyal is the only server in this development LAN
Title: Re: adding windows to domain (zentyal 2.3)
Post by: robb on June 25, 2012, 04:30:48 pm
Can you have a look at this post: http://forum.zentyal.org/index.php/topic,9755.msg41054.html#msg41054
And report back if it solves your problem?

IE: check if your user is member of group sudo: groups <youruser>
If not, then add the user to the group sudo: adduser <youruser> sudo
Title: Re: adding windows to domain (zentyal 2.3)
Post by: txsastre on July 04, 2012, 12:16:10 pm
Can you have a look at this post: http://forum.zentyal.org/index.php/topic,9755.msg41054.html#msg41054
And report back if it solves your problem?

IE: check if your user is member of group sudo: groups <youruser>
If not, then add the user to the group sudo: adduser <youruser> sudo
I've tried again and i have not luck with that, the windows XP finds the ZENTYAL-DOMAIN, and asks me for an user and password to add the machine to it, but always says me that there is a problem with the name / password of the user.

IE: check if your user is member of group sudo: groups <youruser>
sudo groups tomeu
result : tomeu adm cdrom sudo dip plugdev lpadmin sambashare admin

If not, then add the user to the group sudo: adduser <youruser> sudo
already done as you can see the result above : adduser tomeu sudo
Title: Re: adding windows to domain (zentyal 2.3)
Post by: zahadom on July 11, 2012, 01:17:09 pm
I have the same problem.

I have found that users and groups service is being held from the time I activated the file sharing sevice.
I could not restart the service, even after reboot.

In Zentyal 2.2 both service are running same time.

I think it's a problem with this version

Sorry for my English

Regards
Title: Re: adding windows to domain (zentyal 2.3)
Post by: jameschuk on July 13, 2012, 08:01:29 pm
are you using xp pro. Only Windows OS with professional version  can able to join domain.
Title: Re: adding windows to domain (zentyal 2.3)
Post by: jsalamero on July 16, 2012, 03:41:26 am
This has been improved in the git version, but for now you can use the password shown in the File Sharing section.
Title: Re: adding windows to domain (zentyal 2.3)
Post by: txsastre on July 19, 2012, 11:43:52 am
Hi again.

I've done a new installation, and I have the same problem, again. So I noticed that the "users and groups" service is stopped, is that normal ?

I don't known how to start it.
Title: Re: adding windows to domain (zentyal 2.3)
Post by: jsalamero on July 20, 2012, 12:27:46 am
Have you tried to remove users and samba modules and install them again?

apt-get remove --purge zentyal-users zentyal-samba

apt-get install zentyal-users zentyal-samba
Title: Re: adding windows to domain (zentyal 2.3)
Post by: txsastre on July 20, 2012, 10:20:52 am
I've tried it, but still says "stopped",

by the way I hope my efforts are useful for development of the new version :)
Title: Re: adding windows to domain (zentyal 2.3)
Post by: majestyx on July 20, 2012, 05:11:30 pm
at first: i acknowledge  @half_life if you want to have a Workgroup/PDC whit an "NT_Server" you must set up the "NT-Server" (PDC) as the first DNS Server at the XP Client. And sure, only the "Pro" Version can use it.... (MS = buy or die)  8)

I would make the same whit my GNU/Linux PDC, for safety  ::)

at second: module do not start (again) -> pls, take a look to /var/log/zentyal*.* (zentyal.log or error.log) & connect a Win Client to Zentyal Domain: take a look to /var/log/samba/*.* (you see log files sorted by IP Addresses from Clients) maybe this helps....

good luck!
Title: Re: adding windows to domain (zentyal 2.3)
Post by: dkennedy on July 23, 2012, 02:34:41 am
I had almost the same problem tonight.
I could join the domain but was unable to logon after reboot.
disjoin didnt work also.
Problem was that I used a "lean XP pro edition" of about 90MB.
After installing a full blown version in ESX I was able to logon, logoff etc.
Title: Re: adding windows to domain (zentyal 2.3)
Post by: txsastre on July 25, 2012, 11:01:57 am
Hi everybody.

yesterday I saw that there were and upgrade, the version 2.3.2.

I installed it and it have some improvements, and now I can add windows to the domain as if I were using version 2.2

good work !

PD. i had to enable PAM in LDAP users because I was unable to log in the systems with the windows machine in the domain. So I was able to add to the domain, but I was unable to log in ...
Title: Re: adding windows to domain (zentyal 2.3)
Post by: zahadom on August 03, 2012, 03:13:37 pm
Hi Txsastre
Can you put the steps you did to achieve this.
I installed Zentyal 2.3.2 from scratch.
I activated, users and groups and file sharing. then users and group service is stopped. LDAP listen in 390 port.
I canĀ“t join XP professional to domain
thanks
Title: Re: adding windows to domain (zentyal 2.3)
Post by: sandy3269 on January 27, 2014, 10:54:38 am
I am using version 3.2, and am able too login with the Domain Administrator account, but could not add a server (Windows 2003) the Zentyal until I changed the password of the Domain Administrator account (used the same password again), then it allowed it. I have added 5 other WinXP accts and did not have the issue. Curious.