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


  Search this Thread
Old 06-23-2004, 06:06 AM   #1
LQ Newbie
Registered: Jun 2004
Posts: 5

Rep: Reputation: 0
Exclamation Samba Configuration

I am new to Unix and Samba.

I want to create a share a folder on a UNIX box (using Samba) The path will be: /test/abc/files

I also want the samba box to be part of an NT domain.

My questions are

1. How do I create an smb.conf file to cater for these needs.
2. How do I add the Samba box to a domain
3. How do I add these users to the Samba platform

Thanks in anticipation

Old 06-23-2004, 03:02 PM   #2
LQ Newbie
Registered: Jun 2004
Distribution: Mandrake 10.0
Posts: 6

Rep: Reputation: 0
I suggest to download the two guide of samba from under documents section.
You can find solution to your answear.
Sorry, but I'm newbie so I have little of difficulty to well answer you.
Old 06-23-2004, 03:24 PM   #3
Registered: Sep 2003
Location: Texas
Distribution: Slackware and Ubuntu
Posts: 355

Rep: Reputation: 30
Re: Samba Configuration

Originally posted by EzehM

1. How do I create an smb.conf file to cater for these needs.
2. How do I add the Samba box to a domain
3. How do I add these users to the Samba platform

1. This file should be created when samba is installed or at least on named 'smb.conf-sample'. In Slackware it is located in /etc/samba/ not sure where it would be in your UNIX distro, most likely the same place. The sample file will have information about each parameter to help you configure it, just read the sample file. If the file is not there, then do a search for smb.conf examples on and you should get some examples.
2. I have never done this, mine has always been in a workgroup environment. Samba 3 supports AD so you may want to make sure you have the lastest greatest Samba. I know you can setup your samba box to be a PDC to MS boxes but not sure if Microsoft will let you "add" a *nix box so you can authenticate with windows. You could put the MS Domain name in the "Workgroup/Domain" paramter and it should show up in MS Network Neighborhood.
3. Create accounts on the *nix box to match those on your MS domain controller.

Hope that helps a little. google may be your best friend in this case. Someone tell me if i'm wrong in my answers.

I found this, it might help you find the answers...


Last edited by Netizen; 06-23-2004 at 03:38 PM.
Old 06-24-2004, 08:36 AM   #4
LQ Newbie
Registered: Jun 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks, I will try this out
Old 06-24-2004, 08:37 AM   #5
LQ Newbie
Registered: Jun 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Exclamation Samba as a domain member

I am trying to get a samba server join an NT domain. Thereafter, I want to be able to see shares created on the Samba server from my NT box. Please what steps do I need to take to make this possible?

Thanks in advance

Old 06-24-2004, 12:16 PM   #6
Registered: Oct 2003
Location: United Kingdom
Distribution: SuSE 10.0 - 11.4
Posts: 347

Rep: Reputation: 30
I suggest you read the docs that come with Samba - they explain a lot about how to do such stuff. Things to watch out for are the usual stuff about being Administrator or such to join the domain in the first place and once you've joined the Samba server to the domain you need to use your NT domain administration tools on your PDC to grant access rights to domain members in addition to whatever you do in setting the shares up in your smb.conf.

Not done this myself as I've set my Samba server up to be the PDC. That way there's only one place to look and manage everything.

There's also some good stuff in this link which although being a hands on tutorial contains an awful lot about how SMB works.
Old 06-24-2004, 03:46 PM   #7
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
EzehM, I'm merging this with your other thread to keep the discussion in one place.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Configuration BlandoCal Linux - Networking 10 10-29-2008 04:31 PM
SAMBA configuration nawin_g Linux - Networking 9 11-08-2005 04:23 PM
Samba Configuration randy1970 Linux - Newbie 5 07-24-2005 10:22 AM
Samba configuration littlegreenman Linux - Networking 14 09-10-2003 12:55 PM
Need your help on SAMBA configuration vwhk Linux - Software 4 01-14-2002 07:12 AM > Forums > Linux Forums > Linux - Networking

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

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