From: Steve W. <swa...@ls...> - 2003-07-11 13:29:50
|
>> I found a very small bug in the web interface for BackupPC 2.0.0 in my >> limited testing that I have done so far. If you are logged into the >> web >> server as an administrator account (member of $Conf{CgiAdminUsers}), >> and you visit the home page for a backup client that you "own" (you >> are >> listed as the user in the hosts file), the administrator links on the >> left tab are not active. These include tasks like PC Summary, Email >> Summary, Hosts file, Current Queues, etc.... The links are active on >> any other page that I've found, and this is reproducible every time I >> login. It's very easy to work around since it's only broken on this >> one >> screen, but thought someone could take a look at it. > > This is surprising; I don't see this effect. Is there any chance that > you have set $Conf{CgiAdminUsers} in the per-PC config.pl file for that > client to some other value? From the code this is the only explanation > I have for what you observe. > > Craig Sorry about that false bug report. That's exactly what happened. The backup client listed under my name was setup before I setup the CgiAdminUser variable in my primary config.pl. I simply copied the whole config.pl file into the client's directory to allow me to set the SmbShareUserName & SmbSharePasswd variables. This system wasn't part of our Windows domain, so it needed a unique username/password. After getting this first client configured, I went back and made some customizations to the primary config file including setting myself up as an admin user. I just went into the per-PC config.pl file and removed all config values that were unchanged from the master config.pl file and HUP'd the server, which appears to have fixed my config problem. I wasn't sure how these two files were parsed, since I didn't RTFM, but in a few minutes have found the comments in the docs (and now once again in the config.pl file itself) that the per-PC file overrides the settings from the master file. Steve |