ldap

How to use LDAP Authentication with Grafana and Wamp for Single Sign On?

会有一股神秘感。 提交于 2020-01-02 09:20:07
问题 I am trying to add single sign on for grafana using LDAP, I have come across Grafana documentation for LDAP but I did not understand. Can I get Single Sign On feature using LDAP? If yes, Can somebody give me a step by step procedure to follow to setup single sign on using ldap and grafana. Grafana Version : 5.2.1 OS: WINDOWS Update 1 I have been able to configure LDAP with grafana. Now I'm trying to integrate LDAP with wamp for SSO. In apache error log file I'm getting this error auth_ldap

JNDI-LDAP paging

帅比萌擦擦* 提交于 2020-01-02 08:38:28
问题 I managed to get pagination working like described here. The problem is I need to expose an API which would look like this: getUsers(pageSize, pageNumber) , which does not really go well with the way JNDI/LDAP does the paging(with a cookie you pass each time to the search method). The code looks like this: private NamingEnumeration ldapPagedSearch(String filter, int pageSize, int pageNumber){ InitialLdapContext ctx = getInitialContext(); //TODO: get the id also, need to spec it in UI //

Classic ASP Authenticate Against Active Directory

旧时模样 提交于 2020-01-02 07:13:44
问题 I have a Classic ASP website (sorry!). Some parts of it need to be NT authentication enabled. I would ideally like to present the user with a nice login form (rather than a browser prompt) which I then authenticate against AD and then do the usual "log in if success, show error if failure" Is this even possible? I've tried the following on a local computer but not sure how to properly test for success or if it even expands to searching against AD <html> <head> </head> <body> <form action=

How to do a paged search on an Ldap server with lots of users?

倖福魔咒の 提交于 2020-01-02 06:50:50
问题 I need to create a LDAP client that works on linux using .NET Core. I searched trought the internet and the only library that support .Net Standard is Novell.Directory.Ldap (open source, iei - https://github.com/dsbenghe/Novell.Directory.Ldap.NETStandard). Directory Service library does not have support in .Net Core for Linux, only on Windows. I looked to the documentation and succeded to create a basic Ldap client application. Now the problem: I need to synchronize a lot of users (10.000,

How to do a paged search on an Ldap server with lots of users?

扶醉桌前 提交于 2020-01-02 06:50:14
问题 I need to create a LDAP client that works on linux using .NET Core. I searched trought the internet and the only library that support .Net Standard is Novell.Directory.Ldap (open source, iei - https://github.com/dsbenghe/Novell.Directory.Ldap.NETStandard). Directory Service library does not have support in .Net Core for Linux, only on Windows. I looked to the documentation and succeded to create a basic Ldap client application. Now the problem: I need to synchronize a lot of users (10.000,

PHP NTLM session with cURL

倖福魔咒の 提交于 2020-01-02 06:31:53
问题 So a little trivia first.. There is written in ASP.NET website, which uses NTLM protocol to authenticate users that want to log in. It's perfectly ok when they normally use it, they type in website URL, they provide their credentials, authenticate and maintain session in web browser. What I want to do, is create PHP website that will act as bot. It is my companys internal website and I am approved to do so. The problem I run into, is managing session. Users will be able to type in their

PHP NTLM session with cURL

你说的曾经没有我的故事 提交于 2020-01-02 06:31:09
问题 So a little trivia first.. There is written in ASP.NET website, which uses NTLM protocol to authenticate users that want to log in. It's perfectly ok when they normally use it, they type in website URL, they provide their credentials, authenticate and maintain session in web browser. What I want to do, is create PHP website that will act as bot. It is my companys internal website and I am approved to do so. The problem I run into, is managing session. Users will be able to type in their

SVN + SASL + ActiveDirectory: How to

孤街醉人 提交于 2020-01-02 03:15:06
问题 I'm trying to set up SVN to authenticate against an ActiveDirectory. I know this is possible if you set up SVN to be served using Apache, but doing so introduces too much overhead, and SVN runs too slow. From reading the SVN docs, it sounds like it should now be possible (since SASL was integrated into SVN in 1.5) to configure SVN to authenticate against ActiveDirectory without using Apache. Unfortunately the documentation from SVN and SASL is extremely generic, and lacks specifics to help

ActiveDirectoryMembershipProvider to validate a user

谁说胖子不能爱 提交于 2020-01-01 19:54:07
问题 I would like to use the ValidateUser method of the ActiveDirectoryMembershipProvider to validate that a user exists in AD. I am taking in the username and password in a form. I would like to then instantiate the provider and call ValidateUser <add name="AspNetActiveDirectoryMembershipProvider" type="System.Web.Security.ActiveDirectoryMembershipProvider" connectionStringName="ADConnection" attributeMapUsername = "userPrincipalName" /> I just replace real values with test for the post.. <add

How to Authenticate to LDAP using JNDI and Digest-MD5

╄→尐↘猪︶ㄣ 提交于 2020-01-01 16:51:10
问题 I'm trying to authenticate to my LDAP server using DIGEST-MD5 encryption. While using Simple encryption it works just fine, but I can't have the password sent over the network in plain-text, for obvious reasons. The strange thing is that while using Softerra LDAP Browser I can connect to the server using Digest-MD5, but through my Code I receive a range of errors. Here is a snippet of code from my LDAP authentication class where I try to set the security authentication etc before creating the