Re: Instance Password
"Andrew Higgs" <[email protected]> Tue, 14 Oct 2008 15:38:16 +0200
| Newsgroups | gmane.comp.cms.opengroupware.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Adam, Thanks for the reply. On Tue, Oct 14, 2008 at 2:48 PM, Adam Tauno Williams <[email protected]>wrote: > > > Thanks. That is the missing bit. :-) > > Does ogo-account-add have a -password parameter? > > Yes. > > > It doesn't complain if I add it, but it seems to ignore it. > > It > < > http://svn.opengroupware.org/cgi-bin/viewvc.cgi/trunk/Tools/SkyAddAccount.m?root=OGo&view=markup> > certainly looks like it maps the "password" parameter to the password > parameter of the account::new command. account::new should set the password > < > http://svn.opengroupware.org/cgi-bin/viewvc.cgi/trunk/Logic/LSAccount/LSNewAccountCommand.m?revision=1660&root=OGo&view=markup > > > > > Is it populating the other fields? Can you give an example of your > syntax? If I run the following command : ogo-account-add -l root -p rootpass -login "andrew" -password "secret" -firstname "Andrew" -lastname " Higgs" -email1 "myemail" then the account is created with a blank password and the email is also left blank. This is the output from running the above command : Oct 14 13:29:41 ogo-account-add [21530]: Note: storing cached vCards files in: '/var/lib/opengroupware.org/documents' Oct 14 13:29:41 ogo-account-add [21530]: account::change-password: using password field: 'userPassword' Oct 14 13:29:41 ogo-account-add [21530]: Note: members of role team 'team creators' are allowed to create teams. Oct 14 13:29:41 ogo-account-add [21530]: Note: PostgreSQL72 adaptor using timezone 'GMT' as default I believe the second line holds a clue I cannot decipher. :-) Not sure why the email is left blank. Thanks for all the help. It is appreciated.