libwbclient - wbcLogoffUser() & wbcLookupDomainController

Gerald (Jerry) Carter jerry at samba.org
Thu May 8 15:27:54 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Volker Lendecke wrote:
> 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.

ok.  I'll have to look at that some more today and come back.





cheers, jerry
- --
=====================================================================
Samba                                    ------- http://www.samba.org
Likewise Software          ---------  http://www.likewisesoftware.com
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIIxv6IR7qMdg1EfYRAjZ8AKDIUIXbMsohmPD5v0z06ujk0+vudgCgtBW1
DxCmZhaMEQ26nQ/bxtNoIY4=
=cILC
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list