active-directory

How to add the distrubtion group in Active Directory for a user?

How to add the distrubtion group from Powershell in Active Directory ? I have user in active directory and i want to add the user into particular group rather than going and server because that part is going to be outsourced. so how to add the distrubution group for particular user. ...

How can I optimize my PowerShell - LDAP Query?

Hey guys, this one is out there for the PS gurus. I've created a script that reads from a CSV (or other dataset, but not posting that side) and creates users in my AD environment. Basically, whatever dataset is passed into the script will be processed, and then a user will be created if they do not exist. If the user exists in the AD al...

Using windows domain authentication for authentication

The title may seem a little weird but what I find around the internet is methods to sign on to stuff automatically with windows domain authentication (Single Sign On), but that is not what I want. In my use case I want to explicitly ask the person to enter their windows domain user/password combination to make sure that the person perfo...

Spring security LDAP compatible implementations

Hi, I've written a web applciation for a client in which authentication/authorization is done by spring security based on the 'internal' database. Now, the client has asked to switch to using their Active Directory instead. I'm a green as can be where LDAP is concerned but looking at the sample code and such it doesn't seem too difficul...

Authenticating from Java (Linux) to Active Directory using LDAP WITHOUT servername

Our developers use Java on Linux for various things (like checking membership of groups etc). It works - no problem with that! I'm not a developer so bare with me. The problem is that they have hardcoded the servernames of our Domain Controllers (LDAP-servers) in their code. So now when we need to replace them with newer DCs, they need ...

sending file to another active directory user using c#

Hi, I have set up a system with a Client-Server architecture. Problem: Sending daily log data from the client application to server. Both the client and server are on an internal network. Possible Methods... 1) Using Socket Programming 2) Sending over Active Directory (if possible) Please suggest some methods (apart from http) and ...

sending a file from one IP address to another IP address using c#

Hi, I want to set up a system with a Client-Server architecture. Problem: Sending daily log data from the client application to server. Both the client and server are on an internal network with different IP addresses. Possible Methods... 1) Using Socket Programming 2) Sending over Active Directory (if possible) 3) Sending file fr...

creating a user in Active Directory: A device attached to the system is not functioning

Consider this code attempting to create an Active Directory account. It's generating an exception here with a certain set of data. It's not clear right now what's causing the exception. var user = new UserPrincipal(someValidUserContext, ".x-xyz-t-FooFooBarTest", "somePwd", true); user.UserPrincipalName ...

Regular Expression for Valid Active Directory Account Name

Does anyone have a regex that checks if a string is a valid AD account name? e.g. accounts can't have "@" and so forth. ...

end Auth Adapter Ldap in 1.10.6 is not backward compatible

Zend Auth Adapter Ldap in 1.10.6 fails when using the same options ldap.server1.baseDn = "CN=Users,DC=webex,DC=local" (this is just one option) the exact same option works in the previous 1.5 or 1.6 versions if i change the above option to ldap.server1.baseDn = "DC=webex,DC=local" then it works but would always return Invalid Credent...

Java SSO: Kerberos authentication against Active Directory

I'm still trying to find a Java based solution for SSO (running on *nix), which I can use on JBoss to authorize against an Active Directory/domain controller. I initially tried to do this via NTLM, but gave up because it will be not supported on Windows Server >= 2008. Therefore I'm trying to implement this using Kerberos, but it seems ...

Django to do its own NTLM Authentication (HTTP Headers & all)

I'm considering moving from Apache to Lighttpd for an internal web application, written with python. The problem is that I'm relying on libapache2-mod-auth-ntlm-winbind ... which doesn't actually seem to be a well support & updated package (though that could be because it really does work well). I'm looking for suggestions and hints ab...

Glassfish JAAS active directory

I'm attempting to use JAAS in Glassfish to handle authentication and authorization in my web applications against Active Directory. First off I have written some POJO programs that can successfully connect to my AD and authenticate against the users and groups I have setup. So I am confident that the usernames, passwords, and groups I'm ...

Writing a Password Filter for Windows in C# and registering the dll

I'm looking to write a custom password filter for windows using C#.Net. Any inputs on that? I have already read the programming considerations for writing a password filter. I'm not able to find any code sample in C#. ...

MSMQ AD permissions

Hi, We have a system using two machines to do some processing. Let's call the machine that does the processing PROCESSOR, and the machine giving it items to process SERVER. Both are running Windows Server 2008. We have one Windows Service running on SERVER which needs to use MSMQ to send messages to a public queue PROCESSOR. On PROCESS...

Ways to update a sql server database from a VC++ win32 project?

Hello I'm in the process of creating a Password Filter as described here. I can manage to write the VC++ code. My issue is that i need to update SQL Server database from that code. I dont have any past experience in VC++ Win32 project. My assumptions are Linking an external dll (compiled C#.net code) which will take care of the databa...

Windows active directory- Directory size quotas?

A system I have come across, that uses active directory, and has disk quotas, does not have the quotas tranparent to the user. All the users displays in windows (my computer etc.) and calls to GetDiskFreeSpaceEx always return the free space of the volume, and yet the user can never fill this free space because of the quotas. I have not b...

Setting user's password via System.DirectoryServices.Protocols in AD 2008 R2

Hello. I am connecting to a Microsoft Active Directory server in a DMZ from my .net application (asp.net VB .net 4.0). I need to create a new "inetorgperson" in an orgunit called "SingleCustomerAccount". I have had to use the System.DirectoryServices.Protocols namespace for all the work, because the ADSI classes (System.DirectoryServic...

LDAP Active directory authentication question

I am trying to authenticate users on my site with their LDAP credentials. However the bind to the active directory seems to require my credentials first before I can authenticate any other username/passwords. I don't want to hardcode my credentials in the application. Any suggestions? $self->authen->config( DRIVER => [ 'Authen::Simple...

Active Directory Password Sync Products

Hello All, I have a product which has its own repository in SQL DB and it has its own set of users. I would like to synchronize the SQL DB passwords with that of the corresponding Active Directory passwords. Could anybody suggest me the popular products or tools available for this type of synchronization? ...