Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use Net::LDAP;
    ...
    ); 
    
    die Dumper $mesg->entries;
    
  2. or download this
    ldapsearch -H ldap://sub.ad.mydomain.org \
    -b dc=sub,dc=ad,dc=mydomain,dc=org \
    -D myusername@ad.subdomain.org \
    -w mypassword \
    '(sAMAccountName=myusername)'
    
  3. or download this
    [debug] Body Parameters are:
    .-------------+-------------.
    ...
    '-------------+-------------'
    [debug] Path is "login"
    [debug] Unable to locate user matching user info provided
    
  4. or download this
    name MyApp
    
    ...
        </ldap>
      </realms>
    </authentication>
    
  5. or download this
    sub login : Global {
        my ( $self, $c ) = @_;
    ...
            $c->stash(error_msg => "Empty username or password.");
        }  
    }