SOlaris and mlock()
gd at samba.org
Wed Feb 21 12:03:15 GMT 2007
On Wednesday 21 February 2007 12:25, 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
Yes, my fault, I'm aware of that but never got around to test with Solaris. It
need to be aligned.
From man mlock on Linux:
"Under Linux, mlock() and munlock() automatically round addr down to the
nearest page boundary. However, POSIX.1-2001 allows an implementation to
require that addr is page aligned, so portable applications should ensure
> 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
Were are storing in-memory creds for firefox NTLM SSO (ntlm_auth) independent
from "winbind offline logon" when the pam_auth caller requests
WBFLAG_PAM_CACHED_LOGIN. Conceptually that is ok but for consistency we
should tie this again to the global offline logon setting.
On my list for 3.0.25.
Günther Deschner GPG-ID: 8EE11688
Novell / SUSE Labs gd at suse.de
Samba Team gd at samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20070221/9dc36b83/attachment.bin
More information about the samba-technical