Ubuntu Networking :: Likewise Join Domain And Port Memberships From AD
May 17, 2010
in searching i never found an article that got it just right. so here it is tried and true..
1. I usually start out assigning myself a static ip address. this is not needed to join but its something I always do.
2. next i set my dns settings in resolve.conf to my local dns server
3. download likewise "apt-get install likewise-open"
4. for kerberos i just leave it blank
5. go to your nsswitch.conf file located in /etc/ and set the hosts to only files and dns
6. now you should stop your networking and start it again so that the dns changes take effect.
7. you are now ready to try and join your domain. "domainjoin-cli join fqdn.of.yourdomain administrator" you can substitute administrator with any admin account
you should now be joined to your domain for adding sudo rights to the "administrator" membership
1. open your sudoers file located in /etc/
2. the following line to the bottom of the file "%DOMAIN\administrators ALL=(ALL) ALL" replace DOMAIN with your domain name. do not use your fqdn. all set. hope you enjoy
View 2 Replies
ADVERTISEMENT
Jun 10, 2010
I'm having a problem getting likewise to connect to a Windows 2008 R2 server on our network.
[code]....
Error: Lsass Error [code 0x00080047] 9502 (0x251E) DNS_ERROR_BAD_PACKET - A bad packet was received from a DNS server. Potentially the requested address does not exist. I have already read up on this a little bit. Both servers are within a minute of each other, so I am not concerned about server timing. I am not sure where to go from this point. Everything I have read seems to indicate that this should "just work".
View 9 Replies
View Related
Aug 21, 2009
I've got a home server running Ubuntu Server 9.04 and several machines running Ubuntu Desktop (9.04 and 8.04) and Windows (XP, Vista and 7). Now what I want to do is to create a domain and directory server similar in function to Windows Server w/ AD and join my other machines to the domain, but am not sure where to start. I already have file shares with Samba but now I want to setup a domain.
View 3 Replies
View Related
Feb 12, 2010
I've installed Ubuntu 9.10 in my office desktop. as a newbie in the world of linux, i really do not know much about it. I want to join my desktop in our domain. i already have the ip addresses of the DNS servers but i dunno where to put it. i've installed likewise open and try to join the domain but it displays the following errors: Manual Configuration Required:
The configuration stage 'open ports to DC' cannot be completed automatically. Please manually perform the following steps and rerun the domain join: Some required ports on the domain controller could not be contacted. Please update your firewall settings to ensure that the following ports are open to 'MARVEL2.LBPNET':
88 UDP
389 UDP
464 UDP
445 TCP
View 1 Replies
View Related
Jun 9, 2010
I was wondering if there is any way to enable an MS Windows client that is otherwise unable of joining a domain to join a domain controlled by (open)SUSE? Is that inability only for joining a Windows based domain but a client that runs XP Home Edition or similar domain- incapable version of Windows could join a domain if it was controlled by Linux?Pardon my newbie style, but answer doesn't have to be detailed step-by-step, just yes/no answer with some pointers would do. I am not new to linux but new to network services... search engines weren't friendly when asked this question at the search bar...
View 2 Replies
View Related
Dec 2, 2010
is it possible to join a Fedora box to a Windows Domain. Will the box be automatically added in DNS?How do I configure Fedora afterwards so I can login with a domain user on the box?
View 1 Replies
View Related
Jun 9, 2010
I put a Lucid 10.04 box on a Windows AD network. I want it to join the domain. I used likewise-open5_5.0.3991.1-0ubuntu2_i386
I ran
1. sudo apt-get update
2. sudo apt-get install likewise-open
3. sudo domainjoin-cli join fqdn of your domain Administrator
4. sudo update-rc.d likewise-open defaults
5. sudo /etc/init.d/likewise-open start
After step 3, I get
Joining to AD Domain: mydomain dot local
With Computer DNS Name: ubuntu dot mydomain dot local
Administrator(at)MYDOMAIN dot LOCAL's password: [I entered it]
Error: Lsass Error [code 0x00080047]
40286 (0x9D5E) LW_ERROR_LDAP_SERVER_DOWN - Unknown error
Im just a Windows schlep new to Linux. I dont even know where to find things like /etc/nsswitch.conf--winbind, let alone how to edit them.
"You are only allowed to post URLs to other sites after you have made 15 posts or more" It took me an hour to get this to post. I attached a text file without all the spaces and 'dots'.
View 6 Replies
View Related
May 15, 2011
How to join ubuntu computer to a windows domain ?
View 3 Replies
View Related
Sep 3, 2009
Tutorial for setting up a
domain server, dns server, ldap, mail server, firewall and proxy
with centos and how can I join ubuntu clients to the domain?
View 1 Replies
View Related
May 30, 2010
how can i join linux and mac machine with windows domain?
View 1 Replies
View Related
Sep 28, 2009
I have a centos 5 server joined to a win2003 active directory domain. It's a virtual machine, so i had to sync the date (ntpdate) because it was 12 minutes different. It worked, but not ntlm authentication is not working anymore. If i rejoin the domain i get:
net ads join -U administrator@MYDOMAIN.COM
administrator@MYDOMAIN.COM's password:
Failed to set password for machine account (NT_STATUS_DISK_FULL)
Failed to join domain: NT_STATUS_DISK_FULL
View 5 Replies
View Related
Mar 31, 2011
I am practising setting up a small network using UBUNTU as a PDC through SAMBA to service xp clients.
I have sucessfully setup DNS on the Ubuntu server using Bind9 and can nslookup from both the client and the server by FQDN and can also ping ipaddress.
I have setup a basic smb.conf file however when I try to add the xp client to the domain I get an error message saying a domain controller for the domain could not be contacted.
I have disabled the firewalls on both the server and the xp client and still get the same error message when trying to join the domain. I've checked my network settings on the client, its set to use a static IP address and the DNS server and WINS server are set as my Ubuntu Samba PDC address.
I haven't been able to see anything odd in the smb.conf file that might cause this issue. I can connect directly to the shares using the samba network account that I created by going to start run and typing in the unc path.
Not sure what the cause of this issue is, I thought it might be a DNS issue on the client. One odd thing I noticed is that when I do nslookup using just the server name and not the FQDN i get a message in dos saying that the default server cannot be found but says that the server name for the [ipadress] cannot be found. It does list the correct ip.
I'm not sure what is causing the problem of stopping my xp client from joining the Ubuntu Samba PDC. I'm using UBUNTU server 10.04.
View 1 Replies
View Related
Aug 22, 2010
I have 15 or so debian lenny machines, and a xen server that I would like to join to the windows 2003 AD domain controller. The main goal is I would like the windows / linux user names and passwords to be the same on each system. Only 10 or so users need access to the machines but the passwords sometimes are different. How should I go about accomplishing this ?
I was told that openldap may be a solution. But from what I've read about it sounds like its just a mimic or window AD and doesnt sync with it, at least natively ?
View 2 Replies
View Related
Sep 28, 2009
I have installed Fedora 11 and all updates. Samba 3.4.1. When join to domain from WinXP box with sp3 show error. The specified network password is not correct.
View 9 Replies
View Related
Nov 19, 2010
Where can I find information about how to get OpenSUSE 11.3 to join a Windows Domain that uses Kerberos?
View 1 Replies
View Related
Mar 11, 2010
I am new to Debian Linux and I have just installed the software. How can I join the computer to a Windows domain? How can I configure the network?
View 1 Replies
View Related
Mar 4, 2010
i have installed RHEL5 on my system.i want to join my system on my organisation s active directory domain.how can i do it?suppose domain name is "abc-xyz"
View 6 Replies
View Related
Dec 18, 2010
I've been configuring a PDC using samba I used this tutorial url as reference. It seems all went well during the installation and configuration not until when I try to join a windows machine to the domain.
Scenario: When the authentication dialog box prompts the username and password of the domain administrator. I supply root as username and its corresponding password. Then I will prompt an error "The user name could not be found. But, I have noticed that when I supply a wrong password of root the it will prompt "Login failure: unknown user name or bad password. It seems that the windows machine was able to recognize the account somehow.
View 8 Replies
View Related
Aug 18, 2010
We've been running samba on linux for a while and everything was fine. All of a sudden when you add new clients to the domain you get the error message :Logon Failure:unknown user name or bad password. This to me seems like a windows error message and not a samba error. When you remove an existing machine (ie on domain) and then try to rejoin it to the domain you fail.
View 4 Replies
View Related
Dec 21, 2010
Once I setup winbind, samba, and krb5, and I attempt to join the machine to the domain, I get an error message as follows:
net ads join -U user@domain
Failed to join domain: failed to lookup DC info for domain 'XXX.COM' over rpc: Duplicate name on network.
How can I correct this?
View 1 Replies
View Related
Jul 5, 2010
I have too many problems to join my OpenSuSE 11.2 with Samba 3.5.4 in a Windows 2008 Active directory Forest (MYDOMAIN.LOCAL). I have updated Samba to 3.5.4 after read that default 11.2 version have too many bugs. Now, when I try to join the Domain MYDOMAIN.LOCAL via yast i have only an undebuggable error "unknown error". For yast, my Suse is joined but i'm unable to authenticate, i can't see "MYDOMAIN.LOCAL" at KDM login and if i try to lookup forest i have this error:
Code:
wbinfo -u
Error looking up domain users
but i'm able to retrive ticket via kinit
Code:
# kinit Administrator
Password for Administrator@MYDOMAIN.LOCAL:
[Code]...
have you a samba version tested against Active Directory 2008? can you link me the repository or help me to solve this?
View 2 Replies
View Related
Feb 3, 2011
Im currently using an english book to setup my samba server, and im having problems understanding it.
I dont want to use root to join clients to the domain; i prefer creating a plain user.
Ok, so, the steps i follow are:
net groupmap add unixgroup=srvadmins ntgroup="Server Admins"
net groupmap add ntgroup="Domain Admins" unixgroup=dmnadmins rid=512 type=d
net rpc rights grant 'ORAServer Admins' seMachineAccountPrivilege
This way, i have a group called srvadmins with permissions to join clients, a group called dmnadmins with permissions to manage users and other permissions, and root.
Now, users: "root", "dmnadmin"(from dmnadmins group) and "srvadmin" (from srvadmins group) can add machines to domain. Root because is root, srvadmin because i granted permissions, and dmnadmin because is admin
So i wonder, why srvadmins group is needed to be granted privileges?
I tryed to lower dmnadmins privileges by revoking semachineaccountprivilege privilege, but didnt worked
net rpc rights revoke 'ORADomain Admins' seMachineAccountPrivilege
looks like its privileges comes from another group and it user managed to add a machine to the domain correctly.
Ok, so, is this really usefull? why do i need 3 kind of users to be able to join to the domain?
View 3 Replies
View Related
Jun 29, 2011
I need to bring my Suse 11 server into active directory domain using samba and winbind. Please let me know the procedure how to do this.
View 3 Replies
View Related
Apr 7, 2010
I would like to join SLES server to Microsoft Server 2008 Active Directory to enable domain authentication when accessing samba shares. When I run
Code:
net ads join -U administrator
I get the following error
Code:
"Failed to join domain: Improperly formed account name."
I tried the same samba configuration on another server (OpenSuse 11.2) without any problem, so I think it is somehow connected with the Samba version, but I'm not sure. Has anybody experienced this behaviour?
Code:
kinit administrator@MYDOMAIN
the package versions on SLES 10 SP2 (x86_64) are following
Code:
samba-3.0.28-0.5
samba-client-3.0.28-0.5
krb5-1.4.3-19.34
krb5-32bit-1.4.3-19.34
[code]....
View 4 Replies
View Related
Dec 8, 2009
I've setup my samba pdc with ldap, and I can see my shared files (public), which i think is an indication that my samba is working. But I can't seems to get my win2k8 machine to join my domain.
My domain admin is : root system admin: root password for both domain admin and system admin are the same The message that I get from Win2k8 when I try to join a domain is "The specified computer account could not be found. Contact an administrator to verify the account is in the domain. If the account has been deleted unjoin, reboot, and rejoin the domain"
[Code]...
View 2 Replies
View Related
May 25, 2010
I'm running Ubuntu 10.04 Server x86 64-bit and installed likewise-open, which I think is version 5.4. I can authenticate with Active Directory credentials, but it seems to hang when I log in. I can press Ctrl-C and break out of the hang, but was interested to see what was causing the behavior. I noticed lsassd was taking up about 99% of CPU while in this hung state. I then did a
Code:
tail -f /var/log/syslog and discovered lsassd was doing some type of query for what appeared to by every user in our Active Directory as I saw hundreds of entries like this being added to the syslog:
Code:
May 25 14:21:27 coe-web lsassd[1225]: 0x7f5bc72c1710:The user attributes in the cache data for 'domainjohndoe' are invalid. The cache database or user data in Active Directory could be corrupt.
Is there some setting I can change so it doesn't do this?
View 7 Replies
View Related
Sep 7, 2010
I'm having a bit of a struggle here. I recently installed likewise-open 6 to logon to my company domain.
All is working fine but one thing, the gnome-terminal autocomplete function.
All that the terminal shows is a "$" sign and nothing else. When I type in a part of a word and press "TAB" it registers as a tab and does not show the autocomplete options that I normally have. it's very annoying to type a long sentence every time.
View 4 Replies
View Related
Dec 3, 2010
I have installed likewise-open to authenticate on Active Directory and pam_mount for mounting folders.
Now when I logon to local user
Dec 3 17:10:38 ltsp-server3 sshd[8742]: pam_mount(pam_mount.c:364): pam_mount 2.3: entering auth stage
Dec 3 17:10:38 ltsp-server3 sshd[8724]: Accepted keyboard-interactive/pam for salman from 10.199.104.45 port 3250 ssh2
Dec 3 17:10:38 ltsp-server3 sshd[8724]: pam_unix(sshd:session): session opened for user salman by (uid=0)
Dec 3 17:10:38 ltsp-server3 sshd[8724]: [moduleam_lsass]pam_sm_open_session failed [login:salman][error code: 40081]
[Code]...
View 1 Replies
View Related
Jul 27, 2010
Im having an issue after I install likewise-open it works fine until i restart the machine the lsassd service won't start for any reason and it's status is dead. Any one run into this issue before?
View 9 Replies
View Related
Mar 2, 2011
I am trying to understand the join command. I wish to join two files:
Code:
$ cat test1
a 0
b 2.51
c 19.85
$ cat test2
a 0
b 2.51
[Code]...
this is great but I do not understand why join ignores the -e flag and fails to insert FOO in the empty field.
View 1 Replies
View Related