File tree Expand file tree Collapse file tree 4 files changed +10
-4
lines changed
Expand file tree Collapse file tree 4 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 2626 cp copy_ssh_key.py .debpkg/var/lib/sesame-daemon/backends-modules/ad
2727 chmod 700 .debpkg/var/lib/sesame-daemon/backends-modules/ad/install.sh
2828 chmod 700 .debpkg/var/lib/sesame-daemon/backends-modules/ad/copy_ssh_key.py
29+ chmod 700 .debpkg/var/lib/sesame-daemon/backends-modules/bin/*
2930 cp requirements.txt .debpkg/var/lib/sesame-daemon/backends-modules/ad
3031 - uses : jiro4989/build-deb-action@v3
3132 with :
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ cp ./etc/* $INSTALL/etc
2020mkdir $INSTALL /bin
2121mkdir $INSTALL /lib
2222PWD=` pwd`
23+ chmod 700 ./bin/*
2324cp ./lib/__init__.py $INSTALL /lib
2425ln -s $PWD /lib/backend_utils.py $INSTALL /lib/backend_utils.py
2526ln -s $PWD /lib/ad_utils.py $INSTALL /lib/ad_utils.py
@@ -28,7 +29,7 @@ ln -s $PWD/bin/ping.py $INSTALL/bin/ping.py
2829ln -s $PWD /bin/resetpwd.py $INSTALL /bin/resetpwd.py
2930ln -s $PWD /bin/delentity.py $INSTALL /bin/delentity.py
3031ln -s $PWD /bin/upsertidentity.py $INSTALL /bin/upsertidentity.py
31- chmod 700 $ INSTALL /bin/*
32+ ln -s $PWD /bin/activation.py $ INSTALL /bin/activation.py
3233mkdir $INSTALL /ps1_templates
3334cp ./ps1_templates/* $INSTALL /ps1_templates
3435chmod 600 $INSTALL /ps1_templates/*
Original file line number Diff line number Diff line change @@ -19,6 +19,12 @@ actions:
1919 IDENTITY_DELETE :
2020 script : ' delentity.py'
2121 onError : ' stop'
22+ IDENTITY_ENABLE :
23+ script : ' activation.py --active 1'
24+ onError : ' stop'
25+ IDENTITY_DISABLE :
26+ script : ' activation.py --active 0'
27+ onError : ' stop'
2228 PING_TARGET :
2329 script : ' ping.py'
2430 onError : ' stop'
Original file line number Diff line number Diff line change 11host=ad.mydomain.com
22user=administrator
33base=dc=mydomain,dc=com
4- userbase=ou=peoples,dc=mydomain,dc=com
5- rdnattribute=uid
64branchForEtd=ou=Etudiants
75branchForAdm=ou=Administratifs
86branchForEsn=ou=Enseignants
9- branchAttr=supannTypeEntiteAffectation
7+ branchAttr=supannEntiteAffectationPrincipale
108backendFor=adm,etd,esn
You can’t perform that action at this time.
0 commit comments