[PATCH] creds cache and nt create api in libsmbclient

Rafal Szczesniak mimir at samba.org
Mon Feb 18 12:42:58 GMT 2008

Sorry about late reply, but I was travelling and then recovering yesterday.

On Thu, Feb 14, 2008 at 10:25:35PM -0500, Derrell Lipman wrote:
> On Thu, Feb 14, 2008 at 8:05 PM, Rafal Szczesniak <mimir at samba.org> wrote:
> Hi.  I'm not sure what you're trying to accomplish.  libsmbclient
> provides a POSIX emulation interface, so smbc_nt_create() makes no
> sense in this context.

It does if you want to open the named pipe. That was the initial motivation
for these changes.

> (Also, none of the comments say what a ccname
> is.)

It's a credentials cache name.

> Please fill me in on what brought you to this point so I can
> better understand the needs.

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).

Rafal Szczesniak
Samba Team member   http://www.samba.org
Likewise Software   http://www.likewisesoftware.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20080218/495d4178/attachment.bin

More information about the samba-technical mailing list