SMB Sharing in RHEL 3.0
Hi,
What is the best way to enable SMB sharing of folders on a RHEL 3.0 box? How would it be integrated into an Win2K3 Active Directory domain? Thanks for any suggestions... |
Hello,
This is not so hard. I use a set up like this on unix boxes at work. I would recomment server level security. in this way you can use a Windows box to verify passwords and unix to map windows users to unix users. Your users will not be prompted for a password, but will only have the unix rights they would have for their unix account. this one of my conf files if this helps: [global] security = server password server = <name of PDC emulator> workgroup = <work group name if you want> netbios name = <name you want to give the unix box> server string = Samba Server invalid users = root bin daemon adm sync shutdown halt mail news uucp op erator syslog = 0 log file = /var/opt/samba/log.%m max log size = 1000 preferred master = False local master = No domain master = False wins server = <ip address of a wins server> encrypt passwords = Yes username map = /etc/opt/samba/usermap.txt <<< very important for server level #[homes] # browsable = No # map archive = Yes [Temp] path = /tmp read only = Yes guest ok = Yes browseable = Yes [John] path = /ops/john read only = No valid users = john browseable = Yes create mask = 0666 [Tom] path = /home/tom read only = No valid users = tom browseable = Yes create mask = 0666 [Samba DIR] path = /opt/samba read only = No valid users = tom browseable = Yes create mask = 0666 |
Thanks for the info. I see there is a line for a WINS server. We are not using a WINS server on this network, just DNS. Would the IP of the DNS server work?
|
#Hello,
I presume you are not using a multi-subnetted network if you are not using WINS. If this is the case you can leave this line out. It's function is to tell the nmbd daemon to register itself with a WINS server. I presume you will have to add a DNS entry for the samba server however. |
You are correct, I am not using a multi-subnetted network..just one subnet with no WINS server. Just using NetBIOS over TCP/IP...
|
well i would suggest you use a config similar to mine. If you use security = domain you will have to register the linux box as a nt4 bdc which won't be possible if you have set your domain function level to 2003 only...
YOu just need to point it to your PDC emulator (passwd server). I cannot comment on REHL specific parameters, and i believe some are needed.... maybe try to run 'samba setup' |
Thanks for the info
The samba server on the RHEL 3.0 host is on a Win2k3 domain running Active Directory. But if I dont need to have all the extra configuration to allow it to be a member server, etc....then I won't. I just want basic read/write file sharing between Windows machines and the Linux host. |
OK, then go with 'security=server'. Although it sounds dramatic it's not. that said user level security will also work fine. Depending on your specific requirements, maybe that would be simpler.
How is it going so far? |
All times are GMT -5. The time now is 02:15 AM. |