Open Source SPML to LDAP Gateways
I recently ran across Project Keychain and wanted to know if there are any other SPML to LDAP gateways that are open source. Implementation language does not matter. ...
I recently ran across Project Keychain and wanted to know if there are any other SPML to LDAP gateways that are open source. Implementation language does not matter. ...
I would like to have a clean C# class that authenticates from Active Directory. It should be pretty simple, it just has to ask for credentials and check if it matches what AD is expecting. I am responsible for a number of C# applications, and I would like all of them to use the same class. Could someone please provide a clean code s...
Here's my situation... I'm writing a .Net/C# security system (authorization and authentication) for a large collection of web applications that require a single sign-on process. I'm using Active Directory as a data store and have written a very nice prototype that communicates with AD through LDAP. This component retrieves information a...
I have a single site that has many names. I want to be able to programatically add a new host header record to IIS to allow it to recognize another name. Specifically, what is the code (preferably in C#) to add a new host header to a given site? ...
Please can someone help... tried these answers to these questions Questions on SO String account = userAccount.Replace(@"Domain\", ""); DirectoryEntry entry = new DirectoryEntry(); try { DirectorySearcher search = new DirectorySearcher(entry); search.PropertiesToLoad.Add("mail"); // e-mail add...
I'm trying to move a SharePoint site from one server to another. I'm supposed to move all the users with their permissions as well. I've been told that the best way to do that is to export the users from the AD and then import the list on the target server. Is this the best way to accomplish this? How do I export only the users and p...
Heloo all, Dim search As DirectorySearcher = New DirectorySearcher(entry) search.Filter = String.Format("(& (objectClass=user)(samAccountName={0}))", "canallb") search.PropertiesToLoad.Add("proxyAddresses") Dim proxyNames As StringBuilder = New StringBuilder() Dim propertyCount As Integer = resul...
I'm a little confused by these two terms: "Legacy Distinguished Name"(Legacy DN) and "Distingushed Name"(DN). The first term Legacy DN seems only for Exchange, while the latter DN is only mentioned for Active Directory. They are obviously not in same format: DN is like: CN=Morgan Cheng, OU= SomeOrg, DC=SomeCom, DC=com LegacyDN is lik...
Situation is you have to develop an application against an Active Directory Tree. Want to use Role based security based on AD user groups. The deployment tree is unavailable, no trust exists or is allowed between the development tree and deployment tree. What are the best practices for developing the application and then deploying. Firs...
I have a WCF web service, currently served over WSHttpBinding endpoint with Transport security and Windows client credential type. The service is hosted on top of IIS 5.1 with SSL configured using a certificate from the domain certificate authority. IIS itself runs with the identity of [email protected] on a domain computer. Anonymous acce...
Hi, I have a web application that currently only supports asp.net forms authentication. My user business logic currently is like: Users.GetUserByID(userID); Users.LoginUser(username, password); i.e. it is pretty modular and I hope supporting active directory won't be difficult. Is it possible for me to support both AD and forms? If...
What are the best practices for choosing an RDN when creating new objectClasses in LDAP? I know you can choose from uid, cn, ou, and so on, but what practices should one follow? ...
Hi I'm doing an application which needs to query active directory and I've been using ldap queries for that purpose. My problem is that I really cant use "ou=People,dc=pisoftware,dc=com" because the People node name keeps changing because my department name have been changed a lot recently. So in order to avoid the problem of having t...
Using System.DirectoryServices.AccountManagement assembly. I am using the constructor PrincipalContext context = new PrincipalContext( ContextType.Domain, "myserver.ds.com", "LDAP://OU=the-users,DC=myserver,DC=ds,DC=com", adusername, password); I can ...
Need to launch a new ASP.NET site on this server but need to be joined to our Active Directory domain, anyone know how this is done? ...
Hi I have one question regarding domain account. I have one domain controller where all the user information are stored. I have joined the domain on my laptop but I observed that I am able to log-in using domain credentials even if domain controller is down. How is this possible? Kind Regards PK ...
I have an error... The container specified in the connection string does not exist Basically, I am using Active Directory authentication in ASP.NET. I have set up my connection string. I am still very new to AD. I appritate any help thanks ...
I want to be able to load up an Active Directory server with a realistic medium-to-large enterprise directory structure (groups, users) so that I can run performance tests on an application which makes use of that data. In my fantasy world, some big company would export their (anonymized) AD structure in a way I could import directly. ...
ISS and ASP.NET. In my setup I have a web application that must be accessable from: an organisatition of 3000 users 200 external users The solution is hosted in the organisations DMZ. Initially i was hoping to do AD based authentication for the 3000 org users, so that they wouldnt need to remember more passwords. Now the hosting...
Our customer wants to use their existing active directory to authenticate users on a new WSS 3.0 server. The company is using several domains. I have read this thread sharepoint-wss-authentication-across-multiple-domains but it does not give me the information on how to set up the sync-connection. Ive seen on meny places that AD sync is...