Solaris and mlock()

Jeremy Allison jra at samba.org
Wed Feb 21 22:19:43 GMT 2007


On Wed, Feb 21, 2007 at 03:27:56PM -0600, Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Gerald (Jerry) Carter wrote:
> > Jeremy & Guenther,
> > 
> > Looks like this is still an issue.  Have either of you
> > tested the mlock() usage on non-Linux platforms? (e.g.
> > Solaris).  Doesn't the memory need to page aligned or
> > something?
> > 
> >  failed to mlock memory: Invalid argument (22)
> >  Failed to store memory creds: NT_STATUS_INVALID_HANDLE
> >  Plain-text authentication for user AD\smitty returned
> >    NT_STATUS_INVALID_HANDLE (PAM: 4)
> > 
> > Also, why is this showing up at all with the krb5 tkt
> > refresh and offline support disabled in the smb.conf
> > file?
> 
> How about this patch?

Ok - looks good to me !

Jeremy.


More information about the samba-technical mailing list