| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480 |
- #
- # BEGIN COPYRIGHT BLOCK
- # This Program is free software; you can redistribute it and/or modify it under
- # the terms of the GNU General Public License as published by the Free Software
- # Foundation; version 2 of the License.
- #
- # This Program is distributed in the hope that it will be useful, but WITHOUT
- # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
- # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
- #
- # You should have received a copy of the GNU General Public License along with
- # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
- # Place, Suite 330, Boston, MA 02111-1307 USA.
- #
- # In addition, as a special exception, Red Hat, Inc. gives You the additional
- # right to link the code of this Program with code not covered under the GNU
- # General Public License ("Non-GPL Code") and to distribute linked combinations
- # including the two, subject to the limitations in this paragraph. Non-GPL Code
- # permitted under this exception must only link to the code of this Program
- # through those well defined interfaces identified in the file named EXCEPTION
- # found in the source code files (the "Approved Interfaces"). The files of
- # Non-GPL Code may instantiate templates or use macros or inline functions from
- # the Approved Interfaces without causing the resulting work to be covered by
- # the GNU General Public License. Only Red Hat, Inc. may make changes or
- # additions to the list of Approved Interfaces. You must obey the GNU General
- # Public License in all respects for all of the Program code and other code used
- # in conjunction with the Program except the Non-GPL Code covered by this
- # exception. If you modify this file, you may extend this exception to your
- # version of the file, but you are not obligated to do so. If you do not wish to
- # provide this exception without modification, you must delete this exception
- # statement from your version and license this file solely under the GPL without
- # exception.
- #
- #
- # Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
- # Copyright (C) 2005 Red Hat, Inc.
- # All rights reserved.
- # END COPYRIGHT BLOCK
- #
- Start of test: ./auth 1 "cn=Harry Miller, ou=Human Resources, o=Ace Industry, c=US" "cn=Directory Administrators, o=Ace Industry, c=US"
- userdn: "cn=Harry Miller, ou=Human Resources, o=Ace Industry, c=US"
- groupdn: "cn=Directory Administrators, o=Ace Industry, c=US"
- base: "cn=Directory Administrators, o=Ace Industry, c=US"
- filter: "(| (uniquemember=cn=Harry Miller, ou=Human Resources, o=Ace Industry, c=US) (member=cn=Harry Miller, ou=Human Resources, o=Ace Industry, c=US))"
- scope: "LDAP_SCOPE_BASE"
- Authentication succeeded.
- Start of test: ./auth 1 "cn=Sam Carter, ou=Accounting, o=Ace Industry, c=US" "cn=Directory Administrators, o=Ace Industry, c=US"
- userdn: "cn=Sam Carter, ou=Accounting, o=Ace Industry, c=US"
- groupdn: "cn=Directory Administrators, o=Ace Industry, c=US"
- base: "cn=Directory Administrators, o=Ace Industry, c=US"
- filter: "(| (uniquemember=cn=Sam Carter, ou=Accounting, o=Ace Industry, c=US) (member=cn=Sam Carter, ou=Accounting, o=Ace Industry, c=US))"
- scope: "LDAP_SCOPE_BASE"
- ldap_search_s: Entry not found
- Find parent groups of "cn=Sam Carter, ou=Accounting, o=Ace Industry, c=US"
- base: "o=Ace Industry, c=US"
- filter: "(& (| (uniquemember=cn=Sam Carter, ou=Accounting, o=Ace Industry, c=US) (member=cn=Sam Carter, ou=Accounting, o=Ace Industry, c=US)) (| (objectclass=groupofuniquenames) (objectclass=groupofnames)))"
- scope: "LDAP_SCOPE_SUBTREE"
- ldap_search_s: Entry not found
- Authentication failed.
- Start of test: ./auth 2 "hmiller" "cn=Directory Administrators, o=Ace Industry, c=US"
- uid: "hmiller"
- groupdn: "cn=Directory Administrators, o=Ace Industry, c=US"
- base: "o=Ace Industry, c=US"
- filter: "uid=hmiller"
- scope: "LDAP_SCOPE_SUBTREE"
- base: "cn=Directory Administrators, o=Ace Industry, c=US"
- filter: "(| (uniquemember=cn=Harry Miller, ou=Human Resources, o=Ace Industry, c=US) (member=cn=Harry Miller, ou=Human Resources, o=Ace Industry, c=US))"
- scope: "LDAP_SCOPE_BASE"
- Authentication succeeded.
- Start of test: ./auth 2 "scarter" "cn=Directory Administrators, o=Ace Industry, c=US"
- uid: "scarter"
- groupdn: "cn=Directory Administrators, o=Ace Industry, c=US"
- base: "o=Ace Industry, c=US"
- filter: "uid=scarter"
- scope: "LDAP_SCOPE_SUBTREE"
- base: "cn=Directory Administrators, o=Ace Industry, c=US"
- filter: "(| (uniquemember=cn=Sam Carter, ou=Accounting, o=Ace Industry, c=US) (member=cn=Sam Carter, ou=Accounting, o=Ace Industry, c=US))"
- scope: "LDAP_SCOPE_BASE"
- ldap_search_s: Entry not found
- Find parent groups of "cn=Sam Carter, ou=Accounting, o=Ace Industry, c=US"
- base: "o=Ace Industry, c=US"
- filter: "(& (| (uniquemember=cn=Sam Carter, ou=Accounting, o=Ace Industry, c=US) (member=cn=Sam Carter, ou=Accounting, o=Ace Industry, c=US)) (| (objectclass=groupofuniquenames) (objectclass=groupofnames)))"
- scope: "LDAP_SCOPE_SUBTREE"
- ldap_search_s: Entry not found
- Authentication failed.
- Start of test: ./auth 3 "hmiller" "Directory Administrators"
- uid: "hmiller"
- groupid: "Directory Administrators"
- base: "o=Ace Industry, c=US"
- filter: "(& (cn=Directory Administrators) (| (objectclass=groupofuniquenames) (objectclass=groupofnames)))"
- scope: "LDAP_SCOPE_SUBTREE"
- base: "o=Ace Industry, c=US"
- filter: "uid=hmiller"
- scope: "LDAP_SCOPE_SUBTREE"
- base: "cn=Directory Administrators, o=Ace Industry, c=US"
- filter: "(| (uniquemember=cn=Harry Miller, ou=Human Resources, o=Ace Industry, c=US) (member=cn=Harry Miller, ou=Human Resources, o=Ace Industry, c=US))"
- scope: "LDAP_SCOPE_BASE"
- Authentication succeeded.
- Start of test: ./auth 3 "scarter" "Directory Administrators"
- uid: "scarter"
- groupid: "Directory Administrators"
- base: "o=Ace Industry, c=US"
- filter: "(& (cn=Directory Administrators) (| (objectclass=groupofuniquenames) (objectclass=groupofnames)))"
- scope: "LDAP_SCOPE_SUBTREE"
- base: "o=Ace Industry, c=US"
- filter: "uid=scarter"
- scope: "LDAP_SCOPE_SUBTREE"
- base: "cn=Directory Administrators, o=Ace Industry, c=US"
- filter: "(| (uniquemember=cn=Sam Carter, ou=Accounting, o=Ace Industry, c=US) (member=cn=Sam Carter, ou=Accounting, o=Ace Industry, c=US))"
- scope: "LDAP_SCOPE_BASE"
- ldap_search_s: Entry not found
- Find parent groups of "cn=Sam Carter, ou=Accounting, o=Ace Industry, c=US"
- base: "o=Ace Industry, c=US"
- filter: "(& (| (uniquemember=cn=Sam Carter, ou=Accounting, o=Ace Industry, c=US) (member=cn=Sam Carter, ou=Accounting, o=Ace Industry, c=US)) (| (objectclass=groupofuniquenames) (objectclass=groupofnames)))"
- scope: "LDAP_SCOPE_SUBTREE"
- ldap_search_s: Entry not found
- Authentication failed.
- Start of test: ./auth 4 "cn=Harry Miller, ou=Human Resources, o=Ace Industry, c=US" "Directory Administrators"
- userdn: "cn=Harry Miller, ou=Human Resources, o=Ace Industry, c=US"
- groupid: "Directory Administrators"
- base: "o=Ace Industry, c=US"
- filter: "(& (cn=Directory Administrators) (| (objectclass=groupofuniquenames) (objectclass=groupofnames)))"
- scope: "LDAP_SCOPE_SUBTREE"
- base: "cn=Directory Administrators, o=Ace Industry, c=US"
- filter: "(| (uniquemember=cn=Harry Miller, ou=Human Resources, o=Ace Industry, c=US) (member=cn=Harry Miller, ou=Human Resources, o=Ace Industry, c=US))"
- scope: "LDAP_SCOPE_BASE"
- Authentication succeeded.
- Start of test: ./auth 4 "cn=Sam Carter, ou=Accounting, o=Ace Industry, c=US" "Directory Administrators"
- userdn: "cn=Sam Carter, ou=Accounting, o=Ace Industry, c=US"
- groupid: "Directory Administrators"
- base: "o=Ace Industry, c=US"
- filter: "(& (cn=Directory Administrators) (| (objectclass=groupofuniquenames) (objectclass=groupofnames)))"
- scope: "LDAP_SCOPE_SUBTREE"
- base: "cn=Directory Administrators, o=Ace Industry, c=US"
- filter: "(| (uniquemember=cn=Sam Carter, ou=Accounting, o=Ace Industry, c=US) (member=cn=Sam Carter, ou=Accounting, o=Ace Industry, c=US))"
- scope: "LDAP_SCOPE_BASE"
- ldap_search_s: Entry not found
- Find parent groups of "cn=Sam Carter, ou=Accounting, o=Ace Industry, c=US"
- base: "o=Ace Industry, c=US"
- filter: "(& (| (uniquemember=cn=Sam Carter, ou=Accounting, o=Ace Industry, c=US) (member=cn=Sam Carter, ou=Accounting, o=Ace Industry, c=US)) (| (objectclass=groupofuniquenames) (objectclass=groupofnames)))"
- scope: "LDAP_SCOPE_SUBTREE"
- ldap_search_s: Entry not found
- Authentication failed.
- Start of test: ./auth 5 "cn=Harry Miller, ou=Human Resources, o=Ace Industry, c=US" "[email protected]"
- userdn: "cn=Harry Miller, ou=Human Resources, o=Ace Industry, c=US"
- attrFilter: "[email protected]"
- base: "cn=Harry Miller, ou=Human Resources, o=Ace Industry, c=US"
- filter: "[email protected]"
- scope: "LDAP_SCOPE_BASE"
- Authentication succeeded.
- Start of test: ./auth 5 "cn=Harry Miller, ou=Human Resources, o=Ace Industry, c=US" "[email protected]"
- userdn: "cn=Harry Miller, ou=Human Resources, o=Ace Industry, c=US"
- attrFilter: "[email protected]"
- base: "cn=Harry Miller, ou=Human Resources, o=Ace Industry, c=US"
- filter: "[email protected]"
- scope: "LDAP_SCOPE_BASE"
- ldap_search_s: Entry not found
- Authentication failed.
- Start of test: ./auth 5 "cn=Sam Carter, ou=Accounting, o=Ace Industry, c=US" "[email protected]"
- userdn: "cn=Sam Carter, ou=Accounting, o=Ace Industry, c=US"
- attrFilter: "[email protected]"
- base: "cn=Sam Carter, ou=Accounting, o=Ace Industry, c=US"
- filter: "[email protected]"
- scope: "LDAP_SCOPE_BASE"
- ldap_search_s: Entry not found
- Authentication failed.
- Start of test: ./auth 6 "hmiller" "[email protected]"
- uid: "hmiller"
- attrFilter: "[email protected]"
- base: "o=Ace Industry, c=US"
- filter: "(& (uid=hmiller) ([email protected]))"
- scope: "LDAP_SCOPE_SUBTREE"
- Authentication succeeded.
- Start of test: ./auth 6 "hmiller" "[email protected]"
- uid: "hmiller"
- attrFilter: "[email protected]"
- base: "o=Ace Industry, c=US"
- filter: "(& (uid=hmiller) ([email protected]))"
- scope: "LDAP_SCOPE_SUBTREE"
- ldap_search_s: Entry not found
- Authentication failed.
- Start of test: ./auth 6 "scarter" "[email protected]"
- uid: "scarter"
- attrFilter: "[email protected]"
- base: "o=Ace Industry, c=US"
- filter: "(& (uid=scarter) ([email protected]))"
- scope: "LDAP_SCOPE_SUBTREE"
- ldap_search_s: Entry not found
- Authentication failed.
- Start of test: ./auth 7 "cn=Harry Miller, ou=Human Resources, o=Ace Industry, c=US" "hillock"
- userdn: "cn=Harry Miller, ou=Human Resources, o=Ace Industry, c=US"
- password: "hillock"
- userdn: "cn=Harry Miller, ou=Human Resources, o=Ace Industry, c=US"
- password: "hillock"
- Authentication succeeded.
- Start of test: ./auth 7 "cn=Harry Miller, ou=Human Resources, o=Ace Industry, c=US" "garbage"
- userdn: "cn=Harry Miller, ou=Human Resources, o=Ace Industry, c=US"
- password: "garbage"
- userdn: "cn=Harry Miller, ou=Human Resources, o=Ace Industry, c=US"
- password: "garbage"
- ldap_simple_bind_s: Invalid credentials
- Authentication failed.
- Start of test: ./auth 8 "hmiller" "hillock"
- uid: "hmiller"
- password: "hillock"
- base: "o=Ace Industry, c=US"
- filter: "uid=hmiller"
- scope: "LDAP_SCOPE_SUBTREE"
- userdn: "cn=Harry Miller, ou=Human Resources, o=Ace Industry, c=US"
- password: "hillock"
- Authentication succeeded.
- Start of test: ./auth 8 "hmiller" "garbage"
- uid: "hmiller"
- password: "garbage"
- base: "o=Ace Industry, c=US"
- filter: "uid=hmiller"
- scope: "LDAP_SCOPE_SUBTREE"
- userdn: "cn=Harry Miller, ou=Human Resources, o=Ace Industry, c=US"
- password: "garbage"
- ldap_simple_bind_s: Invalid credentials
- Authentication failed.
- Start of test: ./auth 9 "o=Ace Industry, c=US" "cn=Kirsten Vaughan, ou=Human Resources, o=Ace Industry, c=US"
- Cert Map issuer DN: "o=Ace Industry, c=US"
- Cert Map subject DN: "cn=Kirsten Vaughan, ou=Human Resources, o=Ace Industry, c=US"
- plugin_init_fn called.
- plugin_init_fn called.
- plugin_mapping_fn called.
- Value of attrs from subject DN & issuer DN:
- Cert: "cn=Kirsten Vaughan, ou=Human Resources, o=Ace Industry, c=US"
- subjdn: "cn=Kirsten Vaughan, ou=Human Resources, o=Ace Industry, c=US"
- cn: "Kirsten Vaughan"
- ou: "Human Resources"
- o: "Ace Industry"
- c: "US"
- issuerDN: "o=Ace Industry, c=US"
- cn: *** Empty ***
- ou: *** Empty ***
- o: "Ace Industry"
- c: "US"
- plugin_search_fn called.
- base: "ou=Human Resources, o=Ace Industry, c=US"
- filter: "cn=Kirsten Vaughan"
- scope: "LDAP_SCOPE_BASE"
- ldap_search_s: Entry not found
- base: "ou=Human Resources, o=Ace Industry, c=US"
- filter: "cn=Kirsten Vaughan"
- scope: "LDAP_SCOPE_SUBTREE"
- plugin_verify_fn called.
- Matched entry to cert: "cn=Kirsten Vaughan, ou=Human Resources, o=Ace Industry, c=US"
- Authentication succeeded.
- Start of test: ./auth 10 "cn=Foo Bar, o=Fedora Project, c=US" "foobar"
- Config file written: config_out.conf
- binddn from config file: "cn=Foo Bar, o=Fedora Project, c=US"
- bindpw from config file: "foobar"
- Config file test succeeded
- Authentication succeeded.
- Start of test: ./auth 11 "dblist.conf" "ignore"
- dbname[0] = "default"
- dbname[1] = "default1"
- dbname[2] = "default2"
- dbname[3] = "default3"
- dbname[4] = "default4"
- dbname[5] = "default5"
- dbname[6] = "default6"
- Authentication succeeded.
- Start of test: ./auth 12 "certmap.new" "certmap.conf"
- plugin_init_fn called.
- plugin_init_fn called.
- Authentication succeeded.
- # Comments before any certmap directive - line 1
- # Comments before any certmap directive - line 2
- # Comments before any certmap directive - line 3
- # Comments before any certmap directive - line 4
- # Comments before any certmap directive - line 5
- # Comments before any certmap directive - line 6
- certmap default default
- #default:DNComps o, ou ,c
- #default:FilterComps cn
- certmap default1 o=Fedora Project, c=US
- default1:library ./plugin.so
- default1:InitFn plugin_init_fn
- default1:DNComps ou o c
- default1:FilterComps l
- #default1:verifycert
- # Following line has trailing spaces
- certmap default2 o=Ace Industry, c=US
- default2:InitFn plugin_init_fn
- default2:DNComps cn o ou c
- default2:FilterComps l
- default2:verifycert on
- # Comments before any certmap directive - line 1
- # Comments before any certmap directive - line 2
- # Comments before any certmap directive - line 3
- # Comments before any certmap directive - line 4
- # Comments before any certmap directive - line 5
- # Comments before any certmap directive - line 6
- certmap default default
- certmap default1 o=Fedora Project, c=US
- default1:library ./plugin.so
- default1:InitFn plugin_init_fn
- default1:DNComps ou o c
- default1:FilterComps l
- certmap default2 o=Ace Industry, c=US
- default2:InitFn plugin_init_fn
- default2:DNComps cn o ou c
- default2:FilterComps l
- default2:verifycert on
- Start of test: ./auth 13 "certmap.new" "certmap.conf"
- plugin_init_fn called.
- plugin_init_fn called.
- Authentication succeeded.
- # Comments before any certmap directive - line 1
- # Comments before any certmap directive - line 2
- # Comments before any certmap directive - line 3
- # Comments before any certmap directive - line 4
- # Comments before any certmap directive - line 5
- # Comments before any certmap directive - line 6
- certmap default default
- #default:DNComps o, ou ,c
- #default:FilterComps cn
- certmap default1 o=Fedora Project, c=US
- default1:library ./plugin.so
- default1:InitFn plugin_init_fn
- default1:DNComps ou o c
- default1:FilterComps l
- #default1:verifycert
- # Following line has trailing spaces
- certmap default2 o=Ace Industry, c=US
- default2:InitFn plugin_init_fn
- default2:DNComps cn o ou c
- default2:FilterComps l
- default2:verifycert on
- # Comments before any certmap directive - line 1
- # Comments before any certmap directive - line 2
- # Comments before any certmap directive - line 3
- # Comments before any certmap directive - line 4
- # Comments before any certmap directive - line 5
- # Comments before any certmap directive - line 6
- certmap default default
- certmap default2 o=Ace Industry, c=US
- default2:InitFn plugin_init_fn
- default2:DNComps cn o ou c
- default2:FilterComps l
- default2:verifycert on
- Start of test: ./auth 14 "certmap.new" "certmap.conf"
- plugin_init_fn called.
- plugin_init_fn called.
- Authentication succeeded.
- # Comments before any certmap directive - line 1
- # Comments before any certmap directive - line 2
- # Comments before any certmap directive - line 3
- # Comments before any certmap directive - line 4
- # Comments before any certmap directive - line 5
- # Comments before any certmap directive - line 6
- certmap default default
- #default:DNComps o, ou ,c
- #default:FilterComps cn
- certmap default1 o=Fedora Project, c=US
- default1:library ./plugin.so
- default1:InitFn plugin_init_fn
- default1:DNComps ou o c
- default1:FilterComps l
- #default1:verifycert
- # Following line has trailing spaces
- certmap default2 o=Ace Industry, c=US
- default2:InitFn plugin_init_fn
- default2:DNComps cn o ou c
- default2:FilterComps l
- default2:verifycert on
- # Comments before any certmap directive - line 1
- # Comments before any certmap directive - line 2
- # Comments before any certmap directive - line 3
- # Comments before any certmap directive - line 4
- # Comments before any certmap directive - line 5
- # Comments before any certmap directive - line 6
- certmap default default
- certmap default1 o=Fedora Project, c=US
- default1:library ./plugin.so
- default1:InitFn plugin_init_fn
- default1:DNComps ou o c
- default1:FilterComps l
- certmap default2 o=Ace Industry, c=US
- default2:InitFn plugin_init_fn
- default2:DNComps cn o ou c
- default2:FilterComps l
- default2:verifycert on
- certmap newmap o=Mcom Communications, c=US
- newmap:prop1 val1
- newmap:prop2 val2
- newmap:prop3
|