Most voted "active-directory" questions
Active Directory is a directory service implementation in the LDAP protocol that stores information about networked objects and makes this information available to users and administrators of this network
Learn more…52 questions
Sort by count of
-
7
votes1
answer1359
viewsCreate AD user with C#
Does anyone have a code for creating user in the C# net ad? I’m new to C# development and I tried through the codes I saw here and I couldn’t
-
7
votes2
answers4616
viewsLogin with network user(AD)
I need to log the user into my system, with the user who is logged in to the company network. I’ve never done this and I’m having doubts about how to get users on AD. I’m doing research on the net…
-
7
votes1
answer1024
viewsQuery user data logged in Windows Authentication
In my application I use the authentication mode="Windows" as a form of authentication. This way, I can know the user name, referring to the field in AD and the domain of the same using…
-
5
votes2
answers1706
viewsCapture user name logged into machine via Web Application
There are two applications, one in Java and one in ASP and both manage to integrate with Active Directory without me typing user and network password. The application made using ASP, automatically…
-
4
votes1
answer1574
viewsConnection between Active Directory and PHP, how to do?
Good morning, I am doing a job for the school and asked me to do a kind of auto-fill using AD (Active Directory), I mean through ad could fill the field "Name" and know all the permissions of that…
-
4
votes1
answer1542
viewsHow to connect a script made in PHP LDAP with Windows AD using SSL connection?
I have the code in PHP LDAP to change password in Active Directory: <?php $usuario="xxx"; $senha_atual="0000"; $senha_nova="11111"; $pessoas="casa.cafe.br"; $servidor="1.1.1.1"; $porta=389;…
-
3
votes2
answers1100
viewsLDAP and AD - Error adding user to group with C#
I am trying to add a user to the group, but I am returned the following error: Message: The server is reluctant to process the request. Errorcode: -2147016651 Extendederror: 1359…
-
3
votes0
answers533
viewsIIS configuration to authenticate using Active Directory
I created a web system using C# and use a routine to authenticate the user by taking the Active Directory user. However my system is not getting the AD user: it is catching the user from pool of the…
-
3
votes1
answer796
viewsHow to authenticate user via AD or via SQL Server Database
The user has to access via Active Director authenticationy when you are in the premises of the Company and when you are outside the Company the access will be via login and password query in an SQL…
-
2
votes1
answer256
viewsGet Organization/Departament and Organization/Title with Userprincipal - AD and C#
I am using the reference System.DirectoryServices.Accountmanagement and I have the code below: string dnsAD = "USINA.REDE"; string groupName = "Grupo Controle Acesso Gestao de Ativos"; //seta o…
-
2
votes0
answers94
viewsHow to validate an AD user through a field using a MVC app?
I’m developing a Sharepoint MVC app that creates an AD user in Sharepoint, so I need a field similar to SharePoint:PeopleEditor that exists in ASPX, to validate these users at the time of…
-
2
votes0
answers66
viewsSynchronizing LDAP user using SAML
I implemented product authentication using SAML. This product has a user synchronization routine with Active Directory. Does anyone know if there may be problems firing synchronization using SAML,…
active-directoryasked 9 years, 8 months ago EdesioSchemes 21 -
2
votes1
answer372
viewsHow to create connector for active Diretory?
I need to create a connector for Active Diretory, I found this example on the internet... I heard about Migrations... You know how it works? DirectoryEntry directoryEntry = new…
-
2
votes0
answers14
viewsEclipse - How to deny build/build access to specific users
Good afternoon! We are using here in the company the Eclipse with Integration to TFS (Team Foundation Server) to do versioning of files. However, we also need to control which users will have access…
eclipse compilation team-foundation-server active-directory buildasked 8 years, 4 months ago Murilo lima alves 21 -
2
votes1
answer176
viewsCan I open VS2017 with a different user than the one placed in the installation?
Can I open VS2017 with a different user than the one placed in the installation? Because I’m trying to get in with a new user that I was given at the company. This new user is my user in AD and with…
-
2
votes1
answer129
viewsHow to get the logged-in user on the machine accessing the PHP page?
I need to get the user who is logged in to the machine being used to access a certain PHP page. The PHP page is being served by an Apache. Through some researches, I found in the PHP documentation…
-
2
votes0
answers29
viewsActive Directory login works for the second time only
I implemented an authentication via AD in my application. It only works on the second try, it does not work on the first. How do I resolve? DirectoryEntry directoryEntry = new DirectoryEntry(path,…
-
1
votes1
answer654
viewsInsert data into Active Directory via SQL SERVER
I’m working with integration between Sql Server and Active Directory. I can already import AD information through scripts. I would like to know if it is possible to enter information on AD users…
-
1
votes0
answers267
viewsAutomatically log into the application using Windows Authentication
I need to automatically log in my ASP.NET application using Windows credentials (Active Directory), exactly the same as the Sharepoint ago. In Visual Studio already has a template (Framework 4.5)…
-
1
votes2
answers947
viewsAdd values from a column with Ruby
Hello I’m starting my studies with Ruby On Rails, and I’m making an application that manages expenses. Well what I need to do sum up all the expenses of the "value" column and show in the view. I’m…
-
1
votes0
answers41
viewsMessage Globalization for Active Directory
I have an application developed in ASP.NET and uses Active Directory for authentication. Active Directory error messages, when published on my computer, appear in Portuguese, but when published on…
-
1
votes0
answers42
viewsPHP and LDAP help
I keep trying to set up this PHP login that authenticates with AD, I tested everything I found on the internet and I didn’t really think what was wrong. Besides the code below, I am attaching a…
-
1
votes1
answer188
viewsLog in to AD
Good evening, everyone, I need to login to AD using C#, I heard about a class called Principalcontext, you know how I use it? I saw that I have to go through Domain, would not work like the…
-
1
votes1
answer69
viewsDeploying Sign single on using AD
Is it possible to implement single singn on using AD? How will my legacy applications communicate with AD? Will it have a WS?
-
1
votes1
answer2251
viewsList AD groups via a query
I’m looking for a direct query to Adctive Directory. I need to know which groups Views are linked, the same goes for users. The structure, for you to understand better: is created a group where is…
-
1
votes1
answer1485
viewsPerforming AD (Active Directory) query with PHP
Currently I have in here in the environment the AD (Active Directory) from Windows Server 2012. Today in my PHP application I can already connect to this AD via ldap_connect + ldap_bind. But I would…
-
1
votes1
answer685
viewsIntegrate Samba4 server to microsoft active-directory
I have a windows server 2003 in production running as a domain controller, I have accounts, groups etc. all right and working there. I receive notice from microsoft that the server 2003 will no…
-
1
votes0
answers84
viewsCreating Active Directory users using Forms
I am creating a form for a user to be created in AD with the fields concerned, but right now you are giving me the following error: New-Aduser : The server is not available to process the request At…
-
1
votes1
answer133
viewsLogin with Activedirectory
I am trying to make the connection with AD. However the error is displayed: Warning: ldap_connect(): Could not create Session Handle: Bad Parameter to an ldap routine in C: Program Files (x86)…
-
1
votes1
answer732
viewsList a user’s groups on an AD server
I need to list a user’s groups X on the AD server. I have the following code snippet ready that already authenticates on the server and returns me all groups: public static boolean…
-
1
votes2
answers274
viewsRestrictions of AD Groups
I’m currently developing a Webapp where I have already managed to get login to confirm the user credentials in the AD. Basically the login already works correctly. My goal now is to create 1 group…
-
1
votes0
answers399
viewsHow to recover/retrieve the value of the "unicodePwd" attribute in Active Directory via a java application
I read several articles here on Stackoverflow on how to get the value of the attribute "unicodePwd" in AD (Active Directory), but none of these articles helped me in this situation. Well, why do I…
-
1
votes0
answers372
viewsSearch registered email in AD with PHP
I have PHP below that connects in AD using LDAP, working perfectly: <?php $username2 = $_POST["username"]; //Recebe o usuario do form "index.php" $password = $_POST["senha"]; //Recebe a senha do…
-
1
votes0
answers192
viewsConnection problems with ldap using python ldap
I’m new to python, and I’m trying to make a connection to LDAP to verify the existence of an Active Directory user, however, when trying to connect to ldap using the following code snippet: l =…
-
1
votes1
answer69
viewsC# - Outofmemoryexception when searching for thousands of Active Directory groups
I’m searching thousands of groups with hundreds of users each of Active Directory, but it’s consuming a lot of memory. It starts with about 300 MB and when it reaches about 1800 MB, seen in the task…
-
1
votes0
answers55
viewsJava Spring, error authenticating with active Diretory
Hi guys, in my company we implemented an active Diretory environment, and we were asked to develop an application that authenticates there, the environment is already created and the guy from the…
-
1
votes1
answer455
viewsScript to Copy Directory to Program Files folder with Administrator rights
Good afternoon, you guys, I would like to copy some files in *.vbs, to a folder in "Program Files(X86)" via logon Script. But the message that appears is that the user has no rights to make the…
-
0
votes2
answers723
viewsSQL SERVER and Active Directory integration
Hello, I wonder if it is possible to make the Active Directory authentication point to a base in SQL Server, where I have user and passwords. The point is that I have a user base and that all…
-
0
votes0
answers616
viewsHow to validate a user in Active Directory via Android
I am trying to validate user in Active Directory with Delphi XE7 + Android. Before I used in previous versions to desktop but now I can’t do for Android.
-
0
votes0
answers543
viewsQuery Active Directory data in Sql Server
I have services (WCF) that do searches in Active Directory to provide data to various applications that use Microsoft Membership Provider, and also need some of this information in some queries in a…
c# .net active-directory sql-server-2008 asp.net-membershipasked 9 years, 11 months ago Rafael Carvalho 246 -
0
votes1
answer58
viewsWhat information can I get from the user through Java EE?
I need to implement SSO(Single Sign-On) in a client of the company I work, the scenario is basically the following: They have a web system, made in java, which has a normal login, but they want that…
-
0
votes1
answer191
viewsReturn AD physicalDeliveryOfficeName using LDAP with Java
I’m creating a Java application that integrates with active directory. But I’m having trouble returning a specific data: the Office field (Office - physicalDeliveryOfficeName). Theoretically, his…
-
0
votes1
answer379
viewsIs it possible to use pyad (active directory module) on linux?
If it is possible to use this module on linux, would you like to know how to install it? tried with "Pip install pyad", but I get the message below: Could not find a version that satisfies the…
-
0
votes0
answers39
viewsLogin to Kooboo CMS admin with Active directory
I am in a project where the client wants the login in the CMS admin to be done through Active Directory. The CMS we are using is Kooboo based on aspnet MVC. Has anyone ever done anything like this?…
-
0
votes2
answers212
viewsPermissions management using Active Directory
I am developing an ASP.NET C# application and at the moment I am at the login point which is almost finished. I’m using<authentication mode="Windows"></authentication> and a code that…
c# asp.net security-guard authentication active-directoryasked 7 years, 9 months ago Andre Brandao 109 -
0
votes1
answer67
viewsNode Create an API to validate Azure AD login
Does anyone know how I could create an API to validate login with Azure AD and return a token?
-
0
votes0
answers141
viewsLog in to AD and create users c# Forms
Good afternoon, everyone! I’ve done a lot of research on this, but not on c# Forms, I tested some codes I got here and nothing. what I would like to do is: make a Forms where I inform the (IP, USER…
-
0
votes1
answer109
viewsFilter AD User - Powershell/CSV
Dear colleagues, I need to read a CSV file and filter the users within the AD with the information contained in the CSV. I need to compare the CSV field with the Userprincipalname inside the AD. My…
-
-1
votes1
answer67
viewsClient Identity x Azure AD x ADFS integration
I have a database authentication application using OWIN and Identity. A client requested single Sign on with ADFS on premisse. I did it directly through OWIN, but the client requests a federation…
-
-1
votes2
answers597
viewsChange user password (Active Directory) using php and powershell
I need to change the password of an AD user using php and powershell would be like: connect to AD with ldap, write powershell codeline in php and run it, make it run in AD too, wrote a line to show…