adeutscher / DirectoryTools

0 stars 0 forks source link

Unable to search with multiple DT Connections #33

Closed adeutscher closed 10 years ago

adeutscher commented 10 years ago

Replicate with the following steps:

  1. Make two separate DirectoryTools objects.
  2. Attempt to run a call with that you know is different between the two connections. In my case, I was testing with getUsersInGroup.
  3. Observe the difference in results.

DirectoryTools is querying using the most recently made configuration only. Something is getting shared in between these items.

adeutscher commented 10 years ago

Enabled debug messages, and got the following output line (along with another for every single config property): DEBUG Setting the 'server.port' property to the value of '389' (Old value: '3268')

Whoops. In __init__, I was not copying the dictionary that settings are stored in, so I was directly stepping on configuration A when I was initializing configuration B.