[Da-tools-commits] ./debian/userdir-ldap r442: Add sudoPassword to schema

Peter Palfrader peter at palfrader.org
Sat Sep 13 14:37:21 UTC 2008


------------------------------------------------------------
revno: 442
committer: Peter Palfrader <peter at palfrader.org>
branch nick: userdir-ldap
timestamp: Sat 2008-09-13 16:37:21 +0200
message:
  Add sudoPassword to schema
modified:
  userdir-ldap-slapd.conf.in
  userdir-ldap.schema
-------------- next part --------------
=== modified file 'userdir-ldap-slapd.conf.in'
--- a/userdir-ldap-slapd.conf.in	2008-09-13 14:37:13 +0000
+++ b/userdir-ldap-slapd.conf.in	2008-09-13 14:37:21 +0000
@@ -26,7 +26,7 @@
 lastmod on
 
 # owner writeable
-access to attrs=userPassword,sshrsaauthkey
+access to attrs=userPassword,sudoPassword,sshrsaauthkey
 	by group="cn=LDAP Administrator,ou=users,@@DN@@" write
 	by dn="uid=sshdist,ou=users,@@DN@@"  write
 	by self read

=== modified file 'userdir-ldap.schema'
--- a/userdir-ldap.schema	2008-05-18 11:05:54 +0000
+++ b/userdir-ldap.schema	2008-09-13 14:37:21 +0000
@@ -98,6 +98,7 @@
 #   .33 - purpose
 #   .34 - physicalHost
 #   .35 - VoIP
+#   .36 - sudoPassword
 #
 # .3 - experimental LDAP objectClasses
 #   .1 - debianDeveloper
@@ -359,6 +360,13 @@
 	SUBSTR caseIgnoreIA5SubstringsMatch
 	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
 
+attributetype ( 1.3.6.1.4.1.9586.100.4.2.36
+	NAME 'sudoPassword'
+	DESC 'sudo password'
+	EQUALITY octetStringMatch
+	SYNTAX 1.3.6.1.4.1.1466.115.121.1.40{128} )
+
+
 # Public object classes
 
 objectclass ( 1.3.6.1.4.1.9586.100.4.1.1
@@ -366,7 +374,7 @@
 	DESC 'Abstraction of an account with POSIX attributes and UTF8 support'
 	SUP top AUXILIARY
 	MUST ( cn $ uid $ uidNumber $ gidNumber )
-	MAY ( userPassword $ loginShell $ gecos $ homeDirectory $ description $ mailDisableMessage ) )
+	MAY ( userPassword $ loginShell $ gecos $ homeDirectory $ description $ mailDisableMessage $ sudoPassword ) )
 
 objectclass ( 1.3.6.1.4.1.9586.100.4.1.2
 	NAME 'debianGroup'



More information about the Da-tools-commits mailing list