I haven't taken the time to look it up, but 
including both 'username' and 'uid' in the 
'-o' argument may be redundant. Have 
you tried just using one of them?

---
Troy Johnson - troy.johnson at health.state.mn.us
Programmer / System Administrator
Minnesota Cancer Surveillance System - MDH
>>> andy.schmid at astound.net 06/18/04 5:57 PM >>>
Hey, I cannot figure out what the problem is here.  I am attempting to 
mount a remote unix samba share (server version 3.0.2).   The problem is 
when mounting, smbmount takes the owner off the remote server instead of 
the one I locally specify.  The command I am using is :

mount -t smbfs -o username=schm1498,uid=1000 //mozart/unix_web /opt/test
Password:

[root at sphynx:/mnt]# cd /opt/
[root at sphynx:/opt]# ll
total 24
drwxr-xr-x    6 root         4096 Jun 18 16:15 ./
drwxr-xr-x   22 root         4096 Jun 10 08:51 ../
drwxr-xr-x    1 murdok       4096 Jun 18 17:52 test/

[root at sphynx:/opt/test]# ll
total 18874376
drwxr-xr-x    1 murdok       4096 Jun 18 17:52 ./
drwxr-xr-x    6 root         4096 Jun 18 16:15 ../
-rwxr--r--    1 root        15364 Jan 16 08:51 .DS_Store*
-rwxr--r--    1 root           82 Jan 19 15:07 ._Temporary Items*
-rw-r--r--    1 root          352 Apr 12 17:35 .ldaprc
drwxr-xr-x    1 root            0 May 14 12:35 Desktop Folder/


it gives the mount point the correct ownership, but everything recursive 
of it is set with the servers ownership.

The share mounts fine on other various linux/mac/and windows machines 
but doesn't seem to work on my debian (sid) box.  I am running kernel 
2.6.6 and smbmount 3.0.4.  Anyone have any ideas?  Thanks

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list


_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list