From: <EAGOMEZC@REPSOLYPF.COM> - 2004-06-16 15:04:37
|
yes it is running. Thanks Reini.... I add this line in lib/IniConfig.php : define('USE_DB_SESSION', false); and in lib/WikiUserNew.php : This was fixed in CVS. Add include_once(dirname(__FILE__)."/pear/File_Passwd.php"); before that // "__PHP_Incomplete_Class" line Thanks. -----Mensaje original----- De: php...@li... [mailto:php...@li...]En nombre de Reini Urban Enviado el: mi=E9rcoles, 16 de junio de 2004 6:25 Para: php...@li... Asunto: Re: [Phpwiki-talk] user authentication [CC deleted. we prefer to keep the conversation on the list only. No=20 need to send it personally also] EAGOMEZC@REPSOLYPF.COM schrieb: > Setting USE_DB_SESSION=3Dtrue I still have the same problem. > =20 > Setting USE_DB_SESSION=3Dfalse I have this error message: > =20 > *Fatal error*: Cannot instantiate non-existent class: file_passwd in=20 > */usr/local/apache/htdocs/phpwiki-1.3.10/lib/WikiUserNew.php* on line = *2122* > Any idea ? This was fixed in CVS. Add include_once(dirname(__FILE__)."/pear/File_Passwd.php"); before that // "__PHP_Incomplete_Class" line > -----Mensaje original----- > *De:* php...@li... > [mailto:php...@li...]*En nombre de > *Barrow H Kwan > *Enviado el:* martes, 15 de junio de 2004 12:17 > *Para:* Reini Urban <rurban > *CC:* php...@li...; > php...@li... > *Asunto:* Re: [Phpwiki-talk] user authentication >=20 >=20 > I have the same problem ( I have posted this few days ago on a > different thread but got no answer ). I use Postgresql to store > pages and use file base authentication. I did try to set > USE_DB_SESSION to true ( try to set it to false as well ), but it > didn't work ( in fact I got some error when I set it to false ). >=20 > Does the authentication really work on phpwiki? I didn't mean it = is > broken but not work as everyone thought. ( I don't think login in > each page is right ). >=20 >=20 >=20 >=20 > *Reini Urban <ru...@x-...>* > Sent by: php...@li... >=20 > 06/15/2004 07:39 AM >=20 > =09 > To > =09 > cc > php...@li... > Subject > Re: [Phpwiki-talk] user authentication >=20 >=20 > =09 >=20 >=20 >=20 >=20 >=20 > EAGOMEZC@REPSOLYPF.COM schrieb: > > I have the same problem using File authentication, (a file like > /etc/shadow) , > > I need login in each page. > > Is these solution right for my problem ? >=20 > No, you are experienceing lost sessions. > You can try to set USE_DB_SESSION true or false, until you find = the > real > solution to your problem. >=20 > > -----Mensaje original----- > > De: php...@li... > > [mailto:php...@li...]En nombre de = Reini > > Urban > > Enviado el: martes, 15 de junio de 2004 4:00 > > Para: Lisa Glendenning > > CC: php...@li... > > Asunto: Re: [Phpwiki-talk] user authentication > > > > Lisa Glendenning schrieb: > >>I am trying to use HttpAuth to authenticate through a Kerberos = pop-up > >>window. This is working fine - except for anything requiring > >>administrative privileges. It is basically impossible to log = on > as the > >>administrator. I have tried making the adminstrator an = existing > >>Kerberos user and a separate WikiWord. I've also tried many > >>combinations of the user authentication options. No matter = what, the > >>adminstrative login won't 'stick'. Every page asks for the = admin > login, > >>and actions done won't actually take effect (such as unlocking = a > page). > >>It will default back to the Kerberos login. Any thoughts? > > > > > > You are right. This is an overthought with HttpAuth. > > I would suggest to setup an Administrators group and add some > user (not > > ADMIN_USER) to this group. This user will have Admin = Permissions > then, > > but not the special admin login method, which does not work for = http > > auth (yet). > > > > I usually create this page: > > CategoryGroup > > > > * [Administrators] > > > > and this page: > > Administrators > > > > * MyAdminUser > > > > ---- > > CategoryGroup > --=20 > Reini Urban > http://xarch.tu-graz.ac.at/home/rurban/ >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java = Developer > Conference, June 28 - July 1 at the Moscone Center in San = Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code = NWMGYKND > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk >=20 > AVISO LEGAL: > Esta informaci=F3n es privada y confidencial y est=E1 dirigida = =FAnicamente a=20 > su destinatario. Si usted no es el destinatario original de este = mensaje=20 > y por este medio pudo acceder a dicha informaci=F3n por favor elimine = el=20 > mensaje. La distribuci=F3n o copia de este mensaje est=E1 = estrictamente=20 > prohibida. Esta comunicaci=F3n es s=F3lo para prop=F3sitos de = informaci=F3n y no=20 > debe ser considerada como propuesta, aceptaci=F3n ni como una = declaraci=F3n=20 > de voluntad oficial de REPSOL YPF S.A. y/o subsidiarias y/o afiliadas. = > La transmisi=F3n de e-mails no garantiza que el correo electr=F3nico = sea=20 > seguro o libre de error. Por consiguiente, no manifestamos que esta=20 > informaci=F3n sea completa o precisa. Toda informaci=F3n est=E1 sujeta = a=20 > alterarse sin previo aviso. >=20 > This information is private and confidential and intended for the=20 > recipient only. If you are not the intended recipient of this message=20 > you are hereby notified that any review, dissemination, distribution = or=20 > copying of this message is strictly prohibited. This communication is=20 > for information purposes only and shall not be regarded neither as a=20 > proposal, acceptance nor as a statement of will or official statement=20 > from REPSOL YPF S.A. and/or subsidiaries and/or affiliates. Email=20 > transmission cannot be guaranteed to be secure or error-free. = Therefore,=20 > we do not represent that this information is complete or accurate and = it=20 > should not be relied upon as such. All information is subject to = change=20 > without notice. >=20 --=20 Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Phpwiki-talk mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phpwiki-talk AVISO LEGAL: Esta informaci=F3n es privada y confidencial y est=E1 dirigida = =FAnicamente a su destinatario. Si usted no es el destinatario original = de este mensaje y por este medio pudo acceder a dicha informaci=F3n por = favor elimine el mensaje. La distribuci=F3n o copia de este mensaje = est=E1 estrictamente prohibida. Esta comunicaci=F3n es s=F3lo para = prop=F3sitos de informaci=F3n y no debe ser considerada como propuesta, = aceptaci=F3n ni como una declaraci=F3n de voluntad oficial de REPSOL YPF = S.A. y/o subsidiarias y/o afiliadas. La transmisi=F3n de e-mails no = garantiza que el correo electr=F3nico sea seguro o libre de error. Por = consiguiente, no manifestamos que esta informaci=F3n sea completa o = precisa. Toda informaci=F3n est=E1 sujeta a alterarse sin previo aviso.=20 This information is private and confidential and intended for the = recipient only. If you are not the intended recipient of this message = you are hereby notified that any review, dissemination, distribution or = copying of this message is strictly prohibited. This communication is = for information purposes only and shall not be regarded neither as a = proposal, acceptance nor as a statement of will or official statement = from REPSOL YPF S.A. and/or subsidiaries and/or affiliates. Email = transmission cannot be guaranteed to be secure or error-free. Therefore, = we do not represent that this information is complete or accurate and it = should not be relied upon as such. All information is subject to change = without notice. |