Displaying 2 results from an estimated 2 matches for "this_salt".
2001 Apr 30
0
Warning messages compiling --with-pam - pampass.c and pass_check.c
...68:
667 /* #ifndef HAVE_CRYPT */
668 #ifndef HAVE_CRYPT <--- "ifdef" is misspelled - Dennis
669 DEBUG(1, ("Warning - no crypt available\n"));
670 return (False);
671 #else /* HAVE_CRYPT */
672 return (strcmp((char *)crypt(password, this_salt),
this_crypted) == 0);
673 #endif /* HAVE_CRYPT */
I changed "ifndef" to "ifdef" and the message went away.
In pampass.c, I can't really tell, since I'm not sure what this code
section
is supposed to do, define a struct? init a struct? both?:
127
128 stat...
2003 Oct 11
2
Samba 3.0 stable: make --with-afs fails on SuSE 8.2
...uth/pass_check.o] Error 1
athena:/home/adam/smb/samba-3.0.0/source #
========================================================
A portion of my source/auth/pass_check.c with line numbers:
========================================================
31 #if !defined(WITH_PAM)
32 static fstring this_salt;
33 static fstring this_crypted;
34 #endif
35
36 #ifdef WITH_AFS
37
38 #include <afs/stds.h>
39 #include <afs/kautils.h>
40
========================================================
I did a "locate stds.h" and "locate kautil...