Joined: 19 Jan 2005
Location: Hokkaido Japan
|Posted: Tue Oct 03, 2006 6:58 am Post subject: Join Linux Client To Samba 3 NT PDC [howto]
|This mini-howto gives information about how to connect a linux client to a samba 3 NT Primary Domain Controller.
Connecting from XP is well documented but connecting from a linux client can get confusing because of
changes made from samba 2 to samba 3 and the advent of Active Directory. This howto deals with Samba NT PDC and
not active directory setup.
Here's what you need to do on the linux client:
|vim /etc/samba/smb.conf |
Add this text and change the domain name to what you have set in your PDC.
192.168.0.1 is the ip for the samba PDC
The PDC also has encrypt passwords set to yes
workgroup = SAMBADOMAIN
netbios name = CLIENT_NAME
security = domain
password server = 192.168.0.1
encrypt passwords = yes
Make sure that samba is NOT running on the client machine
|/etc/init.d/samba stop |
Join the linux client machine to the DOMAIN.
root is my admin account on the samba PDC
|net rpc join SAMBADOMAIN -Uroot
Joined domain SAMBADOMAIN.
Start up samba on the client:
|/etc/init.d/samba start |
test by mounting a shared resource from the domain:
|smbmount //192.168.0.1/public /mnt/aardvark/public/ \
Check out the howto below for the basics of getting linux clients to with a samba server.
Updated a broken link to the gentoo samba docs October 21st, 2009