我想在AWS上运行的Kubernetes集群中设置OpenLDAP。 我已经应用了YAML文件“ https://github.com/osixia/docker-openldap/tree/stable/example/kubernetes/simple”,但我选择了负载均衡器的服务类型除外。
我在下面的两个ldif文件中添加了
:dn: ou=People,dc=example,dc=com
objectClass: organizationalUnit
ou: People
dn: ou=Group,dc=example,dc=com
objectClass: organizationalUnit
ou: Group
dn: uid=test,ou=People,dc=example,dc=com
objectClass: top
objectClass: account
objectClass: posixAccount
objectClass: shadowAccount
cn: test
uid: test
uidNumber: 9999
gidNumber: 100
homeDirectory: /home/test
loginShell: /bin/bash
gecos: test admin user
userPassword: password
shadowLastChange: 17058
shadowMin: 0
shadowMax: 99999
shadowWarning: 7
我已经在centos 7系统上设置了LDAP客户端,但是如果执行“ getent passwd test”,则没有显示结果
请帮助我吗?