当前位置:网站首页>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;边栏推荐
- Matlab sound classification based on short-time neural network
- Apache cannot start in phpstudy
- Two architectures of ETL (ETL architecture and ELT Architecture)
- Detailed analysis of graphs of echats diagram les miserables (chord diagram)
- The core concept and fast practice of shardingsphere
- flask_ Output fields in restful (resources, fields, marshal, marshal_with)
- Matlab create the logo of MATLAB
- JVM -- Analysis of bytecode
- 让人深思:句法真的重要吗?邱锡鹏组提出一种基于Aspect的情感分析的强大基线...
- kgdb调试内核无法执行断点及kdb-22:Permisson denied
猜你喜欢
随机推荐
Eslint的报错信息Module Error (from ./node_modules/[email protected]@eslint-loader/index.js)解决方法
Metasploit Eternal Blue attack
Your appearance is amazing! Two JSON visualization tools are recommended for use with swagger. It's really fragrant
JVM -- Analysis of bytecode
TDengine 商业生态合作伙伴招募开启
Matlab sound classification based on short-time neural network
Shardingproxy sub database and table actual combat and comparison of similar products
[brother hero's June training] day 27: picture
Oracle调整数据文件大小杂谈
MySQL must know and know!!! Reading this article is enough!!!
全校软硬件基础设施一站式监控 ,苏州大学以时序数据库替换 PostgreSQL
Solve oracle-ora-01122 01110 01210
家庭琐事问题
分布式块设备复制:客户端
颜值爆表!推荐两款JSON可视化工具,配合Swagger使用真香
Analysis of heterogeneous computing technology
Matlab low-level source code realizes the median filtering of the image (used to eliminate some miscellaneous points on the image)
Matlab/Simulink求解微分方程样例分享
Advanced operation of MySQL data table
Kgdb debug kernel cannot execute breakpoints and kdb-22:permisson denied









