active-directory

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

The namespace of IADsLargeInteger

夙愿已清 提交于 2020-01-02 06:10:50
问题 I looking for way to convert COM object to DateTime and I saw a lot of articles about this problem (like this one -https://msdn.microsoft.com/en-us/library/ms180872(v=vs.80).aspx and this one- How to read "uSNChanged" property using C# ) However, all of those articles talking about using an object from the interface IADsLargeInteger . I tried to look for the namespace of this interface and I just couldn't find any clue. 回答1: Here is a code sample including everything you need to convert from

Remove all ex-employees from ALL distribution groups

橙三吉。 提交于 2020-01-02 05:47:07
问题 So, today I was assigned the task of removing all the ex employees on the domain (they have their own folder in AD) from all their DL's. Is there any way to do this quickly, or at least quicker than checking each individually and going to member of > remove all? Thanks Edit to add more information: There are 822 users that need there "member of" tab updated to remove them from all distribution lists. This would take my team of 5 (helpdesk) roughly a week to sift through on top of our already

Why is JDK1.8.0u121 unable to find the kerberos default_tkt_enctypes types? (KrbException: no supported default etypes for default_tkt_enctypes)

[亡魂溺海] 提交于 2020-01-02 05:07:13
问题 Following are my environment details:- KDC Server : Windows Server 2012 Target machine : Windows 7 JDK Version : Oracle 1.8.0_121 (64 bit) I'm getting the following exception on running the Java's kinit command the on Windows 7 machine :- C:\Program Files\Java\jdk1.8.0_121\bin>kinit -k -t "C:\Program Files\Apache Software Foundation\Tomcat 8.0\conf\tomcat_ad.keytab" HTTP/dev26.devdevelopment.com@DEVDEVELOPMENT.COM Exception: krb_error 0 no supported default etypes for default_tkt_enctypes No

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

How can I get the domain name for a user logged into a Mac via Active Directory

旧街凉风 提交于 2020-01-02 02:56:05
问题 In my Cocoa app how can I get the current user's domain when they're logged in via Active Directory? I need to determine two things: If the current user is logged on to an Active Directory domain (only need to handle Active Directory). If 1, the domain of the user. I've found references to Directory Services and the Open Directory Programming Guide but the latter is 10.6 only (I must support 10.5+) and I could not find any examples for the former that gave me an idea of what I needed to do.