Does JDBC realm really require cleartext password.

2004-04-22 Thread Faine, Mark

I'm trying to configure a JDBC realm using a third party database and it
seems they are using the mysql password command to store their passwords.  I
read in the docs:

When a standard realm authenticates by retrieving the stored password and
comparing it with the value presented by the user, you can select digested
passwords by specifying the digest attribute on your Realm element. The
value for this attribute must be one of the digest algorithms supported by
the java.security.MessageDigest class (SHA, MD2, or MD5). When you select
this option, the contents of the password that is stored in the Realm must
be the cleartext version of the password, as digested by the specified
algorithm.

Does this mean to use this you must store clear text passwords in your
database?  Is there anyway around it?  It may be a show-stopper for this
project if not.

Thanks,
-Mark

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



ld.so.1: ./perl: fatal: relocation error

2002-10-11 Thread Faine, Mark

Perl 5.6.1
Platform/OS: Solaris 9
Compiler: GCC 2.95.2 - Tried with both Gnu binutils and Sun
Attempted with mysql 3.23.47 and 3.23.52

When I try to compile perl it appears to compile just fine until I run
'make test' then I get the following error message for many of the
various tests:

lib/dirhand..Can't load '../lib/auto/File/Glob/Glob.so' for
module File::Glob: ld.so.1: ./perl: fatal: relocation error: file
../lib/auto/File/Glob/Glob.so: symbol main: referenced symbol not
found at ../lib/XSLoader.pm line 75.
 at ../lib/File/Glob.pm line 101
Compilation failed in require at lib/dirhand.t line 20.

This is repeated for 54 of the tests.  I have tried everything I can
think of and nothing I have tried will make this thing compile
properly.  Any suggestions, help, recommendations will be greatly
appreciated.

Thanks,
-Mark

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




mysql won't start via init script

2002-02-14 Thread Faine, Mark

If I start mysql by changing to the msyql directory and run safe_mysqld
--user=mysql  everything works fine, if I try to start mysql at boot time
with an init script it starts and immediately dies the log files say it
can't find a certain library file (a file that is in my LD_LIBRARY_PATH). It
has no problem starting if I wait till the server boots up completly and
start it manually with the init script or with safe_mysqld

??

Thanks,
Mark

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




math_iso.h / libm.a

2002-01-14 Thread Faine, Mark

Solaris 8
Gcc 3.0.3


I cannot get mysql to compile without math_iso.h yet I cannot find
math_iso.h anywhere, does anyone know where this file is located, also, does
anyone know which Solaris Package contains libm.a it's missing also.

-Mark

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




@#$#%@ mysql compile problems on Solaris 8 'floor' undeclared

2002-01-11 Thread Faine, Mark

Solaris 8 
GCC 3.03

Ok, first I got an error about iso/math_iso.h not being there so I commented
it out of the math.h file.  This got me past that error, now I get this
error.

gcc -O3  -DUNDEF_THREADS_HACK -I./../include
-I../include -I./.. -I..-I..-O
-DDBUG_OFF  -felide-constructors -fno-exceptions -fno-rtti
-fno-implicit-templates -fno-exceptions -fno-rtti -DHAVE_CURSES_H
-I/export/home/temp/mysql-3.23.47/include -DHAVE_RWLOCK_T -c mysql.cc
mysql.cc: In function `void nice_time(double, char*, bool)':
mysql.cc:2409: `floor' undeclared (first use this function)
mysql.cc:2409: (Each undeclared identifier is reported only once for each 
   function it appears in.)
make[2]: *** [mysql.o] Error 1
make[2]: Leaving directory `/export/home/temp/mysql-3.23.47/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/temp/mysql-3.23.47'
make: *** [all-recursive-am] Error 2

If anyone has any idea of how to fix this please let me know. 

Thanks,
Mark

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




mysql 3.23.41 errors during compile

2001-08-14 Thread Faine, Mark

Anybody seen this before:
 
gcc -O3 -DDBUG_OFF -O3 -felide-constructors -fno-exceptions -fno-rtti
-fno-implicit-templates -fno-exceptions -fno-rtti -DHAVE_CURSES_H
-I/export/home6/temp/mysql-3.23.41/include -DHAVE_RWLOCK_T -o mysqlbinlog
mysqlbinlog.o mini_client.o net_serv.o mini_client_errors.o violite.o
password.o ../isam/libnisam.a ../merge/libmerge.a ../myisam/libmyisam.a
../myisammrg/libmyisammrg.a ../heap/libheap.a ../mysys/libmysys.a
../dbug/libdbug.a ../regex/libregex.a ../strings/libmystrings.a -lpthread
-lthread -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread
mysqlbinlog.o(.gnu.linkonce.d._ZTV9Log_event+0xc): undefined reference to
`__cxa_pure_virtual'
mysqlbinlog.o(.gnu.linkonce.d._ZTV9Log_event+0x1c): undefined reference to
`__cxa_pure_virtual'
collect2: ld returned 1 exit status
make[3]: *** [mysqlbinlog] Error 1
make[3]: Leaving directory `/export/home6/temp/mysql-3.23.41/sql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/export/home6/temp/mysql-3.23.41/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home6/temp/mysql-3.23.41'
make: *** [all-recursive-am] Error 2
 
 
my config:
 
./configure --enable-static 
--enable-assembler 
--disable-shared 
--with-libwrap 
--without-debug 
--with-mysqld-ldflags=-all-static-lgcc 
--without-docs 
--without-bench 
--with-charset=latin1 
--with-berkeley-db 
--with-innodb 
--with-mysqld-user=mysql

C flags: 
CFLAGS=-O3 CXX=gcc CXXFLAGS=-O3 -felide-constructors -fno-exceptions
-fno-rtti  
 
GCC:
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0/specs
Configured with: ../configure --disable-nls --disable-libgcj
--enable-languages=c++,f77,objc
Thread model: posix
gcc version 3.0
 
OS: 
Solaris 8
 
 
 
 
Could use some help getting this to compile, 
-Thanks
Mark

 

 



Compiling error

2001-08-01 Thread Faine, Mark

I've never had this much trouble compiling mysql before.  I've done it at
least a dozen times and most are virtually trouble free but this 3.23.40
version is being stubborn.

The error I'm having (or should I say the current error) is this:

gcc -O3 -DDBUG_OFF -O3 -felide-constructors -fno-exceptions -fno-rtti
-fno-implicit-templates -fno-exceptions -fno-rtti -DHAVE_CURSES_H
-I/export/home6/temp/mysql-3.23.40/include -DHAVE_RWLOCK_T -o mysqlbinlog
mysqlbinlog.o mini_client.o net_serv.o mini_client_errors.o violite.o
password.o ../isam/libnisam.a ../merge/libmerge.a ../myisam/libmyisam.a
../myisammrg/libmyisammrg.a ../heap/libheap.a ../mysys/libmysys.a
../dbug/libdbug.a ../regex/libregex.a ../strings/libmystrings.a -lpthread
-lthread -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread
mysqlbinlog.o(.gnu.linkonce.d._ZTV9Log_event+0xc): undefined reference to
`__cxa_pure_virtual'
mysqlbinlog.o(.gnu.linkonce.d._ZTV9Log_event+0x1c): undefined reference to
`__cxa_pure_virtual'
collect2: ld returned 1 exit status
make[3]: *** [mysqlbinlog] Error 1
make[3]: Leaving directory `/export/home6/temp/mysql-3.23.40/sql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/export/home6/temp/mysql-3.23.40/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home6/temp/mysql-3.23.40'
make: *** [all-recursive-am] Error 2


anybody know what to make of this?

System Info:
Solaris 8
Gcc 3.0

Configure line: I've tried it with and without most of all these options.

/configure --enable-static \
--enable-assembler \  # tried with and without
--disable-shared \
--with-libwrap \
--without-debug \
--with-mysqld-ldflags=-all-static \
--without-docs \
--without-bench \
--with-charset=latin1 \
--with-berkeley-db \
--with-innodb \
--with-mysqld-user=mysql


I've just about given up on gemini (maybe that was the intention?) so it is
not in my configure line anymore, though I've tried it both with and
without.

-Mark

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




mysql 3.23.40-Solaris8-Gcc3.0 error compiling with gemini

2001-07-30 Thread Faine, Mark

I'm trying to intall mysql 3.23.40 on Solaris 8 ( GCC 3.0 ) but I'm having a
little difficulty. Whenever it gets to the gemini directory it errors out
with the following:

/usr/local/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../incl -I../msgs-O3
-DDBUG_OFF -O6  -DHAVE_CURSES_H -I/export/home6/temp/mysql-3.23.40/include
-DHAVE_RWLOCK_T -c tmdoundo.c
../ctstset
ctstset: Compile tstset.cc -- tstset.[c|s] -- tstset.o
tstset.s: Assembler messages:
tstset.s:43: Error: Unknown segment type
tstset.s:43: Error: Rest of line ignored. First ignored character is `'.
tstset.s:63: Error: Unknown segment type
tstset.s:63: Error: Rest of line ignored. First ignored character is `'.
-rw-r--r--   1 root other   2252 Jul 27 13:39 tstset.c
-rwxr-xr-x   1 root other  32426 Jul 27 13:39 tstset.cc
-rw-r--r--   1 root other897 Jul 30 08:42 tstset.s
rm -f libdb.a
ar cru libdb.a bkcheck.o bkcrashtest.o bkio.o bkiolk.o bkiotop.o bklog.o
bkopen.o bkrec.o bkrepl.o bksubs.o bmapw.o bmbuf.o cx.o cxaux.o cxblock.o
cxcompact.o cxdo.o cxfil.o cxgen.o cxkill.o cxky.o cxkyut.o cxmove.o cxnxt.o
cxtag.o cxundo.o cxvsi.o db.o dbarea.o dbblob.o dbclose.o dbindex.o dblang.o
dblksch.o dbobject.o dbopen.o dbquiet.o dbrecord.o dbtable.o dbuser.o
dbwdog.o geminifromkey.o geminikey.o keysvc.o keyut.o ky.o kyut.o latctl.o
lkmu.o lkrecd.o om.o omundo.o rec.o recformt.o recget.o recput.o rlai.o
rlaiovl.o rlaoff.o rlcl.o rlmem.o rlnote.o rlrej.o rlrw.o rlset.o rltl.o
rm.o rmdoundo.o semadm.o semmgr.o seqdundo.o seqgen.o shm.o shmatt.o shmcr.o
shmdel.o shmpid.o shmptoq.o shmsiz.o stm.o tm.o tmdoundo.o tstset.o 
ar: tstset.o: No such file or directory
make[4]: *** [libdb.a] Error 1
make[4]: Leaving directory `/export/home6/temp/mysql-3.23.40/gemini/db'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/export/home6/temp/mysql-3.23.40/gemini'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/export/home6/temp/mysql-3.23.40/gemini'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home6/temp/mysql-3.23.40'
make: *** [all-recursive-am] Error 2




My config looks like this:

./configure \
--enable-static \
--disable-shared \
--with-raid \
--with-libwrap \
--without-debug \
--with-mysqld-ldflags=-all-static \
--without-docs \
--without-bench \
--with-charset=latin1 \
--with-berkeley-db \
--with-innodb  \
--with-gemini


Anyone know how to fix this?

Thanks,
-Mark


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php