ldap

API to Import Data in to Apache SOLR from LDAP

只愿长相守 提交于 2019-12-25 05:59:11
问题 We would like to use Apache SOLR to search users. For that we want to map the users from LDAP to SOLR. We just want to search users, we don't want any authentication as we do authentication even before it hits SOLR. I couldn't find any API to do that. I guess I could get records from LDAP and SOLR rest API to push the data. I don't want to reinvent the wheel if there is already tool out there to help. any help would be appreciated Many thanks in advance. 来源: https://stackoverflow.com

API to Import Data in to Apache SOLR from LDAP

╄→гoц情女王★ 提交于 2019-12-25 05:59:04
问题 We would like to use Apache SOLR to search users. For that we want to map the users from LDAP to SOLR. We just want to search users, we don't want any authentication as we do authentication even before it hits SOLR. I couldn't find any API to do that. I guess I could get records from LDAP and SOLR rest API to push the data. I don't want to reinvent the wheel if there is already tool out there to help. any help would be appreciated Many thanks in advance. 来源: https://stackoverflow.com

novell.directory.ldap.netstandard MaxResults

风格不统一 提交于 2019-12-25 05:04:29
问题 I am querying my active directory using novell.directory.ldap.netstandard from my .net core project. It is only bringing back a maximum of 1000 users, I know this is because the PageSize on the server is set to 1000, how can I get the code to bring back all active directory users? - I am using the async search method. string ldapHost = ""; int ldapPort = ; string loginDN = ""; string password = ""; string searchBase = ""; string searchFilter = ""; string[] attributes = new string[] {

Searching for lastLogon attribute of user in multiple domain servers

你离开我真会死。 提交于 2019-12-25 04:48:15
问题 First of all, please forgive me if I'm not using the correct terminologies. Correct me wherever I'm using the wrong terminology. The objective is to programmatically retrieve the lastLogon date of a given username. We have what I believe is a forest; two AD servers like - adserver01.aa.mycompany.com and adserver02.aa.mycompany.com I connected to these servers from a third machine using Microsoft's ADExplorer to inspect the objects. There I see some users having lastLogon date available in

Tomcat LDAP User Auth

点点圈 提交于 2019-12-25 04:44:09
问题 What I need to know: is it possible to authenticate my Tomcat-Users via two completly different Acitve Directories? So that my Tomcat looks for the credentials in both ADs at the same time? And if its possible, how? Can I just configure them as two realms? What I tried: Googled a lot, didn't get a satisfying answer. Sadly I do not have a testing environment 回答1: Yes. Define a JAAS realm, with two LoginModules, either of which is 'sufficient', in the language of JAAS. Each LoginModule should

LDAP and Subversion: Who can access my repository

ε祈祈猫儿з 提交于 2019-12-25 04:22:39
问题 I use our Active Directory groups to verify access to our Subversion repository. We have the following setup in our httpd.conf file: <Location /repo> DAV svn SVNPath /mnt/svn/repositories/repo AuthType basic AuthName "Corporate Repostitory" AuthBasicProvider ldap AuthzLDAPAuthoritative off AuthLDAPUrl "ldap://ldap2.vegicorp.net:389 ldap3.vegicorp.net:389/OU=Users,DC=vegicorp,DC=NET?sAMAccountName" NONE AuthLDAPBindDN "CN=CM,OU=Service Accounts,OU=Users,DC=Vegicorp,DC=NET" AuthLDAPBindPassword

PHP LDAP Overcoming Size Limit

旧时模样 提交于 2019-12-25 03:54:46
问题 I have a very old network box, that has PHP4 and a variation of LDAP installed on it. Querying information isn't normally an issue when the returned results are small, but I'm trying to get all entries in one specific CN This results in ' Warning: ldap_search() [function.ldap-search]: Partial search results returned: Sizelimit exceeded ' All the suggestions I've read have been for PHP5+ and Active directory, nothing for something this OLD. I'm hoping you can help. This is my very simple ldap

Check if the DirectoryEntry is valid in DirectorySearcher

柔情痞子 提交于 2019-12-25 03:52:35
问题 I am trying to search the AD on a new domain and new domain controller as our network has recently expanded. The domain I specify below is the domain the web server is joined to. I will refer to this as domainA and it works correctly. When I change it to domainB, it appears to always return results from domainA. I can put the new domain entry or even any string like "blahblahblah" inside DirectorySeracher() and it returns results from DomainA. Is it falling back to the domain the web server

Claim based authentication from PHP to Windows?

让人想犯罪 __ 提交于 2019-12-25 03:38:20
问题 i work at a company where all my web-applications connect to the LDAP-Directories or the AD for Authentication and/or Authorisation purposes. Generally this works quite well. Nowadays though - especially due to the latest introdution to SP2010 - people are looking forward to single sign ons and don't wanna re-login. So my Question: Is there any way to make PHP Claim the Authentication from Windows? I mean sure SharePoint does it with WIF on IIS - maybe theres a way PHP is as awesome :P My

Adding users to AD with powershell

*爱你&永不变心* 提交于 2019-12-25 03:33:13
问题 I have a question about how to add users to AD using powershell, ive written a small script but i always get an error when i try to create a user. $connection= "LDAP://ou=Users, dc="domain", dc="com" $OU = [adsi] $Connection $User = $OU.Create("user", "Test Person") $User.Put("Firstname", "Test") $User.Put("Surname", Person) $User.Put("Email", "email@e.com") $User.SetInfo() I think my connection string is wrong, but i tried different ways already and still no success. This im trying locally.