Scott M. Mcdermott

UNIX Systems & Network Administrator
available for contract or salaried positions

groupedit.php

<?

require_once("common.php");

require_once("include/inputs.php");
require_once("include/edits.php");
require_once("include/checks.php");
require_once("include/modifies.php");

$edits = array(
        new text_input(
                "group name",
                "cn",
                TRUE,
                FALSE,
                FALSE,
                40,
                array("check_nocheck"),
                "displaymod_strip_count",
                NULL,
                NULL,
                NULL
        ),
        new text_input(
                "description",
                "description",
                TRUE,
                FALSE,
                TRUE,
                360,
                array("check_nocheck"),
                "displaymod_strip_count",
                NULL,
                NULL,
                NULL
        ),
        new text_input(
                "DN of list owner",
                "owner",
                TRUE,
                FALSE,
                TRUE,
                40,
                array("check_nocheck"),
                "displaymod_strip_count",
                NULL,
                NULL,
                NULL
        ),
        new select_single_input(
                "member DNs",
                "uniquemember",
                FALSE,
                array()
        )
);

/*****************************************************************************/

do_edit_page("Group", $edits, "cn", LDAP_BASE_DN_GROUPS,
             "(&(objectClass=groupOfUniqueNames)(cn=", "))");

?>