当前位置:网站首页>The permission problem of Oracle operating openldap
The permission problem of Oracle operating openldap
2022-07-27 10:42:00 【shibushi114】
Need to be in oracle Execute the following :
--1. Create access control lists (ACLemail_server_permissions),
BEGIN
DBMS_NETWORK_ACL_ADMIN.CREATE_ACL (
acl => 'ldap_server_permissions.xml',
description => 'Enables network permissions for the ldap server',
principal => 'RBAC', -- This is the user who will operate in the future
is_grant => TRUE,
privilege => 'connect');
END;
/
--2. Put this ACL Associated with mail server ,
BEGIN
DBMS_NETWORK_ACL_ADMIN.assign_acl (
acl => 'ldap_server_permissions.xml',
host => '192.168.1.68', --LDAP Server address
lower_port => 389,
upper_port => 389);
COMMIT;
END;
/
---- Inquire about
SELECT host, lower_port, upper_port, acl FROM dba_network_acls;
SELECT acl,
principal,
privilege,
is_grant,
TO_CHAR(start_date, 'DD-MON-YYYY') AS start_date,
TO_CHAR(end_date, 'DD-MON-YYYY') AS end_date
FROM dba_network_acl_privileges;
begin
dbms_network_acl_admin.drop_acl('/sys/acls/network_services.xml');
dbms_network_acl_admin.drop_acl('/sys/acls/ldap_server_permissions.xml');
commit;
end;边栏推荐
- [brother hero July training] day 16: queue
- Awesome! VMware esxi installation record, with download
- Matlab的不同进制转换
- Two architectures of ETL (ETL architecture and ELT Architecture)
- gyp ERR! configure error. gyp ERR! stack Error: gyp failed with exit code: 1
- Matlab/simulink sample sharing for solving differential equations
- 让人深思:句法真的重要吗?邱锡鹏组提出一种基于Aspect的情感分析的强大基线...
- How to turn off the application of computer self startup
- 关于ETL的两种架构(ETL架构和ELT架构)
- warning package.json: No license field报错
猜你喜欢

简单几步教您实现为工业树莓派共享网络

开源项目丨Taier1.2版本发布,新增工作流、租户绑定简化等多项功能

It is thought-provoking: is syntax really important? Qiu Xipeng group proposed a powerful baseline for aspect based emotional analysis

Shardingproxy sub database and table actual combat and comparison of similar products

MySQL must know and know!!! Reading this article is enough!!!

Two architectures of ETL (ETL architecture and ELT Architecture)

数据类型与变量

免费 DIY 之旅问题

How to smooth the online and offline of Web Services

【Flutter】SharedPreferences使用
随机推荐
[Flink] Flink builds clusters in standalone mode
Matlab/Simulink求解微分方程样例分享
wind10配置adb命令
Project team summer vacation summary 01
Server access speed
文档智能多模态预训练模型LayoutLMv3:兼具通用性与优越性
It is thought-provoking: is syntax really important? Qiu Xipeng group proposed a powerful baseline for aspect based emotional analysis
Error in nodejs: getaddrinfo enotfound localhost
【Liunx】安装MySQL
搭建 Samba 服务
Sorting out some open source projects of speech recognition
Detailed analysis of graphs of echats diagram les miserables (chord diagram)
warning package.json: No license field报错
Solve oracle-ora-01122 01110 01210
R语言管道符(%>%)及占位(.)的简单介绍
Family Trivia
JVM -- Analysis of bytecode
Beijing publicized the spot check of 8 batches of children's shoes, and qierte was listed as unqualified
Distributed block device replication: client
关于ETL的两种架构(ETL架构和ELT架构)