From 67cdfbf38f2b7c04269d97f65c1164120a63f19d Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Sun, 16 Jun 2013 09:01:44 +0200 Subject: [PATCH] LSexample : Fixed schema and added it in /etc/ldap/schema in Debian package --- debian/dirs | 1 + debian/rules | 3 + lsexample/lsexample.ldif | 500 ++++++++++-------- lsexample/schema/lsexample.schema | 12 +- lsexample/slapd/slapd.conf | 6 +- .../{cn={5}ls.ldif => cn={5}lsexample.ldif} | 18 +- .../slapd.d/cn=config/olcDatabase={1}hdb.ldif | 16 +- 7 files changed, 323 insertions(+), 233 deletions(-) rename lsexample/slapd/slapd.d/cn=config/cn=schema/{cn={5}ls.ldif => cn={5}lsexample.ldif} (84%) diff --git a/debian/dirs b/debian/dirs index f5043290..0edb2525 100644 --- a/debian/dirs +++ b/debian/dirs @@ -1,4 +1,5 @@ etc/ldapsaisie +etc/ldap/schema usr/share/doc/ldapsaisie var/tmp/ldapsaisie var/log/ldapsaisie diff --git a/debian/rules b/debian/rules index dbcf7654..5e63a9f7 100755 --- a/debian/rules +++ b/debian/rules @@ -35,6 +35,9 @@ install: build rm -fr $(CURDIR)/debian/ldapsaisie/usr/share/ldapsaisie/tmp dh_link /var/tmp/ldapsaisie /usr/share/ldapsaisie/tmp + + cp -f $(CURDIR)/lsexample/schema/lsexample.schema $(CURDIR)/debian/ldapsaisie/etc/ldap/schema/ + cp -f $(CURDIR)/lsexample/schema/lsexample.ldif $(CURDIR)/debian/ldapsaisie/etc/ldap/schema/ # Build architecture-independent files here. diff --git a/lsexample/lsexample.ldif b/lsexample/lsexample.ldif index abeed799..f471d13c 100644 --- a/lsexample/lsexample.ldif +++ b/lsexample/lsexample.ldif @@ -4,6 +4,17 @@ objectClass: organization o: ls structuralObjectClass: organization +dn: sambaDomainName=LS,o=ls +objectClass: sambaDomain +objectClass: sambaUnixIdPool +objectClass: sambaSidEntry +objectClass: top +structuralObjectClass: sambaSidEntry +sambaDomainName: LS +sambaSID: S-1-5-21-4207250186-2406131440-3849861866 +uidNumber: 800000 +gidNumber: 800002 + dn: ou=sysaccounts,o=ls objectClass: top objectClass: organizationalUnit @@ -14,22 +25,22 @@ dn: uid=mail,ou=sysaccounts,o=ls objectClass: top objectClass: lssysaccount uid: mail -structuralObjectClass: lssysaccount userPassword: toto +structuralObjectClass: lssysaccount dn: uid=samba,ou=sysaccounts,o=ls objectClass: top objectClass: lssysaccount uid: samba -structuralObjectClass: lssysaccount userPassword: toto +structuralObjectClass: lssysaccount dn: uid=ldapsaisie,ou=sysaccounts,o=ls objectClass: top objectClass: lssysaccount uid: ldapsaisie -structuralObjectClass: lssysaccount userPassword: toto +structuralObjectClass: lssysaccount dn: ou=groups,o=ls objectClass: top @@ -46,8 +57,8 @@ cn: adminldap gidNumber: 70000 sambaSID: S-1-5-21-2421470416-3566881284-3047381809-70000 sambaGroupType: 2 -structuralObjectClass: lsgroup -uniqueMember: uid=eeggs,ou=people,o=ls +structuralObjectClass: posixGroup +uniqueMember: uid=admin,ou=people,o=ls dn: cn=invite,ou=groups,o=ls objectClass: top @@ -58,7 +69,7 @@ cn: invite gidNumber: 101009 sambaSID: S-1-5-21-2421470416-3566881284-3047381809-203019 sambaGroupType: 2 -structuralObjectClass: lsgroup +structuralObjectClass: posixGroup dn: cn=ls,ou=groups,o=ls objectClass: top @@ -69,10 +80,8 @@ cn: ls gidNumber: 102001 sambaSID: S-1-5-21-2421470416-3566881284-3047381809-205003 sambaGroupType: 2 -structuralObjectClass: lsgroup -uniqueMember: uid=hmartin,ou=people,o=ls -uniqueMember: uid=ls,ou=people,o=ls -uniqueMember: uid=eeggs,ou=people,o=ls +structuralObjectClass: posixGroup +uniqueMember: uid=invite,ou=people,o=ls dn: cn=informatique,ou=groups,o=ls objectClass: top @@ -82,8 +91,10 @@ objectClass: sambaGroupMapping gidNumber: 102009 sambaSID: S-1-5-21-2421470416-3566881284-3047381809-205019 sambaGroupType: 2 -structuralObjectClass: lsgroup cn: informatique +structuralObjectClass: posixGroup +uniqueMember: uid=eeggs,ou=people,o=ls +uniqueMember: uid=admin,ou=people,o=ls dn: cn=direction,ou=groups,o=ls objectClass: top @@ -94,7 +105,8 @@ cn: direction gidNumber: 102007 sambaSID: S-1-5-21-2421470416-3566881284-3047381809-205015 sambaGroupType: 2 -structuralObjectClass: lsgroup +structuralObjectClass: posixGroup +uniqueMember: uid=hmartin,ou=people,o=ls uniqueMember: uid=eeggs,ou=people,o=ls dn: cn=administratif,ou=groups,o=ls @@ -106,7 +118,7 @@ cn: administratif gidNumber: 102005 sambaSID: S-1-5-21-2421470416-3566881284-3047381809-205011 sambaGroupType: 2 -structuralObjectClass: lsgroup +structuralObjectClass: posixGroup dn: cn=communication,ou=groups,o=ls objectClass: top @@ -117,7 +129,7 @@ cn: communication gidNumber: 102003 sambaSID: S-1-5-21-2421470416-3566881284-3047381809-205007 sambaGroupType: 2 -structuralObjectClass: lsgroup +structuralObjectClass: posixGroup dn: ou=people,o=ls objectClass: top @@ -125,179 +137,6 @@ objectClass: organizationalUnit ou: people structuralObjectClass: organizationalUnit -dn: uid=eeggs,ou=people,o=ls -objectClass: top -objectClass: lspeople -objectClass: posixAccount -objectClass: sambaSamAccount -uidNumber: 100000 -sambaSID: S-1-5-21-2421470416-3566881284-3047381809-201000 -structuralObjectClass: lspeople -facsimileTelephoneNumber: 030000000 -lsAllowedServices: MAIL -lsAllowedServices: FTP -description: Utilisateur test Easter-eggs -cn: Easter Eggs -sambaPrimaryGroupSID: S-1-5-21-2421470416-3566881284-3047381809-205019 -personalTitle: M. -loginShell: /bin/false -sn: Eggs -givenName: Easter -jpegPhoto:: iVBORw0KGgoAAAANSUhEUgAAALUAAAC4CAIAAAAqrzogAAAAA3NCSVQICAjb4U/gAA - AbHklEQVR4Xu2d25Ncx13HZ/dI1mpXl5UcY1uSLVlgORceiOPcwIEqUlxywwEnxYMfqKLIi18oHnj - mD+CBN7+E4oUqqqAM2BViKCqBmHBxYmERWwnxpRDBiiwjS1pdVhaWzi7fmd/sb37z+3X36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naVvJQWYRrwudvnD+m4mLlRJYU5CPZ/yvDv63cQCATDY - T54qdeZA0K61o4eTjDiSgCEWj15ptv5oVDeRPyZQmJvXp1ckVqJxq57KC2PLMoVnhykV088JUr9JZ - Mo+MTJybfqkslDz38ITpALOB2+lPK53qb7/oWTDilQ9HXXhsup30Jw40IlizT1/FO4bkKVeSoLQpp - tCF/4EXhjBe7vHnHjRtig2G00mKZJAcyNzY2Ll68eOedd45LxD0uatkhgeBjmzw43xz97ctKWzZTO - pzhoMp0ShXGW001kT9in5hwwLEVXWdUJqqgWjkOImcBbbzolzREFPE6dCjHdyyvrKwAjqeffnrKnN - EbaTWTJ+evk99YQjUnHM5l6bByuqmskHA45xQQQH84iz+VVCiRxEdZ1YydX5L9vyz1putGGTYnp1T - 46quvUtuTz7/Af2Np2NXxLOi4PDcchAUTKdDEFINAqgCE3wKOV1555fHHH3/uucnjGhZ3yklEiRRI - iMg16QiC8c0+zuQhr24sHAQBg0IepkLuF4g89NBDUo3k0Phe4LCx9myUsxgORJpeLEgSrRAZwzHat - xm+yqUQq3qg5NSpUzTf2Tp5JxdI+K+t10Sa82KeslOSnD8//jD247//Epq89K1lakg0+DIH6sjkIR - ezOGUzB4NiT9EOLyPim/Stc2xJ9vpDwoH23CsPa+jHmVYhwpqBKjR85JFHTp48SUogkTzyC5+wCpU - tGVH44IMPYl546qmnnnzyybICB4PHHpv8btVQmgsO2UsAQQlHfPKwBMjuiIZwlh3NMh9Kz4kUGOeX - 2M9vaY5QWYvHqNMA3wiOU6xordGa99lnnwUfzzwz+sl7Ec509MolGn73ra6cVjuFf+/be376k1d9c - FATlTyO/NZFKo/sBZRMRix0Hn0RCOLFk/tIWu4PeDPyR7L/l9hgCYeiVSrH9TEL2s88ZQrhms4DfC - 7qW5o461MhJbMnnnhiXGd6rOMSI9DWd0omSK4TDtu5c+doFYwp5jt/+DBaBeDgRFLyJmQZBUrY0qJ - RLv8fn42+8qj1xzSDA4KjcHoAIj5tKilH5IYagowtOIYlo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XXv0Oikj0ftzLLsyIlWPkoOXnyJNYTFgi - qLAG1sOLLgIgq2YvqMSad+OCgp3bZRU79baF3ENiqHSphLyyufMwZVGdhMQNPnz49uvNr+IIESOYw - 45heVC47jTlGK8ZIKUxvLWTQwcnH0aNHIS0vHGiyPfngSG+sfxdOASVUorxcDAhq9frrrzMWclVB1 - yMEBP27Bcnwfy5hfVglquZTiVAI64861cIx1LYAUz4bulJOuIR9bW05d+4cAsBM0OKUxisq0ynIJF - boAMfqUtZXTimH/rVdowSgy3KeQGUK4atZeUAP3hWO8jzy4QzAsHD3Izb8RACVMx8MB5eriQCRJhQ - kH1SoSvgtHWzeeNGr3vQJhQhUsnwcOXIEjQrDgbY9H5HhaGk1osQJx+HDh0vCgeZtuT+5pe5vvVqU - G5B71MqjEjh6Plof/wgFCZHl5WXs6xMlFT4h0c8vERHoSBW161Nm2cEWg4+phXFHXNGr6fZAsmd8J - V9VWN18VN6N25q+tPUecPPRerV7BRvyQH/90pCjO9pNz0dHA9eQ2tvq89uGfDZP3fT5Y56ind/Wno - /8PpunFj0f8xTt/Lb+P/9KYhzCyOqxAAAAAElFTkSuQmCC -uid: eeggs -homeDirectory: /home/eeggs -gidNumber: 102009 -userPassword: toto -sambaLMPassword: BAC14D04669EE1D1AAD3B435B51404EE -sambaNTPassword: FBBF55D0EF0E34D39593F55C5F2CA5F2 -mail: eeggs@ls.com - -dn: uid=invite,ou=people,o=ls -objectClass: top -objectClass: lspeople -objectClass: posixAccount -objectClass: sambaSamAccount -uid: invite -cn: Utilisateur de passage -givenName: Utilisateur -sn: de passage -homeDirectory: /home/invite -loginShell: /bin/false -uidNumber: 101012 -gidNumber: 101009 -userPassword: toto -sambaAcctFlags: [U ] -sambaPrimaryGroupSID: S-1-5-21-2421470416-3566881284-3047381809-203019 -sambaSID: S-1-5-21-2421470416-3566881284-3047381809-203024 -lsAllowedServices: MAIL -lsAllowedServices: SAMBA -lsAllowedServices: FTP -mail: invite@ldapsaisie.biz -structuralObjectClass: lspeople -sambaNTPassword: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX -sambaLMPassword: NO PASSWORDXXXXXXXXXXXXXXXXXXXXX - dn: uid=hmartin,ou=people,o=ls objectClass: top objectClass: lspeople @@ -309,45 +148,47 @@ loginShell: /bin/false uidNumber: 101022 sambaAcctFlags: [U ] sambaSID: S-1-5-21-2421470416-3566881284-3047381809-203044 -structuralObjectClass: lspeople givenName: Henri sn: MARTIN gidNumber: 102001 -mail: henri.martin@ldapsaisie.biz lsAllowedServices: MAIL lsAllowedServices: SAMBA lsAllowedServices: FTP cn: Henri MARTIN sambaPrimaryGroupSID: S-1-5-21-2421470416-3566881284-3047381809-205003 personalTitle: M. +lsGodfatherDn: uid=eeggs,ou=people,o=ls userPassword: toto -sambaLMPassword: AAD3B435B51404EEAAD3B435B51404EE -sambaNTPassword: 31D6CFE0D16AE931B73C59D7E0C089C0 +sambaLMPassword: 0182BD0BD4444BF836077A718CCDF409 +sambaNTPassword: 259745CB123A52AA2E693AAACCA2DB52 +structuralObjectClass: lspeople +mail: henri.martin@ls.com -dn: uid=secretariat,ou=people,o=ls +dn: uid=s.ldapsaisie,ou=people,o=ls objectClass: top objectClass: lspeople objectClass: posixAccount objectClass: sambaSamAccount -uid: secretariat -homeDirectory: /home/secretariat loginShell: /bin/false uidNumber: 101036 userPassword: toto sambaAcctFlags: [U ] sambaSID: S-1-5-21-2421470416-3566881284-3047381809-203072 -structuralObjectClass: lspeople sambaNTPassword: 8DB716B655D71DF6BD056A41B22B9EA9 sambaLMPassword: 6CE56DC112C920EF0F5E44C88BF9DC39 givenName: Secretariat -sn: Secretariat -gidNumber: 70513 mail: secretariat@ldapsaisie.biz lsAllowedServices: MAIL lsAllowedServices: SAMBA lsAllowedServices: FTP -cn: Secretariat Secretariat sambaPrimaryGroupSID: S-1-5-21-2421470416-3566881284-3047381809-513 +structuralObjectClass: lspeople +personalTitle: M. +sn: LdapSaisie +cn: Secretariat LdapSaisie +gidNumber: 70000 +uid: s.ldapsaisie +homeDirectory: /home/s.ldapsaisie dn: uid=ls,ou=people,o=ls objectClass: top @@ -363,16 +204,18 @@ sambaAcctFlags: [U ] sambaLMPassword: 6E72264E11F708C0AAD3B435B51404EE sambaNTPassword: 8D9B9B87EE8C0423691F4F0E00C5BDE1 sambaSID: S-1-5-21-2421470416-3566881284-3047381809-203136 -structuralObjectClass: lspeople -givenName: _ -sn: LdapSaisie gidNumber: 102001 -mail: ls@ldapsaisie.biz lsAllowedServices: MAIL lsAllowedServices: SAMBA lsAllowedServices: FTP -cn: LS sambaPrimaryGroupSID: S-1-5-21-2421470416-3566881284-3047381809-205003 +structuralObjectClass: lspeople +personalTitle: M. +givenName: Ldap +sn: Saisie +cn: LdapSaisie +mail: ldap.saisie@ls.com +description: toto dn: uid=erwpa,ou=people,o=ls uid: erwpa @@ -385,7 +228,6 @@ sambaAcctFlags: [U ] homeDirectory: /home/erwpa loginShell: /bin/false sambaSID: S-1-5-21-2421470416-3566881284-3047381809-203164 -structuralObjectClass: lspeople sn: PAGEARD gidNumber: 102009 mail: erwan.page@ldapsaisie.biz @@ -396,9 +238,11 @@ cn: Erwan PAGE sambaPrimaryGroupSID: S-1-5-21-2421470416-3566881284-3047381809-205019 personalTitle: M. givenName: Erwan +lsGodfatherDn: uid=eeggs,ou=people,o=ls userPassword: toto -sambaLMPassword: BAC14D04669EE1D1AAD3B435B51404EE -sambaNTPassword: FBBF55D0EF0E34D39593F55C5F2CA5F2 +sambaLMPassword: B3298C30FB103112C187B8085FE1D9DF +sambaNTPassword: 59D2D06177D147726BBA6AECBCB080BC +structuralObjectClass: lspeople dn: uid=eeggs2,ou=people,o=ls objectClass: top @@ -510,15 +354,15 @@ objectClass: lsgroup objectClass: posixGroup cn: test gidNumber: 102010 -structuralObjectClass: lsgroup +structuralObjectClass: posixGroup dn: cn=group1,ou=groups,ou=company1,ou=companies,o=ls objectClass: lsgroup objectClass: posixGroup cn: group1 gidNumber: 102011 -structuralObjectClass: lsgroup uniqueMember: uid=user1,ou=people,ou=company1,ou=companies,o=ls +structuralObjectClass: posixGroup dn: uid=user1,ou=people,ou=company1,ou=companies,o=ls objectClass: top @@ -563,3 +407,243 @@ sambaLMPassword: C53D7C8685D27214AAD3B435B51404EE sambaNTPassword: C549EE84021E5E8372E10CEDEAFD02A8 structuralObjectClass: lspeople +dn: ou=company4,ou=companies,o=ls +objectClass: top +objectClass: lscompany +ou: company4 +description: test +structuralObjectClass: lscompany + +dn: ou=people,ou=company4,ou=companies,o=ls +objectClass: top +objectClass: organizationalUnit +ou: people +structuralObjectClass: organizationalUnit + +dn: ou=groups,ou=company4,ou=companies,o=ls +objectClass: top +objectClass: organizationalUnit +ou: groups +structuralObjectClass: organizationalUnit + +dn: cn=testpasdn,ou=groups,o=ls +objectClass: lsgroup +objectClass: posixGroup +cn: testpasdn +gidNumber: 102012 +structuralObjectClass: posixGroup +uniqueMember: uid=erwpa,ou=people,o=ls +uniqueMember: uid=eeggs,ou=people,o=ls +uniqueMember: uid=ls,ou=people,o=ls + +dn: uid=eeggs,ou=people,o=ls +objectClass: top +objectClass: lspeople +objectClass: posixAccount +objectClass: sambaSamAccount +loginShell: /bin/bash +personalTitle: M. +uidNumber: 10000008 +sn: Eggs +gidNumber: 102009 +sambaSID: S-1-5-21-2421470416-3566881284-3047381809-20001016 +userPassword: toto +sambaLMPassword: A466CD4F80A06085E68AA26A841A86FA +sambaNTPassword: 1F2029FF8619E2FEE2189C5A9653BDD5 +structuralObjectClass: lspeople +uid: eeggs +givenName: Easter +cn: Easter Eggs +homeDirectory: /home/eeggs +mail: easter.eggs@ls.com + +dn: cn=secretariat,ou=groups,o=ls +objectClass: lsgroup +objectClass: posixGroup +cn: secretariat +gidNumber: 102013 +uniqueMember: uid=hmartin,ou=people,o=ls +structuralObjectClass: posixGroup + +dn: uid=invite,ou=people,o=ls +objectClass: top +objectClass: lspeople +objectClass: posixAccount +objectClass: sambaSamAccount +givenName: Utilisateur +loginShell: /bin/false +personalTitle: M. +uid: invite +uidNumber: 10000012 +sn: de passage +cn: Utilisateur de passage +gidNumber: 101009 +sambaSID: S-1-5-21-2421470416-3566881284-3047381809-20001024 +homeDirectory: /home/invite +mail: invite@ldapsaisie.biz +userPassword: toto +sambaLMPassword: 0182BD0BD4444BF836077A718CCDF409 +sambaNTPassword: 259745CB123A52AA2E693AAACCA2DB52 +structuralObjectClass: lspeople + +dn: uid=demo,ou=people,o=ls +objectClass: top +objectClass: lspeople +objectClass: posixAccount +objectClass: sambaSamAccount +givenName: Demonstration +loginShell: /bin/false +personalTitle: M. +uid: demo +uidNumber: 10000014 +sn: LdapSaisie +cn: Demonstration LdapSaisie +gidNumber: 70000 +sambaSID: S-1-5-21-2421470416-3566881284-3047381809-20001028 +homeDirectory: /home/demo +mail: demo@ls.com +description:: VXRpbGlzYXRldXIgZGUgZMOpbW9uc3RyYXRpb24= +userPassword: toto +sambaLMPassword: 193DB29CB51FD313AAD3B435B51404EE +sambaNTPassword: 527C9C819B286EFB8EC4EBB5B5AE71CF +structuralObjectClass: lspeople + +dn: uid=admin,ou=people,o=ls +objectClass: top +objectClass: lspeople +objectClass: posixAccount +objectClass: sambaSamAccount +givenName: Administration +loginShell: /bin/false +personalTitle: M. +uid: admin +uidNumber: 10000015 +sn: LdapSaisie +cn: Administration LdapSaisie +gidNumber: 70000 +sambaSID: S-1-5-21-2421470416-3566881284-3047381809-20001030 +homeDirectory: /home/admin +userPassword: toto +sambaLMPassword: F0D412BD764FFE81AAD3B435B51404EE +sambaNTPassword: 209C6174DA490CAEB422F3FA5A7AE634 +structuralObjectClass: lspeople +description:: VXRpbGlzYXRldXIgZGUgZMOpbW9uc3RyYXRpb24gOiBBZG1pbmlzdHJhdGV1cg== +jpegPhoto:: iVBORw0KGgoAAAANSUhEUgAAAOkAAAAyCAYAAAC5zvwPAAAABHNCSVQICAgIfAhkiA + AAAAlwSFlzAAAevgAAHr4BkbqOfgAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBo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Jobjs3zUMx + +Z6grDSM4up0fmwheDd/Jda5MEd0LEemFIdgHyH7GLpiDsNvlP3kffeiYvNVj4u+k2Kw3gJuAh/6d + Tdyc2XMf0kToJsb9iaYS+IBwQvzcKuSLABG5GXOObhQswUSvbOnw+aQiMhwTh+cM0sKJDzBeHA8Bz + 34RV1fn3FA34bm/701uiWkS42GzwpXa2dNCdXBF7HxwJMYNeEPIRsES4PSCDxEWkUOAqzESYPcL+j + 7mUN6nMQcuxeJk29lw/tC9yCTA1PcB4bXb8Rkm4sKKgLSqKB3/94KIHIQ5OiWXuaNguK2DMeF9BHg + nlpO+nYEMwuhVz8JIr/xYgQkh8iJGrL/OSR90xUvrSKkHYMKX7O58ulOKTd2PTL/aIGwgTXgegiwK + aoqIE7ERqadRkX0xxDoOow/KthdTTLCtda601vnchJlNSlypNMd1HzIJcCDGkiSPE3VoA1bjXQXbi + VFVczrrFlFEHOgUIvV0YFawwzGxh453vg/CrGr5EE2cSGImgA2kD2Ty7xNXZwu/UkQRXYVOJ9LQjo + 3JWsp7YlBA2hNzrqeNISr/Z1CejbEf3UiaAN2EmPq++Yso1Crii4n/B0b5UBwNl0uxAAAAAElFTkS + uQmCC +mail: admin@ls.com + +dn: cn=test34,ou=groups,o=ls +objectClass: lsgroup +objectClass: posixGroup +cn: test34 +gidNumber: 800001 +uniqueMember: uid=eeggs,ou=people,o=ls +description: test +lsGodfatherDn: uid=eeggs,ou=people,o=ls +structuralObjectClass: posixGroup + diff --git a/lsexample/schema/lsexample.schema b/lsexample/schema/lsexample.schema index 45f84718..b2f8d95d 100644 --- a/lsexample/schema/lsexample.schema +++ b/lsexample/schema/lsexample.schema @@ -38,7 +38,7 @@ objectclass (LsLDAPObjectClass:1 objectclass (LsLDAPObjectClass:3 NAME 'lsgroup' DESC 'LS group Objectclass' - STRUCTURAL + AUXILIARY MUST ( cn ) MAY ( uniquemember $ description $ lsGodfatherDn )) @@ -50,11 +50,11 @@ objectclass (LsLDAPObjectClass:4 MAY (userpassword $ description)) objectclass ( LsLDAPObjectClass:5 - NAME 'lscompany' - SUP organizationalUnit - STRUCTURAL - MUST ( ou ) - MAY ( description $ lsGodfatherDn )) + NAME 'lscompany' + SUP organizationalUnit + STRUCTURAL + MUST ( ou ) + MAY ( description $ lsGodfatherDn )) # diff --git a/lsexample/slapd/slapd.conf b/lsexample/slapd/slapd.conf index 6b7135ca..ac92259e 100644 --- a/lsexample/slapd/slapd.conf +++ b/lsexample/slapd/slapd.conf @@ -6,7 +6,7 @@ include /etc/ldap/schema/cosine.schema include /etc/ldap/schema/nis.schema include /etc/ldap/schema/inetorgperson.schema include /etc/ldap/schema/samba.schema -include ls.schema +include /etc/ldap/schema/lsexample.schema # Slapd core configuration pidfile /var/run/slapd/slapd.pid @@ -31,10 +31,10 @@ directory /var/lib/ldap index objectClass eq index uidNumber eq index gidNumber eq -index lsallowedservices eq +index lsallowedservices,lsGodfatherDn eq index sambasid eq index sambaDomainName eq -index memberUid eq +index memberUid,uniqueMember eq index givenname,cn,sn,mail,uid sub,eq,approx # Save the time that the entry gets modified, for database #1 diff --git a/lsexample/slapd/slapd.d/cn=config/cn=schema/cn={5}ls.ldif b/lsexample/slapd/slapd.d/cn=config/cn=schema/cn={5}lsexample.ldif similarity index 84% rename from lsexample/slapd/slapd.d/cn=config/cn=schema/cn={5}ls.ldif rename to lsexample/slapd/slapd.d/cn=config/cn=schema/cn={5}lsexample.ldif index 7a18bc52..6ffe0b03 100644 --- a/lsexample/slapd/slapd.d/cn=config/cn=schema/cn={5}ls.ldif +++ b/lsexample/slapd/slapd.d/cn=config/cn=schema/cn={5}lsexample.ldif @@ -1,8 +1,8 @@ # AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify. -# CRC32 e6593e2f -dn: cn={5}ls +# CRC32 5c6a815f +dn: cn={5}lsexample objectClass: olcSchemaConfig -cn: {5}ls +cn: {5}lsexample olcObjectIdentifier: {0}EeRoot 1.3.6.1.4.1.10650 olcObjectIdentifier: {1}LeRoot EeRoot:4 olcObjectIdentifier: {2}LsRoot LeRoot:10000 @@ -23,17 +23,17 @@ olcObjectClasses: {0}( LsLDAPObjectClass:1 NAME 'lspeople' DESC 'LS people Obj $ personalTitle $ description $ userPassword $ lsallowedservices $ lsRecovery Hash $ lsGodfatherDn ) ) olcObjectClasses: {1}( LsLDAPObjectClass:3 NAME 'lsgroup' DESC 'LS group Objec - tclass' STRUCTURAL MUST cn MAY ( uniquemember $ description $ lsGodfatherDn ) - ) + tclass' AUXILIARY MUST cn MAY ( uniquemember $ description $ lsGodfatherDn ) + ) olcObjectClasses: {2}( LsLDAPObjectClass:4 NAME 'lssysaccount' DESC 'LS system account Objectclass' STRUCTURAL MUST uid MAY ( userpassword $ description ) ) olcObjectClasses: {3}( LsLDAPObjectClass:5 NAME 'lscompany' SUP organizational Unit STRUCTURAL MUST ou MAY ( description $ lsGodfatherDn ) ) structuralObjectClass: olcSchemaConfig -entryUUID: 5606be58-6a95-1032-977c-cf219862f309 +entryUUID: 076f2732-6a9d-1032-82eb-95e24cffa2a0 creatorsName: cn=config -createTimestamp: 20130616055713Z -entryCSN: 20130616055713.639138Z#000000#000#000000 +createTimestamp: 20130616065217Z +entryCSN: 20130616065217.757414Z#000000#000#000000 modifiersName: cn=config -modifyTimestamp: 20130616055713Z +modifyTimestamp: 20130616065217Z diff --git a/lsexample/slapd/slapd.d/cn=config/olcDatabase={1}hdb.ldif b/lsexample/slapd/slapd.d/cn=config/olcDatabase={1}hdb.ldif index 85c58994..151ed078 100644 --- a/lsexample/slapd/slapd.d/cn=config/olcDatabase={1}hdb.ldif +++ b/lsexample/slapd/slapd.d/cn=config/olcDatabase={1}hdb.ldif @@ -1,5 +1,5 @@ # AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify. -# CRC32 960a7473 +# CRC32 4ba4a558 dn: olcDatabase={1}hdb objectClass: olcDatabaseConfig objectClass: olcHdbConfig @@ -73,12 +73,14 @@ olcDbIndex: cn eq,approx,sub olcDbIndex: uid eq,approx,sub olcDbIndex: uidNumber eq olcDbIndex: gidNumber eq -olcDbIndex: lsAllowedServices eq olcDbIndex: sambaSID eq +olcDbIndex: lsAllowedServices eq +olcDbIndex: lsGodfatherDn eq +olcDbIndex: uniqueMember eq olcDbIndex: sambaDomainName eq -olcDbIndex: sn eq,approx,sub olcDbIndex: memberUid eq olcDbIndex: givenName eq,approx,sub +olcDbIndex: sn eq,approx,sub olcDbIndex: mail eq,approx,sub olcDbLinearIndex: FALSE olcDbMode: 0600 @@ -87,9 +89,9 @@ olcDbShmKey: 0 olcDbCacheFree: 1 olcDbDNcacheSize: 0 structuralObjectClass: olcHdbConfig -entryUUID: 5606f454-6a95-1032-977f-cf219862f309 +entryUUID: a17059aa-6aa2-1032-8f84-37b4f3699116 creatorsName: cn=config -createTimestamp: 20130616055713Z -entryCSN: 20130616055713.639138Z#000000#000#000000 +createTimestamp: 20130616073223Z +entryCSN: 20130616073223.616056Z#000000#000#000000 modifiersName: cn=config -modifyTimestamp: 20130616055713Z +modifyTimestamp: 20130616073223Z