Networking Forums

Networking Forums > Computer Networking > Linux Networking > About the samba share

Reply
Thread Tools Display Modes

About the samba share

 
 
Andy
Guest
Posts: n/a

 
      10-09-2004, 03:27 PM
I hv setup the samba server on unix for windows user to access , now
the windows user , I hv share the path /tmp/temp1 for windows user to
share , now the windows user can read/write at this path , but the
path /tmp/temp1 is mode 777 , if I change it to 775 , the user then
can't write something to it . I tried the user can create files at the
shell but why can't do it through the samba ? the below is my setting
file , please suggest what is the problem ? thx.

[temp]
path = /tmp/temp1
allow hosts = my IP0
writeable = yes
read only = No
public = yes
create mask = 0664

the below is my smb.conf and /etc/samba/users.map file but still not
work , could suggest what is the problem ? thx


[global]
interfaces = eth0
username map = /etc/samba/users.map
password server = 192.168.11.1
wins server = 192.168.11.10
domain master = False
security = share
encrypt passwords = yes
name resolve order = wins lmhosts host bcast
workgroup = edp_nt1
server string = uixx1
netbios name = unix1
wins proxy = Yes
os level = 20


#vi /etc/samba/users.map
user1 = edp-user1


where user1 is the unix login id that can create file at /tmp/temp1
and edp-user1 is my windows ip .
 
Reply With Quote
 
 
 
 
Davide Bianchi
Guest
Posts: n/a

 
      10-09-2004, 03:30 PM
On 2004-10-09, Andy <(E-Mail Removed)> wrote:
> I hv setup the samba server on unix for windows user to access , now


What's "hv"?

> path /tmp/temp1 is mode 777 , if I change it to 775 , the user then
> can't write something to it


Your users aren't recognized by the system, so only if the directory
is world-writeable it can be written. Change the permission on the
directory or put your users in the right group.

Davide

--
We are using Linux daily to UP our productivity -- so UP yours, Microsoft!
 
Reply With Quote
 
Antoine EMERIT
Guest
Posts: n/a

 
      10-14-2004, 07:44 PM
(E-Mail Removed) (Andy) wrote
news:(E-Mail Removed) om:
> security = share


If you want to identify user on the unix uid, you should better set

security = user

end add users in the smbpasswd file, using the smbpassword command.

Then your are in a unix only problem :

- add each user in a common unix group
- chgrp the shared directory to the group

Regards
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting NFS on Samba share snovgorodsky@gmail.com Linux Networking 1 03-26-2009 11:59 PM
XP can see Samba but cannot access share JimBean Linux Networking 0 02-18-2005 05:48 PM
ex3 share write problem with samba 7 Linux Networking 2 08-22-2004 08:21 PM
Samba: can see, but not access Linux share Larry Gagnon Linux Networking 1 02-28-2004 08:42 AM
Samba share in DMZ Emmanuel van Hecke Linux Networking 1 02-22-2004 07:30 PM



1 2 3 4 5 6 7 8 9 10 11