Auth via ADS: using userPrincipalName as username (ref bug #1909)

Gerald (Jerry) Carter jerry at
Tue Jan 11 15:35:12 GMT 2005

Hash: SHA1

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.

cheers, jerry
Alleviating the pain of Windows(tm)      -------
GnuPG Key                -----
"I never saved anything for the swim back."     Ethan Hawk in Gattaca
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird -


More information about the samba-technical mailing list