Re: [zfs-discuss] Confused about prerequisites for ZFS to work

2009-02-19 Thread Harry Putnam
Blake blake.ir...@gmail.com writes:


[...]

 I found this entry helpful:

 http://blogs.sun.com/timthomas/entry/solaris_cifs_in_workgroup_mode

There is a comment in those directions about installing a SMB PAM
module:
  6. Install the SMB PAM module

  Add the below line to the end of /etc/pam.conf:

  other   password required   pam_smb_passwd.so.1 nowarn

Do you know what that is?

I don't find any pkg named like that here.

   pkg search -r pam|grep smb
   nada

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Confused about prerequisites for ZFS to work

2009-02-19 Thread Enda O'Connor

On 02/19/09 13:14, Harry Putnam wrote:

Blake blake.ir...@gmail.com writes:


[...]


I found this entry helpful:

http://blogs.sun.com/timthomas/entry/solaris_cifs_in_workgroup_mode


There is a comment in those directions about installing a SMB PAM
module:
  6. Install the SMB PAM module

  Add the below line to the end of /etc/pam.conf:

  other   password required   pam_smb_passwd.so.1 nowarn

Do you know what that is?

I don't find any pkg named like that here.

   pkg search -r pam|grep smb
   nada


try pkg search -r pam_smb_passwd.so.1

which gives SUNWsmbs package

Enda


___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss



--
Enda O'Connor x19781  Software Product Engineering
Patch System Test : Ireland : x19781/353-1-8199718
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Confused about prerequisites for ZFS to work

2009-02-19 Thread James C. McPherson
On Thu, 19 Feb 2009 07:14:07 -0600
Harry Putnam rea...@newsguy.com wrote:

 Blake blake.ir...@gmail.com writes:
 
 
 [...]
 
  I found this entry helpful:
 
  http://blogs.sun.com/timthomas/entry/solaris_cifs_in_workgroup_mode
 
 There is a comment in those directions about installing a SMB PAM
 module:
   6. Install the SMB PAM module
 
   Add the below line to the end of /etc/pam.conf:
 
   other   password required   pam_smb_passwd.so.1 nowarn
 
 Do you know what that is?
 
 I don't find any pkg named like that here.
 
pkg search -r pam|grep smb
nada


You might find it if you searched instead with

$ pkg search -r smb


In SXCE, at least, /usr/lib/security/pam_smb_passwd.so is
part of the SUNWsmbfsu package.


James
--
Senior Kernel Software Engineer, Solaris
Sun Microsystems
http://blogs.sun.com/jmcp   http://www.jmcp.homeunix.com/blog
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Confused about prerequisites for ZFS to work

2009-02-19 Thread Enda O'Connor

On 02/19/09 13:20, James C. McPherson wrote:

On Thu, 19 Feb 2009 07:14:07 -0600
Harry Putnam rea...@newsguy.com wrote:


Blake blake.ir...@gmail.com writes:


[...]


I found this entry helpful:

http://blogs.sun.com/timthomas/entry/solaris_cifs_in_workgroup_mode

There is a comment in those directions about installing a SMB PAM
module:
  6. Install the SMB PAM module

  Add the below line to the end of /etc/pam.conf:

  other   password required   pam_smb_passwd.so.1 nowarn

Do you know what that is?

I don't find any pkg named like that here.

   pkg search -r pam|grep smb
   nada



You might find it if you searched instead with

$ pkg search -r smb


In SXCE, at least, /usr/lib/security/pam_smb_passwd.so is
part of the SUNWsmbfsu package.


Hi
And looks like 2008.11 has it in SUNWsmbs.

Enda


James
--
Senior Kernel Software Engineer, Solaris
Sun Microsystems
http://blogs.sun.com/jmcp   http://www.jmcp.homeunix.com/blog
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss



--
Enda O'Connor x19781  Software Product Engineering
Patch System Test : Ireland : x19781/353-1-8199718
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Confused about prerequisites for ZFS to work

2009-02-19 Thread Robert Thurlow

Harry Putnam wrote:


There is a comment in those directions about installing a SMB PAM
module:
  6. Install the SMB PAM module

  Add the below line to the end of /etc/pam.conf:

  other   password required   pam_smb_passwd.so.1 nowarn

Do you know what that is?


It's part of the Solaris CIFS server, and its purpose is to
permit you to store passwords in a form useful to CIFS.
The regular passwords are stored with one-way encryption,
and CIFS needs the plain text to encrypt a different way
for interoperability.  The PAM module sees the password as
it is changed, and will store it for CIFS purposes.

Rob T
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Confused about prerequisites for ZFS to work

2009-02-18 Thread Ian Collins

Harry Putnam wrote:

Here is where I need some kind of brief outline telling what all is
needed to get that to happen.

When I look at the server, Its said to be in `maintenance mode'

 # svcs | grep smb
  online 18:40:45 svc:/network/smb/client:default
  maintenance23:55:48 svc:/network/smb/server:default

I'm not really sure how to use svcadm wisely but I tried to enable it
first:

   svcadm enable -r  smb/server
  svcadm: svc:/milestone/network depends on \
  svc:/network/physical, which has multiple instances 


I'm not sure what that output means... but it doesn't appear to be any
kind of error.

Still when I look again... its still in maintenance mode.

What does tail /var/svc/log/network-smb-server:default.log show?

The log file for a service listed as part of the long listing (svcs -l 
smb/server).


--
Ian.

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Confused about prerequisites for ZFS to work

2009-02-18 Thread Harry Putnam

Ian Collins wrote:

Harry Putnam wrote:


[...]


Still when I look again... its still in maintenance mode.



What does tail /var/svc/log/network-smb-server:default.log show?

The log file for a service listed as part of the long listing (svcs -l 
smb/server).




Following these two commands:
svcadm disable sbm/server
svcadm enable -r smb/server

[...]

[ Feb 18 11:53:42 Executing start method (/usr/lib/smbsrv/smbd start). ]
smbd: NetBIOS services started
smbd: kernel bind error: No such file or directory
smbd: daemon initialization failed
[ Feb 18 11:53:43 Method start exited with status 95. ]

I wondered about the kernel in previous post:

 I noticed a
 special kernel package right next to the smb server called. SUNWsmbskr
 (smb/server kernel).

 So does this require a special kernel?

Does that mean I need to do something to the kernel..?  Replace it with
SUNWsmbskr?

Or is it something less ambitious?

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Confused about prerequisites for ZFS to work

2009-02-18 Thread Blake
You definitely need SUNWsmbskr - the cifs server provided with
OpenSolaris is tied to the kernel at some low level.

I found this entry helpful:

http://blogs.sun.com/timthomas/entry/solaris_cifs_in_workgroup_mode



On Wed, Feb 18, 2009 at 1:03 PM, Harry Putnam rea...@newsguy.com wrote:
 Ian Collins wrote:

 Harry Putnam wrote:

 [...]

 Still when I look again... its still in maintenance mode.

 What does tail /var/svc/log/network-smb-server:default.log show?

 The log file for a service listed as part of the long listing (svcs -l
 smb/server).


 Following these two commands:
 svcadm disable sbm/server
 svcadm enable -r smb/server

 [...]

 [ Feb 18 11:53:42 Executing start method (/usr/lib/smbsrv/smbd start). ]
 smbd: NetBIOS services started
 smbd: kernel bind error: No such file or directory
 smbd: daemon initialization failed
 [ Feb 18 11:53:43 Method start exited with status 95. ]

 I wondered about the kernel in previous post:

 I noticed a
 special kernel package right next to the smb server called. SUNWsmbskr
 (smb/server kernel).

 So does this require a special kernel?

 Does that mean I need to do something to the kernel..?  Replace it with
 SUNWsmbskr?

 Or is it something less ambitious?

 ___
 zfs-discuss mailing list
 zfs-discuss@opensolaris.org
 http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Confused about prerequisites for ZFS to work

2009-02-18 Thread Harry Putnam

Blake wrote:

You definitely need SUNWsmbskr - the cifs server provided with
OpenSolaris is tied to the kernel at some low level.

I found this entry helpful:

http://blogs.sun.com/timthomas/entry/solaris_cifs_in_workgroup_mode


Looks like it will be immensely so..
However it appears from the comments there that I need to have the smb 
server online before the directions there are very usefull.


I've installed both SUNWsmbs and SUNWsmbskr  and rebooted as directed.
pkg shows them installed.
   pkg list|grep smbs
  SUNWsmbs  0.5.11-0.101installed
  SUNWsmbskr0.5.11-0.101installed

However I still get the same error when trying to start smb server.
  [ Feb 18 14:36:36 Enabled. ]
  [ Feb 18 14:36:36 Executing start method (/usr/lib/smbsrv/smbd
  start). ]
  smbd: NetBIOS services started
  smbd: kernel bind error: No such file or directory
  smbd: daemon initialization failed
  [ Feb 18 14:36:37 Method start exited with status 95. ]

I'm not finding many clues with google as to what to do, but as always 
its not doubt that my search strings are lacking, since I don't have 
enough experience yet to know what to look for exactly.  Something like 
this:

how to install SUNWsmbskr
Turns up man messges about the need to reboot after installing but not 
any I see about how to deal with any problems with the install itself.


___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Confused about prerequisites for ZFS to work

2009-02-18 Thread Blake
have you made sure that samba is *disabled*?

svcs samba

?

On Wed, Feb 18, 2009 at 4:14 PM, Harry Putnam rea...@newsguy.com wrote:
 Blake wrote:

 You definitely need SUNWsmbskr - the cifs server provided with
 OpenSolaris is tied to the kernel at some low level.

 I found this entry helpful:

 http://blogs.sun.com/timthomas/entry/solaris_cifs_in_workgroup_mode

 Looks like it will be immensely so..
 However it appears from the comments there that I need to have the smb
 server online before the directions there are very usefull.

 I've installed both SUNWsmbs and SUNWsmbskr  and rebooted as directed.
 pkg shows them installed.
   pkg list|grep smbs
  SUNWsmbs  0.5.11-0.101installed
  SUNWsmbskr0.5.11-0.101installed

 However I still get the same error when trying to start smb server.
  [ Feb 18 14:36:36 Enabled. ]
  [ Feb 18 14:36:36 Executing start method (/usr/lib/smbsrv/smbd
  start). ]
  smbd: NetBIOS services started
  smbd: kernel bind error: No such file or directory
  smbd: daemon initialization failed
  [ Feb 18 14:36:37 Method start exited with status 95. ]

 I'm not finding many clues with google as to what to do, but as always its
 not doubt that my search strings are lacking, since I don't have enough
 experience yet to know what to look for exactly.  Something like this:
how to install SUNWsmbskr
 Turns up man messges about the need to reboot after installing but not any I
 see about how to deal with any problems with the install itself.

 ___
 zfs-discuss mailing list
 zfs-discuss@opensolaris.org
 http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] Confused about prerequisites for ZFS to work

2009-02-18 Thread Harry Putnam
Blake blake.ir...@gmail.com writes:

 have you made sure that samba is *disabled*?

 svcs samba

 ?


First..good news ... its working.

About samba:
Yeah, that was one of the things I did find while googling.  But
apparently that package is not installed by default.. it was not
installed here at any rate:

root # pkg list |grep smb
SUNWlibsmbclient  3.0.28-0.101 installed
SUNWsmbfs 0.5.11-0.101 installed
SUNWsmbfskr   0.5.11-0.101 installed
SUNWsmbs  0.5.11-0.101 installed
SUNWsmbskr0.5.11-0.101 installed

And of course svcs shows no evidence of it.

It appears now that smb/server is working... I've had occasion to
reboot at least twice more since the reboot that followed installation
of smbs and smbskr... but only now has the `maintenance' mode turned
into `online'

  svcs |grep smb
  online 20:19:12 svc:/network/smb/server:default
  online 20:19:34 svc:/network/smb/client:default

A beautiful sight.. hehe.. I've been thrashing around for 2 days on
this.  It would be nice to know just what really happened there.  I'm
guessing its pretty likely to be some ill-informed oversight of mine.

Thanks for your time... now I can continue the setup.

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] Confused about prerequisites for ZFS to work

2009-02-17 Thread Harry Putnam
I'm hoping to get some general clues about what all is required to get
an experiment going with zfs.

I've managed to install osol-11 in a vmware on windowsXP host from a
recent *.iso.

I'm following along with Simon's blog showing how to set up ZFS.  I'm
newbie with both ZFS and Solaris but the instructions seem pretty
clear.

However I'm finding some things the Simon directions at:
   http://breden.org.uk/2008/03/08/home-fileserver-zfs-setup/

Do, are failing for me.


I've added a few extra drives in he vmware and added them to
zpool... So cutting to the chase I have a zpool established and up to
the point where I make it available to other hosts.

Eventually I hope to have a 3 windows machines, 2 linux and 1 solaris
machine using the Zfs drives for backup.  For now I'm just including 1
linux and 1 windows in my experiment.

Going by simons instructions I'm settting up a sbm/cifs share.
I see the smbshare is already setup:

  # zfs get all tank/home/reader |grep smb 
tank/home/reader  sharesmbon  local

Then I'm told to check and see what name the share is given:

 # sharemgr show -vp
  default nfs=()
   zfs
zfs/tank/home/reader smb=()
  tank_home_reader=/tank/home/reader

Ok, then I'm having a problem getting the smb/server running.

Here is where I need some kind of brief outline telling what all is
needed to get that to happen.

When I look at the server, Its said to be in `maintenance mode'

 # svcs | grep smb
  online 18:40:45 svc:/network/smb/client:default
  maintenance23:55:48 svc:/network/smb/server:default

I'm not really sure how to use svcadm wisely but I tried to enable it
first:

   svcadm enable -r  smb/server
  svcadm: svc:/milestone/network depends on \
  svc:/network/physical, which has multiple instances 

I'm not sure what that output means... but it doesn't appear to be any
kind of error.

Still when I look again... its still in maintenance mode.


I noticed a special kernel package right next to the smb server
called. SUNWsmbskr  (smb/server kernel).

So does this require a special kernel?

A brief roadmap from the point I'm at to running ZFS server, somekind
of outline would be really be handy.

When looking at the demos etc on line about zfs.. I don't recall
seeing anything about a special kernel... or is the smb server not
required to allow windows machines to `see' the zfs pool?

Also.. I keep seeing mention of a CIFS implementation but all the
stuff I see about cifs in the package manager says `client'.  So I'm
getting a bit confused.

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss