[PATCH] creds cache and nt create api in libsmbclient
derrell.lipman at unwireduniverse.com
Thu Feb 28 17:45:09 GMT 2008
On Mon, Feb 18, 2008 at 7:42 AM, Rafal Szczesniak <mimir at samba.org> wrote:
> At Likewise, we needed to provide named pipe support for our dcerpc
> environment. It means adding named pipe open/read/write/close operations
> to libsmbclient, so that we can do an rpc bind via named pipe. Accessing
> the session key from smb layer is necessary to be able to do crypto operations
> in certain rpc calls (like SamrSetUserInfo).
I'm looking into the best generic interface for the authentication
callback function. Your patch added ccname there, but all your patch
does with it is to store it in the cli structure but then never uses
Why do you store it there but not use it?
I'd like to generalize the authentication callback interface with a
"user data" pointer that is settable and retrievable via the context.
If your user data pointer was actually the ccname, this would allow
your auth callback function to retrieve and/or set the ccname but not
have any action in regards to setting it in the cli structure. I
think I'm covering the general case, but I'd like more info about what
you're trying to accomplish to ensure that this meets it.
More information about the samba-technical