forked from Deuxfleurs/bottin
Add config.json.test to use in Go test
This commit is contained in:
parent
a9b04a255f
commit
eb7f00c526
2 changed files with 15 additions and 0 deletions
13
test_automatic/config.json.test
Normal file
13
test_automatic/config.json.test
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"suffix": "dc=deuxfleurs,dc=fr",
|
||||
"bind": "127.0.0.1:1389",
|
||||
"acl": [
|
||||
"ANONYMOUS::bind:*,ou=users,dc=deuxfleurs,dc=fr:",
|
||||
"ANONYMOUS::bind:cn=admin,dc=deuxfleurs,dc=fr:",
|
||||
"*,dc=deuxfleurs,dc=fr::read:*:* !userpassword",
|
||||
"*::read modify:SELF:*",
|
||||
"cn=admin,dc=deuxfleurs,dc=fr::read add modify delete:*:*",
|
||||
"*:cn=admin,ou=groups,dc=deuxfleurs,dc=fr:read add modify delete:*:*"
|
||||
]
|
||||
}
|
||||
|
|
@ -6,6 +6,8 @@ trap "kill 0" EXIT
|
|||
echo $BOTTIN_DEFAULT_ADMIN_PW
|
||||
consul agent -dev > /dev/null 2>&1 &
|
||||
sleep 2
|
||||
cp test_automatic/config.json.test config.json
|
||||
./bottin #> /dev/null 2>&1 &
|
||||
#sleep 1
|
||||
#./test_automatic/integration
|
||||
rm config.json
|
||||
|
|
Loading…
Reference in a new issue