Questions tagged [adlds]

Microsoft Active Directory Lightweight Directory Services (AD LDS) is a Lightweight Directory Access Protocol (LDAP) directory service that provides flexible support for directory-enabled applications, without the dependencies that are required for Active Directory Domain Services (AD DS).

AD LDS Features

Install from Media (IFM) Generation
With this feature, you can use a one-step Ntdsutil.exe or Dsdbutil.exe process to create installation media for subsequent AD LDS installations.
Audit AD LDS changes
With this feature, you can set up AD LDS auditing with a new audit subcategory to log old and new values when changes are made to objects and their attributes.
Data Mounting Tool
With this feature, you can view directory data that is stored online in snapshots that are taken at different points in time to better decide which data to restore, without having to restart the server.
Support for Active Directory Sites and Services
With this feature, you can use the Active Directory Sites and Services snap-in to manage replication among AD LDS instances. To use this tool, you must import the classes in MS-ADLDS-DisplaySpecifiers.LDF to extend the schema of a configuration set that you want to manage. To connect to an AD LDS instance that hosts your configuration set, specify the computer name and the port number of a server that hosts this AD LDS instance.
Dynamic list of LDAP Data Interchange Format (LDIF) files during instance setup
With this feature, you can make custom LDIF files available during AD LDS instance setup—in addition to the default LDIF files that are provided with AD LDS—by adding the files to the %systemroot%\ADAM directory.
Recursive linked-attribute queries
With this feature, you can create a single LDAP query that can follow nested attribute links. This can be very useful in determining group membership and ancestry.

101 questions
2
votes
0 answers

Cannot connect to AD LDS with SSL using powershell

If I query my AD LDS instance with powershell using my credentials it works great using this code: Get-ADUser -Filter * ` -SearchBase 'OU=Groups,DC=dev,DC=net' ` -Server 'myserver.mydomain:389' However when I try connect to the AD LDS instance…
mortb
  • 9,361
  • 3
  • 26
  • 44
2
votes
0 answers

AD LDS Anonymous bind in win 2008

I have AD LDS installed on 2 different machines.One of them is Windows 8 the other one is win 2008.I installed AD LDS with the exactly same configuration. The code above works in Windows 8 but not on Windows 2008 R2 Server. What do i need to do…
2
votes
2 answers

sAMAccountName is missing from Lightweight Directory Services instance

I'm trying to add users programmatically to AD lDS instance. Here's how I add a user: string ldap = "LDAP://xxxx"; var root = new DirectoryEntry(ldap); var cn = "CN=" + "Joe" + "Blow"; var u = root.Children.Add(cn,…
smr5
  • 2,593
  • 6
  • 39
  • 66
2
votes
2 answers

Trying to change displayname in AD LDS with Powershell

I have an online learning management system with most of its data in sql server but its page structure and contents in an AD LDS instance. I have a few classes which have already been set up with 50 pages called "Unused Portfolio 01" through "Unused…
MasterOfNone
  • 827
  • 1
  • 8
  • 12
2
votes
1 answer

Query LDAP by userCertificate attribute, with certificate

I am getting the cert as byte[] such as: byte[] certRaw; X509certificate2 x509Cert = new x509Certificate2(Request.ClientCertificate.Certificate); certRaw = x509Cert.GetRawCertData(); then I am trying to look up a user in LDAP by that…
ktodd
  • 21
  • 4
2
votes
1 answer

Creating new AD-LDS user with UserPrincipal-class always fails

If I want to create a new user with the UserPrincipal-class in the ADAM (Ad LDS) Directory (maybe also in Active Directory, I have not tested it), it always fails with the following message: “The principal could not be enabled because the existing…
HCL
  • 36,053
  • 27
  • 163
  • 213
2
votes
2 answers

Adding certificate in userSMIMECertificate attribute of inetOrgPerson

I'm going to publish a certificate for my email using LDAP. I already have a LDAP up and running (AD LDS) on windows 2012. I'm going to add records using ldif file. Here its contents dc: dc=mysubdomain,dc=mydomain,dc=com dn:…
Oybek
  • 7,016
  • 5
  • 29
  • 49
2
votes
1 answer

AD LDS Authentication using PrincipalContext

I am trying to authenticate using AD LDS. I installed AD LDS on my machine. I use System.DirectoryServices.AccountManagement.PrincipalContext.ValidateCredentials for authentication. I create PrincipalContext as PrincipalContext oPrincipalContext =…
user2550231
  • 111
  • 3
1
vote
4 answers

Adding a user to AD LDS (ADAM) with Java and LDAP

EDIT4: Got my application to write the user to the active directory, but the active directory complains when I try to enable the user Previous messages I'm trying to add a user to my local Active Directory (with AD LDS) by using Java (1.4) and…
Andreas
  • 2,007
  • 5
  • 26
  • 37
1
vote
2 answers

AD LDS - Login with Bind user does not work

I tried to replace our ApacheDS LDAP System with the AD LDS. I installed and setup the basic AD LDS, created a user called "Admin" and added him to the "Reader" Group, i also tried to add a password with rightclick the user and reset password, but i…
1
vote
1 answer

Query AD LDS with Powershell and Credentials

I can connect to my AD LDS instance using LDP from a Windows server, but I am struggling to connect/bind and query my AD LDS instance with PowerShell from the same server. I can't figure out the correct PowerShell syntax. Here are the connection…
Scot Woodyard
  • 69
  • 2
  • 12
1
vote
2 answers

create user using java in Active Directory Lightweight Directory Services

Anyone using Active Directory Lightweight Directory Services? I need help. I wrote a code but not able to create a user in Active directory through java. 1st what i did, I manually created a user in AD LDS server through AD Edit window. and I am…
vks
  • 123
  • 1
  • 11
1
vote
0 answers

Connecting AD LDS with Java

This is the java method i have written to connect above AD LDS public static void test(){ Hashtable ldapEnv = new Hashtable(11); …
vks
  • 123
  • 1
  • 11
1
vote
0 answers

AD DirSync need the old value of attribute as well as the new

I've been searching high and low and I can't find an example of how to get the old value of a changed attribute in ADLDS. I've created a web service to monitor for changes using Change Notifications, and that works fine. I'm able to get adds,…
1
vote
0 answers

How to list all AD LDS instances using c++

I know that I can view all the AD LDS instances running on my server through dsdbutil command line tool. But I want to know how I can list all the instances running on my server computer through C++. Please this thing drives me crazy.