From: Ralf B. <Ral...@ou...> - 2007-11-30 16:22:45
|
Hi Olivier, looking at xmlrpc.php line 79: $authed = $GLOBALS['egw']->session->create($login.'@'.$domain, $_SERVER['PHP_AUTH_PW'], 'text'); You can see the current code only allows to send a cleartext password, not a hash. Ralf Olivier Jouan schrieb: > My problem persists but i can give you more precision > > I am using a coonexion via xmlrpc.php, when i send a login with plaintext > password, the connexion is OK. > But i am working on an SSO system where in another context i have been > authenticated by a server. > > I take in my Ldap directory uid and crypted passwd to open a session on > egroupware. My passwd is crypted mcrypt. > > May i send a parameter to xmlrpc.php to indicate that my passwd is mcrypt? > > HAve yaou any doc about the function 'system.login' > > I join 2 files : > > - my own code Connect_egw.php > - a merge of usefull functions from egroupware xmlrpc.inc > > thank's for your help > > http://www.nabble.com/file/p14042431/Connect_egw.php Connect_egw.php > http://www.nabble.com/file/p14042431/xmlrpc.inc xmlrpc.inc > > Leithoff, Klaus wrote: >> Have a look at setup/inc/hook_config.inc.php >> the valid types as of setup accepts them are in there >> Regards >> Klausi >> >> "Olivier Jouan" <oj...@ar...> schrieb: >>> I 'd like to use login.php for authentication >>> i am using the password stored in Ldap Directory crypted by mcrypt >>> what are the available values for the "passwd_type" >>> >>> thanks >>> -- >>> View this message in context: >>> >> http://www.nabble.com/passwd_type--Authentication-tf4895965s3741.html#a14022069 >>> Sent from the egroupware-developers mailing list archive at Nabble.com. >>> >>> >>> ------------------------------------------------------------------------- >>> SF.Net email is sponsored by: The Future of Linux Business White Paper >>> from Novell. From the desktop to the data center, Linux is going >>> mainstream. Let it simplify your IT future. >>> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 >>> _______________________________________________ >>> eGroupWare-developers mailing list >>> eGr...@li... >>> https://lists.sourceforge.net/lists/listinfo/egroupware-developers >>> >>> >> -- >> Stylite GmbH >> [ open style of IT ] >> >> Morschheimer Strasse 15 >> D - 67292 Kirchheimbolanden >> >> fon 06352 . 70629-0 >> fax 06352 . 70629-30 >> email kl...@st... >> >> >> www.stylite.de >> >> >> >> Geschäftsführer: Nigel John Vickers, Andre Keller >> Registergericht Kaiserslautern, HRB 12087 >> >> >> >> >> ------------------------------------------------------------------------- >> SF.Net email is sponsored by: The Future of Linux Business White Paper >> from Novell. From the desktop to the data center, Linux is going >> mainstream. Let it simplify your IT future. >> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 >> _______________________________________________ >> eGroupWare-developers mailing list >> eGr...@li... >> https://lists.sourceforge.net/lists/listinfo/egroupware-developers >> >> > -- Ralf Becker eGroupWare Training & Support ==> http://www.egroupware-support.de Outdoor Unlimited Training GmbH [www.outdoor-training.de] Handelsregister HRB Kaiserslautern 3587 Geschäftsführer Birgit und Ralf Becker Leibnizstr. 17, 67663 Kaiserslautern, Germany Telefon +49 (0)631 31657-0 |