libwbclient - wbcLogoffUser() & wbcLookupDomainController

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu May 8 08:47:04 GMT 2008


On Wed, May 07, 2008 at 06:08:03PM -0500, Gerald (Jerry) Carter wrote:
> > I'm not yet sure about the prototype of wbcLogonUser()...
> > ...but I think we should use arrays of a structure like this:
> > 
> > struct {
> > 	const char *name;
> > 	bool critical;
> > 	struct {
> > 		uint32_t length;
> > 		uint8_t *data;
> > 	} value;
> > }
> > 
> > to pass extra data, e.g. needed for AFS krb5 logons in and out
> > of wbcLogonUser().
> 
> I'm not quite following you.  What extra data are you passing?

The same info that wbinfo -k transfers: An AFS-style krb4
ticket that was created using the fake-kaserver facility by
winbind. Others might want to add other kinds of token.

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


More information about the samba-technical mailing list