|
|
Choosing A Webhost: |
Re:[solved] [ogojogi:setPassword] Invalid new password supplied: msg#00024cms.opengroupware.xmlrpc.devel
On Thu, 2004-09-23 at 00:57, murphee (Werner Schuster) wrote: > Helge Hess wrote: > > > On Sep 22, 2004, at 15:30, Michael Dominok wrote: > > > >> org.opengroupware.jogi.ogo.OgoException: 1: Invalid new password > >> supplied > > > > So the arguments for the XML-RPC function "account.setPassword" are: > > 1. login: "root" (this must be root currently) > > > Er... does that mean only root can change it password? Can't be. The Pythonscript ogo_add_user.py at http://www.opengroupware.org/en/devs/resources/xmlrpc/adduser/index.html correctly inserts a Quadrupel (login,password,name,firstname). So it _can_ be done, in principle. 8-) I will investigate further... . . . ... and have done so. In src/product/org/opengroupware/jogi/connect/xmlrpc/XmlRpcAccount.java public void setPassword(String password) i changed param.add(getLogin()); to params.add(id_); and put it in front of the params.add(password); to get the params into the correct order. I'm not sure i completely understood why, but i works this way. 8-) Though i'm still getting a Warning concerning the use of Boolean. 04-09-23 11:24:30,238 [main] WARN org.opengroupware.jogi.connect.xmlrpc.ApacheXmlRpcCaller - paramater of type: java.lang.Booleannot handled params.add(Boolean.TRUE); or params.add(Boolean.FALSE); are having the expected effects. (Crypt-/Cleartext-Password) Cheers Michael -- Michael Dominok Tel.: +49 231 61048 - 42 natural computing GmbH Fax.: +49 231 61048 - 40 Martener Strasse 535 Mail: michael.dominok@xxxxxxxxxxxxxxxxxxxx 44379 Dortmund http://www.natural-computing.de/ -- OpenGroupware.org XML-RPC xmlrpc@xxxxxxxxxxxxxxxxx http://mail.opengroupware.org/mailman/listinfo/xmlrpc
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [ogojogi:setPassword] Invalid new password supplied, Helge Hess |
|---|---|
| Next by Date: | Ogojogi + Umlaute, Christoph Guse |
| Previous by Thread: | Re: [ogojogi:setPassword] Invalid new password supplied, Helge Hess |
| Next by Thread: | Ogojogi + Umlaute, Christoph Guse |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |