The first thing I'd check is permissions. Search the list for "chmod A=everyone", that's something I recommend as a starting step with cifs.
Ross On Mon, Mar 23, 2009 at 2:09 PM, Harry Putnam <[email protected]> wrote: > (Sorry duplicate a post from `indiana' list: > > Message-ID: <[email protected]> > > I thought this might be a problem introduced in a recent new build > 109. But it really probably belongs here) > > ===== * ===== * ===== * ===== > > I'm having what seems like an undue amount of trouble setting up cifs > shares. > > It's entirely possible that I have forgotten something basic but have > been reviewing the literature... and have created cifs shares that > worked recently enough that I think I'm following the steps I did > before. > > So wondered if there may be some problems with 109 in that regard. > > If not, then I'm pretty well stumped at this point. > > Showing the shares structure > zfs list -r rpool/zbk/ > NAME USED AVAIL REFER MOUNTPOINT > rpool/zbk 145K 448G 21K /zbk > rpool/zbk/hosts 124K 448G 25K /zbk/hosts > rpool/zbk/hosts/ansil 19K 448G 19K /zbk/hosts/ansil > rpool/zbk/hosts/bjp 20K 448G 20K /zbk/hosts/bjp > rpool/zbk/hosts/harvey 20K 448G 20K /zbk/hosts/harvey > rpool/zbk/hosts/mob1 20K 448G 20K /zbk/hosts/mob1 > rpool/zbk/hosts/reader 20K 448G 20K /zbk/hosts/reader > > Starting at `hosts' sharesmb=yes is on. > > sharemgr show -vp > default nfs=() > zfs > zfs/rpool/pub nfs=() smb=() > Zpub=/pub > zfs/rpool/zbk/hosts smb=() > Zhosts=/zbk/hosts > zfs/rpool/zbk/hosts/ansil smb=() > Zansil=/zbk/hosts/ansil > zfs/rpool/zbk/hosts/bjp smb=() > Zbjp=/zbk/hosts/bjp > zfs/rpool/zbk/hosts/harvey smb=() > Zharvey=/zbk/hosts/harvey > zfs/rpool/zbk/hosts/mob1 smb=() > Zmob1=/zbk/hosts/mob1 > zfs/rpool/zbk/hosts/reader nfs=() smb=() > Zreader=/zbk/hosts/reader > > The osol host is named with the terrifically inventive name `zfs' > Also known as 192.168.0.36 > > I've also made sure to join the windows workgroup HOME > > smbadm join -w HOME > And got the return info that it was successful. > > Also the windows user name is the same as osol user name and all the > shares are owned by that user (reader) > > The osol machine has been rebooted at least twice since all this was > done. And 1 windows machine I'm testing with has been rebooted as > well. > > But still any attempt to connect from a windows machine at > \\zfs\Zhosts or \\192.168.0.36\Zhosts (using windows notation) > > Or any of the other share names shown above results in a password > prompt but the passwd fails. > > I added the necessary line to /etc/smb.conf > > tail -n1 /etc/pam.conf > other password required pam_smb_passwd.so.1 nowarn > > And redid user readers' passwd. again there has been a reboot since > that part too. > > smb server is installed and running: > # svcs -l smb/server > fmri svc:/network/smb/server:default > name smbd daemon > enabled true > state online > [...] > > The log pointed too there: > logfile /var/svc/log/network-smb-server:default.log > shows nothing helpful about the failing connections > > > What am I missing here? > > _______________________________________________ > cifs-discuss mailing list > [email protected] > http://mail.opensolaris.org/mailman/listinfo/cifs-discuss > _______________________________________________ cifs-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/cifs-discuss
