From: Uwe H. <dig...@gm...> - 2005-06-30 20:28:21
|
hi, pam_mysql works wonderful for me, except md5 crypt! i use this line for pam.d/imap account required pam_mysql.so user=bbauth passwd=test host=localhost db=bb table=bbusers usercolumn=user passwdcolumn=pass crypt=3 on a gnu/linux 2.6 system. my distribution got a package for 0.5, so i compiled 0.6 manually and it installed in /lib/security - pam_mysql.so was there before, too. don't think there is the mistake but who knows :) the password was made with mysql's md5() function and the field is a varchar - i also tested blob after reading a bit, but that didn't work ( i'm not so experienced with sql, so i've done some trial and error). as said, it works with the plain auth and i really can't figure out my mistake.. bye |
From: Moriyoshi K. <mor...@at...> - 2005-07-01 02:51:27
|
Hi, What were your configure options? Perhaps --with-openssl was not specified to configure. Moriyoshi On 2005/07/01, at 5:33, Uwe Helm wrote: > hi, > pam_mysql works wonderful for me, except md5 crypt! > i use this line for pam.d/imap > account required pam_mysql.so user=bbauth passwd=test > host=localhost db=bb table=bbusers usercolumn=user passwdcolumn=pass > crypt=3 > on a gnu/linux 2.6 system. > my distribution got a package for 0.5, so i compiled 0.6 manually and > it > installed in /lib/security - pam_mysql.so was there before, too. don't > think there is the mistake but who knows :) > the password was made with mysql's md5() function and the field is a > varchar - i also tested blob after reading a bit, but that didn't work > ( > i'm not so experienced with sql, so i've done some trial and error). > as said, it works with the plain auth and i really can't figure out my > mistake.. > > bye > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Pam-mysql-general mailing list > Pam...@li... > https://lists.sourceforge.net/lists/listinfo/pam-mysql-general > |
From: Uwe H. <dig...@gm...> - 2005-07-03 16:32:24
|
Hi, i'm sure that is the reason, but it is still not working. I see there is another thread in the mailing list, seems to be exactly the same problem. here is the ./configure output when i use ./configure '--with-openssl=/usr/include/openssl/' '--with-mysql=/usr/' I played with the path's, but nothing worked for me. my md5.h is here: /usr/include/openssl/md5.h checking if md5.h is derived from Cyrus SASL Version 1... no checking md5.h usability... no checking md5.h presence... no checking for md5.h... no bye Moriyoshi Koizumi wrote: > Hi, > > What were your configure options? Perhaps --with-openssl was not > specified to configure. > > Moriyoshi > > On 2005/07/01, at 5:33, Uwe Helm wrote: > >> hi, >> pam_mysql works wonderful for me, except md5 crypt! >> i use this line for pam.d/imap >> account required pam_mysql.so user=bbauth passwd=test >> host=localhost db=bb table=bbusers usercolumn=user passwdcolumn=pass >> crypt=3 >> on a gnu/linux 2.6 system. >> my distribution got a package for 0.5, so i compiled 0.6 manually and it >> installed in /lib/security - pam_mysql.so was there before, too. don't >> think there is the mistake but who knows :) >> the password was made with mysql's md5() function and the field is a >> varchar - i also tested blob after reading a bit, but that didn't work ( >> i'm not so experienced with sql, so i've done some trial and error). >> as said, it works with the plain auth and i really can't figure out my >> mistake.. >> >> bye >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >> from IBM. Find simple to follow Roadmaps, straightforward articles, >> informative Webcasts and more! Get everything you need to get up to >> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >> _______________________________________________ >> Pam-mysql-general mailing list >> Pam...@li... >> https://lists.sourceforge.net/lists/listinfo/pam-mysql-general >> > |
From: Moriyoshi K. <mor...@at...> - 2005-07-03 23:21:39
|
Hi, You need to give the installation prefix instead of where the headers reside. Moriyoshi On 2005/07/04, at 1:37, Uwe Helm wrote: > Hi, > i'm sure that is the reason, but it is still not working. I see there > is > another thread in the mailing list, seems to be exactly the same > problem. here is the ./configure output when i use > ./configure '--with-openssl=/usr/include/openssl/' '--with-mysql=/usr/' > I played with the path's, but nothing worked for me. my md5.h is here: > /usr/include/openssl/md5.h > > > checking if md5.h is derived from Cyrus SASL Version 1... no > checking md5.h usability... no > checking md5.h presence... no > checking for md5.h... no > > bye > > > Moriyoshi Koizumi wrote: >> Hi, >> >> What were your configure options? Perhaps --with-openssl was not >> specified to configure. >> >> Moriyoshi >> >> On 2005/07/01, at 5:33, Uwe Helm wrote: >> >>> hi, >>> pam_mysql works wonderful for me, except md5 crypt! >>> i use this line for pam.d/imap >>> account required pam_mysql.so user=bbauth passwd=test >>> host=localhost db=bb table=bbusers usercolumn=user passwdcolumn=pass >>> crypt=3 >>> on a gnu/linux 2.6 system. >>> my distribution got a package for 0.5, so i compiled 0.6 manually >>> and it >>> installed in /lib/security - pam_mysql.so was there before, too. >>> don't >>> think there is the mistake but who knows :) >>> the password was made with mysql's md5() function and the field is a >>> varchar - i also tested blob after reading a bit, but that didn't >>> work ( >>> i'm not so experienced with sql, so i've done some trial and error). >>> as said, it works with the plain auth and i really can't figure out >>> my >>> mistake.. >>> >>> bye >>> >>> >>> ------------------------------------------------------- >>> SF.Net email is sponsored by: Discover Easy Linux Migration >>> Strategies >>> from IBM. Find simple to follow Roadmaps, straightforward articles, >>> informative Webcasts and more! Get everything you need to get up to >>> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >>> _______________________________________________ >>> Pam-mysql-general mailing list >>> Pam...@li... >>> https://lists.sourceforge.net/lists/listinfo/pam-mysql-general >>> >> > |
From: Uwe H. <dig...@gm...> - 2005-07-04 19:01:31
|
Hi, I feel quite stupid here..I tried every combination, but it just doesn't take the md5.h .Define it with --with-cyrus-sasl doesn't work either. My installation prefix for openssl is /usr, so i took --with-openssl=/usr but i found this error message in config.log configure:26243: checking if md5.h is derived from Cyrus SASL Version 1 configure:26267: gcc -c -g -O2 -I/usr/include/mysql -march=athlon -fomit-frame-pointer -pipe -DHAVE_ERRNO_AS_DEFINE=1 -DUSE_OLD_FUNCTIONS -I/usr//include conftest.c >&5 conftest.c:63:23: md5global.h: No such file or directory conftest.c:64:17: md5.h: No such file or directory conftest.c: In function `main': conftest.c:70: error: `MD5_CTX' undeclared (first use in this function) conftest.c:70: error: (Each undeclared identifier is reported only once conftest.c:70: error: for each function it appears in.) conftest.c:70: error: syntax error before "ctx" conftest.c:71: error: `ctx' undeclared (first use in this function) bye Moriyoshi Koizumi wrote: > Hi, > > You need to give the installation prefix instead of where the headers > reside. > > Moriyoshi > > > On 2005/07/04, at 1:37, Uwe Helm wrote: > >> Hi, >> i'm sure that is the reason, but it is still not working. I see there is >> another thread in the mailing list, seems to be exactly the same >> problem. here is the ./configure output when i use >> ./configure '--with-openssl=/usr/include/openssl/' '--with-mysql=/usr/' >> I played with the path's, but nothing worked for me. my md5.h is here: >> /usr/include/openssl/md5.h >> >> >> checking if md5.h is derived from Cyrus SASL Version 1... no >> checking md5.h usability... no >> checking md5.h presence... no >> checking for md5.h... no >> >> bye >> >> >> Moriyoshi Koizumi wrote: >> >>> Hi, >>> >>> What were your configure options? Perhaps --with-openssl was not >>> specified to configure. >>> >>> Moriyoshi >>> >>> On 2005/07/01, at 5:33, Uwe Helm wrote: >>> >>>> hi, >>>> pam_mysql works wonderful for me, except md5 crypt! >>>> i use this line for pam.d/imap >>>> account required pam_mysql.so user=bbauth passwd=test >>>> host=localhost db=bb table=bbusers usercolumn=user passwdcolumn=pass >>>> crypt=3 >>>> on a gnu/linux 2.6 system. >>>> my distribution got a package for 0.5, so i compiled 0.6 manually >>>> and it >>>> installed in /lib/security - pam_mysql.so was there before, too. don't >>>> think there is the mistake but who knows :) >>>> the password was made with mysql's md5() function and the field is a >>>> varchar - i also tested blob after reading a bit, but that didn't >>>> work ( >>>> i'm not so experienced with sql, so i've done some trial and error). >>>> as said, it works with the plain auth and i really can't figure out my >>>> mistake.. >>>> >>>> bye >>>> >>>> >>>> ------------------------------------------------------- >>>> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >>>> from IBM. Find simple to follow Roadmaps, straightforward articles, >>>> informative Webcasts and more! Get everything you need to get up to >>>> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >>>> _______________________________________________ >>>> Pam-mysql-general mailing list >>>> Pam...@li... >>>> https://lists.sourceforge.net/lists/listinfo/pam-mysql-general >>>> >>> >> > |
From: Moriyoshi K. <mor...@at...> - 2005-07-05 15:18:04
|
On 2005/07/05, at 4:06, Uwe Helm wrote: > configure:26243: checking if md5.h is derived from Cyrus SASL Version 1 > configure:26267: gcc -c -g -O2 -I/usr/include/mysql -march=athlon > -fomit-frame-pointer -pipe -DHAVE_ERRNO_AS_DEFINE=1 -DUSE_OLD_FUNCTIONS > -I/usr//include conftest.c >&5 > conftest.c:63:23: md5global.h: No such file or directory > conftest.c:64:17: md5.h: No such file or directory > conftest.c: In function `main': > conftest.c:70: error: `MD5_CTX' undeclared (first use in this function) > conftest.c:70: error: (Each undeclared identifier is reported only once > conftest.c:70: error: for each function it appears in.) > conftest.c:70: error: syntax error before "ctx" > conftest.c:71: error: `ctx' undeclared (first use in this function) This error is not critical. The check is to test if md5.h in /usr/include is part of Cyrus-SASL or not. Try grep "HAVE_OPENSSL" config.log and check if it is really enabled in your build. Regards, Moriyoshi > > bye > > > Moriyoshi Koizumi wrote: >> Hi, >> >> You need to give the installation prefix instead of where the headers >> reside. >> >> Moriyoshi >> >> >> On 2005/07/04, at 1:37, Uwe Helm wrote: >> >>> Hi, >>> i'm sure that is the reason, but it is still not working. I see >>> there is >>> another thread in the mailing list, seems to be exactly the same >>> problem. here is the ./configure output when i use >>> ./configure '--with-openssl=/usr/include/openssl/' >>> '--with-mysql=/usr/' >>> I played with the path's, but nothing worked for me. my md5.h is >>> here: >>> /usr/include/openssl/md5.h >>> >>> >>> checking if md5.h is derived from Cyrus SASL Version 1... no >>> checking md5.h usability... no >>> checking md5.h presence... no >>> checking for md5.h... no >>> >>> bye >>> >>> >>> Moriyoshi Koizumi wrote: >>> >>>> Hi, >>>> >>>> What were your configure options? Perhaps --with-openssl was not >>>> specified to configure. >>>> >>>> Moriyoshi >>>> >>>> On 2005/07/01, at 5:33, Uwe Helm wrote: >>>> >>>>> hi, >>>>> pam_mysql works wonderful for me, except md5 crypt! >>>>> i use this line for pam.d/imap >>>>> account required pam_mysql.so user=bbauth passwd=test >>>>> host=localhost db=bb table=bbusers usercolumn=user >>>>> passwdcolumn=pass >>>>> crypt=3 >>>>> on a gnu/linux 2.6 system. >>>>> my distribution got a package for 0.5, so i compiled 0.6 manually >>>>> and it >>>>> installed in /lib/security - pam_mysql.so was there before, too. >>>>> don't >>>>> think there is the mistake but who knows :) >>>>> the password was made with mysql's md5() function and the field is >>>>> a >>>>> varchar - i also tested blob after reading a bit, but that didn't >>>>> work ( >>>>> i'm not so experienced with sql, so i've done some trial and >>>>> error). >>>>> as said, it works with the plain auth and i really can't figure >>>>> out my >>>>> mistake.. >>>>> >>>>> bye >>>>> >>>>> >>>>> ------------------------------------------------------- >>>>> SF.Net email is sponsored by: Discover Easy Linux Migration >>>>> Strategies >>>>> from IBM. Find simple to follow Roadmaps, straightforward articles, >>>>> informative Webcasts and more! Get everything you need to get up to >>>>> speed, fast. >>>>> http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >>>>> _______________________________________________ >>>>> Pam-mysql-general mailing list >>>>> Pam...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/pam-mysql-general >>>>> >>>> >>> >> > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Pam-mysql-general mailing list > Pam...@li... > https://lists.sourceforge.net/lists/listinfo/pam-mysql-general > |
From: Uwe H. <dig...@gm...> - 2005-07-07 17:41:13
|
Hi, There are varous | #define HAVE_OPENSSL 1 in config.log with --with-openssl=/usr Moriyoshi Koizumi wrote: > On 2005/07/05, at 4:06, Uwe Helm wrote: > >> configure:26243: checking if md5.h is derived from Cyrus SASL Version 1 >> configure:26267: gcc -c -g -O2 -I/usr/include/mysql -march=athlon >> -fomit-frame-pointer -pipe -DHAVE_ERRNO_AS_DEFINE=1 -DUSE_OLD_FUNCTIONS >> -I/usr//include conftest.c >&5 >> conftest.c:63:23: md5global.h: No such file or directory >> conftest.c:64:17: md5.h: No such file or directory >> conftest.c: In function `main': >> conftest.c:70: error: `MD5_CTX' undeclared (first use in this function) >> conftest.c:70: error: (Each undeclared identifier is reported only once >> conftest.c:70: error: for each function it appears in.) >> conftest.c:70: error: syntax error before "ctx" >> conftest.c:71: error: `ctx' undeclared (first use in this function) > > > This error is not critical. The check is to test if md5.h in /usr/include > is part of Cyrus-SASL or not. Try grep "HAVE_OPENSSL" config.log and > check if it is really enabled in your build. > > Regards, > Moriyoshi > >> >> bye >> >> >> Moriyoshi Koizumi wrote: >> >>> Hi, >>> >>> You need to give the installation prefix instead of where the headers >>> reside. >>> >>> Moriyoshi >>> >>> >>> On 2005/07/04, at 1:37, Uwe Helm wrote: >>> >>>> Hi, >>>> i'm sure that is the reason, but it is still not working. I see >>>> there is >>>> another thread in the mailing list, seems to be exactly the same >>>> problem. here is the ./configure output when i use >>>> ./configure '--with-openssl=/usr/include/openssl/' '--with-mysql=/usr/' >>>> I played with the path's, but nothing worked for me. my md5.h is here: >>>> /usr/include/openssl/md5.h >>>> >>>> >>>> checking if md5.h is derived from Cyrus SASL Version 1... no >>>> checking md5.h usability... no >>>> checking md5.h presence... no >>>> checking for md5.h... no >>>> >>>> bye >>>> >>>> >>>> Moriyoshi Koizumi wrote: >>>> >>>>> Hi, >>>>> >>>>> What were your configure options? Perhaps --with-openssl was not >>>>> specified to configure. >>>>> >>>>> Moriyoshi >>>>> >>>>> On 2005/07/01, at 5:33, Uwe Helm wrote: >>>>> >>>>>> hi, >>>>>> pam_mysql works wonderful for me, except md5 crypt! >>>>>> i use this line for pam.d/imap >>>>>> account required pam_mysql.so user=bbauth passwd=test >>>>>> host=localhost db=bb table=bbusers usercolumn=user passwdcolumn=pass >>>>>> crypt=3 >>>>>> on a gnu/linux 2.6 system. >>>>>> my distribution got a package for 0.5, so i compiled 0.6 manually >>>>>> and it >>>>>> installed in /lib/security - pam_mysql.so was there before, too. >>>>>> don't >>>>>> think there is the mistake but who knows :) >>>>>> the password was made with mysql's md5() function and the field is a >>>>>> varchar - i also tested blob after reading a bit, but that didn't >>>>>> work ( >>>>>> i'm not so experienced with sql, so i've done some trial and error). >>>>>> as said, it works with the plain auth and i really can't figure >>>>>> out my >>>>>> mistake.. >>>>>> >>>>>> bye >>>>>> >>>>>> >>>>>> ------------------------------------------------------- >>>>>> SF.Net email is sponsored by: Discover Easy Linux Migration >>>>>> Strategies >>>>>> from IBM. Find simple to follow Roadmaps, straightforward articles, >>>>>> informative Webcasts and more! Get everything you need to get up to >>>>>> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >>>>>> _______________________________________________ >>>>>> Pam-mysql-general mailing list >>>>>> Pam...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/pam-mysql-general >>>>>> >>>>> >>>> >>> >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >> from IBM. Find simple to follow Roadmaps, straightforward articles, >> informative Webcasts and more! Get everything you need to get up to >> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >> _______________________________________________ >> Pam-mysql-general mailing list >> Pam...@li... >> https://lists.sourceforge.net/lists/listinfo/pam-mysql-general >> > |