Auth via ADS: using userPrincipalName as username
(ref bug #1909)
Gerald (Jerry) Carter
jerry at samba.org
Tue Jan 11 15:35:12 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Marc Lanctot wrote:
| I've added a function to winbindd_ads.c called
| conv_upn_to_samaccountname(). I want to call it
| from winbindd_pam_auth() in winbindd_pam.c.
| I've added the prototype function pointer
| to the winbindd_methods struct definition in
| winbindd.h and to the winbindd_methods struct
| instance at the end of winbindd_ads.c in the
| correct place (second, right after the BOOL).
| I re-compiled the code without even calling my
| function anywhere.. and now Winbind is segfaulting when
| I try to load it, giving me (see below). Is there somewhere
| else I have to put this prototype if I want to call
| it from another file?
Make sure you do a full recompile after changing
structure sizes. Our Makefile is not smart enough to
recompile all the necessary files.
Alleviating the pain of Windows(tm) ------- http://www.samba.org
GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc
"I never saved anything for the swim back." Ethan Hawk in Gattaca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba-technical