LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba Configuration (https://www.linuxquestions.org/questions/linux-networking-3/samba-configuration-196721/)

EzehM 06-23-2004 05:06 AM

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

Mil

jerryluis 06-23-2004 02:02 PM

I suggest to download the two guide of samba from www.samba.org 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.

Netizen 06-23-2004 02:24 PM

Re: Samba Configuration
 
Quote:

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 www.google.com 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...
http://www.winnetmag.com/Articles/In...ArticleID=8490


Netizen

EzehM 06-24-2004 07:36 AM

Thanks, I will try this out

EzehM 06-24-2004 07:37 AM

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

Milton

andrewdodsworth 06-24-2004 11:16 AM

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.

http://www.samba.org/samba/docs/man/guide/

david_ross 06-24-2004 02:46 PM

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


All times are GMT -5. The time now is 03:29 AM.