Saturday, January 07, 2006

Hi ,

Here I am presenting the file smb.conf ,which I have used on my linux machine running on Fedora Core 4. with this file I have made the samba server (my linux m/c) as a NT PDC.

Step 1 .

Install the RPM for Samba

Step 2.

Rename the smb.conf file (just keeping a backup of the original file) and remove the smb.conf.

Step 3.
We can just turn on the smb.conf file with the options provided in this file


[global]
workgroup = brewery.com
netbios name = athreya
security = user
encrypted passwords = yes
domain logons = yes
domain master = yes
smb passwd file = /etc/samba/smbpasswd
username map = /etc/samba/smbusers
admin users = linn
logon path = \\%L\PROFILES\%U\%a
[SHARE1]
path = /opt
browseable = Yes
writeable = yes
read list = athreya
valid users = athreya
write list = athreya
[SHARE HOME]
path = /home
browseable = yes
writeable = yes

[profiles]
comment = ROAMING Profiles
directory = /usr/share/samba/profiles
read only = no
create mode = 0600
directory mode = 0700
browseable = no

Step 4.

Create the Windows machine account on the Linux box

Step 4

Create a user and provide a samba password(smbpasswd ) for him, Here it is linn(refer to the admin users line in the smb.conf)

Start the smb service

Step 5

Join the Windows machine to the domain (workgroup =brewery.com here in the file ). It is very much similiar to joining a windows machine to the NT or 2000 domain.
It will aske for the authorised user for this , provide admin user's name and his samba password



This must work as I tried this in my setup and it was a great success.

I wish to improve this presentation by adding screenshots next time.


Regards,

Athreya VC

If you think nobody cares if you're alive, try missing a couple of car payments.-- Flip Wilson

(ref : Linux in Windows world by O'riely , )