Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Samba NTFS Permission Help !!! 1

Status
Not open for further replies.

usuf123

Technical User
Dec 13, 2002
15
IN
Hi All,
Good Day !

I want to some help in Samba.

Qes:How do I assign NTFS permission using
NT User Manager from windows 2000 Client
on Samba Share running Redhat.

Ans: ?

Qes:If above is not possible, is there
Software or application with which I
can achieve the same ?

Ans: ?

Thanks a lot for all your kind help in Advance .....

@>
/( ) ^ ^

Yousuff
Sys Adm
 
Usuf,
From windows 2000/NT, to have an access the samba share, you have to setup the /etc/samba/smb.conf file.
This file is divided into two groups: [global] and share sections.
I belive few things in the global section are very important
[global]
...
WORKGROUP = <workgroup or domain name>
hosts allow = 127. 192.168.0. 192.168.12.
security = user #you can use security = server
pam passwd change = yes
obey pam restrictions = yes
os level = 64
local master = yes
domain master = yes
preferred master = yes
domain logons = yes
wins support = yes
wins server = Place the IP address for WINS server here
logon path = \\%L\profiles\%U # This require setup below
smb passwd file = /etc/samba/smbpasswd
logon script = &quot;place the logon script path here&quot;
....

#Below is the share section
[profiles]
path = &quot;the path for the profile
writeable = yes
read only = no
browseable = yes

[...]
other shares

Its important you copy the content of the Linux password from /etc/passwd to /etc/samba/smbpasswd. To do this:
cat /etc/passwd | mksmbpasswd.sh > /etc/samba/smbpasswd
chmod 600 /etc/samba/smbpasswd

(Remember, the path for samba on SUsE might be different. I use Redhat)

Insert a line or more in the /etc/pam.d/system-auth file. The purpose is to comply pam authentication. If you are expert with pam configuration, you can setup samba file in the pam.d directory specific to samba.

Now you need to restart samba:
service smb restart

To auto-start on boot time:
chkconfig smb on

Goodluck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top