mirror of
https://github.com/YunoHost-Apps/gitea_ynh.git
synced 2024-09-03 20:36:22 +02:00
Update LDAP config
This commit is contained in:
parent
bee1ad0a93
commit
8fb1399ab2
1 changed files with 16 additions and 5 deletions
|
@ -1,7 +1,12 @@
|
||||||
INSERT INTO `__APP__`.`login_source`
|
INSERT INTO `__APP__`.`login_source`
|
||||||
(`id`, `type`, `name`, `is_active`, `cfg`, `created_unix`, `updated_unix`)
|
(`id`, `type`, `name`, `is_active`, `is_sync_enabled`, `cfg`, `created_unix`, `updated_unix`)
|
||||||
VALUES
|
VALUES
|
||||||
('1', '2', 'YunoHost LDAP', '1',
|
(
|
||||||
|
1,
|
||||||
|
2,
|
||||||
|
'YunoHost LDAP',
|
||||||
|
1,
|
||||||
|
1,
|
||||||
'{
|
'{
|
||||||
"Name": "YunoHost LDAP",
|
"Name": "YunoHost LDAP",
|
||||||
"Host": "localhost",
|
"Host": "localhost",
|
||||||
|
@ -32,10 +37,15 @@ VALUES
|
||||||
"GroupTeamMap": "",
|
"GroupTeamMap": "",
|
||||||
"GroupTeamMapRemoval": true,
|
"GroupTeamMapRemoval": true,
|
||||||
"UserUID": "uid"
|
"UserUID": "uid"
|
||||||
}', UNIX_TIMESTAMP(NOW()), UNIX_TIMESTAMP(NOW()))
|
}',
|
||||||
|
UNIX_TIMESTAMP(NOW()),
|
||||||
|
UNIX_TIMESTAMP(NOW()))
|
||||||
ON DUPLICATE KEY
|
ON DUPLICATE KEY
|
||||||
UPDATE
|
UPDATE
|
||||||
updated_unix=UNIX_TIMESTAMP(NOW()),
|
type=2,
|
||||||
|
name='YunoHost LDAP',
|
||||||
|
is_active=1,
|
||||||
|
is_sync_enabled=1,
|
||||||
cfg='{
|
cfg='{
|
||||||
"Name": "YunoHost LDAP",
|
"Name": "YunoHost LDAP",
|
||||||
"Host": "localhost",
|
"Host": "localhost",
|
||||||
|
@ -66,4 +76,5 @@ UPDATE
|
||||||
"GroupTeamMap": "",
|
"GroupTeamMap": "",
|
||||||
"GroupTeamMapRemoval": true,
|
"GroupTeamMapRemoval": true,
|
||||||
"UserUID": "uid"
|
"UserUID": "uid"
|
||||||
}';
|
}',
|
||||||
|
updated_unix=UNIX_TIMESTAMP(NOW());
|
||||||
|
|
Loading…
Add table
Reference in a new issue