Closed necessary129 closed 2 years ago
NOT TESTED
Parameters: [Roll number|Email|discord user] [which property to query]
Should currently be able to get the name/rollnumber/email.
No testing was done. I'm too lazy to set up a testing env right now. Maybe some time later.
bonsai needs to be installed in the env of the bot to be able to query LDAP.
bonsai
2 new ENV_VARS:
LDAP_HOST
ldap://ldap.iiit.ac.in
LDAP_BASE
dc=iiit,dc=ac,dc=in
.verify
.query
is_academic
NOT TESTED
Parameters: [Roll number|Email|discord user] [which property to query]
Should currently be able to get the name/rollnumber/email.
No testing was done. I'm too lazy to set up a testing env right now. Maybe some time later.
bonsai
needs to be installed in the env of the bot to be able to query LDAP.2 new ENV_VARS:
LDAP_HOST
: Self explanatory. should beldap://ldap.iiit.ac.in
for IIITHLDAP_BASE
: Self explanatory. should bedc=iiit,dc=ac,dc=in
for IIITH