58 |
TString user = "anonymous"; |
TString user = "anonymous"; |
59 |
TString password = ""; |
TString password = ""; |
60 |
// |
// |
61 |
const char *pamdbhost=gSystem->Getenv("PAM_DBHOST"); |
const char *pamdbhost = gSystem->Getenv("PAM_DBHOST"); |
62 |
const char *pamdbuser=gSystem->Getenv("PAM_DBUSER"); |
const char *pamdbuser = gSystem->Getenv("PAM_DBUSER"); |
63 |
const char *pamdbpsw=gSystem->Getenv("PAM_DBPSW"); |
const char *pamdbpsw = gSystem->Getenv("PAM_DBPSW"); |
64 |
|
if ( !pamdbhost ) pamdbhost = ""; |
65 |
|
if ( !pamdbuser ) pamdbuser = ""; |
66 |
|
if ( !pamdbpsw ) pamdbpsw = ""; |
67 |
if ( strcmp(pamdbhost,"") ) host = pamdbhost; |
if ( strcmp(pamdbhost,"") ) host = pamdbhost; |
68 |
if ( strcmp(pamdbuser,"") ) user = pamdbuser; |
if ( strcmp(pamdbuser,"") ) user = pamdbuser; |
69 |
if ( strcmp(pamdbpsw,"") ) password = pamdbpsw; |
if ( strcmp(pamdbpsw,"") ) password = pamdbpsw; |