Subject: perms prob with smbfs
To: None <netbsd-help@netbsd.org>
From: James Whitwell <abacau@yahoo.com.au>
List: netbsd-help
Date: 01/30/2005 14:30:18
Hi,
This is probably a really simple problem, but I can't seem to find the
right combination of flags to make everything work. I'm running
2.0/x86, and having problems accessing an smbfs mount.
fluffy:jams:~:$ ls -l
total 2
drwxr-xr-x 2 jams users 512 Jan 30 09:16 pb/
fluffy:jams:~:$ sudo /sbin/mount_smbfs -I 192.168.0.101
//jams@Stinky/jams pb
Password:
fluffy:jams:~:$ ls -l pb/
ls: : Permission denied
fluffy:jams:~:$ uname -a
NetBSD fluffy 2.0 NetBSD 2.0 (GENERIC) #0: Wed Dec 1 10:58:25 UTC 2004
builds@build:/big/builds/ab/netbsd-2-0-RELEASE/i386/200411300000Z-obj/
big/builds/ab/netbsd-2-0-RELEASE/src/sys/arch/i386/compile/GENERIC i386
fluffy:jams:~:$ id
uid=1000(jams) gid=100(users) groups=100(users),0(wheel)
fluffy:jams:~:$
The mount is coming from my OSX box via samba. The user id on my OSX
box doesn't match my NetBSD user id, so I'm assuming I need some uid
remapping for this to work, so I've been playing around with -O and -u
but with no luck. Can anyone help?
thanks,
;) james.