Author Topic: adding windows to domain (zentyal 2.3)  (Read 5961 times)

txsastre

  • Zen Monk
  • **
  • Posts: 75
  • Karma: +4/-0
    • View Profile
adding windows to domain (zentyal 2.3)
« 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 !

half_life

  • Bug Hunter
  • Zen Hero
  • *****
  • Posts: 867
  • Karma: +59/-0
    • View Profile
Re: adding windows to domain (zentyal 2.3)
« Reply #1 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.

robb

  • Guest
Re: adding windows to domain (zentyal 2.3)
« Reply #2 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.

txsastre

  • Zen Monk
  • **
  • Posts: 75
  • Karma: +4/-0
    • View Profile
Re: adding windows to domain (zentyal 2.3)
« Reply #3 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".


half_life

  • Bug Hunter
  • Zen Hero
  • *****
  • Posts: 867
  • Karma: +59/-0
    • View Profile
Re: adding windows to domain (zentyal 2.3)
« Reply #4 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.

txsastre

  • Zen Monk
  • **
  • Posts: 75
  • Karma: +4/-0
    • View Profile
Re: adding windows to domain (zentyal 2.3)
« Reply #5 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

robb

  • Guest
Re: adding windows to domain (zentyal 2.3)
« Reply #6 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
« Last Edit: June 25, 2012, 04:33:15 pm by robb »

txsastre

  • Zen Monk
  • **
  • Posts: 75
  • Karma: +4/-0
    • View Profile
Re: adding windows to domain (zentyal 2.3)
« Reply #7 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

zahadom

  • Zen Apprentice
  • *
  • Posts: 22
  • Karma: +3/-0
    • View Profile
Re: adding windows to domain (zentyal 2.3)
« Reply #8 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

jameschuk

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: adding windows to domain (zentyal 2.3)
« Reply #9 on: July 13, 2012, 08:01:29 pm »
are you using xp pro. Only Windows OS with professional version  can able to join domain.

jsalamero

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1419
  • Karma: +45/-1
    • View Profile
Re: adding windows to domain (zentyal 2.3)
« Reply #10 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.

txsastre

  • Zen Monk
  • **
  • Posts: 75
  • Karma: +4/-0
    • View Profile
Re: adding windows to domain (zentyal 2.3)
« Reply #11 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.

jsalamero

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1419
  • Karma: +45/-1
    • View Profile
Re: adding windows to domain (zentyal 2.3)
« Reply #12 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

txsastre

  • Zen Monk
  • **
  • Posts: 75
  • Karma: +4/-0
    • View Profile
Re: adding windows to domain (zentyal 2.3)
« Reply #13 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 :)

majestyx

  • Board Moderator
  • Zen Warrior
  • *****
  • Posts: 243
  • Karma: +8/-1
  • Dont feed the Troll !
    • View Profile
    • German FSFE Blog
Re: adding windows to domain (zentyal 2.3)
« Reply #14 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!
Ahoi
Michael (majestyx) pls, applaud if I could help ;)
--
Erst lesen, dann schreiben: http://forum.zentyal.org/index.php/topic,4317.0.html

Zentyal Doku: http://doc.zentyal.org/en/zindex.html (engl.)