Hi
I am trying to mount a smb/cifs file system on a SLES9 box using
samba-client
3.0.9-2.6 and Kernel 2.6.5-7.151 (on zSeries under z/VM 4.4). The remote
share
is a Linux/Samba server (xSeries)
The mount actually works, but the uid and gid is not what I expect.
Usually I get root:root while mounting as root or the uid/gid pair
I specify during the mount process (uid=401,gid=300).
This happens with either module smbfs or cifs, same thing.
Some threads I read mentioned that this is due to the CIFS unix extension
support
of the server side. This is also mentioned in the mount.cifs manpage:
uid=arg sets the uid that will own all files on the mounted
filesystem. It may be specified as either a username or
a numeric uid. This parameter is ignored when the
target
server supports the CIFS Unix extensions.
gid=arg sets the gid that will own all files on the mounted
filesystem. It may be specified as either a
groupname or a numeric gid. This parameter is
ignored
when the target server supports the CIFS Unix
extensions.
mount -t smbfs //foo/bar /mnt -o
credentials=/etc/foobar.pwd,uid=401,gid=300
and
mount -t cifs //foo/bar /mnt -o
credentials=/etc/foobar.pwd,uid=401,gid=300
show the same behavior.
How can I still mount the share with a specific user/group, without having
to
disable the CIFS Unix extensions on the server side?
Any help is appreciated
Regards
Fabian
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390