Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Join Linux Client To Samba 3 NT PDC [howto]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
newtonian
Guru
Guru


Joined: 19 Jan 2005
Posts: 465
Location: Hokkaido Japan

PostPosted: Tue Oct 03, 2006 6:58 am    Post subject: Join Linux Client To Samba 3 NT PDC [howto] Reply with quote

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:
Code:
emerge samba

Code:
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
Quote:

[global]
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
Code:
/etc/init.d/samba stop


Join the linux client machine to the DOMAIN.
root is my admin account on the samba PDC
Code:
net rpc join SAMBADOMAIN -Uroot
Password:
Joined domain SAMBADOMAIN.


Start up samba on the client:
Code:
/etc/init.d/samba start


test by mounting a shared resource from the domain:
Code:
smbmount //192.168.0.1/public /mnt/aardvark/public/  \
-o username=david,password=mypassword,uid=1000,umask=000



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
http://www.gentoo.org/doc/en/quick-samba-howto.xml
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum