r1809: Patch from Richard Renard <rrenard@idealx.com> to store
authorJeremy Allison <jra@samba.org>
Fri, 13 Aug 2004 17:58:27 +0000 (17:58 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:21 +0000 (10:52 -0500)
logon hours attributes in an LDAP database.
Jeremy.

examples/LDAP/samba.schema

index d87815b3abca07e25b075cd6c996365e49b003a0..8c6b8cb4e39a7e2577155e9a36c744e82624ba48 100644 (file)
@@ -212,6 +212,10 @@ attributetype ( 1.3.6.1.4.1.7165.2.1.49 NAME 'sambaBadPasswordTime'
        EQUALITY integerMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
 
+attributetype ( 1.3.6.1.4.1.7165.2.1.50 NAME 'sambaLogonHours'
+       DESC 'Logon Hours'
+       EQUALITY caseIgnoreIA5Match
+       SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{42} SINGLE-VALUE )
 
 ##
 ## string settings
@@ -334,7 +338,8 @@ objectclass ( 1.3.6.1.4.1.7165.2.2.6 NAME 'sambaSamAccount' SUP top AUXILIARY
                displayName $ sambaHomePath $ sambaHomeDrive $ sambaLogonScript $
               sambaProfilePath $ description $ sambaUserWorkstations $
               sambaPrimaryGroupSID $ sambaDomainName $ sambaMungedDial $
-              sambaBadPasswordCount $ sambaBadPasswordTime $ sambaPasswordHistory))
+              sambaBadPasswordCount $ sambaBadPasswordTime $
+              sambaPasswordHistory $ sambaLogonHours))
 
 ##
 ## Group mapping info