Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
includes/default_variables.php:
# BitKeeper file /home/ddf/xaraya.com/miko/clone/authldap/includes/default_variables.php xaradmin/manuallysyncgroups.php: # BitKeeper file /home/ddf/xaraya.com/miko/clone/authldap/xaradmin/manuallysyncgroups.php xaradminapi/syncgroups.php: # BitKeeper file /home/ddf/xaraya.com/miko/clone/authldap/xaradminapi/syncgroups.php xartables.php: # BitKeeper file /home/ddf/xaraya.com/miko/clone/authldap/xartables.php xartemplates/admin-manuallysyncgroups.xd: # BitKeeper file /home/ddf/xaraya.com/miko/clone/authldap/xartemplates/admin-manuallysyncgroups.xd xaradmin/modifyconfig.php: # add support for ldap groups xaradmin/updateconfig.php: # add support for ldap groups xaradminapi/getmenulinks.php: # add support for ldap groups xarinit.php: # add support for ldap groups xartemplates/admin-main.xd: # add support for ldap groups xartemplates/admin-modifyconfig.xd: # add support for ldap groups xarversion.php: # add support for ldap groups BitKeeper/etc/logging_ok: # Logging to logging@openlogging.org accepted
- Loading branch information
miko
authored and
scmadmin
committed
Jun 27, 2005
1 parent
3245d0a
commit 1aaade0
Showing
13 changed files
with
690 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<? | ||
$default_groups_variables | ||
= Array('defaultgroup4groups_id' => 1, // Xaraya group ID to attach LDAP groups to (1 = tree root) | ||
'ldap_groups_to_import' => '', // Comma-separated list of groups to look for and import | ||
'group_name_attrname' => 'cn', // Attribute name of the group's human-readable name | ||
'group_ref_attrname' => 'uniquegroup', // Attribute name that references children groups | ||
'group_ref_attrtype' => 'dn', // Attribute type of children groups references | ||
'user_ref_attrname' => 'uniquemember', // Attribute name that references group members | ||
'user_ref_attrtype' => 'dn', // Attribute type of member references | ||
'ldap_base4groups' => 'ou=memberlist,ou=groups,o=corp.com' // Base of group search | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<? | ||
/** | ||
* File: $Id: manuallysyncgroups.php,v 1.2 2005/06/23 05:58:53 root Exp $ | ||
* | ||
* AuthLDAP | ||
* | ||
* @package authentication | ||
* @copyright (C) 2002 by the Xaraya Development Team. | ||
* @license GPL <http://www.gnu.org/licenses/gpl.html> | ||
* @link http://www.xaraya.com | ||
* | ||
* @subpackage authldap | ||
* @author Chris Dudley <miko@xaraya.com> | Richard Cave <rcave@xaraya.com> | Sylvain Beucler <beuc@beuc.net> | ||
*/ | ||
|
||
/** | ||
* Calls the groups synchronization On Demand (tm), rather than | ||
* waiting for the cron job. | ||
*/ | ||
function authldap_admin_manuallysyncgroups() | ||
{ | ||
// Security check | ||
if(!xarSecurityCheck('AdminAuthLDAP')) return false; | ||
|
||
$success = xarModAPIFunc('authldap', 'admin', 'syncgroups', array()); | ||
return array('success' => $success); | ||
} | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.