I've got an older ASP/VBScript app that I'm maintaining/upgrading and its currently using the older/depreciated means of gathering profile information - like below:
strNTUser = Request.ServerVariables("AUTH_USER")
strNTUser = replace(strNTUser, "\", "/")
Set strNTUserInfo = GetObject("WinNT://"+strNTUser)
'You get the idea'
When all I...
I need just the commonName of the groups a user is a member of.
DirectoryEntry user = new DirectoryEntry("LDAP://cn=myuser....");
foreach(string path in user.Properties["memberOf"])
Console.WriteLine(path);
then the memberOf property contains a set of strings, the full paths of the groups. That's makes sense, but it's not what I ...
I have an application that makes use of the Mozilla LDAP library. We're diagnosing a problem involving the LDAP library failing to make a connection to the server. I'm attempting to get additional information from the LDAP library by tossing a debug version of the lib in with the application and enabling debug using ldap_set_opt. Unfortu...
I need a list of all the users common to a known collection of groups, using a single LDAP query of our Active Directory. It would seem, from the our reading so far, that such is not possible, but I thought it best to ask the hive mind.
...
I often hear things like "Can we load our employee info using LDAP?" Yet, the title "Lightweight Directory Access Protocol" makes me think of it as a protocol rather than a physical database management system like Oracle or MSSQL.
So could someone please explain to me what LDAP is, how it's used, and how it basically works? Is LDAP si...
Hello,
Is there a field or anyway to retreave the smtp server of a user in the Active Directory?
Edit1: Using Exchange of course thanks vinny ;)
...
I'm trying to configure a Realm in Tomcat to access an LDAP server with TLS security. My basic Realm configuration looks like this:
<Realm className="org.apache.catalina.realm.JNDIRealm"
debug="99"
connectionURL="ldap://localhost:389/"
userPattern="uid={0},ou=People,dc=nsdl,dc=org" />
I get an error like ...
Hello
I need to implement application that supports LDAP authentication.
I want to know in detail how such network works. Can you recomend some reading about it, a book perhaps with broader explanation of LDAP authenticated networking or at least some online tutorials. I would like to see step by step guide of creating such network an...
For some reason, ldap and directory services does not work when the computer is not joined to the domain. The error messages from .net is domain not available. Anyone know what needs to be done?
the basic...
domainAndUsername = domain + @"\" + username;
entry = new DirectoryEntry(_path, domainAndUsername, pwd);
entry.Authenticatio...
I'm not too familiar with Active Directory, so I may be taking the wrong approach here...
I'd like to have my master active directory instance replicated to another instance on a continuous basis, with various attributes changed. For example, I may want the passwords changed for all users, set to something random in the replica copy.
D...
The setup:
There is a central AD domain (CENTRAL) and multiple seperate forests, each of which has their own domain (BRANCH1, BRANCH2, BRANCH3)
There are 2-way domain trusts between CENTRAL and all other domains.
An application I'm working on runs on the CENTRAL domain and performs LDAP searches on all domains, using the credentials C...
/**
*
* ModifyRDN .java
* Sample code to demostrate how ModifyRDN/ModifyDN works.
*
*/
import javax.naming.;
import javax.naming.directory.;
import java.util.Hashtable;
public class ModifyRDN
{
public static void main(String[] args)
{
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,"co...
If I have an externally hosted application (www.outside.com) outside the firewall but users within a company wanted to be able to enable LDAP authentication against their local (behind the firewall) AD server (acting as LDAP) or other LDAP server (call it ldap.inside.com), how would this be done.
It seems technically possible in that wh...
Hi
I'm using redmine (a rails ticket management) and I'd like users to be able to log with their net user and password.
I've followed the ADAM Step by Step Guide from Microsoft and setup an ADAM instance on my local machine.
http://www.microsoft.com/downloads/details.aspx?familyid=5163B97A-7DF3-4B41-954E-0F7C04893E83&displaylang=e...
I've been in touch with LDAP in many projects I've been involved in but, the truth be told, I don't really understand it. I thought it was just a person directory but after I discovered that it can contain any objects in a hierarchical structure.
I installed openldap in my box and I found many tutorials regarding just the installation.
...
I'm importing data into an LDAP store. The attribute in question is of type OctetString. I have a normal string that I need to get into that attribute.
I'm using C# (.net 3.5)
How do I do it?
...
EDIT
ive got it almost, having and error message now that it can't find the exchange DB. I'm running the service on a different server then Exchange so I presume I have to use an UNC path. MyServer01\First Storage Group\Mailbox Database.edb does not work though...
Hi!
I'm getting frustrated here, feeling a massive headache coming up a...
I have a database with LDAP login enabled. It works fine when logging in through the PIA or when logging into app-designer through the application server.
I need to make app-designer allow me to login with 2-tier mode using LDAP authentication. Is this possible without customization?
...
Does anyone know how I could go about finding out when a certificate for user is set to expire? I know I can get pull all of the certificates for a given user by usin the following code:
Set objUserTemplate = _
GetObject("LDAP://cn=userTemplate,OU=Management,dc=NA,dc=fabrikam,dc=com")
arrUserCertificates = objUserTemplate.GetEx("us...
In Active Directory, there is a tab called "Dial-In", and under that tab is a radio button control with three settings:
Allow Access
Deny Access
Control access through remote access policy
I'd like to write a VBScript to take a user name, and return the setting for that user.
(I'm actually modifying an existing VBScript, which is why ...