Hi,

Alex Schaft wrote on 18.04.2007 at 13:27:54 [Re: [BackupPC-users] 3.0.0 Admin 
user problem]:
> On 2007/04/18 09:14 AM, Alex Schaft wrote:
> > I've just upgraded to 3.0.0. from 2.1.2pl2, and have run into an issue 
> > with the admin user. I just did perl configure.pl --config-path 
> > /backups/conf/config.pl
> > [...]
> > I configured this previously by setting $Conf{CgiAdminUsers}     = 
> > "domain\admin"; but this does not seem to take effect now.
> >   
> Turns out it now has to be "quicktrav\\admin"

that has nothing to do with upgrading BackupPC, it's simply a Perl matter.
To put the literal value domain\admin into a variable, you can either write
it as 'domain\admin' or "domain\\admin" (or several other ways). If you write
"domain\admin", that will be turned into the same as "domain\07dmin",
because \a inside double quotes means a "beep" (ASCII 7, "bell"). That's the
way it was before, and that's the way it still is, independent of anything
BackupPC-related. If it worked before, you must either have had single
quotes or a double backslash.

That said, configure.pl actually seems to contain a potential bug in that it
preserves the old quotes and the new value *when changing a setting*, so it
might write a value domain\admin to the new configuration file as
"domain\admin" - presuming CgiAdminUsers was a value it touched (which it
isn't). At least I can't see why this *should* happen, but I'll test in the
next days (considering *something* must have changed your setting ...).

Regards,
Holger

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to