ADAM abstraction at the LDAP call level

I have an ADAM directory that I need to interact with our application. We currently have an abstraction, so our repository uses Sql Server instead of making hte matching LDAP calls. We would like to get closer to our integration point and use our actual LDAP repository.

The problem is that it slows down our dev script. We have a lot of experience "Get Latest โ†’ F5", and the application "just works." Implementing this integration goal will completely destroy it for us, and we do not want to do this (completely).

Yes, we could start the VM with ADAM, but thatโ€™s a lot of overhead. We also have a centralized server that we could use, but its connection is slow (we work remotely via 3G connections and its 5-second round trip to search for LDAP).

So I'm wondering if there is a way to connect to LDAP, intercept these calls and redirect them to XML or somesort database. I heard that it is available (heresay!), But I havenโ€™t found anything in the .Net world (I think it was Java).

So basically I'm looking for everyone who has solved a similar problem, or knows a way to connect to LDAP calls. Thanks.

0
source share
1 answer

You can use #if DEBUG to go to the DB for debug builds, as you are doing now, and go to the LDAP repository in the release version.

0
source

Source: https://habr.com/ru/post/1303197/


All Articles