Koozali.org: home of the SME Server

Samba (CIFS) access issue with user directory

Offline mistere

  • *
  • 7
  • +0/-0
Samba (CIFS) access issue with user directory
« on: February 15, 2007, 09:09:33 AM »
I just replaced my SME 6.x server with a fresh install of 7.1.

The only problem I've had is accessing my user directory
from my OpenSuSE workstation (it works from Windows just
fine  :?  )   I can mount the directory but cannot write to it.
There is no problem with iBays... just the user home directory.
I hope someone can tell me where I'm going wrong!

Here's the setup:

SME server name:  camel
workgroup:  BANET
user:  eric
UID: 5000

SuSE workstation:  bear
user: eric
UID: 1000

Passwords are matched.

I mount the directory with the following command (which is broken over multiple lines
for readability)
/sbin/mount.cifs //CAMEL/eric /home/eric/CAMEL/eric/ --verbose -o
rw,user=eric,pass=Pa55.word,ver=1,file_mode=0644,dir_mode=0755,
uid=1000,gid=100,debug=1,workgroup=BANET

This worked when I was running the old version of SME but for some reason the
files/directories are now read-only.  Here is a "ls -l" from the SuSE workstation:

bear ~: ls -l /home/eric/CAMEL/eric/
total 276
-rwxr--r--  1 5000 5000   3780 2006-07-11 22:18 backupaux.php
-rwxr--r--  1 5000 5000   1774 2006-07-11 22:18 backupmain.php
drwxrwx---  3 5000 5000      0 2006-09-29 00:35 Backups
-rw-rw----  1 5000 5000 119575 2006-12-01 08:48 schoolnoteA.pdf
drwxrwx---  2 5000 5000      0 2006-12-15 07:27 site
drwxrws--- 17 5000 5000      0 2007-01-22 00:38 Technology
drwxrwx---  2 5000 5000      0 2006-12-08 18:57 UNFILED

I notice that the user/group ids are the SME numbers, not the
SuSEe numbers even though I specified them in the mount command.

Any help is greatly appreciated.

Eric