c# - Premissions to access LDAP from a windows service -


i'm building windows service polls windows file share location file containing members may found in ldap. windows service running specific user on domain have access file share. user in administrator group both on server running service , ldap found.

the problem have fetching files works fine when accessing ldap following exception:

ldapservice.program - exception: operations error occurred. innerex:

=== stacktrace ===
ldapservice.program - @ system.directoryservices.directoryentry.bind(boolean throwiffail)
@ system.directoryservices.directoryentry.bind() @ system.directoryservices.directoryentry.refreshcache()

=== base exc ===
ldapservice.program - system.directoryservices.directoryservicescomexception (0x80072020): operations error occurred.

searching error there lot asp.net , using impersonate(). didn't help.

if change windows service logon local system account have no problems accessing ldap (but can't access windows file share).

what other settings should at?

i using 2 different ldap directories , forgot provide user/pass second one. had given first one.

a classic example of call sbs here in sweden (skit bakom spakarna).


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -