mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-25 01:58:35 +01:00
53 lines
1.2 KiB
Plaintext
53 lines
1.2 KiB
Plaintext
# User entry doesn't belong to harbor_users, it should fail to login
|
|
dn: uid=test,dc=example,dc=com
|
|
uid: test
|
|
cn: test
|
|
sn: 3
|
|
objectClass: top
|
|
objectClass: posixAccount
|
|
objectClass: inetOrgPerson
|
|
loginShell: /bin/bash
|
|
homeDirectory: /home/test
|
|
uidNumber: 1001
|
|
gidNumber: 1001
|
|
userPassword: 123456
|
|
mail: test@example.com
|
|
gecos: test
|
|
|
|
# OU for People
|
|
dn: ou=people,dc=example,dc=com
|
|
objectClass: organizationalUnit
|
|
ou: People
|
|
|
|
# OU for Groups
|
|
dn: ou=groups,dc=example,dc=com
|
|
objectClass: organizationalUnit
|
|
ou: Groups
|
|
|
|
# Group Entry harbor_users
|
|
dn: cn=harbor_users,ou=groups,dc=example,dc=com
|
|
cn: harbor_users
|
|
description: All users
|
|
member: cn=mike,ou=people,dc=example,dc=com
|
|
objectclass: groupOfNames
|
|
objectclass: top
|
|
|
|
# User belongs to harbor_user
|
|
dn: cn=mike,ou=people,dc=example,dc=com
|
|
cn: mike
|
|
gidnumber: 10000
|
|
givenname: mike
|
|
homedirectory: /home/mike
|
|
loginshell: /bin/bash
|
|
mail: mike@example.com
|
|
objectclass: top
|
|
objectclass: posixAccount
|
|
objectclass: shadowAccount
|
|
objectclass: inetOrgPerson
|
|
objectclass: organizationalPerson
|
|
objectclass: person
|
|
sn: Joe
|
|
uid: mike
|
|
uidnumber: 5000
|
|
userpassword: {MD5}wb68DeX0CyENafzUADNn9A==
|
|
memberof: cn=harbor_users,ou=groups,dc=example,dc=com |