I disagree with Dietmar's comment #5, which says that 9.10 didn't have the setuid bit.
Here is my Ubuntu 9.10:
root@cst6:~# ls -la /bin/mount /sbin/mount.cifs -rwsr-xr-x 1 root root 78096 2009-10-22 21:28 /bin/mount -rwsr-xr-x 1 root root 36296 2010-03-22 15:27 /sbin/mount.cifs
Here is my Ubuntu 10.4:
root@cst5:/etc/samba# ls -la /bin/mount /sbin/mount.cifs -rwsr-xr-x 1 root root 82256 2010-03-22 10:57 /bin/mount -rwxr-xr-x 1 root root 35648 2010-04-09 10:38 /sbin/mount.cifs
As an aside, I see that /sbin/mount.nfs are still set to be setuid (in Ubuntu 10.4):
root@cst5:/etc/samba# ls -la /sbin/mount.nfs -rwsr-xr-x 1 root root 94544 2010-03-23 23:18 /sbin/mount.nfs
I disagree with Dietmar's comment #5, which says that 9.10 didn't have the setuid bit.
Here is my Ubuntu 9.10:
root@cst6:~# ls -la /bin/mount /sbin/mount.cifs
-rwsr-xr-x 1 root root 78096 2009-10-22 21:28 /bin/mount
-rwsr-xr-x 1 root root 36296 2010-03-22 15:27 /sbin/mount.cifs
Here is my Ubuntu 10.4:
root@cst5: /etc/samba# ls -la /bin/mount /sbin/mount.cifs
-rwsr-xr-x 1 root root 82256 2010-03-22 10:57 /bin/mount
-rwxr-xr-x 1 root root 35648 2010-04-09 10:38 /sbin/mount.cifs
As an aside, I see that /sbin/mount.nfs are still set to be setuid (in Ubuntu 10.4):
root@cst5: /etc/samba# ls -la /sbin/mount.nfs
-rwsr-xr-x 1 root root 94544 2010-03-23 23:18 /sbin/mount.nfs