mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-25 11:46:43 +01:00
Update ldap user pwd for nightly (#5571)
This commit is contained in:
parent
79b2f01bab
commit
9c86d0b86f
@ -203,7 +203,7 @@ func TestAuthenticateWithoutAdmin(t *testing.T) {
|
||||
var person models.AuthModel
|
||||
var authHelper *Auth
|
||||
person.Principal = "user001"
|
||||
person.Password = "zhu88jie"
|
||||
person.Password = "Test1@34"
|
||||
user, err := authHelper.Authenticate(person)
|
||||
if err != nil {
|
||||
t.Errorf("unexpected ldap authenticate fail: %v", err)
|
||||
|
@ -119,7 +119,7 @@ class TestAssignRoleToLdapGroup(unittest.TestCase):
|
||||
self.assertTrue(self.queryUserLogs(username="admin_user", password="zhu88jie")>0, "admin user can see logs")
|
||||
self.assertTrue(self.queryUserLogs(username="dev_user", password="zhu88jie")>0, "dev user can see logs")
|
||||
self.assertTrue(self.queryUserLogs(username="guest_user", password="zhu88jie")>0, "guest user can see logs")
|
||||
self.assertTrue(self.queryUserLogs(username="user001", password="zhu88jie")==0, "user001 can not see any logs")
|
||||
self.assertTrue(self.queryUserLogs(username="user001", password="Test1@34")==0, "user001 can not see any logs")
|
||||
|
||||
pass
|
||||
|
||||
|
@ -226,7 +226,7 @@ objectclass: person
|
||||
sn: user001
|
||||
uid: user001
|
||||
uidnumber: 5005
|
||||
userpassword: {MD5}wb68DeX0CyENafzUADNn9A==
|
||||
userpassword: {MD5}jMx5MaPXabPyX7F0SoFxYQ==
|
||||
|
||||
dn: cn=user002,ou=people,dc=example,dc=com
|
||||
cn: user002
|
||||
@ -244,7 +244,7 @@ objectclass: person
|
||||
sn: user002
|
||||
uid: user002
|
||||
uidnumber: 5006
|
||||
userpassword: {MD5}wb68DeX0CyENafzUADNn9A==
|
||||
userpassword: {MD5}jMx5MaPXabPyX7F0SoFxYQ==
|
||||
|
||||
dn: cn=user003,ou=people,dc=example,dc=com
|
||||
cn: user003
|
||||
@ -262,7 +262,7 @@ objectclass: person
|
||||
sn: user003
|
||||
uid: user003
|
||||
uidnumber: 5007
|
||||
userpassword: {MD5}wb68DeX0CyENafzUADNn9A==
|
||||
userpassword: {MD5}jMx5MaPXabPyX7F0SoFxYQ==
|
||||
|
||||
dn: cn=user004,ou=people,dc=example,dc=com
|
||||
cn: user004
|
||||
@ -280,7 +280,7 @@ objectclass: person
|
||||
sn: user004
|
||||
uid: user004
|
||||
uidnumber: 5008
|
||||
userpassword: {MD5}wb68DeX0CyENafzUADNn9A==
|
||||
userpassword: {MD5}jMx5MaPXabPyX7F0SoFxYQ==
|
||||
|
||||
dn: cn=user005,ou=people,dc=example,dc=com
|
||||
cn: user005
|
||||
@ -298,7 +298,7 @@ objectclass: person
|
||||
sn: user005
|
||||
uid: user005
|
||||
uidnumber: 5009
|
||||
userpassword: {MD5}wb68DeX0CyENafzUADNn9A==
|
||||
userpassword: {MD5}jMx5MaPXabPyX7F0SoFxYQ==
|
||||
|
||||
dn: cn=user006,ou=people,dc=example,dc=com
|
||||
cn: user006
|
||||
@ -316,7 +316,7 @@ objectclass: person
|
||||
sn: user006
|
||||
uid: user006
|
||||
uidnumber: 5010
|
||||
userpassword: {MD5}wb68DeX0CyENafzUADNn9A==
|
||||
userpassword: {MD5}jMx5MaPXabPyX7F0SoFxYQ==
|
||||
|
||||
dn: cn=user007,ou=people,dc=example,dc=com
|
||||
cn: user007
|
||||
@ -334,7 +334,7 @@ objectclass: person
|
||||
sn: user007
|
||||
uid: user007
|
||||
uidnumber: 5011
|
||||
userpassword: {MD5}wb68DeX0CyENafzUADNn9A==
|
||||
userpassword: {MD5}jMx5MaPXabPyX7F0SoFxYQ==
|
||||
|
||||
dn: cn=user008,ou=people,dc=example,dc=com
|
||||
cn: user008
|
||||
@ -352,7 +352,7 @@ objectclass: person
|
||||
sn: user008
|
||||
uid: user008
|
||||
uidnumber: 5012
|
||||
userpassword: {MD5}wb68DeX0CyENafzUADNn9A==
|
||||
userpassword: {MD5}jMx5MaPXabPyX7F0SoFxYQ==
|
||||
|
||||
dn: cn=user009,ou=people,dc=example,dc=com
|
||||
cn: user009
|
||||
@ -370,7 +370,7 @@ objectclass: person
|
||||
sn: user009
|
||||
uid: user009
|
||||
uidnumber: 5013
|
||||
userpassword: {MD5}wb68DeX0CyENafzUADNn9A==
|
||||
userpassword: {MD5}jMx5MaPXabPyX7F0SoFxYQ==
|
||||
|
||||
dn: cn=user010,ou=people,dc=example,dc=com
|
||||
cn: user010
|
||||
@ -388,7 +388,7 @@ objectclass: person
|
||||
sn: user010
|
||||
uid: user010
|
||||
uidnumber: 5014
|
||||
userpassword: {MD5}wb68DeX0CyENafzUADNn9A==
|
||||
userpassword: {MD5}jMx5MaPXabPyX7F0SoFxYQ==
|
||||
|
||||
dn: cn=user011,ou=people,dc=example,dc=com
|
||||
cn: user011
|
||||
@ -406,7 +406,7 @@ objectclass: person
|
||||
sn: user011
|
||||
uid: user011
|
||||
uidnumber: 5015
|
||||
userpassword: {MD5}wb68DeX0CyENafzUADNn9A==
|
||||
userpassword: {MD5}jMx5MaPXabPyX7F0SoFxYQ==
|
||||
|
||||
dn: cn=user012,ou=people,dc=example,dc=com
|
||||
cn: user012
|
||||
@ -424,7 +424,7 @@ objectclass: person
|
||||
sn: user012
|
||||
uid: user012
|
||||
uidnumber: 5016
|
||||
userpassword: {MD5}wb68DeX0CyENafzUADNn9A==
|
||||
userpassword: {MD5}jMx5MaPXabPyX7F0SoFxYQ==
|
||||
|
||||
dn: cn=user013,ou=people,dc=example,dc=com
|
||||
cn: user013
|
||||
@ -442,7 +442,7 @@ objectclass: person
|
||||
sn: user013
|
||||
uid: user013
|
||||
uidnumber: 5017
|
||||
userpassword: {MD5}wb68DeX0CyENafzUADNn9A==
|
||||
userpassword: {MD5}jMx5MaPXabPyX7F0SoFxYQ==
|
||||
|
||||
dn: cn=user014,ou=people,dc=example,dc=com
|
||||
cn: user014
|
||||
@ -460,7 +460,7 @@ objectclass: person
|
||||
sn: user014
|
||||
uid: user014
|
||||
uidnumber: 5018
|
||||
userpassword: {MD5}wb68DeX0CyENafzUADNn9A==
|
||||
userpassword: {MD5}jMx5MaPXabPyX7F0SoFxYQ==
|
||||
|
||||
dn: cn=user015,ou=people,dc=example,dc=com
|
||||
cn: user015
|
||||
@ -478,7 +478,7 @@ objectclass: person
|
||||
sn: user015
|
||||
uid: user015
|
||||
uidnumber: 5019
|
||||
userpassword: {MD5}wb68DeX0CyENafzUADNn9A==
|
||||
userpassword: {MD5}jMx5MaPXabPyX7F0SoFxYQ==
|
||||
|
||||
dn: cn=user016,ou=people,dc=example,dc=com
|
||||
cn: user016
|
||||
@ -496,7 +496,7 @@ objectclass: person
|
||||
sn: user016
|
||||
uid: user016
|
||||
uidnumber: 5020
|
||||
userpassword: {MD5}wb68DeX0CyENafzUADNn9A==
|
||||
userpassword: {MD5}jMx5MaPXabPyX7F0SoFxYQ==
|
||||
|
||||
dn: cn=user017,ou=people,dc=example,dc=com
|
||||
cn: user017
|
||||
@ -514,7 +514,7 @@ objectclass: person
|
||||
sn: user017
|
||||
uid: user017
|
||||
uidnumber: 5021
|
||||
userpassword: {MD5}wb68DeX0CyENafzUADNn9A==
|
||||
userpassword: {MD5}jMx5MaPXabPyX7F0SoFxYQ==
|
||||
|
||||
dn: cn=user018,ou=people,dc=example,dc=com
|
||||
cn: user018
|
||||
@ -532,7 +532,7 @@ objectclass: person
|
||||
sn: user018
|
||||
uid: user018
|
||||
uidnumber: 5022
|
||||
userpassword: {MD5}wb68DeX0CyENafzUADNn9A==
|
||||
userpassword: {MD5}jMx5MaPXabPyX7F0SoFxYQ==
|
||||
|
||||
dn: cn=user019,ou=people,dc=example,dc=com
|
||||
cn: user019
|
||||
@ -550,7 +550,7 @@ objectclass: person
|
||||
sn: user019
|
||||
uid: user019
|
||||
uidnumber: 5023
|
||||
userpassword: {MD5}wb68DeX0CyENafzUADNn9A==
|
||||
userpassword: {MD5}jMx5MaPXabPyX7F0SoFxYQ==
|
||||
|
||||
dn: cn=user020,ou=people,dc=example,dc=com
|
||||
cn: user020
|
||||
@ -568,7 +568,7 @@ objectclass: person
|
||||
sn: user020
|
||||
uid: user020
|
||||
uidnumber: 5024
|
||||
userpassword: {MD5}wb68DeX0CyENafzUADNn9A==
|
||||
userpassword: {MD5}jMx5MaPXabPyX7F0SoFxYQ==
|
||||
|
||||
dn: cn=user021,ou=people,dc=example,dc=com
|
||||
cn: user021
|
||||
@ -586,7 +586,7 @@ objectclass: person
|
||||
sn: user021
|
||||
uid: user021
|
||||
uidnumber: 5025
|
||||
userpassword: {MD5}wb68DeX0CyENafzUADNn9A==
|
||||
userpassword: {MD5}jMx5MaPXabPyX7F0SoFxYQ==
|
||||
|
||||
dn: cn=user022,ou=people,dc=example,dc=com
|
||||
cn: user022
|
||||
@ -604,7 +604,7 @@ objectclass: person
|
||||
sn: user022
|
||||
uid: user022
|
||||
uidnumber: 5026
|
||||
userpassword: {MD5}wb68DeX0CyENafzUADNn9A==
|
||||
userpassword: {MD5}jMx5MaPXabPyX7F0SoFxYQ==
|
||||
|
||||
dn: cn=user023,ou=people,dc=example,dc=com
|
||||
cn: user023
|
||||
@ -622,7 +622,7 @@ objectclass: person
|
||||
sn: user023
|
||||
uid: user023
|
||||
uidnumber: 5027
|
||||
userpassword: {MD5}wb68DeX0CyENafzUADNn9A==
|
||||
userpassword: {MD5}jMx5MaPXabPyX7F0SoFxYQ==
|
||||
|
||||
dn: cn=user024,ou=people,dc=example,dc=com
|
||||
cn: user024
|
||||
@ -640,7 +640,7 @@ objectclass: person
|
||||
sn: user024
|
||||
uid: user024
|
||||
uidnumber: 5028
|
||||
userpassword: {MD5}wb68DeX0CyENafzUADNn9A==
|
||||
userpassword: {MD5}jMx5MaPXabPyX7F0SoFxYQ==
|
||||
|
||||
dn: cn=user025,ou=people,dc=example,dc=com
|
||||
cn: user025
|
||||
@ -658,7 +658,7 @@ objectclass: person
|
||||
sn: user025
|
||||
uid: user025
|
||||
uidnumber: 5029
|
||||
userpassword: {MD5}wb68DeX0CyENafzUADNn9A==
|
||||
userpassword: {MD5}jMx5MaPXabPyX7F0SoFxYQ==
|
||||
|
||||
dn: cn=user026,ou=people,dc=example,dc=com
|
||||
cn: user026
|
||||
@ -676,7 +676,7 @@ objectclass: person
|
||||
sn: user026
|
||||
uid: user026
|
||||
uidnumber: 5030
|
||||
userpassword: {MD5}wb68DeX0CyENafzUADNn9A==
|
||||
userpassword: {MD5}jMx5MaPXabPyX7F0SoFxYQ==
|
||||
|
||||
dn: cn=guest_user,ou=people,dc=example,dc=com
|
||||
cn: guest_user
|
||||
|
Loading…
Reference in New Issue
Block a user