BackupPC-users

Re: [BackupPC-users] Backup PC Ldap groups.

2008-04-25 13:02:45
Subject: Re: [BackupPC-users] Backup PC Ldap groups.
From: "Dale Renton" <dale_renton AT hotmail DOT com>
To: "D P" <dpgrps AT gmail DOT com>, <backuppc-users AT lists.sourceforge DOT net>
Date: Fri, 25 Apr 2008 12:51:33 -0300
Are you able to configure Apache to do your ldap authentication ?
 
Here is what I have in my httpd.conf :
 
<Location "/cgi-bin/BackupPC_Admin">
   AuthType Basic
   AuthName "BackupPC"
   AuthLDAPGroupAttributeIsDN off
   AuthLDAPGroupAttribute memberUid
   AuthLDAPURL ldap://ldap.example.com/dc=example,dc=com
   require group cn=Admins,ou=Groups,dc=example,dc=com
</Location>
Dale
 

From: D P
Sent: Tuesday, April 15, 2008 1:23 AM
Subject: [BackupPC-users] Backup PC Ldap groups.

I'm trying to populate config.pl with the following.

$Conf{CgiAdminUsers} = '';
{
        my @ldapresults = `ldapsearch -x -P2 -b ou=SOMEGROUP,ou=SOMEDIVISION group='BackupPCAdmin' objectclass=webuser`;
        die "ldapsearch failed: $!" unless $0 == 0;
        my $ldapgroup = join (' ', grep { defined $_ } map{ m/username=([^,]+)/; $1 } @ldapresults);
        $Conf{CgiAdminUsers} = $ldapgroup;
}


Basically its a way of determining administration users via LDAP but it fails with the following error.

Error: Unable to read config.pl or language strings!!

Is there a way to make this work or is there some other facility to use?

-Dex


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone


_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
<Prev in Thread] Current Thread [Next in Thread>