I got CIFS working after installing OpenSolaris NV79, where before I was using 
SAMBA.  Here's what I did to share a ZFS filesystem "/n" (although these 
instructions are not ZFS-specific). This also enables the filesystem for use 
with NFS:

# sharemgr add-share -s /n -r n -d "samba n drive" default
# sharemgr list -v
#       default enabled smb nfs
#       zfs     enabled
# sharemgr show -vp
#       default smb=() nfs=()
#                 n=/n  "samba n drive"

The files are owned by user "samba" (yes, I know this is NOT samba software, 
but a better replacment, but that's what I had before).  Add this line to 
/etc/pam.conf:

other password required pam_smb_passwd.so.1 nowarn

Next set the user account password with passwd (even if it's the same as 
before, so the smb software knows about the new password:

# passwd samba

Next enable the smb server and join your Windows work group (which is WORKGROUP 
by default, but I've changed it):

# svcadm enable -r smb/server
# smbadm join -w SMBGROUP

On MS Windows (I use XP), assume the Solaris hostname is "mysolarisserver," 
then open
Start --> My Computer--> Tools tab -->Map Network Drive
        Drive: N:
        Folder: \\mysolarisserver\n
        Check "Reconnect at Login"
        Click "Finish"
A "Map Network Drive" box briefly appears with a message
        "Attempting to connect \\mysolarisserver\n..."
A "Connect to mysolarisserver" box appears:
        User name: mysolarisserver\samba
        Password: (enter the password you entered above with passwd)
        Check "Remember my Password"
        Click "OK"
 
 
This message posted from opensolaris.org
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to