I was looking up a way to pass arguments to an NCF file, and stumbled on
this neat thing.
Well, it isn't much I've been able to see, so... :-)
It's quite hard to understand the docs, being no english-expert, and the
authors being russian, we have two parties not too good with the english
language :-)
So I'm writing this in hope of some of them being in the forums, and
it's crossposted because it has both perl and php in it.
It seems to me that I've got two insecurities, and I was wondering if
somebody else has tried this stats utility, it would be very nice for
use at work.
First of, the stats collection.
Secondly the LDAP authentication.
The database is created ok, the apache config is mended ok.
Btw. The doc should mention that the admin needs to create the database
first, it would save an error :-)
eg.
SERVER: mysql -p
mysql> create nvstat;
mysql> use nvstat;
mysql> source sys:/perl/web/sql/nvstat_wi.sql;
Stats collection:
I'm not sure if I understand it correctly, will it collect stats from
NOW or is it only collection from 'yesterday'. The argument 'prev'
suggests previous or the like, and as I understand the code, it's from
yesterday, correct?
LDAP authentication:
I've been able to authenticate with OCX, but I'm not too happy with this
on my test setup, at work it's a different (and very cool) matter.
I'm using LDAP authentication with Groupwise, and that works nicely, so
I don't know why I can't make it work here...
I've gotten a proxy user for the ldap, without password.
LDAPProxy is a trustee of O (Organization).
LDAPProxy has [All Attribute Rights] Compare, Read Inheritable
and also [Entry Rights] Browse Inheritable
The config.php reads:
$LDAP_Host = "10.11.12.1";
$LDAP_BDN = "ou=servers,o=Org";
$LDAP_BDN_Quote = "o=Org";
$LDAP_BDN_User = "cn=LDAPProxy,ou=servers,o=Org";
$LDAP_BDN_User_Passwd = "";
$LDAP_Admin_Allow = array('cn=NVStat-Admin-Allow,ou=NVStat,o=Org');
$LDAP_Buh_Allow = array('cn=NVStat-Buh-Allow,ou=NVStat,o=Org');
$LDAP_User_Deny = array('cn=NVStat-User-Deny,ou=NVStat,o=Org');
I've been carefull and kept the case of the different levels in eDir.
My users are in a container called "users.Org"
But all I get is login denied.
So, what didn't I understand in the docs?
--
/Fribse
Barry (Sysop): "Then again, I'm a single CPU fan..."
Bob (Trafficshaper): "You can get a job cooling CPUs? Does it pay
well?"
|