From de4fa04d3b6428c284f8008394f4431a3c5815d6 Mon Sep 17 00:00:00 2001 From: Deon George Date: Thu, 27 Aug 2020 22:46:07 +1000 Subject: [PATCH] Start of tree being rendered by API/AJAX calls --- app/Classes/LDAP/Server.php | 5 +- app/Http/Controllers/APIController.php | 30 + app/Http/Controllers/Auth/LoginController.php | 10 + app/Http/Kernel.php | 2 + app/LdapUser.php | 81 ++ app/Schema/Adldap.php | 14 + app/User.php | 39 - composer.json | 2 + composer.lock | 952 +++++++++++++++++- config/auth.php | 2 +- config/ldap.php | 3 +- resources/views/home.blade.php | 131 +++ .../vendor/adminlte/auth/login.blade.php | 105 ++ .../layouts/partials/sidebarmenu.blade.php | 5 +- routes/api.php | 3 + routes/web.php | 6 +- tests/Unit/GetBaseDNTest.php | 18 +- ...ldap-test-server.ldif => Flintstones.ldif} | 803 --------------- tests/server/openldap/ldif/Simpsons.ldif | 496 +++++++++ tests/server/openldap/ldif/example-com.ldif | 297 ++++++ tests/server/openldap/ldif/test-security.ldif | 8 + 21 files changed, 2150 insertions(+), 862 deletions(-) create mode 100644 app/Http/Controllers/APIController.php create mode 100644 app/LdapUser.php create mode 100644 app/Schema/Adldap.php delete mode 100644 app/User.php create mode 100644 resources/views/vendor/adminlte/auth/login.blade.php rename tests/server/openldap/ldif/{ldap-test-server.ldif => Flintstones.ldif} (63%) create mode 100644 tests/server/openldap/ldif/Simpsons.ldif create mode 100644 tests/server/openldap/ldif/example-com.ldif create mode 100644 tests/server/openldap/ldif/test-security.ldif diff --git a/app/Classes/LDAP/Server.php b/app/Classes/LDAP/Server.php index e9ddcc6..b73bd38 100644 --- a/app/Classes/LDAP/Server.php +++ b/app/Classes/LDAP/Server.php @@ -4,6 +4,7 @@ namespace App\Classes\LDAP; use Adldap\Adldap; use Adldap\Models\Entry; +use Illuminate\Support\Collection; class Server { @@ -15,7 +16,7 @@ class Server * @return array array|NULL The root DN(s) of the server on success (string) or NULL if it cannot be determine. * @todo Sort the entries, so that they are in the correct DN order. */ - public function getBaseDN(): ?array + public function getBaseDN(): ?Collection { // If the base is set in the configuration file, then just return that after validating it exists. // @todo @@ -25,7 +26,7 @@ class Server } else { $result = $this->getDNAttrValues('',['namingcontexts']); - return $result ? $result->namingcontexts : NULL; + return $result ? collect($result->namingcontexts) : NULL; } } diff --git a/app/Http/Controllers/APIController.php b/app/Http/Controllers/APIController.php new file mode 100644 index 0000000..2b3a9bf --- /dev/null +++ b/app/Http/Controllers/APIController.php @@ -0,0 +1,30 @@ +getBaseDN()->transform(function($item) { + return [ + 'title'=>$item, + 'item'=>base64_encode(Crypt::encryptString($item)), + //'folder'=>TRUE, + 'lazy'=>TRUE, + //'key'=>0, + //'autoexpand'=>TRUE, + ]; + }); + } +} diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.php index 831b97d..15f4c7a 100644 --- a/app/Http/Controllers/Auth/LoginController.php +++ b/app/Http/Controllers/Auth/LoginController.php @@ -50,4 +50,14 @@ class LoginController extends Controller return view('adminlte::auth.login')->with('login_note',$login_note); } + + /** + * Get the login username to be used by the controller. + * + * @return string + */ + public function username() + { + return config('ldap_auth.identifiers.ldap.locate_users_by'); + } } diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php index 36ced13..5474b5f 100644 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -3,6 +3,7 @@ namespace App\Http; use Illuminate\Foundation\Http\Kernel as HttpKernel; +use Laravel\Passport\Http\Middleware\CreateFreshApiToken; class Kernel extends HttpKernel { @@ -37,6 +38,7 @@ class Kernel extends HttpKernel \Illuminate\View\Middleware\ShareErrorsFromSession::class, \App\Http\Middleware\VerifyCsrfToken::class, \Illuminate\Routing\Middleware\SubstituteBindings::class, + \Laravel\Passport\Http\Middleware\CreateFreshApiToken::class, ], 'api' => [ diff --git a/app/LdapUser.php b/app/LdapUser.php new file mode 100644 index 0000000..dd9d00e --- /dev/null +++ b/app/LdapUser.php @@ -0,0 +1,81 @@ +hasMany(Passport::clientModel(), 'user_id'); + } + + /** + * Get all of the access tokens for the user. + * + * @return \Illuminate\Database\Eloquent\Relations\HasMany + */ + public function tokens() + { + // return $this->hasMany(Passport::tokenModel(), 'user_id')->orderBy('created_at', 'desc'); + } + + /** + * Get the current access token being used by the user. + * + * @return \Laravel\Passport\Token|null + */ + public function token() + { + return $this->accessToken; + } + + /** + * Determine if the current API token has a given scope. + * + * @param string $scope + * @return bool + */ + public function tokenCan($scope) + { + return $this->accessToken ? $this->accessToken->can($scope) : false; + } + + /** + * Create a new personal access token for the user. + * + * @param string $name + * @param array $scopes + * + * @return \Laravel\Passport\PersonalAccessTokenResult + */ + public function createToken($name, array $scopes = []) + { + return Container::getInstance()->make(PersonalAccessTokenFactory::class)->make( + $this->getKey(), $name, $scopes + ); + } + + /** + * Set the current access token for the user. + * + * @param \Laravel\Passport\Token $accessToken + * + * @return $this + */ + public function withAccessToken($accessToken) + { + $this->accessToken = $accessToken; + + return $this; + } +} diff --git a/app/Schema/Adldap.php b/app/Schema/Adldap.php new file mode 100644 index 0000000..ba6ec38 --- /dev/null +++ b/app/Schema/Adldap.php @@ -0,0 +1,14 @@ + 'datetime', - ]; -} diff --git a/composer.json b/composer.json index f070295..4d06d03 100644 --- a/composer.json +++ b/composer.json @@ -14,6 +14,8 @@ "fruitcake/laravel-cors": "^2.0", "guzzlehttp/guzzle": "^6.3", "laravel/framework": "^7.22.2", + "laravel/passport": "^9.3", + "laravel/ui": "^2.1", "leenooks/laravel": "^7.0" }, "require-dev": { diff --git a/composer.lock b/composer.lock index 6ac890d..3c48fea 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "959ed9e0a5a540cea83879b015a2a00c", + "content-hash": "b8558eb6918647ce9709a392b38e79f0", "packages": [ { "name": "adldap2/adldap2", @@ -277,6 +277,69 @@ ], "time": "2020-07-14T08:31:54+00:00" }, + { + "name": "defuse/php-encryption", + "version": "v2.2.1", + "source": { + "type": "git", + "url": "https://github.com/defuse/php-encryption.git", + "reference": "0f407c43b953d571421e0020ba92082ed5fb7620" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/defuse/php-encryption/zipball/0f407c43b953d571421e0020ba92082ed5fb7620", + "reference": "0f407c43b953d571421e0020ba92082ed5fb7620", + "shasum": "" + }, + "require": { + "ext-openssl": "*", + "paragonie/random_compat": ">= 2", + "php": ">=5.4.0" + }, + "require-dev": { + "nikic/php-parser": "^2.0|^3.0|^4.0", + "phpunit/phpunit": "^4|^5" + }, + "bin": [ + "bin/generate-defuse-key" + ], + "type": "library", + "autoload": { + "psr-4": { + "Defuse\\Crypto\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Hornby", + "email": "taylor@defuse.ca", + "homepage": "https://defuse.ca/" + }, + { + "name": "Scott Arciszewski", + "email": "info@paragonie.com", + "homepage": "https://paragonie.com" + } + ], + "description": "Secure PHP Encryption Library", + "keywords": [ + "aes", + "authenticated encryption", + "cipher", + "crypto", + "cryptography", + "encrypt", + "encryption", + "openssl", + "security", + "symmetric key cryptography" + ], + "time": "2018-07-24T23:27:56+00:00" + }, { "name": "doctrine/inflector", "version": "2.0.3", @@ -610,6 +673,56 @@ ], "time": "2020-06-23T01:36:47+00:00" }, + { + "name": "firebase/php-jwt", + "version": "v5.2.0", + "source": { + "type": "git", + "url": "https://github.com/firebase/php-jwt.git", + "reference": "feb0e820b8436873675fd3aca04f3728eb2185cb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/firebase/php-jwt/zipball/feb0e820b8436873675fd3aca04f3728eb2185cb", + "reference": "feb0e820b8436873675fd3aca04f3728eb2185cb", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": ">=4.8 <=9" + }, + "type": "library", + "autoload": { + "psr-4": { + "Firebase\\JWT\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Neuman Vong", + "email": "neuman+pear@twilio.com", + "role": "Developer" + }, + { + "name": "Anant Narayanan", + "email": "anant@php.net", + "role": "Developer" + } + ], + "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.", + "homepage": "https://github.com/firebase/php-jwt", + "keywords": [ + "jwt", + "php" + ], + "time": "2020-03-25T18:49:23+00:00" + }, { "name": "fruitcake/laravel-cors", "version": "v2.0.1", @@ -936,6 +1049,158 @@ }, "time": "2020-08-04T07:02:15+00:00" }, + { + "name": "laminas/laminas-diactoros", + "version": "2.3.1", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-diactoros.git", + "reference": "2ffc7cc816f6207b27923ee15edf6fac668390aa" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laminas/laminas-diactoros/zipball/2ffc7cc816f6207b27923ee15edf6fac668390aa", + "reference": "2ffc7cc816f6207b27923ee15edf6fac668390aa", + "shasum": "" + }, + "require": { + "laminas/laminas-zendframework-bridge": "^1.0", + "php": "^7.1", + "psr/http-factory": "^1.0", + "psr/http-message": "^1.0" + }, + "conflict": { + "phpspec/prophecy": "<1.9.0" + }, + "provide": { + "psr/http-factory-implementation": "1.0", + "psr/http-message-implementation": "1.0" + }, + "replace": { + "zendframework/zend-diactoros": "^2.2.1" + }, + "require-dev": { + "ext-curl": "*", + "ext-dom": "*", + "ext-libxml": "*", + "http-interop/http-factory-tests": "^0.5.0", + "laminas/laminas-coding-standard": "~1.0.0", + "php-http/psr7-integration-tests": "^1.0", + "phpunit/phpunit": "^7.5.18" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.3.x-dev", + "dev-develop": "2.4.x-dev" + }, + "laminas": { + "config-provider": "Laminas\\Diactoros\\ConfigProvider", + "module": "Laminas\\Diactoros" + } + }, + "autoload": { + "files": [ + "src/functions/create_uploaded_file.php", + "src/functions/marshal_headers_from_sapi.php", + "src/functions/marshal_method_from_sapi.php", + "src/functions/marshal_protocol_version_from_sapi.php", + "src/functions/marshal_uri_from_sapi.php", + "src/functions/normalize_server.php", + "src/functions/normalize_uploaded_files.php", + "src/functions/parse_cookie_header.php", + "src/functions/create_uploaded_file.legacy.php", + "src/functions/marshal_headers_from_sapi.legacy.php", + "src/functions/marshal_method_from_sapi.legacy.php", + "src/functions/marshal_protocol_version_from_sapi.legacy.php", + "src/functions/marshal_uri_from_sapi.legacy.php", + "src/functions/normalize_server.legacy.php", + "src/functions/normalize_uploaded_files.legacy.php", + "src/functions/parse_cookie_header.legacy.php" + ], + "psr-4": { + "Laminas\\Diactoros\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "PSR HTTP Message implementations", + "homepage": "https://laminas.dev", + "keywords": [ + "http", + "laminas", + "psr", + "psr-17", + "psr-7" + ], + "funding": [ + { + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" + } + ], + "time": "2020-07-07T15:34:31+00:00" + }, + { + "name": "laminas/laminas-zendframework-bridge", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-zendframework-bridge.git", + "reference": "4939c81f63a8a4968c108c440275c94955753b19" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laminas/laminas-zendframework-bridge/zipball/4939c81f63a8a4968c108c440275c94955753b19", + "reference": "4939c81f63a8a4968c108c440275c94955753b19", + "shasum": "" + }, + "require": { + "php": "^5.6 || ^7.0 || ^8.0" + }, + "require-dev": { + "phpunit/phpunit": "^5.7 || ^6.5 || ^7.5 || ^8.1 || ^9.3", + "squizlabs/php_codesniffer": "^3.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev", + "dev-develop": "1.1.x-dev" + }, + "laminas": { + "module": "Laminas\\ZendFrameworkBridge" + } + }, + "autoload": { + "files": [ + "src/autoload.php" + ], + "psr-4": { + "Laminas\\ZendFrameworkBridge\\": "src//" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Alias legacy ZF class names to Laminas Project equivalents.", + "keywords": [ + "ZendFramework", + "autoloading", + "laminas", + "zf" + ], + "funding": [ + { + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" + } + ], + "time": "2020-08-18T16:34:51+00:00" + }, { "name": "laravel/framework", "version": "v7.25.0", @@ -1093,6 +1358,134 @@ ], "time": "2020-08-11T13:43:10+00:00" }, + { + "name": "laravel/passport", + "version": "v9.3.2", + "source": { + "type": "git", + "url": "https://github.com/laravel/passport.git", + "reference": "192fe387c1c173c12f82784e2a1b51be8bd1bf45" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/passport/zipball/192fe387c1c173c12f82784e2a1b51be8bd1bf45", + "reference": "192fe387c1c173c12f82784e2a1b51be8bd1bf45", + "shasum": "" + }, + "require": { + "ext-json": "*", + "firebase/php-jwt": "^5.0", + "guzzlehttp/guzzle": "^6.0|^7.0", + "illuminate/auth": "^6.18.31|^7.22.4", + "illuminate/console": "^6.18.31|^7.22.4", + "illuminate/container": "^6.18.31|^7.22.4", + "illuminate/contracts": "^6.18.31|^7.22.4", + "illuminate/cookie": "^6.18.31|^7.22.4", + "illuminate/database": "^6.18.31|^7.22.4", + "illuminate/encryption": "^6.18.31|^7.22.4", + "illuminate/http": "^6.18.31|^7.22.4", + "illuminate/support": "^6.18.31|^7.22.4", + "laminas/laminas-diactoros": "^2.2", + "league/oauth2-server": "^8.1", + "nyholm/psr7": "^1.0", + "php": "^7.2", + "phpseclib/phpseclib": "^2.0", + "symfony/psr-http-message-bridge": "^2.0" + }, + "require-dev": { + "mockery/mockery": "^1.0", + "orchestra/testbench": "^4.4|^5.0", + "phpunit/phpunit": "^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "9.x-dev" + }, + "laravel": { + "providers": [ + "Laravel\\Passport\\PassportServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Laravel\\Passport\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "Laravel Passport provides OAuth2 server support to Laravel.", + "keywords": [ + "laravel", + "oauth", + "passport" + ], + "time": "2020-07-27T18:34:39+00:00" + }, + { + "name": "laravel/ui", + "version": "v2.1.0", + "source": { + "type": "git", + "url": "https://github.com/laravel/ui.git", + "reference": "da9350533d0da60d5dc42fb7de9c561c72129bba" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/ui/zipball/da9350533d0da60d5dc42fb7de9c561c72129bba", + "reference": "da9350533d0da60d5dc42fb7de9c561c72129bba", + "shasum": "" + }, + "require": { + "illuminate/console": "^7.0", + "illuminate/filesystem": "^7.0", + "illuminate/support": "^7.0", + "php": "^7.2.5" + }, + "require-dev": { + "mockery/mockery": "^1.0", + "phpunit/phpunit": "^8.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Laravel\\Ui\\UiServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "Laravel\\Ui\\": "src/", + "Illuminate\\Foundation\\Auth\\": "auth-backend/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "Laravel UI utilities and presets.", + "keywords": [ + "laravel", + "ui" + ], + "time": "2020-06-30T20:56:33+00:00" + }, { "name": "laravie/html", "version": "v7.0.0", @@ -1172,6 +1565,71 @@ ], "time": "2020-03-03T01:58:41+00:00" }, + { + "name": "lcobucci/jwt", + "version": "3.3.3", + "source": { + "type": "git", + "url": "https://github.com/lcobucci/jwt.git", + "reference": "c1123697f6a2ec29162b82f170dd4a491f524773" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/lcobucci/jwt/zipball/c1123697f6a2ec29162b82f170dd4a491f524773", + "reference": "c1123697f6a2ec29162b82f170dd4a491f524773", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "ext-openssl": "*", + "php": "^5.6 || ^7.0" + }, + "require-dev": { + "mikey179/vfsstream": "~1.5", + "phpmd/phpmd": "~2.2", + "phpunit/php-invoker": "~1.1", + "phpunit/phpunit": "^5.7 || ^7.3", + "squizlabs/php_codesniffer": "~2.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1-dev" + } + }, + "autoload": { + "psr-4": { + "Lcobucci\\JWT\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Luís Otávio Cobucci Oblonczyk", + "email": "lcobucci@gmail.com", + "role": "Developer" + } + ], + "description": "A simple library to work with JSON Web Token and JSON Web Signature", + "keywords": [ + "JWS", + "jwt" + ], + "funding": [ + { + "url": "https://github.com/lcobucci", + "type": "github" + }, + { + "url": "https://www.patreon.com/lcobucci", + "type": "patreon" + } + ], + "time": "2020-08-20T13:22:28+00:00" + }, { "name": "league/commonmark", "version": "1.5.4", @@ -1267,6 +1725,56 @@ ], "time": "2020-08-18T01:19:12+00:00" }, + { + "name": "league/event", + "version": "2.2.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/event.git", + "reference": "d2cc124cf9a3fab2bb4ff963307f60361ce4d119" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/event/zipball/d2cc124cf9a3fab2bb4ff963307f60361ce4d119", + "reference": "d2cc124cf9a3fab2bb4ff963307f60361ce4d119", + "shasum": "" + }, + "require": { + "php": ">=5.4.0" + }, + "require-dev": { + "henrikbjorn/phpspec-code-coverage": "~1.0.1", + "phpspec/phpspec": "^2.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.2-dev" + } + }, + "autoload": { + "psr-4": { + "League\\Event\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frenky.net" + } + ], + "description": "Event package", + "keywords": [ + "emitter", + "event", + "listener" + ], + "time": "2018-11-26T11:52:41+00:00" + }, { "name": "league/flysystem", "version": "1.1.2", @@ -1409,6 +1917,89 @@ ], "time": "2020-08-09T10:34:01+00:00" }, + { + "name": "league/oauth2-server", + "version": "8.1.1", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/oauth2-server.git", + "reference": "09f22e8121fa1832962dba18213b80d4267ef8a3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/oauth2-server/zipball/09f22e8121fa1832962dba18213b80d4267ef8a3", + "reference": "09f22e8121fa1832962dba18213b80d4267ef8a3", + "shasum": "" + }, + "require": { + "defuse/php-encryption": "^2.2.1", + "ext-json": "*", + "ext-openssl": "*", + "lcobucci/jwt": "^3.3.1", + "league/event": "^2.2", + "php": ">=7.2.0", + "psr/http-message": "^1.0.1" + }, + "replace": { + "league/oauth2server": "*", + "lncd/oauth2": "*" + }, + "require-dev": { + "laminas/laminas-diactoros": "^2.3.0", + "phpstan/phpstan": "^0.11.19", + "phpstan/phpstan-phpunit": "^0.11.2", + "phpunit/phpunit": "^8.5.4 || ^9.1.3", + "roave/security-advisories": "dev-master" + }, + "type": "library", + "autoload": { + "psr-4": { + "League\\OAuth2\\Server\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Alex Bilbie", + "email": "hello@alexbilbie.com", + "homepage": "http://www.alexbilbie.com", + "role": "Developer" + }, + { + "name": "Andy Millington", + "email": "andrew@noexceptions.io", + "homepage": "https://www.noexceptions.io", + "role": "Developer" + } + ], + "description": "A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.", + "homepage": "https://oauth2.thephpleague.com/", + "keywords": [ + "Authentication", + "api", + "auth", + "authorisation", + "authorization", + "oauth", + "oauth 2", + "oauth 2.0", + "oauth2", + "protect", + "resource", + "secure", + "server" + ], + "funding": [ + { + "url": "https://github.com/sephster", + "type": "github" + } + ], + "time": "2020-07-01T11:33:50+00:00" + }, { "name": "leenooks/laravel", "version": "7.0.0", @@ -1634,6 +2225,79 @@ ], "time": "2020-08-04T19:12:46+00:00" }, + { + "name": "nyholm/psr7", + "version": "1.3.0", + "source": { + "type": "git", + "url": "https://github.com/Nyholm/psr7.git", + "reference": "c17f4f73985f62054a331cbc4ffdf9868c4ef256" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Nyholm/psr7/zipball/c17f4f73985f62054a331cbc4ffdf9868c4ef256", + "reference": "c17f4f73985f62054a331cbc4ffdf9868c4ef256", + "shasum": "" + }, + "require": { + "php": "^7.1", + "php-http/message-factory": "^1.0", + "psr/http-factory": "^1.0", + "psr/http-message": "^1.0" + }, + "provide": { + "psr/http-factory-implementation": "1.0", + "psr/http-message-implementation": "1.0" + }, + "require-dev": { + "http-interop/http-factory-tests": "dev-master", + "php-http/psr7-integration-tests": "^1.0", + "phpunit/phpunit": "^7.5", + "symfony/error-handler": "^4.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "psr-4": { + "Nyholm\\Psr7\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com" + }, + { + "name": "Martijn van der Ven", + "email": "martijn@vanderven.se" + } + ], + "description": "A fast PHP7 implementation of PSR-7", + "homepage": "http://tnyholm.se", + "keywords": [ + "psr-17", + "psr-7" + ], + "funding": [ + { + "url": "https://github.com/Zegnat", + "type": "github" + }, + { + "url": "https://github.com/nyholm", + "type": "github" + } + ], + "time": "2020-05-23T11:29:07+00:00" + }, { "name": "opis/closure", "version": "3.5.6", @@ -1897,6 +2561,56 @@ ], "time": "2018-07-02T15:55:56+00:00" }, + { + "name": "php-http/message-factory", + "version": "v1.0.2", + "source": { + "type": "git", + "url": "https://github.com/php-http/message-factory.git", + "reference": "a478cb11f66a6ac48d8954216cfed9aa06a501a1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-http/message-factory/zipball/a478cb11f66a6ac48d8954216cfed9aa06a501a1", + "reference": "a478cb11f66a6ac48d8954216cfed9aa06a501a1", + "shasum": "" + }, + "require": { + "php": ">=5.4", + "psr/http-message": "^1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "psr-4": { + "Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com" + } + ], + "description": "Factory interfaces for PSR-7 HTTP Message", + "homepage": "http://php-http.org", + "keywords": [ + "factory", + "http", + "message", + "stream", + "uri" + ], + "time": "2015-12-19T14:08:53+00:00" + }, { "name": "phpoption/phpoption", "version": "1.7.5", @@ -1962,6 +2676,112 @@ ], "time": "2020-07-20T17:29:33+00:00" }, + { + "name": "phpseclib/phpseclib", + "version": "2.0.28", + "source": { + "type": "git", + "url": "https://github.com/phpseclib/phpseclib.git", + "reference": "d1ca58cf33cb21046d702ae3a7b14fdacd9f3260" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/d1ca58cf33cb21046d702ae3a7b14fdacd9f3260", + "reference": "d1ca58cf33cb21046d702ae3a7b14fdacd9f3260", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "require-dev": { + "phing/phing": "~2.7", + "phpunit/phpunit": "^4.8.35|^5.7|^6.0", + "sami/sami": "~2.0", + "squizlabs/php_codesniffer": "~2.0" + }, + "suggest": { + "ext-gmp": "Install the GMP (GNU Multiple Precision) extension in order to speed up arbitrary precision integer arithmetic operations.", + "ext-libsodium": "SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.", + "ext-mcrypt": "Install the Mcrypt extension in order to speed up a few other cryptographic operations.", + "ext-openssl": "Install the OpenSSL extension in order to speed up a wide variety of cryptographic operations." + }, + "type": "library", + "autoload": { + "files": [ + "phpseclib/bootstrap.php" + ], + "psr-4": { + "phpseclib\\": "phpseclib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jim Wigginton", + "email": "terrafrost@php.net", + "role": "Lead Developer" + }, + { + "name": "Patrick Monnerat", + "email": "pm@datasphere.ch", + "role": "Developer" + }, + { + "name": "Andreas Fischer", + "email": "bantu@phpbb.com", + "role": "Developer" + }, + { + "name": "Hans-Jürgen Petrich", + "email": "petrich@tronic-media.com", + "role": "Developer" + }, + { + "name": "Graham Campbell", + "email": "graham@alt-three.com", + "role": "Developer" + } + ], + "description": "PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.", + "homepage": "http://phpseclib.sourceforge.net", + "keywords": [ + "BigInteger", + "aes", + "asn.1", + "asn1", + "blowfish", + "crypto", + "cryptography", + "encryption", + "rsa", + "security", + "sftp", + "signature", + "signing", + "ssh", + "twofish", + "x.509", + "x509" + ], + "funding": [ + { + "url": "https://github.com/terrafrost", + "type": "github" + }, + { + "url": "https://www.patreon.com/phpseclib", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpseclib/phpseclib", + "type": "tidelift" + } + ], + "time": "2020-07-08T09:08:33+00:00" + }, { "name": "psr/container", "version": "1.0.0", @@ -2057,6 +2877,58 @@ ], "time": "2019-01-08T18:20:26+00:00" }, + { + "name": "psr/http-factory", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-factory.git", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "shasum": "" + }, + "require": { + "php": ">=7.0.0", + "psr/http-message": "^1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interfaces for PSR-7 HTTP message factories", + "keywords": [ + "factory", + "http", + "message", + "psr", + "psr-17", + "psr-7", + "request", + "response" + ], + "time": "2019-04-30T12:38:16+00:00" + }, { "name": "psr/http-message", "version": "1.0.1", @@ -4089,6 +4961,84 @@ ], "time": "2020-07-23T08:36:24+00:00" }, + { + "name": "symfony/psr-http-message-bridge", + "version": "v2.0.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/psr-http-message-bridge.git", + "reference": "e44f249afab496b4e8c0f7461fb8140eaa4b24d2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/psr-http-message-bridge/zipball/e44f249afab496b4e8c0f7461fb8140eaa4b24d2", + "reference": "e44f249afab496b4e8c0f7461fb8140eaa4b24d2", + "shasum": "" + }, + "require": { + "php": ">=7.1", + "psr/http-message": "^1.0", + "symfony/http-foundation": "^4.4 || ^5.0" + }, + "require-dev": { + "nyholm/psr7": "^1.1", + "symfony/phpunit-bridge": "^4.4 || ^5.0" + }, + "suggest": { + "nyholm/psr7": "For a super lightweight PSR-7/17 implementation" + }, + "type": "symfony-bridge", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Bridge\\PsrHttpMessage\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "http://symfony.com/contributors" + } + ], + "description": "PSR HTTP message bridge", + "homepage": "http://symfony.com", + "keywords": [ + "http", + "http-message", + "psr-17", + "psr-7" + ], + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-06-25T08:21:47+00:00" + }, { "name": "symfony/routing", "version": "v5.1.3", diff --git a/config/auth.php b/config/auth.php index 959cf06..927c3eb 100644 --- a/config/auth.php +++ b/config/auth.php @@ -42,7 +42,7 @@ return [ ], 'api' => [ - 'driver' => 'token', + 'driver' => 'passport', 'provider' => 'users', 'hash' => false, ], diff --git a/config/ldap.php b/config/ldap.php index 78d2be7..03d3536 100644 --- a/config/ldap.php +++ b/config/ldap.php @@ -101,7 +101,8 @@ return [ | */ - 'schema' => Adldap\Schemas\OpenLDAP::class, + //'schema' => Adldap\Schemas\OpenLDAP::class, + 'schema' => App\Schema\Adldap::class, /* |-------------------------------------------------------------------------- diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index 48f2ec9..2b66bb3 100644 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -39,3 +39,134 @@ @endsection + +@section('page-scripts') + @js('https://code.jquery.com/ui/1.12.1/jquery-ui.min.js','jquery-ui') + @js('https://cdnjs.cloudflare.com/ajax/libs/jquery.fancytree/2.36.1/jquery.fancytree-all.min.js','fancytree-js-all') + @css('https://cdnjs.cloudflare.com/ajax/libs/jquery.fancytree/2.36.1/skin-bootstrap-n/ui.fancytree.min.css','fancytree-css') + + + +@append diff --git a/resources/views/vendor/adminlte/auth/login.blade.php b/resources/views/vendor/adminlte/auth/login.blade.php new file mode 100644 index 0000000..b7e82d4 --- /dev/null +++ b/resources/views/vendor/adminlte/auth/login.blade.php @@ -0,0 +1,105 @@ +@extends('adminlte::layouts.auth') + +@section('htmlheader_title') + Log in +@endsection + +@section('content') + @if(isset($login_note) AND $login_note) +
+ +
NOTE!
+ {!! $login_note !!} +
+
+ @endisset + +
+ + + @if (count($errors) > 0) +
+ Whoops! {{ trans('adminlte_lang::message.someproblems') }}

+
    + @foreach ($errors->all() as $error) +
  • {{ $error }}
  • + @endforeach +
+
+ @endif + + @if (Session::has('error')) +
+ Whoops! {{ trans('adminlte_lang::message.someproblems') }}

+
    +
  • {{ Session::get('error') }}
  • +
+
+ @endif + + +
+ + +
+
+ +@endsection diff --git a/resources/views/vendor/adminlte/layouts/partials/sidebarmenu.blade.php b/resources/views/vendor/adminlte/layouts/partials/sidebarmenu.blade.php index 27f4aa3..a01b38a 100644 --- a/resources/views/vendor/adminlte/layouts/partials/sidebarmenu.blade.php +++ b/resources/views/vendor/adminlte/layouts/partials/sidebarmenu.blade.php @@ -1,5 +1,7 @@ +
+ @foreach (($bases ?? []) as $base) @endforeach diff --git a/routes/api.php b/routes/api.php index 3f7374a..5236674 100644 --- a/routes/api.php +++ b/routes/api.php @@ -19,3 +19,6 @@ Route::middleware('auth:api')->get('/user', function (Request $request) { return $request->user(); }); */ +Route::group(['middleware'=>'auth:api'], function() { + Route::get('/bases', 'APIController@bases'); +}); diff --git a/routes/web.php b/routes/web.php index 1d283db..3bc466e 100644 --- a/routes/web.php +++ b/routes/web.php @@ -14,11 +14,11 @@ use Illuminate\Support\Facades\Route; */ /* +*/ Auth::routes([ 'reset' => false, 'verify' => false, 'register' => false, ]); -*/ - -Route::get('/home','HomeController@home'); +Route::get('logout','Auth\LoginController@logout'); +Route::get('home','HomeController@home'); diff --git a/tests/Unit/GetBaseDNTest.php b/tests/Unit/GetBaseDNTest.php index ae85584..9082a44 100644 --- a/tests/Unit/GetBaseDNTest.php +++ b/tests/Unit/GetBaseDNTest.php @@ -7,18 +7,18 @@ use Tests\TestCase; use Illuminate\Foundation\Testing\WithFaker; use Illuminate\Foundation\Testing\RefreshDatabase; -use Leenooks\LDAP\Server; +use App\Classes\LDAP\Server; class GetBaseDNTest extends TestCase { - /** - * Test that we can get the Base DN of an LDAP server - * - * @return void - */ - public function testBaseDNExists() - { - $o = new Server; + /** + * Test that we can get the Base DN of an LDAP server + * + * @return void + */ + public function testBaseDNExists() + { + $o = new Server(); $x = $o->getBaseDN(); $this->assertIsObject($x); diff --git a/tests/server/openldap/ldif/ldap-test-server.ldif b/tests/server/openldap/ldif/Flintstones.ldif similarity index 63% rename from tests/server/openldap/ldif/ldap-test-server.ldif rename to tests/server/openldap/ldif/Flintstones.ldif index 5b9d5c8..82c4728 100644 --- a/tests/server/openldap/ldif/ldap-test-server.ldif +++ b/tests/server/openldap/ldif/Flintstones.ldif @@ -990,806 +990,3 @@ objectclass: top sn: Rubble uid: hoppy uidnumber: 1009 - -# LDIF Export for o=Simpsons,dc=Test -# Server: C5: OpenLDAP 2.3.27: config (c5dev.leenooks.vpn) -# Search Scope: sub -# Search Filter: (objectClass=*) -# Total Entries: 11 -# -# Generated by phpLDAPadmin (http://phpldapadmin.sourceforge.net) on April 26, 2011 9:05 pm -# Version: 1.2.0.5 - -#version: 1 - -# Entry 1: o=Simpsons,dc=Test -dn: o=Simpsons,dc=Test -o: Simpsons -objectclass: organization -objectclass: top - -# Entry 2: cn=Simpsons-GOUN,o=Simpsons,dc=Test -dn: cn=Simpsons-GOUN,o=Simpsons,dc=Test -cn: simpsons-goun -objectclass: groupOfUniqueNames -objectclass: top -uniquemember: cn=Bart Simpson,ou=People,o=Simpsons,dc=Test -uniquemember: cn=Homer Simpson,ou=People,o=Simpsons,dc=Test -uniquemember: cn=Lisa Simpson,ou=People,o=Simpsons,dc=Test -uniquemember: cn=Maggie Simpson,ou=People,o=Simpsons,dc=Test -uniquemember: cn=Marge Simpson,ou=People,o=Simpsons,dc=Test - -# Entry 3: cn=Simpsons-PG,o=Simpsons,dc=Test -dn: cn=Simpsons-PG,o=Simpsons,dc=Test -cn: simpsons-pg -gidnumber: 1000 -memberuid: maggie -memberuid: marg -memberuid: lisa -memberuid: homer -memberuid: bart -objectclass: posixGroup -objectclass: top - -# Entry 4: ou=People,o=Simpsons,dc=Test -dn: ou=People,o=Simpsons,dc=Test -objectclass: organizationalUnit -objectclass: top -ou: People - -# Entry 5: cn=Bart Simpson,ou=People,o=Simpsons,dc=Test -dn: cn=Bart Simpson,ou=People,o=Simpsons,dc=Test -cn: Bart Simpson -gidnumber: 1000 -givenname: Bart -homedirectory: /home/users/simpsons/bart -jpegphoto:: /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkS - Ew8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRg - yIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wA - ARCAB1AEEDASIAAhEBAxEB/8QAHAAAAgIDAQEAAAAAAAAAAAAAAAcFBgIDBAEI/8QARxAAAgEDA - wIEAgQICA8AAAAAAQIDAAQRBRIhBjETQVFxImEUgYKRBxUzQlOhscIWUnKSk8HS4RcjJTI2Q1RV - YnSistHw8f/EABsBAAEFAQEAAAAAAAAAAAAAAAUAAgMEBgEH/8QAMBEAAQMCAwUHAwUAAAAAAAA - AAQACAwQRBSExBhJBUXETYaGxwdHwFCKBMkJSkeH/2gAMAwEAAhEDEQA/AH/RRRSSRUFrWs3FnJ - PaW9rIZDbho51IO12LAfCe4BUE+44qdqv9QIV1HT5/zSssPuTtYfqRqoYnNJBSPli1aL+/gpImh - zwCow3GtM/iC+USQgJCTyko5JMijAycgcdtuRjJFcx06UxmI3szRA+JGHO5lm/SZz34yB6knz4k - KK83fjFc/WQ/Le3nzKJCCMcFG/iuVZTLHeOkpxLuC8fSP0xGeT5EeY47V36Ml3b63bwfTppLY+I - 4iY9vhGcn84ljn5ZrOtmm/wCkNt/y8v7UohguIVUldHG+QkE5+foo542CMkBWiiiivR0NRRRRSS - RUL1IMWtpMe0V0uftBk/awqaqI6mH+QpW8o5YpD7LIpP6hVWuZ2lNIzm0+Scw2cCoqtaSvMC1vb - XE6Du8cZ2/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qx+MP8Y3h84ztxjxPn2pv211b3sCz2s8 - c8LdpI2DKfrFSSxUcpjlgaN0C7Tbn8GqdTS1jw51Y4l5OdzfLyHHILdRRRTlOln1BrN/eX1ztu0 - treOeSFFkvWtY1EeQSzrzuYqcZ4xjjuartjKxXUVeeaY/SrW5DTuXkCsI8BiSSSAh+6mRrPRtvq - d1JcwzJDJKQzrLAJULYxuAJBDYA88fLNVTW+mG0OXYl1LcvqNs8bzSgDMyZZAABxwzn2X0FC8Vj - LqZx5EHx9knWsu3ptzB1ZGD2czQr9pEk/cNMSlrY3am/wBHvowSpnDAeZDRsv736qYcN3FMm7cF - 5xgsKZgj96lseBIXG6KtahbHRp5nk4sJJGkWbyiLHJV/QZJIPbnHHGdEkEF3HuI3K643oxBKn5j - nFdHX2rrY9LvAk0Ub6hKtiJXPwxCTO5j7KGNL606zZIAL7p3Rr+Qj4pjEImb5sNrZP3ewqnVbJf - WSunp3bpOZFuPdmE5+KxUwDJiuzrC1tBY2F06HdHqBtS8QXxJLfYGYZPDFWBUZ7Zx61ZPwbX802 - nRwznMjQ/F83jbYT/MMQ+zSt1HUZp7xJpvgtgBFDCJHZLcei7ieCQM9ucfU0/wd2MkEBeRSDDFt - bIxiSRt5X3CeFn5kjyrVimdTUkcUjt5w9tfyhNNVCorHvjH2W15n5dXuiiiq6Korj1PTbfVbJra - 43AZDI6HDIw7MD6j+48GiiuEAixSUFpPRkWn363Vxevc7HZ44hGERWYEFsZJzgnzAyScZqyLbQo - MLEgHtRRTIomRN3WCwSXHqujwaparE2I2Rt6MEVhnBXBVgQwIYgg+vkcGlPrP4lsNdk0u40UNOn - Jns7l4EPtGd4H30UVM17m/pNkx8bJBZ4B6rXpFjonUGsro8OmTW0uVk+lS3bSlQrBuEwq547nOP - Q05bKyt9PtEtrWPZEuSBkkkk5JJPJJJJJPJJoopOc5xu43SZGyMWYLDuXRRRRTU9f//Z -l: Springfield -mail: bart.simpson@example.com -o: The Simpsons -objectclass: inetOrgPerson -objectclass: posixAccount -objectclass: top -objectclass: shadowAccount -sn: Simpson -st: 742 Evergreen Terrace -telephonenumber: +1 939 555 3126 -uid: bart -uidnumber: 1000 -userpassword: eatmyshorts - -# Entry 6: cn=Homer Simpson,ou=People,o=Simpsons,dc=Test -dn: cn=Homer Simpson,ou=People,o=Simpsons,dc=Test -cn: Homer Simpson -gidnumber: 1000 -givenname: Homer -homedirectory: /home/users/simpsons/homer -jpegphoto:: /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0V - FhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw - 7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wA - ARCABPAHIDASIAAhEBAxEB/8QAGwAAAgIDAQAAAAAAAAAAAAAABAUDBgACBwH/xABHEAACAQIEB - AEHBgoIBwAAAAABAgMEEQAFEiEGEzFBIhQyNVFhcYEHFlWRk6EVI0JSU2JzdJKyJFSCosHR0uEX - JTSkscLT/8QAGgEAAwEBAQEAAAAAAAAAAAAAAgMEBQYBAP/EAC4RAAEEAQMCAwYHAAAAAAAAAAE - AAgMRBBIhMQVBE1FhInGhsdHwFBUygZHB4f/aAAwDAQACEQMRAD8AFyDIMnn4foJpsspZJHp0Zm - aIEsSOpOGHzbyP6Io/sVwLw/RyPw7lzCvqkvTIdKlLDbtdMMHo2jRnfM6tVUEsS0dgB1PmYQTvy - qQNuEBX5RkNDBzDk9EzNcKDEoGwJJJtsAASevsBJAwD+CqaNVkk4fotDMFGqlVASTYC+tmW52uV - 6kXtiw0fC8mZaKnMaysEFrxU5ZVaxsbsQoIJsNhYjueoDZ+GcskjKMlSQbX/AKbNv/fxkS9axon - 6Nz7k0QOcLpVyDIcgqII5o8ppCkihlvAt7EXxv828j+iKP7FcE1mRTZWyGL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eHzu5tvp29Y3xbMjqYYs7pcyqUYZaqvGlWwAiE7WVfETuLa1uLgE2J3xTeE - eJODIKSlbPqvQ0ECRGnFM7c2wG7kCxW42Xobb32At1R8qnBdTm9M0mYP5HSxOyg0sljI3hG2nsm - serx+zAhu9phftQVr4hoKfM6qioQvLqZCXNTH4ZYYksW0t1F2KLbp4j6sJXq6mOkngcKMxhcU+m - 2zSsQEYD81tSt7AT6jgDL/lG+TnLKmSelzGoUuoQK0MzLGoJOlARZBc9BYdPVjaf5S/k7qM0gzK - TMJTUQKVUimlAPWxItYkamtfpqPrxDm4EeVpLuQR/HcL2OUx3SsuQUUGQVs2UBQ3NTyiGoYfjJw - CA4durMpI3P5LqOxxWc2qKWXPKmqojrpKhlXnrvG9QAQ6q3S9gnvN7X3tJX/Kd8nOZrEtbV89Ym - 1IHo5CAbW/N3Fj0OxwJ/xM4FavrYpazmZfWQprjNJJp5i3U+HT3UR/wYu0iqQB1G1uvnD34Byf0 - RS/s/8AE4VScccMU1bJFT5nLUUos0MjwPrAPVWuLki3XuCL7gki5dxvw/T5fBDLWOHRbMOS5t92 - FaSnhwKt+XGp+cNC9JSGsenDyvEHCaVKlQ2o7X3IAPUk+okXNeIsvjISuMuXSdNNYnLF/UH8xvg - xxQuHvlM4MybKXkmrpZK6e8s6JTPctbwxgkW8IsvW17nucbH5VsmqVMsnE8dIzdKePLJJUX2MzA - FveNPuw1ooJDjZtX+pybJc2tPUZfR1RYXErRKx94br9Rwi4h4SyemyOsrIRVwSUsLzRFKyXSrqp - 0nQWK/C3fFYo/lD4AZ5PK2WknU/9Tl0M0AmB7+CzA+sG/axPbeu484FzClaiqOKc0ejcjmQNASH - AN7FjHrtcD8rHxaDuQvASFML9+vfHvfFYp+PMiECLUVzNKoszCF7MRtq6d+vxxJ8/eHP66/2D/5 - YVpKp1N81zDOvTlf+8yfzHGYjzOZKnNKueI3jlnd1NrXBYkYzD1Kv/9k= -l: Springfield -mail: homer.simpson@example.com -o: The Simpsons -objectclass: inetOrgPerson -objectclass: posixAccount -objectclass: top -objectclass: shadowAccount -sn: Simpson -st: 742 Evergreen Terrace -telephonenumber: +1 939 555 3126 -uid: homer -uidnumber: 1001 -userpassword: mmm.beer - -# Entry 7: cn=Lisa Simpson,ou=People,o=Simpsons,dc=Test -dn: cn=Lisa Simpson,ou=People,o=Simpsons,dc=Test -cn: Lisa Simpson -gidnumber: 1000 -givenname: Lisa -homedirectory: /home/users/simpsons/lisa -jpegphoto:: /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0V - FhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw - 7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wA - ARCACAAEwDASIAAhEBAxEB/8QAHAAAAQUBAQEAAAAAAAAAAAAABgEDBAUHAAII/8QAORAAAgECB - AQEAwYGAQUAAAAAAQIDBBEABRIhBjFBURMUImEycYEHFTNCYqEjUnKCkbEkU4OSsvD/xAAaAQAC - AwEBAAAAAAAAAAAAAAAEBQADBgIB/8QAMREAAQMCBAMFCAMBAAAAAAAAAQACAwQRBRIhMUFRYRO - B0eHwBhQicZGhwfEVQrFS/9oADAMBAAIRAxEAPwDZcR66siy+gnrJgxjgjaRgouSAL2Hvh/FNxY - 1sheO/400MfzBkW/7XxxI/Iwu5C69aLkBe4eKMokYJLVeUc7aapTFv2BawP0JwmdZ4tFGlPRlJa - yddUY5rGv8A1G9uw/MduVyB07gg8jzHfDUNNT02rwIIodZu3hoF1HubYyp9oJDGRks7nw+iY+5j - NvorPJ86ly+daXMKiSamma0dRK12jcn4WP8AKxOx6E25FQCmSWOFC8rqijmzGwH1wDOiSxtHIod - HBVlYXBB5gjDPkaTUGNNE7DkzoGb/ACd8eUuOujiyytzEcfFSSkDnXabI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kUxW4YANzBIIswxhEcSx3O7M3xOeZxsv2cZSaDhOOWZPXXSGpseikAL/lVU/XBkE7pXEH - ZKMWwqGhga5pOYnbpx/HmizC47HYMWcXYYraSKvopaScHw5VKkqbEdiD0IO4PQgYfx2Ios541q5 - RkS1VUwFZSrUZdUFRa7yRgowHQMUjI7a7cwcZhAA7vL7lF9gDb/d/2xtnGuSHMaCVotvMIsE2xN - rNqicgb2STn+l3PQYySm4dzxak5d9z1nm0dlMYiJA3Njr+G36r298LaqE5s7RutV7PVMMWYSuA4 - 69P2VBlkVFF3RCxChnNgCep9uv0wzSKLuRq0p6E121aee/vvv8sa/wAM/ZzTUeWVP3zpnq62FoW - CHaBGG4U9W/V7C3UkeoPskzdaloqvMaRKYSMfGiDNI4Jv8JACm3ube+OfdXhmm5R4x2mfVF7yQ1 - o0035+XyVRwfw2/E2crFIh8jTkPVN0I6R/Nv2Fz2vt6gKoVQAALADpiHk+TUWRZbHQUEWiJNyTu - zt1Zj1J/wDtsTcHQxCJtll8Rr3105kOg4DkF//Z -l: Springfield -mail: lisa.simpson@example.com -o: The Simpsons -objectclass: inetOrgPerson -objectclass: posixAccount -objectclass: top -objectclass: shadowAccount -sn: Simpson -st: 742 Evergreen Terrace -telephonenumber: +1 939 555 3126 -uid: lisa -uidnumber: 1002 -userpassword: brains - -# Entry 8: cn=Maggie Simpson,ou=People,o=Simpsons,dc=Test -dn: cn=Maggie Simpson,ou=People,o=Simpsons,dc=Test -cn: Maggie Simpson -gidnumber: 1000 -givenname: Maggie -homedirectory: /home/users/simpsons/maggie -jpegphoto:: /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0V - FhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw - 7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs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NyzJ4OuTGW - k1VVk9Et/oHzlsn7EfasP7H3v/Nbf/wm/wDrRRQ38Td+qMH5fi/oE2w+DBJlb7UWljPDRwwiMMO - 4JJY889CPtVoUBVCgYAGAKKKqexnO2O5oqorpGqxqf//Z -l: Springfield -mail: maggie.simpson@example.com -o: The Simpsons -objectclass: inetOrgPerson -objectclass: posixAccount -objectclass: top -objectclass: shadowAccount -sn: Simpson -st: 742 Evergreen Terrace -telephonenumber: +1 939 555 3126 -uid: maggie -uidnumber: 1003 -userpassword: dummy - -# Entry 9: cn=Marge Simpson,ou=People,o=Simpsons,dc=Test -dn: cn=Marge Simpson,ou=People,o=Simpsons,dc=Test -cn: Marge Simpson -gidnumber: 1000 -givenname: Marge -homedirectory: /home/users/simpsons/marge -jpegphoto:: R0lGODlhhABwAIcAAAAAAAICBQIEAgUFAQUFBAICCwYICw4EBAsJAgkJCAgJDQ4N - CA0NDQECEgEDGwsMEA4QDhMEAhILAhANARANBBYODhwCARoJARMQAhIQBBURARQRBBcVAhIQCBE - QDRQSDhgSABkUARwTARwVAB0YARISERsbGwIEIgIEKgEENAAEPAQINAQIOiMBASwCAiIbATUDAz - 0CAicgAiogASsjBCskAS0jAS0kAS4oBTEnATQqAjkuATswAz0xATwxBj80BCIiIikpKS8vLzQ0N - Dk5OT09PQIFQwEGTAQJRAMITQEFUQEGWwMIUwMIWgIIYwIIbAAGcQAGfwEIdAEIfEICAksBAVIB - AV8AAEAzAUE1AUU2AUU3BEU4AUw8AVA+AWEBAWsCAnIBAXwBAU5ABFRDAlhGAVxHAltJAWFNAWB - NBGJQBGVRAmpUAW1YAW1YBHFZAHFaBHFcAnRaAnVdAXVeBHleAHdgAntiAURERElJSU1NTVJSUl - lZWV1dXWFhYWVlZWxsbHJycnV1dXt7ewAIg4QBAYwBAZIAAJsCAqICAqsCArQDA7sCAoFlAYRpA - ohqAIptAIxuAo1wApN0AZZ5Bph3AJp7AaB/AYF/f8ECAssBAdMEBNwBAeICAuwBAfIBAf4AAJ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SdgEAksl8GXIpdIz5eSh0SA4ukxyBiObeEBcid96UAJg - iaeDooI/AvHkPBw0pXu5fsUYhExOAAAtFDdDZOh5TwvO2O2QYAWKOITnkBECyxxWg33AA+CwK+p - sd6TarTAE1wHBScugGLo2rxSLxBDGCzwh426kvA8+UMhEv/0L0iCFDxAAAWyIHXHgoAToPCEC+A - +eLkPRg9O57wYOGB3T3QiERbwnKN64VZdpIIUtjj90xVRJJBjHiaDAAPnQUGFwye+ExZ4BTAa8Y - IETKALr6CUIxAQgypEAACoB0X/Jkp58eO/RB0MWETiEQEARCy/EGjwAhW27glDSIAVjXBB+D/xh - So8XQwU53KuBxjWgAEhYAWIcAgxIAMIsAnLlwkCQAWctwgvQAHhx3UuoAiHUAFbVH4DOBf7Iwq8 - MAlrwAaW8As4kAnLpwgAoIKc5wISyHmFQACNdnUfqBZ9ED+rQgfKx3lWAH7LZwUxmHiH4AdjF3L - ERg0hYFuWkgsi4H5cVwgv8AOxl3gWEAGIl3hVwACkFncVtz+ogCywIAMwIHkukAO2oAoWcIGgEA - ZccAZX8AlchwgjIAlBUFnEZn4Y4QcohyzAcAqN4AhGJQyQEAFiwAiJEAM4kAu/0AUu/yAGhlAFJ - KABvsAF5OOBxJYNGMBuuOUKbGBtlWAuwbAKdfAGJ0gDq2ALFMBmeXiDTNEPQjAJj5dec+AGwuAI - KmJ8rrgUx2BmCGcprCADwcBErMdwu9gT9FACvPOLlvICH9MKH+BgredmgWAGzMgqcNAGlMIGYte - KPWYOC6Bg11gpsQACquILIaBk0whifsAGs6hiPWAJdXIJQICH/HaML1EOFNBY47gqo5AD5tIDxO - CNrtQHb9CPrVIDplAnr+ABwlZu+LgS5kABnIiQdVIKMoBoa2CEBBeRKhEI6GWRqxIMclInurABr - DgveohM+iSSq/IKGIALlNIIGmWMeGQMWizwjnbWBnUjDL7AASJyeR55EUEQhi6JLiMACf0SCbsk - lBDxlFAZlVI5lVIZEAA7 -l: Springfield -mail: marge.simpson@example.com -o: The Simpsons -objectclass: inetOrgPerson -objectclass: posixAccount -objectclass: top -objectclass: shadowAccount -sn: Simpson -st: 742 Evergreen Terrace -telephonenumber: +1 939 555 3126 -uid: marge -uidnumber: 1004 -userpassword: homie - -# Entry 10: ou=Pets,o=Simpsons,dc=Test -dn: ou=Pets,o=Simpsons,dc=Test -objectclass: organizationalUnit -objectclass: top -ou: Pets - -# Entry 11: cn=Santas Little Helper,ou=Pets,o=Simpsons,dc=Test -dn: cn=Santas Little Helper,ou=Pets,o=Simpsons,dc=Test -cn: Santas Little Helper -givenname: Santas Little Helper -jpegphoto:: /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0V - FhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw - 7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wA - ARCABnAEsDASIAAhEBAxEB/8QAGwABAAIDAQEAAAAAAAAAAAAAAAQGAgUHAwH/xAA8EAACAQMCA - wYDAwkJAAAAAAABAgMABBEFIQYSMRMiQVFhcTKBkRRCogcVI5KhsbLB0TM0U2JygoPw8f/EABoB - AAIDAQEAAAAAAAAAAAAAAAAEAwUGAgH/xAArEQACAgECAwcEAwAAAAAAAAABAgADEQQxEhMhBXG - BkbHR8BQyQWFR4fH/2gAMAwEAAhEDEQA/AOwXNzDZ273FxIsUSDLOxwBXPdS46vYb+WeC4SOJMG - K0lQASKTygsSOYEnyPd8tjm+6lp8Op2MlpcKGjfHUZwQcg+4IqkrwRpdlqsrzS3sskcSFRAOaR+ - duUkbE4XAzjpk52pbUV2uBy2xj55Rih6kJ5i5+es834l1uWTtRfiLO4ijhQoP1gWP1+le4451N4 - RIlnbARFhIDzEzcpweXfuZx481e+ncP6d2WpT3ctxfrZzSRrHCzBsKoOCExzOc/uwBVb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me8wJA9sf1FWLge8Md9e6eT3WCzoPfIb9q5+dOdj3kOajseoiva1AKi0bjoZdaV8r7Wkme - ilKjahdiw0+e7MTyiFC5SMd5sDwohKd+URwssGQe7Z3BP4KrF6Oxsb1QPhiUAf8AClSOKOIU16Z - FjWMSSRdhHHHL2hPM3eJwBgYFY8RwCM3lqw+IwxkH/MkY/nVFqBzeJl2LKJc6c8vCtuFYy32Wu6 - MNDi0+6ExXsuRw1uxHT2qm3Sw2Ooube4NxbYwZCjDC+GcjqucH0OfA1lr2haZoZt1Mk6vJEJDI8 - rIoz4DA3O2/ltWlF06L+g1KRgeoaJ3H4lJ/bUmrWy4ctsE9zevWcaVkqPGuQO9f6m4vG7ExXJ2W - JsP6K2xPyOD7A1jBq35p4miuI5lSVIMcjnCSAse6x8Omx8PqDAtb63gtxFPcTTDBBQWpCY8gCCc - fOrRwFoenahb3r3FpK6u2ENwMtyYH/nsBSWh0dnNycrjY4945rNXXy8DDZ3GfaXnStVttXsxcW5 - II7skbfFG3kf8Au/UVOrnM9tdcD62kluzyWUgPIueqjdoz7DLL5YI6V0G3uI7m3jnicNHIoZSPE - GtBVYWyrbj5mUViBcMux+YnrWLorqVYZB6isqVNIpp7fhXR7W9+2RWaCXOc+tVPjjTp4dVa9NvP - PbS8j/oPiR1GN+mRsD710SvjIrjDKCPUVFbUtq8LSSqxq24llU4azxHpA/PNmZGhciNpkAYr4Zx - tmt7HommRLypYwgf6RU5VVBhQAPICvtSAYGJwTk5kMaTp4P8Ac4f1RUmOKOJeWNFQeQGKzpXs8l - c45WMaAJXKgxXEbKT5c3e/DzVr+F5p14asFy20WBt4Z2qJxleNrOswaHbEssbfpMdOY9foDj/c3 - lVzsbGKzsobdVGI1A6VCgzYz+Hln3xJXOEC+Pnj2kulKVNIopSlEIpSlEIpSlEJVOFtCktb26vb - 0rJcGRsMDnOT1q10pXgAAwJ6SScmf//Z -l: Springfield -o: The Simpsons -objectclass: inetOrgPerson -objectclass: top -sn: Simpson -st: 742 Evergreen Terrace -telephonenumber: +1 939 555 3126 - -# LDIF Export for dc=example,dc=com,dc=Test -# Server: C5: OpenLDAP 2.3.27: config (c5dev.leenooks.vpn) -# Search Scope: sub -# Search Filter: (objectClass=*) -# Total Entries: 15 -# -# Generated by phpLDAPadmin (http://phpldapadmin.sourceforge.net) on April 26, 2011 9:25 pm -# Version: 1.2.0.5 - -#version: 1 - -# Entry 1: dc=example,dc=com,dc=Test -dn: dc=example,dc=com,dc=Test -dc: example -objectclass: dNSDomain - -# Entry 2: c=AU,dc=example,dc=com,dc=Test -dn: c=AU,dc=example,dc=com,dc=Test -c: AU -description: Australia -objectclass: country -objectclass: top - -# Entry 3: c=CN,dc=example,dc=com,dc=Test -dn: c=CN,dc=example,dc=com,dc=Test -c: CN -objectclass: country -objectclass: top - -# Entry 4: cn=你好,c=CN,dc=example,dc=com,dc=Test -dn:: Y2495L2g5aW9LGM9Q04sZGM9ZXhhbXBsZSxkYz1jb20= -cn:: 5L2g5aW9 -gidnumber: 200 -objectclass: posixGroup -objectclass: top - -# Entry 5: c=DE,dc=example,dc=com,dc=Test -dn: c=DE,dc=example,dc=com,dc=Test -c: DE -description: Germany -objectclass: country -objectclass: top - -# Entry 6: c=ES,dc=example,dc=com,dc=Test -dn: c=ES,dc=example,dc=com,dc=Test -c: ES -objectclass: country -objectclass: top - -# Entry 7: c=FR,dc=example,dc=com,dc=Test -dn: c=FR,dc=example,dc=com,dc=Test -c: FR -description: France -objectclass: country -objectclass: top - -# Entry 8: c=GB,dc=example,dc=com,dc=Test -dn: c=GB,dc=example,dc=com,dc=Test -c: GB -description: Great Britain -objectclass: country -objectclass: top - -# Entry 9: c=IT,dc=example,dc=com,dc=Test -dn: c=IT,dc=example,dc=com,dc=Test -c: IT -objectclass: country -objectclass: top - -# Entry 10: c=NO,dc=example,dc=com,dc=Test -dn: c=NO,dc=example,dc=com,dc=Test -c: NO -description: Norway -objectclass: country -objectclass: top - -# Entry 11: c=RU,dc=example,dc=com,dc=Test -dn: c=RU,dc=example,dc=com,dc=Test -c: RU -objectclass: country -objectclass: top - -# Entry 12: cn=Человеки,c=RU,dc=example,dc=com,dc=Test -dn:: Y2490KfQtdC70L7QstC10LrQuCxjPVJVLGRjPWV4YW1wbGUsZGM9Y29t -cn:: 0KfQtdC70L7QstC10LrQuA== -objectclass: inetOrgPerson -objectclass: top -sn:: 0KfQtdC70L7QstC10LrQuA== - -# Entry 13: cn=Дед Логопед,cn=Человеки,c=RU,dc=example,... -dn:: Y2490JTQtdC0INCb0L7Qs9C+0L/QtdC0LGNuPdCn0LXQu9C+0LLQtdC60LgsYz1SVSxkYz1 - leGFtcGxlLGRjPWNvbQ== -cn:: 0JTQtdC0INCb0L7Qs9C+0L/QtdC0 -givenname:: 0JTQtdC0 -jpegphoto:: /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoH - BwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQk - UDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wA - ARCAAwAEADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAA - gEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcY - GRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipK - TlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8v - P09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFB - AQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMz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88UxGx9mVJPTnHGcGuk1+4h1LSnij - RHkYlVjk4kVvQHHrQB+f8A4m/Zy8Y380kOnapokEZGS91cvk+wAQ1zq/svfEC5/cp4i0O2KHaR5 - UzsT/3yM19ea9aW8R3y3ElndKSWhdBtkB6HBxj6g1w+tarcxRRXLxS3mmxuE3ohCA9SNwwwP1oA - 8Ksv2WvHGAl143s40xjba6cznn/eYVFrX7LRuYUjbxa817nkTWB2MPqrEj9a9jXxZqt4DEkqoVb - 93DKN3b+8MEHjjI9Kq6j421mwSNL64ESSqytuYOj+gYdvqKAPAvF/wOv9EtR5z2tyEG3fDuX9GU - YryPXfB15axs62ryxhtu+Ebxn6rmvpXW9cilF00+piYDO17cOVK9Mc9vqO1eQ+LNVSOd3g3NAvJ - MmUJ+vP9aAP/9k= -objectclass: inetOrgPerson -objectclass: top -sn:: 0JvQvtCz0L7Qv9C10LQ= - -# Entry 14: c=SE,dc=example,dc=com,dc=Test -dn: c=SE,dc=example,dc=com,dc=Test -c: SE -objectclass: country -objectclass: top - -# Entry 15: c=US,dc=example,dc=com,dc=Test -dn: c=US,dc=example,dc=com,dc=Test -c: US -description: United States of America -objectclass: country -objectclass: top - -# LDIF Export for dc=example.com,dc=Test -# Server: C5: OpenLDAP 2.3.27: config (c5dev.leenooks.vpn) -# Search Scope: sub -# Search Filter: (objectClass=*) -# Total Entries: 23 -# -# Generated by phpLDAPadmin (http://phpldapadmin.sourceforge.net) on April 26, 2011 9:13 pm -# Version: 1.2.0.5 - -#version: 1 - -# Entry 1: dc=example.com,dc=Test -dn: dc=example.com,dc=Test -dc: example.com -objectclass: dNSDomain - -# Entry 2: cn=group,dc=example.com,dc=Test -dn: cn=group,dc=example.com,dc=Test -cn: group -gidnumber: 100 -objectclass: posixGroup -objectclass: top - -# Entry 3: ou=Bad DNs,dc=example.com,dc=Test -dn: ou=Bad DNs,dc=example.com,dc=Test -objectclass: organizationalUnit -ou: Bad DNs - -# Entry 4: c=double plus \2B\2B,ou=Bad DNs,dc=example.com,dc=Test -dn: c=double plus \2B\2B,ou=Bad DNs,dc=example.com,dc=Test -c: double plus ++ -objectclass: country - -# Entry 5: c=end dollar$,ou=Bad DNs,dc=example.com,dc=Test -dn: c=end dollar$,ou=Bad DNs,dc=example.com,dc=Test -c: end dollar$ -objectclass: country - -# Entry 6: sn=sign@at+uid=multi-mixed,ou=Bad DNs,dc=example.com,dc=Test -dn: sn=sign@at+uid=multi-mixed,ou=Bad DNs,dc=example.com,dc=Test -cn: Test -objectclass: inetOrgPerson -sn: sign@at -uid: multi-mixed - -# Entry 7: uid=angle\3Cleft,ou=Bad DNs,dc=example.com,dc=Test -dn: uid=angle\3Cleft,ou=Bad DNs,dc=example.com,dc=Test -cn: Test -objectclass: inetOrgPerson -sn: Test -uid: angleright - -# Entry 9: uid=brace(left,ou=Bad DNs,dc=example.com,dc=Test -dn: uid=brace(left,ou=Bad DNs,dc=example.com,dc=Test -cn: Test -objectclass: inetOrgPerson -sn: Test -uid: brace(left - -# Entry 10: uid=brace)right,ou=Bad DNs,dc=example.com,dc=Test -dn: uid=brace)right,ou=Bad DNs,dc=example.com,dc=Test -cn: Test -objectclass: inetOrgPerson -sn: Test -uid: brace)right - -# Entry 11: uid=colon:full,ou=Bad DNs,dc=example.com,dc=Test -dn: uid=colon:full,ou=Bad DNs,dc=example.com,dc=Test -cn: Test -objectclass: inetOrgPerson -sn: Test -uid: colon:full - -# Entry 12: uid=colon\3Bsemi,ou=Bad DNs,dc=example.com,dc=Test -dn: uid=colon\3Bsemi,ou=Bad DNs,dc=example.com,dc=Test -cn: Test -objectclass: inetOrgPerson -sn: Test -uid: colon;semi - -# Entry 13: uid=multi+uid=sign@at,ou=Bad DNs,dc=example.com,dc=Test -dn: uid=multi+uid=sign@at,ou=Bad DNs,dc=example.com,dc=Test -cn: Test -objectclass: inetOrgPerson -sn: Test -uid: multi -uid: sign@at - -# Entry 14: uid=multi+uid=value,ou=Bad DNs,dc=example.com,dc=Test -dn: uid=multi+uid=value,ou=Bad DNs,dc=example.com,dc=Test -cn: Test -objectclass: inetOrgPerson -sn: Test -uid: multi -uid: value - -# Entry 15: uid=quote\22double,ou=Bad DNs,dc=example.com,dc=Test -dn: uid=quote\22double,ou=Bad DNs,dc=example.com,dc=Test -cn: Test -objectclass: inetOrgPerson -sn: Test -uid: quote"double - -# Entry 16: uid=quote'single,ou=Bad DNs,dc=example.com,dc=Test -dn: uid=quote'single,ou=Bad DNs,dc=example.com,dc=Test -cn: Test -objectclass: inetOrgPerson -sn: Test -uid: quote'single - -# Entry 17: uid=sign%percent,ou=Bad DNs,dc=example.com,dc=Test -dn: uid=sign%percent,ou=Bad DNs,dc=example.com,dc=Test -cn: Test -objectclass: inetOrgPerson -sn: Test -uid: sign%percent - -# Entry 18: uid=sign\2Bplus,ou=Bad DNs,dc=example.com,dc=Test -dn: uid=sign\2Bplus,ou=Bad DNs,dc=example.com,dc=Test -cn: Test -objectclass: inetOrgPerson -sn: Test -uid: sign+plus - -# Entry 19: uid=sign\2Ccomma,ou=Bad DNs,dc=example.com,dc=Test -dn: uid=sign\2Ccomma,ou=Bad DNs,dc=example.com,dc=Test -cn: Test -objectclass: inetOrgPerson -sn: Test -uid: sign,comma - -# Entry 20: uid=sign\3Bsemicolon@at,ou=Bad DNs,dc=example.com,dc=Test -dn: uid=sign\3Bsemicolon@at,ou=Bad DNs,dc=example.com,dc=Test -cn: Test -objectclass: inetOrgPerson -sn: Test -uid: sign;semicolon@at - -# Entry 21: uid=sign\3Dequal,ou=Bad DNs,dc=example.com,dc=Test -dn: uid=sign\3Dequal,ou=Bad DNs,dc=example.com,dc=Test -cn: Test -objectclass: inetOrgPerson -sn: Test -uid: sign=equal - -# Entry 22: uid=sign?question,ou=Bad DNs,dc=example.com,dc=Test -dn: uid=sign?question,ou=Bad DNs,dc=example.com,dc=Test -cn: Test -objectclass: inetOrgPerson -sn: Test -uid: sign?question - -# Entry 23: uid=sign@at,ou=Bad DNs,dc=example.com,dc=Test -dn: uid=sign@at,ou=Bad DNs,dc=example.com,dc=Test -cn: Test -objectclass: inetOrgPerson -sn: Test -uid: sign@at diff --git a/tests/server/openldap/ldif/Simpsons.ldif b/tests/server/openldap/ldif/Simpsons.ldif new file mode 100644 index 0000000..85445a5 --- /dev/null +++ b/tests/server/openldap/ldif/Simpsons.ldif @@ -0,0 +1,496 @@ +# LDIF Export for o=Simpsons,dc=Test +# Server: C5: OpenLDAP 2.3.27: config (c5dev.leenooks.vpn) +# Search Scope: sub +# Search Filter: (objectClass=*) +# Total Entries: 11 +# +# Generated by phpLDAPadmin (http://phpldapadmin.sourceforge.net) on April 26, 2011 9:05 pm +# Version: 1.2.0.5 + +#version: 1 + +# Entry 1: o=Simpsons,dc=Test +dn: o=Simpsons,dc=Test +o: Simpsons +objectclass: organization +objectclass: top + +# Entry 3: cn=Simpsons-PG,o=Simpsons,dc=Test +dn: cn=Simpsons-PG,o=Simpsons,dc=Test +cn: simpsons-pg +gidnumber: 1000 +memberuid: maggie +memberuid: marg +memberuid: lisa +memberuid: homer +memberuid: bart +objectclass: posixGroup +objectclass: top + +# Entry 4: ou=People,o=Simpsons,dc=Test +dn: ou=People,o=Simpsons,dc=Test +objectclass: organizationalUnit +objectclass: top +ou: People + +# Entry 5: cn=Bart Simpson,ou=People,o=Simpsons,dc=Test +dn: cn=Bart Simpson,ou=People,o=Simpsons,dc=Test +cn: Bart Simpson +gidnumber: 1000 +givenname: Bart +homedirectory: /home/users/simpsons/bart +jpegphoto:: /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkS + Ew8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRg + yIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wA + ARCAB1AEEDASIAAhEBAxEB/8QAHAAAAgIDAQEAAAAAAAAAAAAAAAcFBgIDBA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wxCTO5j7KGNL606zZIAL7p3Rr+Qj4pjEImb5sNrZP3ewqnVbJf + WSunp3bpOZFuPdmE5+KxUwDJiuzrC1tBY2F06HdHqBtS8QXxJLfYGYZPDFWBUZ7Zx61ZPwbX802 + nRwznMjQ/F83jbYT/MMQ+zSt1HUZp7xJpvgtgBFDCJHZLcei7ieCQM9ucfU0/wd2MkEBeRSDDFt + bIxiSRt5X3CeFn5kjyrVimdTUkcUjt5w9tfyhNNVCorHvjH2W15n5dXuiiiq6Korj1PTbfVbJra + 43AZDI6HDIw7MD6j+48GiiuEAixSUFpPRkWn363Vxevc7HZ44hGERWYEFsZJzgnzAyScZqyLbQo + MLEgHtRRTIomRN3WCwSXHqujwaparE2I2Rt6MEVhnBXBVgQwIYgg+vkcGlPrP4lsNdk0u40UNOn + Jns7l4EPtGd4H30UVM17m/pNkx8bJBZ4B6rXpFjonUGsro8OmTW0uVk+lS3bSlQrBuEwq547nOP + Q05bKyt9PtEtrWPZEuSBkkkk5JJPJJJJJPJJoopOc5xu43SZGyMWYLDuXRRRRTU9f//Z +l: Springfield +mail: bart.simpson@example.com +o: The Simpsons +objectclass: inetOrgPerson +objectclass: posixAccount +objectclass: top +objectclass: shadowAccount +sn: Simpson +st: 742 Evergreen Terrace +telephonenumber: +1 939 555 3126 +uid: bart +uidnumber: 1000 +userpassword: eatmyshorts + +# Entry 6: cn=Homer Simpson,ou=People,o=Simpsons,dc=Test +dn: cn=Homer Simpson,ou=People,o=Simpsons,dc=Test +cn: Homer Simpson +gidnumber: 1000 +givenname: Homer +homedirectory: /home/users/simpsons/homer +jpegphoto:: /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0V + FhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw + 7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7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 1IHo5CAbW/N3Fj0OxwJ/xM4FavrYpazmZfWQprjNJJp5i3U+HT3UR/wYu0iqQB1G1uvnD34Byf0 + RS/s/8AE4VScccMU1bJFT5nLUUos0MjwPrAPVWuLki3XuCL7gki5dxvw/T5fBDLWOHRbMOS5t92 + FaSnhwKt+XGp+cNC9JSGsenDyvEHCaVKlQ2o7X3IAPUk+okXNeIsvjISuMuXSdNNYnLF/UH8xvg + xxQuHvlM4MybKXkmrpZK6e8s6JTPctbwxgkW8IsvW17nucbH5VsmqVMsnE8dIzdKePLJJUX2MzA + FveNPuw1ooJDjZtX+pybJc2tPUZfR1RYXErRKx94br9Rwi4h4SyemyOsrIRVwSUsLzRFKyXSrqp + 0nQWK/C3fFYo/lD4AZ5PK2WknU/9Tl0M0AmB7+CzA+sG/axPbeu484FzClaiqOKc0ejcjmQNASH + AN7FjHrtcD8rHxaDuQvASFML9+vfHvfFYp+PMiECLUVzNKoszCF7MRtq6d+vxxJ8/eHP66/2D/5 + YVpKp1N81zDOvTlf+8yfzHGYjzOZKnNKueI3jlnd1NrXBYkYzD1Kv/9k= +l: Springfield +mail: homer.simpson@example.com +o: The Simpsons +objectclass: inetOrgPerson +objectclass: posixAccount +objectclass: top +objectclass: shadowAccount +sn: Simpson +st: 742 Evergreen Terrace +telephonenumber: +1 939 555 3126 +uid: homer +uidnumber: 1001 +userpassword: mmm.beer + +# Entry 7: cn=Lisa Simpson,ou=People,o=Simpsons,dc=Test +dn: cn=Lisa Simpson,ou=People,o=Simpsons,dc=Test +cn: Lisa Simpson +gidnumber: 1000 +givenname: Lisa +homedirectory: /home/users/simpsons/lisa +jpegphoto:: /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0V + FhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw + 7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Oz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+ o0035+XyVRwfw2/E2crFIh8jTkPVN0I6R/Nv2Fz2vt6gKoVQAALADpiHk+TUWRZbHQUEWiJNyTu + zt1Zj1J/wDtsTcHQxCJtll8Rr3105kOg4DkF//Z +l: Springfield +mail: lisa.simpson@example.com +o: The Simpsons +objectclass: inetOrgPerson +objectclass: posixAccount +objectclass: top +objectclass: shadowAccount +sn: Simpson +st: 742 Evergreen Terrace +telephonenumber: +1 939 555 3126 +uid: lisa +uidnumber: 1002 +userpassword: brains + +# Entry 8: cn=Maggie Simpson,ou=People,o=Simpsons,dc=Test +dn: cn=Maggie Simpson,ou=People,o=Simpsons,dc=Test +cn: Maggie Simpson +gidnumber: 1000 +givenname: Maggie +homedirectory: /home/users/simpsons/maggie +jpegphoto:: /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0V + FhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw + 7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wA + ARCABmAE0DASIAAhEBAxEB/8QAGwAAAgIDAQAAAAAAAAAAAAAAAAUEBgIDBwH/xAA8EAACAQMDA + gUCBAIGCwAAAAABAgMABBEFEiExQQYTUWFxIoEUMpGhQoIHFRYkkqIjM0NEUlVicpSx0//EABoB + AAIDAQEAAAAAAAAAAAAAAAUGAgMEAAH/xAAwEQACAgIABAMGBQUAAAAAAAABAgADBBEFEiExE1G + BIjJBcbHBFBVSYfAjkaHR8f/aAAwDAQACEQMRAD8A7LRRRXToUV4x2qWwTgZwOpqtx+Jb+4iSaG + wthHIoZd9y27BGecIRWbIyqccA2trcmlbP7ojHXNRlsooYbZlFxcPhWYZ2KBlmx37D5YfBh2mvz + wsE1JIzGf8AeYgVC/8Acpzge4J9wBUCaa5vb03d0kUZEYjSON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Jpp5UijXq7sFUfc0qbxZoqkgXTyY + 6GOCRw3wQuD9q9Ck9hIs6r7x1HDMFBLEAepNc/1G+k1LUp55GJSOV4oV7IqttOPclck/A7Cstav + l1u+MjIWtIwFhjmTGT/ExU9DzjnsvvUUKqqFUBVAwAOABRbExiv8AUaLfEs8WA019t9/OaXsrdw + QYwNxJbBIznIIOOxycjpyfWt9FFEAiqdgQMXZhomRpGaK/hO47JlaMjPG4DcD+gf8Ab2rc1w1kU + vUOGtWE2R6Lyw+65H3rXNG8lzbsB9EbM5Oe+0qB/mJ+1biMgg96iV5gVPxklcoyuO4/3OkA5AIN + e1UtF8SfgoYLK/jVYI1EaXKHAUAYG8Hp0/MDjuQoq2jnkGl2ytqzphHem+u5eas7ErfiDw/falf + pdW0kEwVAqxXDlBEeclSFbrnnjPHXtSLU9M1LSbdbi9itdjPsHlXDOc4J6FB6HvRRWmi6xQFB6T + Bl4lLsXYdfmZX38UWEbsjx3G5Tg4RSM/4q3W2uW94GMEUmF67wF/8ARNFFEDa4HeA66ay+iJjce + IbS0k8uaObdjP0KCP3IqZot5/aG7NrpyYkAyTcHYAPtuz+1FFRe5whIMsqx62vCEdNyzJ4OuTGW + k1VVk9Et/oHzlsn7EfasP7H3v/Nbf/wm/wDrRRQ38Td+qMH5fi/oE2w+DBJlb7UWljPDRwwiMMO + 4JJY889CPtVoUBVCgYAGAKKKqexnO2O5oqorpGqxqf//Z +l: Springfield +mail: maggie.simpson@example.com +o: The Simpsons +objectclass: inetOrgPerson +objectclass: posixAccount +objectclass: top +objectclass: shadowAccount +sn: Simpson +st: 742 Evergreen Terrace +telephonenumber: +1 939 555 3126 +uid: maggie +uidnumber: 1003 +userpassword: dummy + +# Entry 9: cn=Marge Simpson,ou=People,o=Simpsons,dc=Test +dn: cn=Marge Simpson,ou=People,o=Simpsons,dc=Test +cn: Marge Simpson +gidnumber: 1000 +givenname: Marge +homedirectory: /home/users/simpsons/marge +jpegphoto:: R0lGODlhhABwAIcAAAAAAAICBQ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yHmFQACNdnUfqBZ9ED+rQgfKx3lWAH7LZwUxmHiH4AdjF3L + ERg0hYFuWkgsi4H5cVwgv8AOxl3gWEAGIl3hVwACkFncVtz+ogCywIAMwIHkukAO2oAoWcIGgEA + ZccAZX8AlchwgjIAlBUFnEZn4Y4QcohyzAcAqN4AhGJQyQEAFiwAiJEAM4kAu/0AUu/yAGhlAFJ + KABvsAF5OOBxJYNGMBuuOUKbGBtlWAuwbAKdfAGJ0gDq2ALFMBmeXiDTNEPQjAJj5dec+AGwuAI + KmJ8rrgUx2BmCGcprCADwcBErMdwu9gT9FACvPOLlvICH9MKH+BgredmgWAGzMgqcNAGlMIGYte + KPWYOC6Bg11gpsQACquILIaBk0whifsAGs6hiPWAJdXIJQICH/HaML1EOFNBY47gqo5AD5tIDxO + CNrtQHb9CPrVIDplAnr+ABwlZu+LgS5kABnIiQdVIKMoBoa2CEBBeRKhEI6GWRqxIMclInurABr + DgveohM+iSSq/IKGIALlNIIGmWMeGQMWizwjnbWBnUjDL7AASJyeR55EUEQhi6JLiMACf0SCbsk + lBDxlFAZlVI5lVIZEAA7 +l: Springfield +mail: marge.simpson@example.com +o: The Simpsons +objectclass: inetOrgPerson +objectclass: posixAccount +objectclass: top +objectclass: shadowAccount +sn: Simpson +st: 742 Evergreen Terrace +telephonenumber: +1 939 555 3126 +uid: marge +uidnumber: 1004 +userpassword: homie + +# Entry 2: cn=Simpsons-GOUN,o=Simpsons,dc=Test +dn: cn=Simpsons-GOUN,o=Simpsons,dc=Test +cn: simpsons-goun +objectclass: groupOfUniqueNames +objectclass: top +uniquemember: cn=Bart Simpson,ou=People,o=Simpsons,dc=Test +uniquemember: cn=Homer Simpson,ou=People,o=Simpsons,dc=Test +uniquemember: cn=Lisa Simpson,ou=People,o=Simpsons,dc=Test +uniquemember: cn=Maggie Simpson,ou=People,o=Simpsons,dc=Test +uniquemember: cn=Marge Simpson,ou=People,o=Simpsons,dc=Test + +# Entry 10: ou=Pets,o=Simpsons,dc=Test +dn: ou=Pets,o=Simpsons,dc=Test +objectclass: organizationalUnit +objectclass: top +ou: Pets + +# Entry 11: cn=Santas Little Helper,ou=Pets,o=Simpsons,dc=Test +dn: cn=Santas Little Helper,ou=Pets,o=Simpsons,dc=Test +cn: Santas Little Helper +givenname: Santas Little Helper +jpegphoto:: /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0V + FhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw + 7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wA + ARCABnAEsDASIAAhEBAxEB/8QAGwABAAIDAQEAAAAAAAAAAAAAAAQGAgUHAwH/xAA8EAACAQMCA + wYDAwkJAAAAAAABAgMABBEFIQYSMRMiQVFhcTKBkRRCogcVI5KhsbLB0TM0U2JygoPw8f/EABoB + AAIDAQEAAAAAAAAAAAAAAAAEAwUGAgH/xAArEQACAgECAwcEAwAAAAAAAAABAgADEQQxEhMhBXG + BkbHR8BQyQWFR4fH/2gAMAwEAAhEDEQA/AOwXNzDZ273FxIsUSDLOxwBXPdS46vYb+WeC4SOJMG + K0lQASKTygsSOYEnyPd8tjm+6lp8Op2MlpcKGjfHUZwQcg+4IqkrwRpdlqsrzS3sskcSFRAOaR+ + duUkbE4XAzjpk52pbUV2uBy2xj55Rih6kJ5i5+es834l1uWTtRfiLO4ijhQoP1gWP1+le4451N4 + RIlnbARFhIDzEzcpweXfuZx481e+ncP6d2WpT3ctxfrZzSRrHCzBsKoOCExzOc/uwBVbu9CWfig + WFleXFurElO0O4Zo1bDA/eAYg59M771WrVrk3sGSfn4j5s0T7Iek6nY3cV9ZxXUBzHKgZfY171A + 0TT20vSLeyZ+YxKFzU+ruVEUpSiEUpSiE1Or8U6HoEscWq6nBaySjKI5JJHngdB6naq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WMSSRdhHHHL2hPM3eJwBgYFY8RwCM3lqw+IwxkH/MkY/nVFqBzeJl2LKJc6c8vCtuFYy32Wu6 + MNDi0+6ExXsuRw1uxHT2qm3Sw2Ooube4NxbYwZCjDC+GcjqucH0OfA1lr2haZoZt1Mk6vJEJDI8 + rIoz4DA3O2/ltWlF06L+g1KRgeoaJ3H4lJ/bUmrWy4ctsE9zevWcaVkqPGuQO9f6m4vG7ExXJ2W + JsP6K2xPyOD7A1jBq35p4miuI5lSVIMcjnCSAse6x8Omx8PqDAtb63gtxFPcTTDBBQWpCY8gCCc + fOrRwFoenahb3r3FpK6u2ENwMtyYH/nsBSWh0dnNycrjY4945rNXXy8DDZ3GfaXnStVttXsxcW5 + II7skbfFG3kf8Au/UVOrnM9tdcD62kluzyWUgPIueqjdoz7DLL5YI6V0G3uI7m3jnicNHIoZSPE + GtBVYWyrbj5mUViBcMux+YnrWLorqVYZB6isqVNIpp7fhXR7W9+2RWaCXOc+tVPjjTp4dVa9NvP + PbS8j/oPiR1GN+mRsD710SvjIrjDKCPUVFbUtq8LSSqxq24llU4azxHpA/PNmZGhciNpkAYr4Zx + tmt7HommRLypYwgf6RU5VVBhQAPICvtSAYGJwTk5kMaTp4P8Ac4f1RUmOKOJeWNFQeQGKzpXs8l + c45WMaAJXKgxXEbKT5c3e/DzVr+F5p14asFy20WBt4Z2qJxleNrOswaHbEssbfpMdOY9foDj/c3 + lVzsbGKzsobdVGI1A6VCgzYz+Hln3xJXOEC+Pnj2kulKVNIopSlEIpSlEIpSlEJVOFtCktb26vb + 0rJcGRsMDnOT1q10pXgAAwJ6SScmf//Z +l: Springfield +o: The Simpsons +objectclass: inetOrgPerson +objectclass: top +sn: Simpson +st: 742 Evergreen Terrace +telephonenumber: +1 939 555 3126 diff --git a/tests/server/openldap/ldif/example-com.ldif b/tests/server/openldap/ldif/example-com.ldif new file mode 100644 index 0000000..7dd7d97 --- /dev/null +++ b/tests/server/openldap/ldif/example-com.ldif @@ -0,0 +1,297 @@ +dn: dc=com,dc=Test +dc: com +objectclass: dNSDomain + +# LDIF Export for dc=example,dc=com,dc=Test +# Server: C5: OpenLDAP 2.3.27: config (c5dev.leenooks.vpn) +# Search Scope: sub +# Search Filter: (objectClass=*) +# Total Entries: 15 +# +# Generated by phpLDAPadmin (http://phpldapadmin.sourceforge.net) on April 26, 2011 9:25 pm +# Version: 1.2.0.5 + +#version: 1 + +# Entry 1: dc=example,dc=com,dc=Test +dn: dc=example,dc=com,dc=Test +dc: example +objectclass: dNSDomain + +# Entry 2: c=AU,dc=example,dc=com,dc=Test +dn: c=AU,dc=example,dc=com,dc=Test +c: AU +description: Australia +objectclass: country +objectclass: top + +# Entry 3: c=CN,dc=example,dc=com,dc=Test +dn: c=CN,dc=example,dc=com,dc=Test +c: CN +objectclass: country +objectclass: top + +# Entry 4: cn=你好,c=CN,dc=example,dc=com,dc=Test +dn:: Y2495L2g5aW9LGM9Q04sZGM9ZXhhbXBsZSxkYz1jb20sZGM9VGVzdA== +cn:: 5L2g5aW9 +gidnumber: 200 +objectclass: posixGroup +objectclass: top + +# Entry 5: c=DE,dc=example,dc=com,dc=Test +dn: c=DE,dc=example,dc=com,dc=Test +c: DE +description: Germany +objectclass: country +objectclass: top + +# Entry 6: c=ES,dc=example,dc=com,dc=Test +dn: c=ES,dc=example,dc=com,dc=Test +c: ES +objectclass: country +objectclass: top + +# Entry 7: c=FR,dc=example,dc=com,dc=Test +dn: c=FR,dc=example,dc=com,dc=Test +c: FR +description: France +objectclass: country +objectclass: top + +# Entry 8: c=GB,dc=example,dc=com,dc=Test +dn: c=GB,dc=example,dc=com,dc=Test +c: GB +description: Great Britain +objectclass: country +objectclass: top + +# Entry 9: c=IT,dc=example,dc=com,dc=Test +dn: c=IT,dc=example,dc=com,dc=Test +c: IT +objectclass: country +objectclass: top + +# Entry 10: c=NO,dc=example,dc=com,dc=Test +dn: c=NO,dc=example,dc=com,dc=Test +c: NO +description: Norway +objectclass: country +objectclass: top + +# Entry 11: c=RU,dc=example,dc=com,dc=Test +dn: c=RU,dc=example,dc=com,dc=Test +c: RU +objectclass: country +objectclass: top + +# Entry 12: cn=Человеки,c=RU,dc=example,dc=com,dc=Test +dn:: Y2490KfQtdC70L7QstC10LrQuCxjPVJVLGRjPWV4YW1wbGUsZGM9Y29tLGRjPVRlc3Q= +cn:: 0KfQtdC70L7QstC10LrQuA== +objectclass: inetOrgPerson +objectclass: top +sn:: 0KfQtdC70L7QstC10LrQuA== + +# Entry 13: cn=Дед Логопед,cn=Человеки,c=RU,dc=example,... +dn:: Y2490JTQtdC0INCb0L7Qs9C+0L/QtdC0LGNuPdCn0LXQu9C+0LLQtdC60LgsYz1SVSxkYz1 + leGFtcGxlLGRjPWNvbSxkYz1UZXN0Cg== +cn:: 0JTQtdC0INCb0L7Qs9C+0L/QtdC0 +givenname:: 0JTQtdC0 +jpegphoto:: /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoH + BwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQk + UDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wA + ARCAAwAEADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAA + gEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcY + GRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipK + TlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8v + P09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFB + AQ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aP1qLXPhtqOiaVdQzXV4hQ/PhQMcknFeXeAdRnSzRxG88UxGx9mVJPTnHGcGuk1+4h1LSnij + RHkYlVjk4kVvQHHrQB+f8A4m/Zy8Y380kOnapokEZGS91cvk+wAQ1zq/svfEC5/cp4i0O2KHaR5 + UzsT/3yM19ea9aW8R3y3ElndKSWhdBtkB6HBxj6g1w+tarcxRRXLxS3mmxuE3ohCA9SNwwwP1oA + 8Ksv2WvHGAl143s40xjba6cznn/eYVFrX7LRuYUjbxa817nkTWB2MPqrEj9a9jXxZqt4DEkqoVb + 93DKN3b+8MEHjjI9Kq6j421mwSNL64ESSqytuYOj+gYdvqKAPAvF/wOv9EtR5z2tyEG3fDuX9GU + YryPXfB15axs62ryxhtu+Ebxn6rmvpXW9cilF00+piYDO17cOVK9Mc9vqO1eQ+LNVSOd3g3NAvJ + MmUJ+vP9aAP/9k= +objectclass: inetOrgPerson +objectclass: top +sn:: 0JvQvtCz0L7Qv9C10LQ= + +# Entry 14: c=SE,dc=example,dc=com,dc=Test +dn: c=SE,dc=example,dc=com,dc=Test +c: SE +objectclass: country +objectclass: top + +# Entry 15: c=US,dc=example,dc=com,dc=Test +dn: c=US,dc=example,dc=com,dc=Test +c: US +description: United States of America +objectclass: country +objectclass: top + +# LDIF Export for dc=example,dc=com,dc=Test +# Server: C5: OpenLDAP 2.3.27: config (c5dev.leenooks.vpn) +# Search Scope: sub +# Search Filter: (objectClass=*) +# Total Entries: 23 +# +# Generated by phpLDAPadmin (http://phpldapadmin.sourceforge.net) on April 26, 2011 9:13 pm +# Version: 1.2.0.5 + +#version: 1 + +# Entry 3: ou=Bad DNs,dc=example,dc=com,dc=Test +dn: ou=Bad DNs,dc=example,dc=com,dc=Test +objectclass: organizationalUnit +ou: Bad DNs + +# Entry 4: c=double plus \2B\2B,ou=Bad DNs,dc=example,dc=com,dc=Test +#dn: c=double plus ++,ou=Bad DNs,dc=example,dc=com,dc=Test +#c: double plus ++ +#objectclass: country + +# Entry 5: c=end dollar$,ou=Bad DNs,dc=example,dc=com,dc=Test +#dn: c=end dollar$,ou=Bad DNs,dc=example,dc=com,dc=Test +#c: end dollar$ +#objectclass: country + +# Entry 6: sn=sign@at+uid=multi-mixed,ou=Bad DNs,dc=example,dc=com,dc=Test +dn: sn=sign@at+uid=multi-mixed,ou=Bad DNs,dc=example,dc=com,dc=Test +cn: Test +objectclass: inetOrgPerson +sn: sign@at +uid: multi-mixed + +# Entry 7: uid=angle\3Cleft,ou=Bad DNs,dc=example,dc=com,dc=Test +dn: uid=angle\3Cleft,ou=Bad DNs,dc=example,dc=com,dc=Test +cn: Test +objectclass: inetOrgPerson +sn: Test +uid: angleright + +# Entry 9: uid=brace(left,ou=Bad DNs,dc=example,dc=com,dc=Test +dn: uid=brace(left,ou=Bad DNs,dc=example,dc=com,dc=Test +cn: Test +objectclass: inetOrgPerson +sn: Test +uid: brace(left + +# Entry 10: uid=brace)right,ou=Bad DNs,dc=example,dc=com,dc=Test +dn: uid=brace)right,ou=Bad DNs,dc=example,dc=com,dc=Test +cn: Test +objectclass: inetOrgPerson +sn: Test +uid: brace)right + +# Entry 11: uid=colon:full,ou=Bad DNs,dc=example,dc=com,dc=Test +dn: uid=colon:full,ou=Bad DNs,dc=example,dc=com,dc=Test +cn: Test +objectclass: inetOrgPerson +sn: Test +uid: colon:full + +# Entry 12: uid=colon\3Bsemi,ou=Bad DNs,dc=example,dc=com,dc=Test +dn: uid=colon\3Bsemi,ou=Bad DNs,dc=example,dc=com,dc=Test +cn: Test +objectclass: inetOrgPerson +sn: Test +uid: colon;semi + +# Entry 13: uid=multi+uid=sign@at,ou=Bad DNs,dc=example,dc=com,dc=Test +#dn: uid=multi+uid=sign@at,ou=Bad DNs,dc=example,dc=com,dc=Test +#cn: Test +#objectclass: inetOrgPerson +#sn: Test +#uid: multi +#uid: sign@at + +# Entry 14: uid=multi+uid=value,ou=Bad DNs,dc=example,dc=com,dc=Test +#dn: uid=multi+uid=value,ou=Bad DNs,dc=example,dc=com,dc=Test +#cn: Test +#objectclass: inetOrgPerson +#sn: Test +#uid: multi +#uid: value + +# Entry 15: uid=quote\22double,ou=Bad DNs,dc=example,dc=com,dc=Test +dn: uid=quote\22double,ou=Bad DNs,dc=example,dc=com,dc=Test +cn: Test +objectclass: inetOrgPerson +sn: Test +uid: quote"double + +# Entry 16: uid=quote'single,ou=Bad DNs,dc=example,dc=com,dc=Test +dn: uid=quote'single,ou=Bad DNs,dc=example,dc=com,dc=Test +cn: Test +objectclass: inetOrgPerson +sn: Test +uid: quote'single + +# Entry 17: uid=sign%percent,ou=Bad DNs,dc=example,dc=com,dc=Test +dn: uid=sign%percent,ou=Bad DNs,dc=example,dc=com,dc=Test +cn: Test +objectclass: inetOrgPerson +sn: Test +uid: sign%percent + +# Entry 18: uid=sign\2Bplus,ou=Bad DNs,dc=example,dc=com,dc=Test +dn: uid=sign\2Bplus,ou=Bad DNs,dc=example,dc=com,dc=Test +cn: Test +objectclass: inetOrgPerson +sn: Test +uid: sign+plus + +# Entry 19: uid=sign\2Ccomma,ou=Bad DNs,dc=example,dc=com,dc=Test +dn: uid=sign\2Ccomma,ou=Bad DNs,dc=example,dc=com,dc=Test +cn: Test +objectclass: inetOrgPerson +sn: Test +uid: sign,comma + +# Entry 20: uid=sign\3Bsemicolon@at,ou=Bad DNs,dc=example,dc=com,dc=Test +dn: uid=sign\3Bsemicolon@at,ou=Bad DNs,dc=example,dc=com,dc=Test +cn: Test +objectclass: inetOrgPerson +sn: Test +uid: sign;semicolon@at + +# Entry 21: uid=sign\3Dequal,ou=Bad DNs,dc=example,dc=com,dc=Test +dn: uid=sign\3Dequal,ou=Bad DNs,dc=example,dc=com,dc=Test +cn: Test +objectclass: inetOrgPerson +sn: Test +uid: sign=equal + +# Entry 22: uid=sign?question,ou=Bad DNs,dc=example,dc=com,dc=Test +dn: uid=sign?question,ou=Bad DNs,dc=example,dc=com,dc=Test +cn: Test +objectclass: inetOrgPerson +sn: Test +uid: sign?question + +# Entry 23: uid=sign@at,ou=Bad DNs,dc=example,dc=com,dc=Test +dn: uid=sign@at,ou=Bad DNs,dc=example,dc=com,dc=Test +cn: Test +objectclass: inetOrgPerson +sn: Test +uid: sign@at diff --git a/tests/server/openldap/ldif/test-security.ldif b/tests/server/openldap/ldif/test-security.ldif new file mode 100644 index 0000000..1df1430 --- /dev/null +++ b/tests/server/openldap/ldif/test-security.ldif @@ -0,0 +1,8 @@ +dn: olcDatabase={1}mdb,cn=config +changetype: modify +delete: olcAccess +- +add: olcAccess +olcAccess: to attrs=userPassword,shadowLastChange by self write by dn="cn=admin,dc=Test" write by anonymous auth by * read +olcAccess: to * by dn.exact=gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth manage by * break +olcAccess: to * by self write by dn="cn=admin,dc=Test" write by * read