From: rubin Date: Fri, 9 Feb 2007 03:20:00 +0000 (+0000) Subject: adding some extra stuff we are using for ldap X-Git-Tag: 1.9~367 X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/commitdiff_plain/bf7547765bbc5d5a2292b74da5ab2f4845a38d2e?hp=73d4cc91d7e6df980ab421c7b3b44dc94f0b396a adding some extra stuff we are using for ldap --- diff --git a/tools/ldap/inetorganon.schema b/tools/ldap/inetorganon.schema new file mode 100644 index 0000000..4d91e4a --- /dev/null +++ b/tools/ldap/inetorganon.schema @@ -0,0 +1,15 @@ +# This schema is a work in progress +# +# on debian, you would copy it to your /etc/ldap/schema directory, and add an include for it in ldap.conf +# +objectclass ( 1.3.6.1.4.2.111.114.103.46.97.102.116.101.114.110.101.116.1.10 + NAME 'inetOrgAnonAccount' + DESC 'Anonymous Account' + STRUCTURAL + MAY ( + mail $ displayName $ uidNumber $ gidNumber $ cn $ sn $ givenName $ + userPassword $ title $ loginShell $ gecos $ displayName ) + MUST ( + uid ) + ) + diff --git a/tools/ldap/ldap_convert.php b/tools/ldap/ldap_convert.php new file mode 100755 index 0000000..6136026 --- /dev/null +++ b/tools/ldap/ldap_convert.php @@ -0,0 +1,133 @@ +#!/usr/bin/php +