I strongly recommend against this. Many applications communicate with directory services through LDAP, but the LDAP Request for Comments (RFC) specification stipulates that an LDAP bind should support the passing of a credential. Connecting anonymously really shouldn’t be needed. You may have many Unix-style applications that currently use an anonymous LDAP bind to other directory…
Category: AD/DNS/DHCP
Adding multiple users to AD from CSV
Download script here Requirements: – Powershell 2.0 – CSV file Attributes Used: FirstName LastName City Department Job Title Logon Name Password Description E-Mail Script (Logon Script) H drive (Logon file share letter) domain name
LDAP over SSL with a CA server
MS AD 2008 Server 2008 CA server (Not a DC) Notes: This way won’t force a connection so it will allow both SSL & non-SSL connections. (Which is what I wanted) Make sure to edit the template before pushing out to the domain controllers to edit how long the certificate is valid for. Fails on…
AD – Adding Indiv Users To An Indiv Group
DNs can be found in AD Explorer. Script: $root=[adsi]”” $rootdn=$root.distinguishedName $group=[adsi](“LDAP://<Group DN>”) $group.add(“LDAP://<User DN>”)
AD – Finding User Attributes
Two ways that I’m aware of in finding this information out. AD Explorer method: Download “AD Explorer” from here: http://technet.microsoft.com/en-us/sysinternals/bb963907, unzip and run the executable If connecting to the default domain, just make sure the first radio button is selected (Enter a name for an Active Directory database…) and click OK. If not, enter in the…
AD – Add Indiv Users
Attr Used (not in any order): Description displayName homeDirectory homeDrive givenName Mail sAMAccountName sn scriptPath userPrincipalName
AdminSDHolder & Objects inheriting permissions
Possibility to solve the following issues: – Upgraded Exchange/Domain Controller and users constantly getting prompted to enter in credentials – Introduced a BES (BB Enterprise Server) and users not getting e-mail – “Include inheritable permissions from this object’s parent” checkbox constantly gets unchecked. Role of AdminSHHolder: