I'm still trying to mount remote WIN shares on FC2 after finding "sharity" and realising that in "free" mode it allows only for 1 share to be mounted and that $: mount.cifs comes up with "command not found" I'm at a loss as to what to do next.
Now, for the question, or rather questions:
1. am I just simply thick as a brick and the whole thing is simple but I'm doing something wrong? 2. Is samba offered in devel tree for FC2 never than samba 3.0.2a offeverd by samba for FC1? 3. Is there a posibility to have mntsmb "turned on" in the kernels form the devel tree? 4. Or is there an rpm or anything else that I can download to make this whole problem go away?
TIA
Bart Kalita wrote:
I'm still trying to mount remote WIN shares on FC2 after finding "sharity" and realising that in "free" mode it allows only for 1 share to be mounted and that $: mount.cifs comes up with "command not found" I'm at a loss as to what to do next.
Now, for the question, or rather questions:
- am I just simply thick as a brick and the whole thing is simple but
I'm doing something wrong? 2. Is samba offered in devel tree for FC2 never than samba 3.0.2a offeverd by samba for FC1? 3. Is there a posibility to have mntsmb "turned on" in the kernels form the devel tree? 4. Or is there an rpm or anything else that I can download to make this whole problem go away?
$ rpm -qpl http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/Fed... | grep -i cifs /sbin/mount.cifs /usr/share/man/man8/mount.cifs.8.gz
$ cat /etc/fedora-release;rpm -qf /sbin/mount.cifs Fedora Core release 1 (Yarrow) samba-client-3.0.2-7.FC1
as root eg. # mount -t cifs -ousername=user //server/share /mnt/cifs should work
shrek-m@gmx.de wrote:
......
$ rpm -qpl http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/Fed... | grep -i cifs /sbin/mount.cifs /usr/share/man/man8/mount.cifs.8.gz
$ cat /etc/fedora-release;rpm -qf /sbin/mount.cifs Fedora Core release 1 (Yarrow) samba-client-3.0.2-7.FC1
as root eg. # mount -t cifs -ousername=user //server/share /mnt/cifs should work
it works!
Thanks a milion.
"shrek-m@gmx.de" shrek-m@gmx.de writes:
Bart Kalita wrote:
I'm still trying to mount remote WIN shares on FC2 after finding "sharity" and realising that in "free" mode it allows only for 1 share to be mounted and that $: mount.cifs comes up with "command not found" I'm at a loss as to what to do next.
shrek:
$ rpm -qpl http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/Fed... | grep -i cifs /sbin/mount.cifs /usr/share/man/man8/mount.cifs.8.gz
$ cat /etc/fedora-release;rpm -qf /sbin/mount.cifs Fedora Core release 1 (Yarrow) samba-client-3.0.2-7.FC1
as root eg. # mount -t cifs -ousername=user //server/share /mnt/cifs should work
Bart:
it works!
Are you guys aboe to write to the mounted share?
I'm able to mount the share but not write to it:
My command: (wrapped for mail) mount -t cifs -ousername=Administrator,password="" \ //exp-xp/J-ahn-d /mnt/J-ahn-d
Mount shows it mounted [...] /dev/hdb3 on /arch type ext3 (rw) /dev/hdb10 on /var/www type ext3 (rw) //exp-xp/J-ahn-d on /mnt/J-ahn-d type cifs (0)
But no write:
cd /mnt/J-ahn-d (I can see the files with ls but:) [root] # touch it touch: cannot touch `it': Permission denied [reader.local.net0]/mnt/J-ahn-d
I'm curious if you guys see that `(0)' as above in mount output?
Harry Putnam wrote:
"shrek-m@gmx.de" shrek-m@gmx.de writes:
Bart Kalita wrote:
I'm still trying to mount remote WIN shares on FC2 after finding "sharity" and realising that in "free" mode it allows only for 1 share to be mounted and that $: mount.cifs comes up with "command not found" I'm at a loss as to what to do next.
shrek:
$ rpm -qpl http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/Fed... | grep -i cifs /sbin/mount.cifs /usr/share/man/man8/mount.cifs.8.gz
$ cat /etc/fedora-release;rpm -qf /sbin/mount.cifs Fedora Core release 1 (Yarrow) samba-client-3.0.2-7.FC1
as root eg. # mount -t cifs -ousername=user //server/share /mnt/cifs should work
Bart:
it works!
Are you guys aboe to write to the mounted share?
I'm able to mount the share but not write to it:
My command: (wrapped for mail) mount -t cifs -ousername=Administrator,password="" \ //exp-xp/J-ahn-d /mnt/J-ahn-d
Mount shows it mounted [...] /dev/hdb3 on /arch type ext3 (rw) /dev/hdb10 on /var/www type ext3 (rw) //exp-xp/J-ahn-d on /mnt/J-ahn-d type cifs (0)
But no write:
cd /mnt/J-ahn-d (I can see the files with ls but:) [root] # touch it touch: cannot touch `it': Permission denied [reader.local.net0]/mnt/J-ahn-d
I'm curious if you guys see that `(0)' as above in mount output?
[bart@nemesis bart]$ mount /dev/hda2 on / type ext3 (rw) none on /proc type proc (rw) none on /sys type sysfs (rw) none on /dev/pts type devpts (rw,gid=5,mode=620) usbdevfs on /proc/bus/usb type usbdevfs (rw) /dev/hda1 on /boot type ext3 (rw) none on /dev/shm type tmpfs (rw) //Akhram/downs on /home/bart/akhram/ type cifs (0) //hades/music on /home/bart/music/ type cifs (0)
Yep, the (0) is there. Despite the fact that first mount is mounted as administrator.
And just one more Q, is there a possibility to have thouse volumes mounthed at boot? and am I right to thing that it would be done via cron job?
Harry Putnam wrote:
Are you guys aboe to write to the mounted share?
I'm able to mount the share but not write to it:
My command: (wrapped for mail) mount -t cifs -ousername=Administrator,password="" \ //exp-xp/J-ahn-d /mnt/J-ahn-d
Mount shows it mounted [...] /dev/hdb3 on /arch type ext3 (rw) /dev/hdb10 on /var/www type ext3 (rw) //exp-xp/J-ahn-d on /mnt/J-ahn-d type cifs (0)
But no write:
cd /mnt/J-ahn-d (I can see the files with ls but:) [root] # touch it touch: cannot touch `it': Permission denied [reader.local.net0]/mnt/J-ahn-d
windows nt/w2k/xp/2003 ? you have to check your share *and* your ntfs-permisssions
# mount -t cifs -ousername=admin //192.168.101.10/doku /mnt/smb/ Password: # mount -t cifs -ousername=admin //192.168.101.10/daten /mnt/cifs/ Password: # cd /mnt/ # touch smb/test1 # touch cifs/test1 # rm smb/test1 rm: reguläre leere Datei »smb/test1« entfernen? j # rm cifs/test1 rm: reguläre leere Datei »cifs/test1« entfernen? j
I'm curious if you guys see that `(0)' as above in mount output?
# mount | grep 192 //192.168.101.10/doku on /mnt/smb/ type cifs (0) //192.168.101.10/daten on /mnt/cifs/ type cifs (0)
"shrek-m@gmx.de" shrek-m@gmx.de writes:
windows nt/w2k/xp/2003 ? you have to check your share *and* your ntfs-permisssions
xp pro 2003, but fat32 on this particular share. So not ntfs Near as I can tell the share should be writable according to the windows-xp information. In fact any share should be writable by `Administrator' far as I know.
The `NET SESSIONS' command on windows shows that windows sees the mount being done by ADMINISTRATOR.
Near as I can tell `cat /proc/fs/cifs/DebugData' contains nothing that gives a clue either Servers: cat /proc/fs/cifs/DebugData 1) Name: 192.168.0.15 Domain: HOME Mounts: 1 ServerOS: Windows 5.1 ServerNOS: Windows 2000 LAN Manager Capabilities: 0xe3fd SMB session status: 1 TCP session status: 1 Local Users To Same Server: 1 SecMode: 0x3
Shares:
1) \exp-xp\J-ahn-d Uses: 1 on FS: FAT with characteristics: \ 0x20 Attributes: 0x6 PathComponentMax: 255 Status: 1 type: DISK
Harry Putnam wrote:
"shrek-m@gmx.de" shrek-m@gmx.de writes:
windows nt/w2k/xp/2003 ? you have to check your share *and* your ntfs-permisssions
xp pro 2003, but fat32 on this particular share. So not ntfs Near as I can tell the share should be writable according to the windows-xp information. In fact any share should be writable by `Administrator' far as I know.
no.
as administrator
//exp-xp/c$ //exp-xp/admin$
are these admin-shares writable ?