Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

active-directory

Web application to use window domain accounts for authentication

August 26, 2022 by Magenaut

If you have a web application that will run inside a network, it makes sense for it to support windows authentication (active directory?).

Categories ASP.NET, Q&A Tags active-directory, asp.net, security, windows-authentication Leave a comment

Detect user logged on a computer using ASP.NET app

August 26, 2022 by Magenaut

I want to develop an ASP.NET application that can detect the user logged on a Window Domain. These credentials are going to be used to logging on the ASP.NET application.

Categories ASP.NET, Q&A Tags active-directory, asp.net, c#, windows-authentication Leave a comment

UserPrincipal.FindByIdentity() always returns null

August 25, 2022 by Magenaut

I am using LdapAuthentication to log a user into Active Directory. I want to find all the groups that the user belongs to. I am using the following code:

Categories ASP.NET, Q&A Tags active-directory, asp.net, c#, ldap, principalcontext Leave a comment

GroupPrincipal method FindByIdentity throw strange exception

August 25, 2022 by Magenaut

I am trying to get all users by group name and dispalay it in sharepoint webpart. adGroupName something like = “CompanyGroup”.

Categories ASP.NET, Q&A Tags .net, active-directory, asp.net, c#, sharepoint-2010 Leave a comment

Active Directory group lookup function failing

August 24, 2022 by Magenaut

Help! I’ve been trying to write a function that will confirm a user’s membership in an Active Directory group, and while it works if the member happens to be in the group, it throws an exception if the user is not.

Categories ASP.NET, Q&A Tags active-directory, asp.net Leave a comment

How to use active Directory for ASP.Net 5 (MVC6) Intranet application

August 24, 2022 by Magenaut

I am developing an intranet application and would like to use the existing organisations Active Directory for user authentication and policy based role authorisation.

Categories ASP.NET, Q&A Tags active-directory, asp.net, asp.net-core-mvc, ldap Leave a comment

Asp.Net Login Control very slow initial connection to Non-Trusted AD Domain

August 24, 2022 by Magenaut

ASP.NET Login control is very slow making the initial connection to AD when authenticating to a different domain than the domain the web server is a member of. Problem occurs for the IIS server and when using with the Visual Studio’s built in web server.

Categories ASP.NET, Q&A Tags active-directory, asp.net Leave a comment

DirectoryServices UserPrincipal.SetPassword ignores password policy (password history)

August 24, 2022 by Magenaut

As the title suggests, I am having an issue regarding respecting the password policy when setting a users password, specifically, the password history restriction.

Categories ASP.NET, Q&A Tags active-directory, asp.net, c#, directoryservices Leave a comment

How to set folder permissions in Windows?

August 18, 2022 by Magenaut

I’m using Python to create a new personal folder when a users AD account is created. The folder is being created but the permissions are not correct. Can Python add the user to the newly created folder and change their permissions? I’m not sure where to begin coding this.

Categories Python, Q&A Tags active-directory, permissions, python, share Leave a comment

Authenticating against active directory using python + ldap

August 12, 2022 by Magenaut

How do I authenticate against AD using Python + LDAP. I’m currently using the python-ldap library and all it is producing is tears.

Categories Python, Q&A Tags active-directory, authentication, ldap, python Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress