LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-16-2003, 11:05 AM   #1
engnet
Member
 
Registered: May 2003
Posts: 30

Rep: Reputation: 15
Samba and Windows Domain


Hello was wondering if someone could help with a small project!!!!!!.

I am developing a Dialin/RAS system for my company and all initial connections across ppp and vpn work great (server is W2003).

The file server for users accessing the system is running on RH7.2 with samba enabled.

I have enabled password server authorization and added the desired IP for the Win domain controller, this I was hoping with then allow users to access there directory structure.

NO joy as yet.

I have therefore simply added the same username and password for both access to the domain and also samba shares.

Access to the domain and samba is by the following method:

domainname\username
password

this works great and only allows access to the users area.

I am therefore looking for a way to simply have users accessing the domain i.e windows and then be able to access there shares without having to logon again to samba shares.

I hope this makes sense have been working on it since last night and need some beer and rest.

Many thanks

Chris H

Sorry forgot to include that the samba server is running across 2 subnets.
 
Old 05-16-2003, 11:15 AM   #2
bentz
Member
 
Registered: Mar 2003
Distribution: Fedora, Mac OSX
Posts: 362

Rep: Reputation: 30
You need security=domain instead of security=server. You will also need to create a machine account in Server Manager on your NT Domain Controller, and join the Samba server to the NT Domain using:
smbpasswd -j NT -r PDC

I also suggest using winbindd instead of managing a smbusers file for UNIX-to-NT username mappings, in case you aren't already. Winbindd is configured adding two UID & GID ranges in smb.conf, and modifying /etc/nsswitch.conf to allow the 'passwd' & 'group' databases to also be read from the NT DC and act as though the NT users were local to the Linux machine. Works like a dream.
 
Old 05-16-2003, 11:21 AM   #3
engnet
Member
 
Registered: May 2003
Posts: 30

Original Poster
Rep: Reputation: 15
Thanku

Many thanks, ill give it ago when I return to work on Monday.

Chris H
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba as windows Domain Server jchristman Linux - Networking 17 07-16-2008 07:18 AM
Samba/Windows Domain kazmax Linux - Networking 3 11-21-2005 06:32 AM
Samba and Windows Domain Question bchris999 Linux - Networking 3 11-12-2004 02:18 PM
Samba as windows domain controler SolidSnake Linux - Networking 3 01-27-2004 09:59 AM
Samba Domain + Windows XP Tunarle Linux - Networking 5 10-13-2003 09:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration