Hi everyone,

Following the OpenSolaris Bible, I want to be able to mount a CIFS share on my 
osol box to my Windows XP laptop.  The laptop is a member of an AD domain, but 
the osol box is not.  Straight-out mounting as root is fine:
<pre>
# mount -F smbfs //mydomain\;just...@lt-justine/c-drive /mnt
Password:
# ls /mnt
[contents of my c drive here]
</pre>

However, the automounter is giving me fits!

<pre>
$ mkdir -p ~/lt-justine/c

# echo "/- auto_direct -intr" &gt;&gt; /etc/auto_master
# echo "/export/home/justine/lt-justine/c fstype-smbfs //lt-justine/c-drive" 
&gt;&gt;/etc/auto_direct

$ smbutil crypt
Password: 
cryptedpassword

$ cat > ~/.nsmbrc &lt;&lt;EOD
> [default]
> password=cryptedpassword
> EOD

$ chmod 600 ~/.nsmbrc

$ pfexec svcadm enable smb/client
$ pfexec svcadm refresh autofs

</pre>

Now, the wierd thing - permissions are all jacked up.  
<pre>
$ ls -al lt-justine/
total 6
drwxr-xr-x  3 justine staff  3 2009-07-09 10:18 .
drwxr-xr-x 52 justine staff 78 2009-07-09 15:04 ..
dr-xr-xr-x  1 root    root   1 2009-07-09 15:05 c
</pre>

Not only can my normal user not see inside 'c', but neither can root.  I've 
been beating my head against this for an hour now, and would appreciate any 
insight.

Thanks,

Justin
-- 
This message posted from opensolaris.org
_______________________________________________
sysadmin-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss

Reply via email to