testing ip address field

This commit is contained in:
Aitzol 2023-04-05 13:10:24 +02:00
parent 86ae827ccf
commit 6f4d1a2cdf
2 changed files with 17 additions and 9 deletions

View File

@ -35,7 +35,9 @@ dn: cn=seiichi takimoto,cn=users,ou=groups,dc=example,dc=org
active: TRUE
cn: seiichi takimoto
fakecn: FALSE
device: unknown
devices: unknown
lastLogin: 199412161032Z
ip: 185.14.36.84
gidnumber: 501
givenname: seiichi
homedirectory: /home/users/seiichi

View File

@ -19,18 +19,24 @@ attributetype ( 2.25.330098197460787237907941808102951680393.1.1 NAME 'fakeC
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
SINGLE-VALUE )
attributetype ( 2.25.330098197460787237907941808102951680393.1.2 NAME 'device'
attributetype ( 2.25.330098197460787237907941808102951680393.1.2 NAME 'devices'
DESC 'Trusted devices info from user-agent'
EQUALITY caseIgnoreMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
#attributetype ( 2.25.330098197460787237907941808102951680393.1.2 NAME 'lastAccess'
# DESC 'Last access timestamp'
# EQUALITY generalizedTimeMatch
# SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
# SINGLE-VALUE )
attributetype ( 2.25.330098197460787237907941808102951680393.1.3 NAME 'lastLogin'
DESC 'Last login timestamp'
EQUALITY generalizedTimeMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
SINGLE-VALUE )
attributetype ( 2.25.330098197460787237907941808102951680393.1.4 NAME 'ip'
DESC 'ip address'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE )
objectclass ( 2.25.330098197460787237907941808102951680393.1.2.0 NAME 'accountsManagement' SUP top AUXILIARY
DESC 'Accounts management'
MUST ( cn $ uid $ active $ fakeCn $ device )
MAY ( userPassword $ description ) )
MUST ( cn $ uid $ active $ fakeCn $ devices )
MAY ( userPassword $ description $ lastLogin $ ip ) )