do u have an nt domain or Active directory?
also i dont think there is a need for password server entry. you can code the wins server's ip(in case you work with an nt domain.)
Main Topics
Browse All TopicsI scoured the forums here and googled all information on this topic but was not able to do what I want to do. I'd really appreciate it if someone can walk me through this -
All I want to do is to get a RedHat 9 machine to join a Windows 2000 domain so I can log in with my network login here. Without joining the domain, I can still get to the internet but using other network resources is a bear. I have limited Administrative privileges for my department where I can easily create a machine name in Windows and attach it to the domain. In Windows XP Professional, all I have to do is go into the Computer Name tab in Systems properties and click on the Network ID button and can type in details like the machine name and domain and it joins the domain!
How do I do this exact thing in RH9?
Thanks in advance
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
We current have a NT domain but will be moving to AD pretty soon (about 3 months or so). td_miles' suggestion worked wonderfully and I got the 'welcome to the domain' message. However, two questions:
1. Where to from here. Thinking in Windows terms, I can select the domain name at the login prompt and enter a valid username and password, and I would be authenticated. Does it work the same way in Linux/Samba?
2. How does the equation change when we move to AD?
Thanks
for the second question, check http://insight.zdnet.co.uk
for the first part, i dont know exactly but you should check the support of your window manager.(i.e. KDE, gnome)
i know that you can make it against an LDAP server.
hope this helps.
1. To authenticate your Linux box logons against the windows domain, you need to do two things:
(i). create an account on the linux box that has the SAME username as the windows domain account. Don't worry about making the password the same, just the username.
(ii). run the command "authconfig" from a Linux shell. Go to the section to configure SMB authentication. Enable it and put it your domain controller IP address(es).
Now when you logon to the Linux box will use the windows domain controller to authenticate your password. There may be a way to do this without a local user profile on the linux box, but I don't know of it. It is still using the local profile, just verifying the password using SMB authentication back to the windows domain.
2. Shouldn't change at all in AD. We have the exact same setup in a win2k AD domain and it works just fine.
Hi nerak99,
First you add winbind in your nsswitch.conf
passwd: files winbind
group: files winbind
hosts: files dns winbind
Add your realm to kerberos in krb.conf
Authenticate
#kinit user@REALM
Join the domain in Active directory
#net ads join -S DOMAIN -U user%passwd
Join the domain in NT Direcotry
#net rpc join -S DOMAIN -U user%passwd
In smb.conf ¨
Active Directory
[global]
security = ADS
password encrypt = yes
realm = REALM.COM
idmap uid = 10000-20000
idmap gid = 10000-20000
template shell = /bin/bash
template home = /home/win2k/%D/%U
winbind separator = +
NT directory
[global]
security = DOMAIN
idmap uid = 10000-20000
idmap gid = 10000-20000
template shell = /bin/bash
template home = /home/win2k/%D/%U
winbind separator = +
Create the home directories
run smb, nmb and winbind
you can probe winbind with
#wbinfo -u
#wbinfo -g
#getent passwd
#getent group
To a local login you need to edit your PAM settings, depend of your system.
In red hat, you need to edit the file system-auth.
In SuSe, login and xdm.
Check out:
http://www.redmondmag.com/
I followed this paper to the letter with Fedora Core 3 and it works very well... The only step I found missing was that I also needed to add a folder /home/"my domain name", and set its permissions to 777. Now I can login with any windows account. I have been trying to make this work for months, and this is the only time I have had success.
After you follow this article, then do the command:
wbinfo -g
This will show you your AD groups.
This next part is easiest if you install SWAT.
Start your samba daemons, create a share in samba and add:
valid users = "domain\security group"
Use the quotes, especially if your windows group name has any spaces in it, and make sure it matches what you saw in the wbinfo –g command.
Business Accounts
Answer for Membership
by: td_milesPosted on 2003-10-13 at 22:09:11ID: 9544720
configure the samba server config file:
n/samba/co nfig/domai n-1.html
[global]
netbios name = SAMBA
workgroup = NT_DOMAIN
password server = NT_PDC, NT_BDC_1, NT_BDC_2
security = domain
you should be able to use the command:
smbpasswd -j <domain> -r <PDC> -U <NT administrator>
which will then prompt you for the administrator password
This was all grabbed from the following URL:
http://samba.linuxbe.org/e