Skip to content

Commit e6668d1

Browse files
committed
Update Makefile and config.yml with new target IP address
1 parent b45bf36 commit e6668d1

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
include .env
2+
STC_API_TARGET?=193.52.197.92
23
STC_API_HOST?=taiga.archi.fr
34
STC_API_FORWARD_PORT?=1337
45
IMG_NAME = "ghcr.io/libertech-fr/sesame-taiga_crawler"
@@ -36,8 +37,8 @@ install-deps: ## Installe les dépendances python
3637

3738
taiga-forward: ## Transfert les appels de l'API Taiga via un proxy socks au travers du serveur sesame (à utiliser pour lancer le script à distance)
3839
@printf "\033[33mNCAT:\033[0m Launch forwarding tcp requests for <$(STC_API_HOST)> ...\n"
39-
@ssh libertech@193.52.197.92 "pkill -f 'ncat $(STC_API_HOST) 443'" || true
40-
@ssh libertech@193.52.197.92 "ncat --keep-open --no-shutdown -v \
40+
@ssh libertech@$(STC_API_TARGET) "pkill -f 'ncat $(STC_API_HOST) 443'" || true
41+
@ssh libertech@$(STC_API_TARGET) "ncat --keep-open --no-shutdown -v \
4142
--sh-exec 'ncat $(STC_API_HOST) 443' \
4243
-l $(STC_API_FORWARD_PORT)"
4344
@printf "\033[33mNCAT:\033[0m End of forwarding requests !\n"

config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
"inetOrgPerson.sn": "prenom",
3232
"inetOrgPerson.givenName": "prenom",
3333
"additionalFields.attributes.supann.supannPrenomsEtatCivil": "prenom",
34-
"inetOrgPerson.uid": "id_coord",
34+
"inetOrgPerson.uid": "email2",
35+
"inetOrgPerson.employeeNumber": "id_coord",
3536
"additionalFields.attributes.supann.supannEmpId": "id_coord",
3637
"inetOrgPerson.mail": "email1",
3738
"inetOrgPerson.mobile": "tel_mob",

0 commit comments

Comments
 (0)