[Samba] Re: using samba as nfs server replacement?

This is a discussion on [Samba] Re: using samba as nfs server replacement? within the Samba forums, part of the Networking and Network Related category; Hi again, I updated Samba on both client and server to 3.0.28a. Client is openSuSE 10.2. Server ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-24-2008
Pakorn Chutinimitkul
 
Posts: n/a
Default [Samba] Re: using samba as nfs server replacement?

Hi again,

I updated Samba on both client and server to 3.0.28a. Client is openSuSE 10.2. Server is Debian Lenny. I noticed that newly created file's
ownership will be changed to username that is used when mounting CIFS volume (under -o username=xxx,password=xxx) and the permission will be
changed to what specified under samba configuration. Here's my config

[global]
workgroup = WORKGROUP
server string = Test Samba Server
passdb backend = tdbsam
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
load printers = No
dns proxy = No
ldap ssl = no

[testvolume1]
comment = CIFS Mount
path = /mnt/disk1
valid users = @users
admin users = @root
write list = @users
read only = No
hosts allow = 192.168.0.0/255.255.255.0


There's a lot of different users who will log into the workstation, all of them are not superuser, therefore they can't run mount command
and specify their samba username/password. I tried to create a Samba account for each machine, say machine1 and put the username/password in
/etc/fstab.

Now for every file created by users logged into that machine, the ownership is changed to machine1 automatically. Is there any way to solve
this problem? Thank you very much!

Pakorn


Michael Heydon wrote:
> Pakorn Chutinimitkul wrote:
>> Hi,
>>
>> <snip>
>> 1. How to make Samba stores the ownership of the file? Afaik Samba
>> changes ownership of the file to the connected user. Our storage relies
>> on uid/gid a lot.
>>
>> 2. Can Samba obey umask settings? Apart from changing values in
>> create mask ?
>>

> Recent versions of samba will automatically figure out that they are
> talking to a unix client (as long as the client is recent as well) and
> enable the CIFS unix extensions. Permissions, ownership, symlinks, etc
> should "Just Work(tm)".
>
>> If anyone could point me to any resource, that would be greatly
>> appreciated.
>>
>> Thank you!
>> Pakorn
>>

>
>
> *Michael Heydon - IT Administratorr *
> michaelh@jaswin.com.au <mailto:michaelh@jaswin.com.au>
>

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:55 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0