I'm stuck, hope you can help. In the smbmount man page, it says questions should be addressed here, I hope it works.
I set up 10 RedHat linux 8.0 systems. As far as I know, they are all the
same. The Samba packages have been upgraded to samba-2.2.7-2 in their updates directory.
smbmount works on all but 2 of them. On two, which happen to be side by side, incidentally, this happens when a non-root user tried to mount something:
$ smbmount //blake01/Pols blake01 -o username=pjohnson Password: mount.smbfs[1103]: ioctl failed, res=-1 1103: Could not umount /home/pjohnson/blake01: Operation not permitted
This happens even though the user DOES own the mount point and I've given users permission with chmod +s to use smbmnt
$ ls -la /usr/bin/smbmnt -rwsr-sr-x 1 root root 560710 Nov 20 11:18 /usr/bin/smbmnt
I have stared at this for a long long time, searched far and wide, but everybody just keeps telling me "chmod +s /usr/bin/smbmnt".
I have found the trouble shooting Samba chapter on the Samba site, don't see any help there.
And, an even bigger part of the mystery is that I am able to use smbclient to log into the target server (a win2000 system) and I can view directories and such.
So, obviously, it is something I've done wrong in configuring this system, possibly something on which Samba depends, but it is only infrequently wrong, so most people don't see it.
I've confirmed that on all concerned systems, the permissions are comparable:
$ ls -la /bin/mount -rwsr-xr-x 1 root root 81996 Aug 30 2002 /bin/mount
$ ls -la /usr/bin/smb* -rwxr-xr-x 1 root root 2036 Nov 20 11:18 /usr/bin/smbadduser -rwxr-xr-x 1 root root 1118147 Nov 20 11:18 /usr/bin/smbcacls -rwxr-xr-x 1 root root 632525 Nov 20 11:18 /usr/bin/smbclient -rwxr-xr-x 1 root root 417621 Nov 20 11:18 /usr/bin/smbcontrol -rwsr-sr-x 1 root root 560710 Nov 20 11:18 /usr/bin/smbmnt -rwxr-xr-x 1 root root 571094 Nov 20 11:18 /usr/bin/smbmount -rwxr-xr-x 1 root root 1078825 Nov 20 11:18 /usr/bin/smbpasswd -rwxr-xr-x 1 root root 2293 Nov 20 11:18 /usr/bin/smbprint -rwxr-xr-x 1 root root 560241 Nov 20 11:18 /usr/bin/smbspool -rwxr-xr-x 1 root root 418346 Nov 20 11:18 /usr/bin/smbstatus -rwxr-xr-x 1 root root 4862 Nov 20 11:18 /usr/bin/smbtar -rwsr-sr-x 1 root root 560384 Nov 20 11:18 /usr/bin/smbumount
pj -- Paul E. Johnson email: [EMAIL PROTECTED] Dept. of Political Science http://lark.cc.ku.edu/~pauljohn University of Kansas Office: (785) 864-9086 Lawrence, Kansas 66045 FAX: (785) 864-5700
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
