Move lsexample to root
authorBenjamin Renard <brenard@aconit.easter-eggs.fr>
Fri, 13 Nov 2009 13:28:13 +0000 (14:28 +0100)
committerBenjamin Renard <brenard@aconit.easter-eggs.fr>
Fri, 13 Nov 2009 13:28:13 +0000 (14:28 +0100)
lsexample/ls.schema [new file with mode: 0644]
lsexample/lsexample.ldif [new file with mode: 0644]
lsexample/permissions-ls.conf [new file with mode: 0644]
lsexample/slapd.conf [new file with mode: 0644]
public_html/lsexample/ls.schema [deleted file]
public_html/lsexample/lsexample.ldif [deleted file]
public_html/lsexample/permissions-ls.conf [deleted file]
public_html/lsexample/slapd.conf [deleted file]

diff --git a/lsexample/ls.schema b/lsexample/ls.schema
new file mode 100644 (file)
index 0000000..45f8471
--- /dev/null
@@ -0,0 +1,60 @@
+# LdapSaisie - LDAP Schema - Example
+# Web Site : http://ldapsaisie.labs.libre-entreprise.org
+objectIdentifier EeRoot                 1.3.6.1.4.1.10650
+objectIdentifier LeRoot                 EeRoot:4
+objectIdentifier LsRoot                 LeRoot:10000
+objectIdentifier LsLDAP                 LsRoot:2
+objectIdentifier LsLDAPAttribute        LsLDAP:1
+objectIdentifier LsLDAPObjectClass      LsLDAP:2
+
+# <Ls attributes>
+attributetype (LsLDAPAttribute:1
+  NAME 'lsAllowedServices'
+  DESC 'List of allowed services'
+  EQUALITY caseIgnoreMatch
+  SUBSTR caseIgnoreSubstringsMatch
+  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
+
+attributetype ( LsLDAPAttribute:2 NAME 'lsRecoveryHash'
+  DESC 'Password Recover Hash'
+  EQUALITY caseIgnoreMatch
+  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
+
+attributetype ( LsLDAPAttribute:3 NAME 'lsGodfatherDn' 
+       SUP distinguishedName
+       DESC 'Godfather dn of this entry' )
+# </Ls attributes>
+        
+# <Ls Objectclass>
+objectclass (LsLDAPObjectClass:1
+  NAME 'lspeople'
+  DESC 'LS people Objectclass'
+  STRUCTURAL
+  MUST ( uid $ cn )
+  MAY ( jpegPhoto $ sn $ givenName $ postalAddress $ postalCode $ l $ st $ c $
+        telephoneNumber $ mobile $ fax $ mail $ personalTitle $ description $
+        userPassword $ lsallowedservices $ lsRecoveryHash $ lsGodfatherDn ))
+
+objectclass (LsLDAPObjectClass:3
+  NAME 'lsgroup'
+  DESC 'LS group Objectclass'
+  STRUCTURAL
+  MUST ( cn )
+  MAY ( uniquemember $ description $ lsGodfatherDn ))
+
+objectclass (LsLDAPObjectClass:4
+  NAME 'lssysaccount'
+  DESC 'LS system account Objectclass'
+  STRUCTURAL
+  MUST ( uid )
+  MAY (userpassword $ description))
+
+objectclass ( LsLDAPObjectClass:5
+       NAME 'lscompany'
+       SUP organizationalUnit
+       STRUCTURAL
+       MUST ( ou )
+       MAY ( description $ lsGodfatherDn ))
+
+# </Ls Objectclass>
+
diff --git a/lsexample/lsexample.ldif b/lsexample/lsexample.ldif
new file mode 100644 (file)
index 0000000..abeed79
--- /dev/null
@@ -0,0 +1,565 @@
+dn: o=ls
+objectClass: top
+objectClass: organization
+o: ls
+structuralObjectClass: organization
+
+dn: ou=sysaccounts,o=ls
+objectClass: top
+objectClass: organizationalUnit
+ou: sysaccounts
+structuralObjectClass: organizationalUnit
+
+dn: uid=mail,ou=sysaccounts,o=ls
+objectClass: top
+objectClass: lssysaccount
+uid: mail
+structuralObjectClass: lssysaccount
+userPassword: toto
+
+dn: uid=samba,ou=sysaccounts,o=ls
+objectClass: top
+objectClass: lssysaccount
+uid: samba
+structuralObjectClass: lssysaccount
+userPassword: toto
+
+dn: uid=ldapsaisie,ou=sysaccounts,o=ls
+objectClass: top
+objectClass: lssysaccount
+uid: ldapsaisie
+structuralObjectClass: lssysaccount
+userPassword: toto
+
+dn: ou=groups,o=ls
+objectClass: top
+objectClass: organizationalUnit
+ou: groups
+structuralObjectClass: organizationalUnit
+
+dn: cn=adminldap,ou=groups,o=ls
+objectClass: top
+objectClass: lsgroup
+objectClass: posixGroup
+objectClass: sambaGroupMapping
+cn: adminldap
+gidNumber: 70000
+sambaSID: S-1-5-21-2421470416-3566881284-3047381809-70000
+sambaGroupType: 2
+structuralObjectClass: lsgroup
+uniqueMember: uid=eeggs,ou=people,o=ls
+
+dn: cn=invite,ou=groups,o=ls
+objectClass: top
+objectClass: lsgroup
+objectClass: posixGroup
+objectClass: sambaGroupMapping
+cn: invite
+gidNumber: 101009
+sambaSID: S-1-5-21-2421470416-3566881284-3047381809-203019
+sambaGroupType: 2
+structuralObjectClass: lsgroup
+
+dn: cn=ls,ou=groups,o=ls
+objectClass: top
+objectClass: lsgroup
+objectClass: posixGroup
+objectClass: sambaGroupMapping
+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
+
+dn: cn=informatique,ou=groups,o=ls
+objectClass: top
+objectClass: lsgroup
+objectClass: posixGroup
+objectClass: sambaGroupMapping
+gidNumber: 102009
+sambaSID: S-1-5-21-2421470416-3566881284-3047381809-205019
+sambaGroupType: 2
+structuralObjectClass: lsgroup
+cn: informatique
+
+dn: cn=direction,ou=groups,o=ls
+objectClass: top
+objectClass: lsgroup
+objectClass: posixGroup
+objectClass: sambaGroupMapping
+cn: direction
+gidNumber: 102007
+sambaSID: S-1-5-21-2421470416-3566881284-3047381809-205015
+sambaGroupType: 2
+structuralObjectClass: lsgroup
+uniqueMember: uid=eeggs,ou=people,o=ls
+
+dn: cn=administratif,ou=groups,o=ls
+objectClass: top
+objectClass: lsgroup
+objectClass: posixGroup
+objectClass: sambaGroupMapping
+cn: administratif
+gidNumber: 102005
+sambaSID: S-1-5-21-2421470416-3566881284-3047381809-205011
+sambaGroupType: 2
+structuralObjectClass: lsgroup
+
+dn: cn=communication,ou=groups,o=ls
+objectClass: top
+objectClass: lsgroup
+objectClass: posixGroup
+objectClass: sambaGroupMapping
+cn: communication
+gidNumber: 102003
+sambaSID: S-1-5-21-2421470416-3566881284-3047381809-205007
+sambaGroupType: 2
+structuralObjectClass: lsgroup
+
+dn: ou=people,o=ls
+objectClass: top
+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+3X36XOdc3bO
+ 1JZ0pk/3r3+XT/+6T885MwuLB7986/UvD/pX7wGXBxZdhX1Z74GxBxbSi3/RO6P3gM8Dff7weaYvH
+ 3qg56PnIOSBno+Qd/pzPR89AyEP9HyEvNOf6/noGQh5YMdgYSF0vj833x7o88d8xz/L+p6PLA/N9/
+ mej/mOf5b1OwaDfv0xdFJy8Evsq/TS01l+m5fz4GOuXxKLuXaEx/g55aPHwsODLp4vPmKw6CcXych
+ c8BHAYnNzk9yx0O8D6dwxfL+d16fJwcddJg/LGAsFR3rpL31N5rN8G+aPeCzmM+S5rN5WfPjIUNlC
+ OYhnlj55WHS2CR9OMsJYqJnFuqYvgQe6vf5IDv6GM4oxZKiG6aW/coqa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OASVUorxcDAhq9frrrzMWclVB1
+ 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
+objectClass: posixAccount
+objectClass: sambaSamAccount
+uid: hmartin
+homeDirectory: /home/com
+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.
+userPassword: toto
+sambaLMPassword: AAD3B435B51404EEAAD3B435B51404EE
+sambaNTPassword: 31D6CFE0D16AE931B73C59D7E0C089C0
+
+dn: uid=secretariat,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
+
+dn: uid=ls,ou=people,o=ls
+objectClass: top
+objectClass: lspeople
+objectClass: posixAccount
+objectClass: sambaSamAccount
+uid: ls
+homeDirectory: /home/ls
+loginShell: /bin/false
+uidNumber: 101068
+userPassword: toto
+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
+
+dn: uid=erwpa,ou=people,o=ls
+uid: erwpa
+objectClass: top
+objectClass: lspeople
+objectClass: posixAccount
+objectClass: sambaSamAccount
+uidNumber: 101082
+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
+lsAllowedServices: MAIL
+lsAllowedServices: SAMBA
+lsAllowedServices: FTP
+cn: Erwan PAGE
+sambaPrimaryGroupSID: S-1-5-21-2421470416-3566881284-3047381809-205019
+personalTitle: M.
+givenName: Erwan
+userPassword: toto
+sambaLMPassword: BAC14D04669EE1D1AAD3B435B51404EE
+sambaNTPassword: FBBF55D0EF0E34D39593F55C5F2CA5F2
+
+dn: uid=eeggs2,ou=people,o=ls
+objectClass: top
+objectClass: lspeople
+objectClass: posixAccount
+uid: eeggs2
+uidNumber: 1000000
+gidNumber: 102009
+facsimileTelephoneNumber: 030000000
+lsAllowedServices: MAIL
+lsAllowedServices: FTP
+description: Utilisateur test Easter-eggs 2
+cn: Easter Eggs 2
+personalTitle: M.
+homeDirectory: /home/eeggs
+loginShell: /bin/false
+sn: Eggs
+givenName: Easter
+mail: bn8@zionetrix.net
+userPassword: toto
+structuralObjectClass: lspeople
+
+dn: uid=eeggs3,ou=people,o=ls
+objectClass: top
+objectClass: lspeople
+objectClass: posixAccount
+uid: eeggs3
+uidNumber: 10000000
+gidNumber: 102009
+facsimileTelephoneNumber: 030000000
+lsAllowedServices: MAIL
+lsAllowedServices: FTP
+description: Utilisateur test Easter-eggs 2
+cn: Easter Eggs 2
+personalTitle: M.
+homeDirectory: /home/eeggs
+loginShell: /bin/false
+sn: Eggs
+givenName: Easter
+mail: bn8@zionetrix.net
+userPassword: toto
+structuralObjectClass: lspeople
+
+dn: ou=companies,o=ls
+objectClass: organizationalUnit
+objectClass: top
+ou: companies
+structuralObjectClass: organizationalUnit
+
+dn: ou=company2,ou=companies,o=ls
+objectClass: top
+objectClass: lscompany
+ou: company2
+description:: dGVzdCAyIA==
+structuralObjectClass: lscompany
+
+dn: ou=people,ou=company2,ou=companies,o=ls
+objectClass: top
+objectClass: organizationalUnit
+ou: people
+structuralObjectClass: organizationalUnit
+
+dn: ou=groups,ou=company2,ou=companies,o=ls
+objectClass: top
+objectClass: organizationalUnit
+ou: groups
+structuralObjectClass: organizationalUnit
+
+dn: ou=company1,ou=companies,o=ls
+objectClass: top
+objectClass: lscompany
+ou: company1
+description: Test company 1
+structuralObjectClass: lscompany
+
+dn: ou=people,ou=company1,ou=companies,o=ls
+objectClass: top
+objectClass: organizationalUnit
+ou: people
+structuralObjectClass: organizationalUnit
+
+dn: ou=groups,ou=company1,ou=companies,o=ls
+objectClass: top
+objectClass: organizationalUnit
+ou: groups
+structuralObjectClass: organizationalUnit
+
+dn: ou=company3,ou=companies,o=ls
+objectClass: top
+objectClass: lscompany
+ou: company3
+description: test 3
+structuralObjectClass: lscompany
+
+dn: ou=people,ou=company3,ou=companies,o=ls
+objectClass: top
+objectClass: organizationalUnit
+ou: people
+structuralObjectClass: organizationalUnit
+
+dn: ou=groups,ou=company3,ou=companies,o=ls
+objectClass: top
+objectClass: organizationalUnit
+ou: groups
+structuralObjectClass: organizationalUnit
+
+dn: cn=test,ou=groups,ou=company2,ou=companies,o=ls
+objectClass: lsgroup
+objectClass: posixGroup
+cn: test
+gidNumber: 102010
+structuralObjectClass: lsgroup
+
+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
+
+dn: uid=user1,ou=people,ou=company1,ou=companies,o=ls
+objectClass: top
+objectClass: lspeople
+objectClass: posixAccount
+objectClass: sambaSamAccount
+givenName: prenom1
+loginShell: /bin/false
+personalTitle: M.
+uid: user1
+uidNumber: 10000001
+sn: nom1
+cn: prenom1 nom1
+gidNumber: 101009
+sambaSID: S-1-5-21-2421470416-3566881284-3047381809-20001002
+homeDirectory: /home/user1
+mail: user1@ls.com
+description: user1
+userPassword: toto
+sambaLMPassword: FC26CDB2863917C1AAD3B435B51404EE
+sambaNTPassword: 00B2C85DDFBD8CC81602D6FC7340EB0B
+structuralObjectClass: lspeople
+
+dn: uid=user2,ou=people,ou=company1,ou=companies,o=ls
+objectClass: top
+objectClass: lspeople
+objectClass: posixAccount
+objectClass: sambaSamAccount
+givenName: prenom2
+loginShell: /bin/false
+personalTitle: M.
+uid: user2
+uidNumber: 10000002
+sn: nom2
+cn: prenom2 nom2
+gidNumber: 102001
+sambaSID: S-1-5-21-2421470416-3566881284-3047381809-20001004
+homeDirectory: /home/user2
+mail: user2@ls.com
+userPassword: toto
+sambaLMPassword: C53D7C8685D27214AAD3B435B51404EE
+sambaNTPassword: C549EE84021E5E8372E10CEDEAFD02A8
+structuralObjectClass: lspeople
+
diff --git a/lsexample/permissions-ls.conf b/lsexample/permissions-ls.conf
new file mode 100644 (file)
index 0000000..b2cf872
--- /dev/null
@@ -0,0 +1,94 @@
+## Racine
+access to dn.regex="^o=ls$" attrs="entry,children,objectclass"
+  by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
+  by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
+  by users read
+  by * read
+
+## Groups
+### Ajout d'entrees par les admins
+access to dn.regex="^ou=groups,o=ls$" attrs="children,objectclass"
+  by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
+  by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
+  by users read
+  by * none
+
+access to dn.regex="^cn=[^,]+,ou=groups,o=ls$" attrs="entry,objectclass"
+  by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
+  by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
+  by users read
+  by * none
+
+### Les admins peuvent tout modifier, les authentifies peuvent tout voir
+access to dn.regex="^cn=[^,]+,ou=groups,o=ls$"
+  by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
+  by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
+  by users read
+  by * none
+
+
+## Peoples
+### Ajout d'entrees par les admins
+access to dn.regex="^ou=people,o=ls$" attrs="children,objectclass"
+  by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
+  by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
+  by users read
+  by * read
+
+access to dn.regex="^uid=[^,]+,ou=people,o=ls$" attrs="entry,objectclass"
+  by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
+  by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
+  by users read
+  by * read
+
+
+### Les admins peuvent modifier le mot de passe, samba le mettre à jour, les autres peuvent s'en servir pour l'authentification
+access to dn.regex="^uid=[^,]+,ou=people,o=ls$" attrs="userPassword"
+  by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
+  by dn="uid=samba,ou=sysaccounts,o=ls" write
+  by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
+  by self write
+  by anonymous auth
+  by * none
+
+access to dn.regex="^uid=[^,]+,ou=sysaccounts,o=ls$" attrs="userPassword"
+  by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
+  by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
+  by anonymous auth
+  by * none
+
+### Les admins peuvent modifier ces attributs, les authentifies peuvent les voir
+access to dn.regex="^uid=[^,]+,ou=people,o=ls$" attrs="uid,lsallowedservices,uidNumber,gidNumber,homeDirectory,loginShell,sambaSID,sambaAcctFlags,sambaPrimaryGroupSID"
+  by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
+  by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
+  by users read
+  by * none
+
+### Les admins peuvent modifier ces attributs, le proprio aussi, samba aussi
+access to dn.regex="^uid=[^,]+,ou=people,o=ls$" attrs="sambaLMPassword,sambaNTPassword"
+  by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
+  by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
+  by dn="uid=samba,ou=sysaccounts,o=ls" write
+  by self write
+  by * none
+
+### Les admins peuvent modifier ces attributs, le proprio aussi, les authentifies peuvent les voir
+access to dn.regex="^uid=[^,]+,ou=people,o=ls$" attrs="c,cn,jpegPhoto,personalTitle,sn,givenName,postalAddress,postalCode,l,st,telephoneNumber,mobile,fax,mail,description"
+  by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
+  by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
+  by self write
+  by users read
+  by * read
+
+## Les authentifies peuvent voir les noeuds et les admins peuvent en ajouter
+access to * attrs="entry"
+  by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
+  by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
+  by users read
+  by * none
+
+## Le reste
+access to *
+  by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
+  by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
+  by * none
diff --git a/lsexample/slapd.conf b/lsexample/slapd.conf
new file mode 100644 (file)
index 0000000..a9b0029
--- /dev/null
@@ -0,0 +1,26 @@
+# LSexample - Config
+include                /etc/ldap/schema/ls.schema
+
+
+database bdb
+suffix "o=ls"
+
+# The database directory MUST exist prior to running slapd AND 
+# should only be accessible by the slapd and slap tools.
+# Mode 700 recommended.
+directory /var/lib/ldap/ls
+
+# Indices to maintain
+index objectClass eq
+index uidNumber eq
+index gidNumber eq
+index lsallowedservices eq
+index sambasid eq
+index sambaDomainName eq
+index memberUid eq
+index givenname,cn,sn,mail,uid sub,eq,approx
+
+# Save the time that the entry gets modified, for database #1
+lastmod on
+
+include /etc/ldap/permissions-ls.conf
diff --git a/public_html/lsexample/ls.schema b/public_html/lsexample/ls.schema
deleted file mode 100644 (file)
index 45f8471..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-# LdapSaisie - LDAP Schema - Example
-# Web Site : http://ldapsaisie.labs.libre-entreprise.org
-objectIdentifier EeRoot                 1.3.6.1.4.1.10650
-objectIdentifier LeRoot                 EeRoot:4
-objectIdentifier LsRoot                 LeRoot:10000
-objectIdentifier LsLDAP                 LsRoot:2
-objectIdentifier LsLDAPAttribute        LsLDAP:1
-objectIdentifier LsLDAPObjectClass      LsLDAP:2
-
-# <Ls attributes>
-attributetype (LsLDAPAttribute:1
-  NAME 'lsAllowedServices'
-  DESC 'List of allowed services'
-  EQUALITY caseIgnoreMatch
-  SUBSTR caseIgnoreSubstringsMatch
-  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )
-
-attributetype ( LsLDAPAttribute:2 NAME 'lsRecoveryHash'
-  DESC 'Password Recover Hash'
-  EQUALITY caseIgnoreMatch
-  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15)
-
-attributetype ( LsLDAPAttribute:3 NAME 'lsGodfatherDn' 
-       SUP distinguishedName
-       DESC 'Godfather dn of this entry' )
-# </Ls attributes>
-        
-# <Ls Objectclass>
-objectclass (LsLDAPObjectClass:1
-  NAME 'lspeople'
-  DESC 'LS people Objectclass'
-  STRUCTURAL
-  MUST ( uid $ cn )
-  MAY ( jpegPhoto $ sn $ givenName $ postalAddress $ postalCode $ l $ st $ c $
-        telephoneNumber $ mobile $ fax $ mail $ personalTitle $ description $
-        userPassword $ lsallowedservices $ lsRecoveryHash $ lsGodfatherDn ))
-
-objectclass (LsLDAPObjectClass:3
-  NAME 'lsgroup'
-  DESC 'LS group Objectclass'
-  STRUCTURAL
-  MUST ( cn )
-  MAY ( uniquemember $ description $ lsGodfatherDn ))
-
-objectclass (LsLDAPObjectClass:4
-  NAME 'lssysaccount'
-  DESC 'LS system account Objectclass'
-  STRUCTURAL
-  MUST ( uid )
-  MAY (userpassword $ description))
-
-objectclass ( LsLDAPObjectClass:5
-       NAME 'lscompany'
-       SUP organizationalUnit
-       STRUCTURAL
-       MUST ( ou )
-       MAY ( description $ lsGodfatherDn ))
-
-# </Ls Objectclass>
-
diff --git a/public_html/lsexample/lsexample.ldif b/public_html/lsexample/lsexample.ldif
deleted file mode 100644 (file)
index abeed79..0000000
+++ /dev/null
@@ -1,565 +0,0 @@
-dn: o=ls
-objectClass: top
-objectClass: organization
-o: ls
-structuralObjectClass: organization
-
-dn: ou=sysaccounts,o=ls
-objectClass: top
-objectClass: organizationalUnit
-ou: sysaccounts
-structuralObjectClass: organizationalUnit
-
-dn: uid=mail,ou=sysaccounts,o=ls
-objectClass: top
-objectClass: lssysaccount
-uid: mail
-structuralObjectClass: lssysaccount
-userPassword: toto
-
-dn: uid=samba,ou=sysaccounts,o=ls
-objectClass: top
-objectClass: lssysaccount
-uid: samba
-structuralObjectClass: lssysaccount
-userPassword: toto
-
-dn: uid=ldapsaisie,ou=sysaccounts,o=ls
-objectClass: top
-objectClass: lssysaccount
-uid: ldapsaisie
-structuralObjectClass: lssysaccount
-userPassword: toto
-
-dn: ou=groups,o=ls
-objectClass: top
-objectClass: organizationalUnit
-ou: groups
-structuralObjectClass: organizationalUnit
-
-dn: cn=adminldap,ou=groups,o=ls
-objectClass: top
-objectClass: lsgroup
-objectClass: posixGroup
-objectClass: sambaGroupMapping
-cn: adminldap
-gidNumber: 70000
-sambaSID: S-1-5-21-2421470416-3566881284-3047381809-70000
-sambaGroupType: 2
-structuralObjectClass: lsgroup
-uniqueMember: uid=eeggs,ou=people,o=ls
-
-dn: cn=invite,ou=groups,o=ls
-objectClass: top
-objectClass: lsgroup
-objectClass: posixGroup
-objectClass: sambaGroupMapping
-cn: invite
-gidNumber: 101009
-sambaSID: S-1-5-21-2421470416-3566881284-3047381809-203019
-sambaGroupType: 2
-structuralObjectClass: lsgroup
-
-dn: cn=ls,ou=groups,o=ls
-objectClass: top
-objectClass: lsgroup
-objectClass: posixGroup
-objectClass: sambaGroupMapping
-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
-
-dn: cn=informatique,ou=groups,o=ls
-objectClass: top
-objectClass: lsgroup
-objectClass: posixGroup
-objectClass: sambaGroupMapping
-gidNumber: 102009
-sambaSID: S-1-5-21-2421470416-3566881284-3047381809-205019
-sambaGroupType: 2
-structuralObjectClass: lsgroup
-cn: informatique
-
-dn: cn=direction,ou=groups,o=ls
-objectClass: top
-objectClass: lsgroup
-objectClass: posixGroup
-objectClass: sambaGroupMapping
-cn: direction
-gidNumber: 102007
-sambaSID: S-1-5-21-2421470416-3566881284-3047381809-205015
-sambaGroupType: 2
-structuralObjectClass: lsgroup
-uniqueMember: uid=eeggs,ou=people,o=ls
-
-dn: cn=administratif,ou=groups,o=ls
-objectClass: top
-objectClass: lsgroup
-objectClass: posixGroup
-objectClass: sambaGroupMapping
-cn: administratif
-gidNumber: 102005
-sambaSID: S-1-5-21-2421470416-3566881284-3047381809-205011
-sambaGroupType: 2
-structuralObjectClass: lsgroup
-
-dn: cn=communication,ou=groups,o=ls
-objectClass: top
-objectClass: lsgroup
-objectClass: posixGroup
-objectClass: sambaGroupMapping
-cn: communication
-gidNumber: 102003
-sambaSID: S-1-5-21-2421470416-3566881284-3047381809-205007
-sambaGroupType: 2
-structuralObjectClass: lsgroup
-
-dn: ou=people,o=ls
-objectClass: top
-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+3X36XOdc3bO
- 1JZ0pk/3r3+XT/+6T885MwuLB7986/UvD/pX7wGXBxZdhX1Z74GxBxbSi3/RO6P3gM8Dff7weaYvH
- 3qg56PnIOSBno+Qd/pzPR89AyEP9HyEvNOf6/noGQh5YMdgYSF0vj833x7o88d8xz/L+p6PLA/N9/
- mej/mOf5b1OwaDfv0xdFJy8Evsq/TS01l+m5fz4GOuXxKLuXaEx/g55aPHwsODLp4vPmKw6CcXych
- c8BHAYnNzk9yx0O8D6dwxfL+d16fJwcddJg/LGAsFR3rpL31N5rN8G+aPeCzmM+S5rN5WfPjIUNlC
- OYhnlj55WHS2CR9OMsJYqJnFuqYvgQe6vf5IDv6GM4oxZKiG6aW/coqa88IO5w8LR14s+muWTPo7y
- Ud5MvrkkUkGVegeHwqOvDmD/dInjxhEuseHskqGuRgrWHnYhOTz3bwtUxbSS3/t80U7y5ODv56pWC
- YogeTxn3+8j+R/4HeuZnaECp1zYIxRXKd7+UPGw8cKhz8MCqOQy2WqstRh+7HSvfwRiKUTF4sI0RO
- G48RHjoQ6+vAPAme3EyXbig+OmQVFUgI+w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6fZAsmd8J
- 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
-objectClass: posixAccount
-objectClass: sambaSamAccount
-uid: hmartin
-homeDirectory: /home/com
-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.
-userPassword: toto
-sambaLMPassword: AAD3B435B51404EEAAD3B435B51404EE
-sambaNTPassword: 31D6CFE0D16AE931B73C59D7E0C089C0
-
-dn: uid=secretariat,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
-
-dn: uid=ls,ou=people,o=ls
-objectClass: top
-objectClass: lspeople
-objectClass: posixAccount
-objectClass: sambaSamAccount
-uid: ls
-homeDirectory: /home/ls
-loginShell: /bin/false
-uidNumber: 101068
-userPassword: toto
-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
-
-dn: uid=erwpa,ou=people,o=ls
-uid: erwpa
-objectClass: top
-objectClass: lspeople
-objectClass: posixAccount
-objectClass: sambaSamAccount
-uidNumber: 101082
-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
-lsAllowedServices: MAIL
-lsAllowedServices: SAMBA
-lsAllowedServices: FTP
-cn: Erwan PAGE
-sambaPrimaryGroupSID: S-1-5-21-2421470416-3566881284-3047381809-205019
-personalTitle: M.
-givenName: Erwan
-userPassword: toto
-sambaLMPassword: BAC14D04669EE1D1AAD3B435B51404EE
-sambaNTPassword: FBBF55D0EF0E34D39593F55C5F2CA5F2
-
-dn: uid=eeggs2,ou=people,o=ls
-objectClass: top
-objectClass: lspeople
-objectClass: posixAccount
-uid: eeggs2
-uidNumber: 1000000
-gidNumber: 102009
-facsimileTelephoneNumber: 030000000
-lsAllowedServices: MAIL
-lsAllowedServices: FTP
-description: Utilisateur test Easter-eggs 2
-cn: Easter Eggs 2
-personalTitle: M.
-homeDirectory: /home/eeggs
-loginShell: /bin/false
-sn: Eggs
-givenName: Easter
-mail: bn8@zionetrix.net
-userPassword: toto
-structuralObjectClass: lspeople
-
-dn: uid=eeggs3,ou=people,o=ls
-objectClass: top
-objectClass: lspeople
-objectClass: posixAccount
-uid: eeggs3
-uidNumber: 10000000
-gidNumber: 102009
-facsimileTelephoneNumber: 030000000
-lsAllowedServices: MAIL
-lsAllowedServices: FTP
-description: Utilisateur test Easter-eggs 2
-cn: Easter Eggs 2
-personalTitle: M.
-homeDirectory: /home/eeggs
-loginShell: /bin/false
-sn: Eggs
-givenName: Easter
-mail: bn8@zionetrix.net
-userPassword: toto
-structuralObjectClass: lspeople
-
-dn: ou=companies,o=ls
-objectClass: organizationalUnit
-objectClass: top
-ou: companies
-structuralObjectClass: organizationalUnit
-
-dn: ou=company2,ou=companies,o=ls
-objectClass: top
-objectClass: lscompany
-ou: company2
-description:: dGVzdCAyIA==
-structuralObjectClass: lscompany
-
-dn: ou=people,ou=company2,ou=companies,o=ls
-objectClass: top
-objectClass: organizationalUnit
-ou: people
-structuralObjectClass: organizationalUnit
-
-dn: ou=groups,ou=company2,ou=companies,o=ls
-objectClass: top
-objectClass: organizationalUnit
-ou: groups
-structuralObjectClass: organizationalUnit
-
-dn: ou=company1,ou=companies,o=ls
-objectClass: top
-objectClass: lscompany
-ou: company1
-description: Test company 1
-structuralObjectClass: lscompany
-
-dn: ou=people,ou=company1,ou=companies,o=ls
-objectClass: top
-objectClass: organizationalUnit
-ou: people
-structuralObjectClass: organizationalUnit
-
-dn: ou=groups,ou=company1,ou=companies,o=ls
-objectClass: top
-objectClass: organizationalUnit
-ou: groups
-structuralObjectClass: organizationalUnit
-
-dn: ou=company3,ou=companies,o=ls
-objectClass: top
-objectClass: lscompany
-ou: company3
-description: test 3
-structuralObjectClass: lscompany
-
-dn: ou=people,ou=company3,ou=companies,o=ls
-objectClass: top
-objectClass: organizationalUnit
-ou: people
-structuralObjectClass: organizationalUnit
-
-dn: ou=groups,ou=company3,ou=companies,o=ls
-objectClass: top
-objectClass: organizationalUnit
-ou: groups
-structuralObjectClass: organizationalUnit
-
-dn: cn=test,ou=groups,ou=company2,ou=companies,o=ls
-objectClass: lsgroup
-objectClass: posixGroup
-cn: test
-gidNumber: 102010
-structuralObjectClass: lsgroup
-
-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
-
-dn: uid=user1,ou=people,ou=company1,ou=companies,o=ls
-objectClass: top
-objectClass: lspeople
-objectClass: posixAccount
-objectClass: sambaSamAccount
-givenName: prenom1
-loginShell: /bin/false
-personalTitle: M.
-uid: user1
-uidNumber: 10000001
-sn: nom1
-cn: prenom1 nom1
-gidNumber: 101009
-sambaSID: S-1-5-21-2421470416-3566881284-3047381809-20001002
-homeDirectory: /home/user1
-mail: user1@ls.com
-description: user1
-userPassword: toto
-sambaLMPassword: FC26CDB2863917C1AAD3B435B51404EE
-sambaNTPassword: 00B2C85DDFBD8CC81602D6FC7340EB0B
-structuralObjectClass: lspeople
-
-dn: uid=user2,ou=people,ou=company1,ou=companies,o=ls
-objectClass: top
-objectClass: lspeople
-objectClass: posixAccount
-objectClass: sambaSamAccount
-givenName: prenom2
-loginShell: /bin/false
-personalTitle: M.
-uid: user2
-uidNumber: 10000002
-sn: nom2
-cn: prenom2 nom2
-gidNumber: 102001
-sambaSID: S-1-5-21-2421470416-3566881284-3047381809-20001004
-homeDirectory: /home/user2
-mail: user2@ls.com
-userPassword: toto
-sambaLMPassword: C53D7C8685D27214AAD3B435B51404EE
-sambaNTPassword: C549EE84021E5E8372E10CEDEAFD02A8
-structuralObjectClass: lspeople
-
diff --git a/public_html/lsexample/permissions-ls.conf b/public_html/lsexample/permissions-ls.conf
deleted file mode 100644 (file)
index b2cf872..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-## Racine
-access to dn.regex="^o=ls$" attrs="entry,children,objectclass"
-  by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
-  by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
-  by users read
-  by * read
-
-## Groups
-### Ajout d'entrees par les admins
-access to dn.regex="^ou=groups,o=ls$" attrs="children,objectclass"
-  by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
-  by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
-  by users read
-  by * none
-
-access to dn.regex="^cn=[^,]+,ou=groups,o=ls$" attrs="entry,objectclass"
-  by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
-  by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
-  by users read
-  by * none
-
-### Les admins peuvent tout modifier, les authentifies peuvent tout voir
-access to dn.regex="^cn=[^,]+,ou=groups,o=ls$"
-  by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
-  by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
-  by users read
-  by * none
-
-
-## Peoples
-### Ajout d'entrees par les admins
-access to dn.regex="^ou=people,o=ls$" attrs="children,objectclass"
-  by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
-  by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
-  by users read
-  by * read
-
-access to dn.regex="^uid=[^,]+,ou=people,o=ls$" attrs="entry,objectclass"
-  by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
-  by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
-  by users read
-  by * read
-
-
-### Les admins peuvent modifier le mot de passe, samba le mettre à jour, les autres peuvent s'en servir pour l'authentification
-access to dn.regex="^uid=[^,]+,ou=people,o=ls$" attrs="userPassword"
-  by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
-  by dn="uid=samba,ou=sysaccounts,o=ls" write
-  by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
-  by self write
-  by anonymous auth
-  by * none
-
-access to dn.regex="^uid=[^,]+,ou=sysaccounts,o=ls$" attrs="userPassword"
-  by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
-  by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
-  by anonymous auth
-  by * none
-
-### Les admins peuvent modifier ces attributs, les authentifies peuvent les voir
-access to dn.regex="^uid=[^,]+,ou=people,o=ls$" attrs="uid,lsallowedservices,uidNumber,gidNumber,homeDirectory,loginShell,sambaSID,sambaAcctFlags,sambaPrimaryGroupSID"
-  by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
-  by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
-  by users read
-  by * none
-
-### Les admins peuvent modifier ces attributs, le proprio aussi, samba aussi
-access to dn.regex="^uid=[^,]+,ou=people,o=ls$" attrs="sambaLMPassword,sambaNTPassword"
-  by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
-  by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
-  by dn="uid=samba,ou=sysaccounts,o=ls" write
-  by self write
-  by * none
-
-### Les admins peuvent modifier ces attributs, le proprio aussi, les authentifies peuvent les voir
-access to dn.regex="^uid=[^,]+,ou=people,o=ls$" attrs="c,cn,jpegPhoto,personalTitle,sn,givenName,postalAddress,postalCode,l,st,telephoneNumber,mobile,fax,mail,description"
-  by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
-  by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
-  by self write
-  by users read
-  by * read
-
-## Les authentifies peuvent voir les noeuds et les admins peuvent en ajouter
-access to * attrs="entry"
-  by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
-  by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
-  by users read
-  by * none
-
-## Le reste
-access to *
-  by group/lsgroup/uniqueMember="cn=adminldap,ou=groups,o=ls" write
-  by dn="uid=ldapsaisie,ou=sysaccounts,o=ls" write
-  by * none
diff --git a/public_html/lsexample/slapd.conf b/public_html/lsexample/slapd.conf
deleted file mode 100644 (file)
index a9b0029..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-# LSexample - Config
-include                /etc/ldap/schema/ls.schema
-
-
-database bdb
-suffix "o=ls"
-
-# The database directory MUST exist prior to running slapd AND 
-# should only be accessible by the slapd and slap tools.
-# Mode 700 recommended.
-directory /var/lib/ldap/ls
-
-# Indices to maintain
-index objectClass eq
-index uidNumber eq
-index gidNumber eq
-index lsallowedservices eq
-index sambasid eq
-index sambaDomainName eq
-index memberUid eq
-index givenname,cn,sn,mail,uid sub,eq,approx
-
-# Save the time that the entry gets modified, for database #1
-lastmod on
-
-include /etc/ldap/permissions-ls.conf