Hello Br Nicholas,

you should also be able to setup your user admin@<dbname> to login
without a password. 

1.) Insert the following into your admin@<dbname> file and adjust the
<details> according to your server setup:


# configuration file for admin@<dbname>

%myconfig = (
  company => '<Company>',
  dbconnect => 'dbi:Pg:dbname=<dbname>',
  dbdriver => 'Pg',
  dbname => '<dbname>',
  dbuser => '<dbuser>',
  stylesheet => 'sql-ledger.css',
);

2.) Then insert the following into your 'members' file and adjust the
<details> according to your server setup:


# configuration in 'members' file


[admin@<dbname>]
company=<Company>
dbconnect=dbi:Pg:dbname=<dbname>
dbdriver=Pg
dbname=<dbname>
dbuser=<dbuser>
stylesheet=sql-ledger.css


3. You should now be able to login with the username admin@<dbname>
without entering a password.

Regards,
Sebastian 




On Thu, 2012-05-31 at 12:46 -0700, Nicholas Thirkettle wrote:
> 
> I'm still having trouble with this. I had no admin@<dbname> so I
> copied one of the user@<dbname> files and changed password= to
> the match the members file. It still doesn't work. I put it in single
> quotes in the admin@<dbname> file.
>  
> I am using ledger123's rel3 branch. I have tried to switch branches
> but it won't switch and I'm thinking I've done something wrong. I've
> downloaded the file from
> https://github.com/ledger123/ledger123/downloads thinking that I may
> just install that and then clone it again but I'm not sure where
> to put it. Do I just place it in the /usr/local/sql-ledger directory
> and then untar it? 
>  
> Regards,
> Br Nicholas
> 
>  
> Br Nicholas Cuthbert Thirkettle, CSJ
> Community of Saint Joseph
> 
>  
> 
> [email protected]
> 
> www.csjms.org
> 
> http://shop.csjms.org
> 
>  
> 
> 
> 
> 
> 
> ______________________________________________________________________
> From: Rolf Stöckli <[email protected]>
> To: [email protected]
> Sent: Tue, May 29, 2012 1:06:14 PM
> Subject: [SQL-Ledger] Re: Admin login
> 
> Am 29.05.2012 18:55, schrieb Nicholas Thirkettle:
> > I placed it after password= in the members file, is that correct? I
> > tried several different passwords and still no luck.
> 
> You have to change admin@<dbname>.conf too, not only the members file.
> 
> Rolf
> _______________________________________________
> SQL-Ledger mailing list
> [email protected]
> http://lists.ledger123.com/mailman/listinfo/sql-ledger
> 
> _______________________________________________
> SQL-Ledger mailing list
> [email protected]
> http://lists.ledger123.com/mailman/listinfo/sql-ledger



_______________________________________________
SQL-Ledger mailing list
[email protected]
http://lists.ledger123.com/mailman/listinfo/sql-ledger

Reply via email to