当前位置:网站首页>OpenLDAP自定义schema
OpenLDAP自定义schema
2022-07-17 04:09:00 【shibushi114】
attributetype ( 1.3.6.1.4.1.7914.1.2.1.1
NAME 'userName'
DESC 'name of the user on the system'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.7914.1.2.1.2
NAME 'accountIsLocked'
DESC 'accountIsLocked'
EQUALITY booleanMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.7914.1.2.1.3
NAME 'accountCreateDate'
DESC 'accountCreateDate'
EQUALITY generalizedTimeMatch
ORDERING generalizedTimeOrderingMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
SINGLE-VALUE)
attributetype ( 1.3.6.1.4.1.7914.1.2.1.4
NAME 'accountDisabled'
DESC 'accountDisabled'
EQUALITY booleanMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.7914.1.2.1.5
NAME 'accountExpireDate'
DESC 'accountExpireDate'
EQUALITY generalizedTimeMatch
ORDERING generalizedTimeOrderingMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
SINGLE-VALUE)
attributetype ( 1.3.6.1.4.1.7914.1.2.1.6
NAME 'accountIsAdmin'
DESC 'accountIsAdmin'
EQUALITY booleanMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.7914.1.2.1.7
NAME 'accountLastLoginDate'
DESC 'Accountlastlogindate'
EQUALITY generalizedTimeMatch
ORDERING generalizedTimeOrderingMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.7914.1.2.1.9
NAME 'accountCreator'
DESC 'Creator'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.7914.1.2.1.10
NAME 'accountid'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE )
objectclass ( 1.3.6.1.4.1.7914.1.2.2.1 NAME 'rbacUser'
DESC 'rbac User'
SUP top AUXILIARY
MUST ( userName $ accountid )
MAY ( accountExpireDate $ accountIsLocked $ accountCreateDate $ accountDisabled $ accountIsAdmin $ Accountlastlogindate $ accountCreator )
)在/etc/openldap/schema目录增加,然后 重新生成
slaptest -f /etc/openldap/slapd.conf -F /etc/openldap/slapd.d/
ldapadd -Q -Y EXTERNAL -H ldapi:/// -f memberof_config.ldif
ldapmodify -Q -Y EXTERNAL -H ldapi:/// -f refint1.ldif
ldapadd -Q -Y EXTERNAL -H ldapi:/// -f refint2.ldif
ldapadd -Q -Y EXTERNAL -H ldapi:/// -f add_module_group.ldif
ldapadd -Q -Y EXTERNAL -H ldapi:/// -f add_group_objectClass.ldif
ldapsearch -x -LLL -H ldap:/// -b uid=yanfh,ou=people,dc=kindo,dc=com,dc=cn memberof
ldapadd -Q -Y EXTERNAL -H ldapi:/// -f test.ldif
ldapadd -D "cn=admin,dc=kindo,dc=com,dc=cn" -W -x -f jirauser.ldif
slaptest -f /etc/openldap/slapd.conf -F /etc/openldap/slapd.d/
chown -R ldap:ldap /etc/openldap/slapd.d && chmod -R 700 /etc/openldap/slapd.d边栏推荐
- Heartless sword Chinese English bilingual poem 005 Lyric
- 使用kaggle跑李宏毅机器学习作业
- Set administrator permissions for idea and console
- 李宏毅_机器学习_作业4(详解)_HW4 Classify the speakers
- donet framework4. X==windows form application new project, through system Data. SqlClient connects to sqlserver to query
- surging作者出具压测结果
- 详解Pod和容器资源管理和分配(CPU和内存分配,临时存储管理)
- ffmpeg中AVFrame\AVPacket与自己的数据交互
- 基于STM32的SG90舵机实验含代码(HAL库)
- Explain pod and container resource management and allocation in detail (CPU and memory allocation, temporary storage management)
猜你喜欢

Nearly 90% of servers can be saved, but the anti fraud efficiency has increased significantly. Why is PayPal's plan to break the "Ai memory wall" so cost-effective?

Machine learning 11: cost sensitive learning

CAD video course recommendation station B

Set administrator permissions for idea and console

Wechat e-book reading of small program graduation design (5) task book

C language explanation series - practice and consolidation of circular sentences, explanation of binary search

Intel helps open medical service and promote the intellectualization of ultrasonic prenatal examination

Build a portrait matting server based on openvino model server

Software testing - Advanced

Optimization and configuration of OSPF
随机推荐
CAD视频课程推荐 b站
C# 构造函数(Constructors)简单讲解
OSPF路由控制,防环相关知识
Software testing - use cases
Sg90 actuator experiment based on STM32, including code (HAL Library)
64. Minimum path sum: given an M x n grid containing non negative integers, please find a path from the upper left corner to the lower right corner, so that the sum of the numbers on the path is the m
By voting for the destruction of STI by Dao, seektiger is truly community driven
OSPF comprehensive experiment
若依框架包名修改器
Niuke 2021 training League warm-up training match interstellar love (and search Collection)
Skillfully use enterprise network disk to collect reports or summaries
MAUI 框架入門學習05 MVVM數據模型理解
Data types of basic knowledge of C language
Swift - Generic
String extension method usage
百度地图技术概述,及基本API与WebApi的应用开发
JS模态框
[super cloud terminal to create a leading opportunity] local computing cloud management, Intel helps digitalize Education
ASP. Net1==visual studio create asp net demo
Deconstruction of typescript array / object / string / function parameters