What I would like to do is create a CIFS share on a SUSE 10 machine and mount it to another SUSE 10 machine. How would I go about doing this and where could I possibly find documentation for this as well. Thanks.
Have you installed SAMBA on both machines? It would simplify the process a lot
Suse Linux (10.0 and 10.1) uses smbfs to mount shares as mapped drives.OpenSUSE (10.2 and 10.3) uses cifs. I think you are asking about an early version of Suse that uses smbfs and replacing that with cifs – is that right? Or am I confiused by your use of “10”?
yes samba is installed on both machines.
I am new to SUSE so this is actually something I was not aware of. I was giving the version of SUSE I am using just in case it was needed. I am just looking into the option of using CIFS not really having much information on it.
The version number is needed. It’s more that “10” it’s 10.0 or 10.1 or 10.2 or 10.3. Makes a difference to my answer. So which is yours?
How do I check this?
does this help at all?
“SMB” was the original name, “CIFS” is Microsoft’s later
re-branding of it, but MS was extending SMB long before they renamed it,and there isn’t really any useful distinction you can make between the two names.
Enter this in a console/terminal
SUSE Linux Enterprise Server 10 (i586)
VERSION = 10
PATCHLEVEL = 1
Sles 10 uses smbfs rather than the newer version (cifs).
To arrange a permanent mount, put like this as a line in fstab, the file system table located at /etc/fstab (leave a blank line as the last line in fstab):
//networkname_server//networkname_share /path_to/mount_point smbfs username=billycrystal,password=something,uid=501,gid=500 0 0
the uid is the user ID number of the user who mounts the share and the gid is the group ID number of the group “users”. Username/password are credentials for the server.
This is another option too:
//10.0.0.33//networkname_share /path_to/mount_point smbfs username=billycrystal,password=something,uid=501,gid=500 0 0
where 10.0.0.33 is the IP address of the server.
To mount the same share temporarily, on the fly so to speak, issue this command in a console afetr you enter su to become the root user:
mount -t smbfs o username=billycrystal //networkname_server//networkname_share /path_to/mount_point
mount -t smbfs o username=billycrystal //10.10.0.33//networkname_share /path_to/mount_point