summaryrefslogtreecommitdiff
path: root/examples/LDAP
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-08-13 17:58:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:21 -0500
commit7af12653687768ea08ca225914e6558ab74c95f0 (patch)
treee0cea506dfbaad8d4bb293278b7d53a5df11bbab /examples/LDAP
parenta817cc16b246d4f0cfd335884eec7380966c77a8 (diff)
downloadsamba-7af12653687768ea08ca225914e6558ab74c95f0.tar.gz
samba-7af12653687768ea08ca225914e6558ab74c95f0.tar.bz2
samba-7af12653687768ea08ca225914e6558ab74c95f0.zip
r1809: Patch from Richard Renard <rrenard@idealx.com> to store
logon hours attributes in an LDAP database. Jeremy. (This used to be commit ac0fdf9503b34a70eaae5e7cf0764dbaec0263ee)
Diffstat (limited to 'examples/LDAP')
-rw-r--r--examples/LDAP/samba.schema7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/LDAP/samba.schema b/examples/LDAP/samba.schema
index d87815b3ab..8c6b8cb4e3 100644
--- a/examples/LDAP/samba.schema
+++ b/examples/LDAP/samba.schema
@@ -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