package Cpanel::Easy::Apache::AuthLDAP;

# cpanel - Cpanel/Easy/Apache/AuthLDAP.pm         Copyright(c) 2011 cPanel, Inc.
#                                                           All rights Reserved.
# copyright@cpanel.net                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited

our $easyconfig = {
    'name'    => 'Auth LDAP',
    'skip'    => 1,
    'depends' => { 'optmods' => { 'Cpanel::Easy::Apache::LDAP' => 1 }, },
    'url'     => 'http://httpd.apache.org/docs/[% apache_uri_version %]/mod/mod_auth_ldap.html',
    'step'    => {
        '0' => {
            'name'    => 'to config options',
            'command' => sub {
                my ($self) = @_;
                $self->add_to_configure( { '--enable-auth-ldap' => '' } );
                return ( 1, 'Ok' );
            },
        },
    },
};

1;
