Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: claus on October 01, 2004, 09:38:39 PM
-
Hello-
My server id SME6 and my workstation is suse 9.1.
I would like that the filesystem on SME are automatic mounted on suse9.1 on boot with full read, write and making new files on the SME, as it is using windows.
It is needed to use openoffice when the openofficefiles are on the SME.
My settings:(workstation suse9.1
/etc/samba/smbfstab:
;//best/backup /home/komplet/server -o cifs,rw, username=xxx,password=yyyy
best:/home/e-smith/files/ibays/ /home/komplet/server nfs rw,defaults 0 0
regards Claus
-
Claus,
Try this on your SuSE 9.1 client:
best:/home/e-smith/files/ibays /home/komplet/server nfs rw,auto,udp 0 0
Make sure that the host "best" is listed in your /etc/hosts file on your SuSE box.
The "auto" part tells the client to mount automatically at bot time.
The "udp" part tells the SuSE box not to use TCP for NFS (which is the default on nfs v3) but instead to use UDP. This gets rid of LOTS of annoying delays and syslog messages.
Damian
-
Oh, and I forgot...
Make sure that the UID & GID you use on your SuSE box are the same as the UID & GID you want the files to appear as owned by on the SME box. I had to change the UID & GID of my SuSE user to match the SME user account.
So if your SME account is claus, check the /etc/passwd file to see the UID & GID for that user. Assuming you are also claus on your SuSE box, logged in as root (not claus) change the UID for the user claus in the files /etc/passwd, /etc/shadow, /home/claus (recursively) and all the dot files and directories owned by claus in /tmp.
Painful but it works.
Damian
-
Hello-
I work further on with the NFS.
I the meantime i have found out the this filesystem:
/etc/samba/smbfstab:
;//best/backup /home/komplet/server -o cifs,rw, username=xxx,password=yyyy
works pretty well if i log into as root in kde. Then i can make files on the SME filesystem.
If i log in as root i can do the same things as in windows.
So i must have some vrong permissions somewhere?
Regards Claus
-
Hi Claus,
You can connect through CIFS as user root but any files you create will be owned by root and not readable by unpriveliged users (i.e. - all other SME users).
Damian