Quantcast
Channel: Directory Services Forum
Viewing all 2536 articles
Browse latest View live

Where is "new - shared folder" in ADAC ??

$
0
0
In ADUC, I have the option of creating a new shared folder within a container.  There appears to be no such option in ADAC.  Since ADUC is being deprecated, it seems that all its functionality should be duplicated in ADAC.  Am I just missing a setting somewhere or is the option just not in ADAC ??

Is there a way to link SSH key in AD?

$
0
0
Is there a way to link SSH key in AD account or there is nothing in AD for that?

I need to figure out a way to query 2003 AD Domain for all email enabled groups which contain Contacts.

$
0
0
I am needing to find a way via csvde or ldfde to query Active Directory for all email enabled groups which contain contacts as members.

Bobby Pendino

Domain GUID DNS registration conflict

$
0
0

My company has a mixed 2003/2008 AD environment whose FSMO roles are currently hosted on a 2003 DC.  The 2008 DC's are reporting issues where entries for the domain GUID not resgistered in DNS.  In actuality, they are registered in DNS, but it's registered under a different domain GUID.  My concern is that I may have problems when I move the FSMO roles to one of the 2008 DC's and/or demote the 2003 DC's.

The dcdiag and BPA on the 2008 DC's are looking for this record:
_ldap._tcp.88ce7205-xxxx-xxxx-xxxx-8bf4bea37768.domains._msdcs.domain.com

In DNS, the following records are being registered by each DC (2008 and 2003):
_ldap._tcp.4702b1c2-xxxx-xxxx-xxxx-2cc62ce567d1.domains._msdcs.domain.com


Best Practices Analyzer error:

Issue:
 The "DcByGuid" DNS service (SRV) resource record that advertises this server as an available domain controller in the domain and ensures correct replication is not registered. All domain controllers (but not RODCs) in the domain must register this record.
 
Impact:
 Other member computers and domain controllers in the domain or forest will not be able to locate this domain controller. This domain controller will not be able to provide a full suite of services.
 
Resolution:
 Ensure that "DcByGuid" is not configured in the "DnsAvoidRegisteredRecords" list, either through Group Policy or through the registry. Restart the Netlogon service. Verify that the DNS service (SRV) resource record "_ldap._tcp.88ce7205-xxxx-xxxx-xxxx-8bf4bea37768.domains._msdcs.domain.com", pointing to the local domain controller "2K8-DC1.domain.com", is registered in DNS.

[note: DcByGuid" is NOT configured in our "DnsAvoidRegisteredRecords" list]

 

dcdiag /test:dns result:

               TEST: Records registration (RReg)
                  Network Adapter [00000012] vmxnet3 Ethernet Adapter:
                     Error:
                     Missing SRV record at DNS server <IP of 2k8-DC1>:
                     _ldap._tcp.88ce7205-xxxx-xxxx-xxxx-8bf4bea37768.domains._msdcs.domain.com

                     Error:
                     Missing SRV record at DNS server <IP of 2k8-DC2>:
                     _ldap._tcp.88ce7205-xxxx-xxxx-xxxx-8bf4bea37768.domains._msdcs.domain.com

The 2003 servers don't report this error.

Also, when you go into ADSI Edit on any of the DC's and look at the attribute for objectGUID on the domain, the value shows up as the GUID that's missing from DNS.

Here are two others who have similar issues that are unsolved, and possibly need the same fix:

http://social.technet.microsoft.com/Forums/en-US/winserverDS/thread/9d38617d-63a2-405e-b60e-f0c10e6123c6

http://social.technet.microsoft.com/Forums/en-US/winserverDS/thread/b0e3ea61-cfa4-406a-9cc3-3eb9ee61252e

 

Is there a recommended structure for groups in Active Directory?

$
0
0

Hi,

I have a AD-structure where different organizational units are organized in its own OU with its users. My question is about how to organize security and distribution-groups in AD? Is it recommended to put the groups in the OU where it belongs or should it be placed in a common OU for all security-grops?

Example: If I have a security-group used for controlling access to a division-share, should the group be put on the divisions OU? I in a OU containing all security-groups? And the same question for distribution-groups. Any tips on this?


Thor-Egil

Time sync issue

$
0
0

Hi,

In my dc the dc is showing 8min delay time compare to standard time zone, I have tried below commands but there are no changes,please help.

sc stop w32time

Sc Start w32time
w32tm /unregister
w32tm /register
sc start w32time
w32tm /resync


Regards, Kumar.V

First RODC

$
0
0

Hi all

trying to put in my first 2008 R2 RODC in a 2008 R2 FFL and DFL network. I have a parent and child domain in the forest. I log onto the child domain on the server i want to promote with an account which have EA rights. All goes well until it starts to replicate DNS as it will be a DNS Server also. It then fails with error "the operation failed because ADDS could not replicate partition CN=Configuration, DC=<root domain>, DC=com from the remote AD DC <DC name of a DC in the child domain> "replication access was denied"

Has any of you seen this or can help as to why the replication process is failing - I would appreciate any help

Intersite Replication in AD

$
0
0
Why the maximum intersite replication in Active Directory is 1 week ?

Active Directory trouble on Windows 2003

$
0
0

I've noticed that my application behaves strangely when I work with Active Directory.
I have a distributed application in c #. NET 3.5 as follows:
Web Server - Application Server - AD Server
The problem apparently lies in the application server that is communicating with the Active Directory server.
An error occurs particularly when I´m setting user permissions on an object created by the application. The strange thing is that this error occurs randomly, sometimes it happens and sometimes it does not. The error message is:"(0x8007202F) The directory property cannot be found in the cache" and the causing code is one frequently used to set permits and is contained in the following how to: http://support.microsoft.com/kb/899553/en-us

public static void SetPermissions(string containerDn, string UserName)
{
    ADsSecurity objADsSec;
    SecurityDescriptor objSecDes;
    AccessControlList objDAcl;
    AccessControlEntry objAce1;
    AccessControlEntry objAce2;
    Object objSIdHex;
    ADsSID objSId;

    objADsSec = new ADsSecurityClass();
    objSecDes = (SecurityDescriptor)(objADsSec.GetSecurityDescriptor(containerDn));
    objDAcl = (AccessControlList)objSecDes.DiscretionaryAcl;

    objSId = new ADsSIDClass();
    objSId.SetAs((int)ADSSECURITYLib.ADS_SID_FORMAT.ADS_SID_SAM, UserName);
    objSIdHex = objSId.GetAs((int)ADSSECURITYLib.ADS_SID_FORMAT.ADS_SID_SDDL);

    // Add a new access control entry (ACE) object (objAce) so that the user has Full Control permissions on NTFS file system files.
    objAce1 = new AccessControlEntryClass();
    objAce1.Trustee = (objSIdHex).ToString();
    objAce1.AccessMask = (int)ActiveDs.ADS_RIGHTS_ENUM.ADS_RIGHT_GENERIC_ALL;
    objAce1.AceType = (int)ActiveDs.ADS_ACETYPE_ENUM.ADS_ACETYPE_ACCESS_ALLOWED;
    objAce1.AceFlags = (int)ActiveDs.ADS_ACEFLAG_ENUM.ADS_ACEFLAG_INHERIT_ACE | (int)ActiveDs.ADS_ACEFLAG_ENUM.ADS_ACEFLAG_INHERIT_ONLY_ACE | 1;
    objDAcl.AddAce(objAce1);

    // Add a new access control entry object (objAce) so that the user has Full Control permissions on NTFS file system folders.
    objAce2 = new AccessControlEntryClass();
    objAce2.Trustee = (objSIdHex).ToString();
    objAce2.AccessMask = (int)ActiveDs.ADS_RIGHTS_ENUM.ADS_RIGHT_GENERIC_ALL;
    objAce2.AceType = (int)ActiveDs.ADS_ACETYPE_ENUM.ADS_ACETYPE_ACCESS_ALLOWED;
    objAce2.AceFlags = (int)ActiveDs.ADS_ACEFLAG_ENUM.ADS_ACEFLAG_INHERIT_ACE | 1;

    objDAcl.AddAce(objAce2);

    objSecDes.DiscretionaryAcl = objDAcl;

    // Set permissions on the NTFS file system folder.
    objADsSec.SetSecurityDescriptor(objSecDes, containerDn);
}

It must be cleared that the credentials running the code have got the administrative permissions, and as I mentioned before, sometimes it does not work and throws the error (0x8007202F).
For example if some users are created within organizational units and some other users are created in other OU this error does not occur. Take into consideration that the OUs and the users are always generated with the same credentials and execute the same code.

A test I did was restarting the server in a test environment and the error did not occur for that OU.
However, in the production environment these problems still occur, beyond some eventual reset.
It is very strange for me... it seems to be a problem with the cache, since it stops happening when I restart, but later it happens again on another OU.

Suggestions?

Add DC to existing forest

$
0
0

Hi Guys,

Here is the scenario am facing: 

We used to have two domain controllers for same domain, AD1 and AD2. Few months ago, AD2 was totally removed. FSMO roles were transferred to AD2. Everything is running smoothly on the network (GP, Logins, New users on AD, Exchange Services, etc...)

Now, we have a requirement to migrate AD2 a new server (AD3) running Windows 2008 R2. Here is the problem and some information:

  • AD2 functional level is Windows 2003 (highest possible level)
  • Metadata cleanup was used to remove AD1 from the sites.
  • adprep /forestprep was executed on AD2 and result was "Forest-Wide information has already been updated"
  • While running dcpromo on the new server to be AD3, we are having error that we need to run adprep /forestprep but we have executed it successfully many time.

Any ideas to be able to setup this new AD3 server?

Thank you,


Goldenberg

AD : how to recover delete OU in windows server 2008 R2 standard version DC

$
0
0

One of the OU and the user objects in it has been deleted accidently on a windows server 2008 R2 standard version DC, I dont have the backup also of that DC and also Active Directory Recycle Bin feature is not enabled

Please let us know how i will be able to restore that deleted OU along with the users  which was residing in it

Error adding AD Users to AD LDS roles

$
0
0

After attempting to add an AD user to the AD LDS readers group we received the following error:

Operation failed. Error code: 0x2095
A directory service error has occurred.

00002095: SvcErr: DSID-032A08CB, problem 5012 (DIR_ERROR), data 6

We set the logging level to 4 for:

  • Security Events
  • Name Resolution
  • Directory Access

at which point we get the following error

Log Name:      ADAM (PDirectory)
Source:        ADAM [PDirectory] General
Date:          18/09/2012 11:41:38 AM
Event ID:      1175
Task Category: Directory Access
Level:         Information
Keywords:      Classic
User:          PNET\SVC-ADLDS
Computer:      WEB1.p.net
Description:
Internal event: A privileged operation (rights required = 0x) on object CN=Readers,CN=Roles,O=P,C=Directory failed because a non-security related error occurred.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="ADAM [PDirectory] General" />
    <EventID Qualifiers="16384">1175</EventID>
    <Level>4</Level>
    <Task>8</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2012-09-18T01:41:38.000000000Z" />
    <EventRecordID>625</EventRecordID>
    <Channel>ADAM (PDirectory)</Channel>
    <Computer>WEB1.p.net</Computer>
    <Security UserID="S-1-5-21-1469259761-726080277-10498456-67182" />
  </System>
  <EventData>
    <Data>
    </Data>
    <Data>CN=Readers,CN=Roles,O=Parl,C=Directory</Data>
  </EventData>
</Event>

We've looked and a document described this error for AD Controllers using systems less than AD 2003 SP1. While this isn't a domain controller, we did check and all the DCs are later versions.

The server hosting AD LDS is an Windows Server 2K8 R2 box. The errors above apply when trying to add domain users to other roles such as administrators and occur regardless of what user is being added. We can add AD LDS user objects to these groups however. Notably this is the first attempt to update these roles membership since deployment, up until now we've just had the defaul admins we set at install using the service. Also, as far as I'm aware no special config was performed, the install was more or less a next -> next scenario. Post install we updated the schema for one object class, but the same configuration in test didn't exhibit any issues.

We've also checked the DNS and that appears to be resolving fine.

If anyone has any ideas it'll be greatly appreciated. 



How can I run the report to know how many users are missing bitlocker information in AD?

$
0
0
How can I run the report to  know how many users are missing bitlocker information in AD?

Active Directory security Options

$
0
0

Hi Friends

          is it possible to check the LDAP Signing Integrity is enabled or disabled in the Active Directory through LDAP program.Can anyone please help me..

Thanking you

With regards

inbaraj

Migrate AD from 2003 to 2012

$
0
0

Hi,

I'm looking migrate an AD from windows server 2003 to windows server 2012 but i can't find all the requirement to do it.

I find that my Domain and Forest level have to be at least 2003 but anything else.

I will thanks any information to make successfully the migration.


Failed to create child domain under the 2nd root domain

$
0
0

Hello.

I have installed 2 root domains in 1 forest, the root 1 is Win2K12 Datacenter (DNS), and the root 2 is Win2K8 SP2 Enterprise x64. And I wanted to create a child domain under the root 2, with Win2K12 Datacenter, also I have been ran Adprep.exe before the installing, but cannot setup the child domain successfully.

The installation is always showing "Replicating the schema directory partition". I have no any idea for the issue...

The image.

Kind Regards.


VAMT 3.0 & w2k3 AD

$
0
0

Hi,

Could anybody confirms that is not possible using VAMT 3.0 with a w2k3 forest?

Thank you.

Importing users with PowerShell into Active Directory

$
0
0

Hi all,

well, two long days and nights long trying now - i give up for the moment. Adding multiple Users to Active Directory finally ended up at Corey Roth's Blog and his example script (thanks). Doesn't work yet, and i have reduced it to quite less "functionality" than i want to finally implement. Coming from "older" PowerShell scripts/commands to trying dsadd-commands (horrible to script/import/export) over Quest tools back to "clean" actual PowerShell. Seems like - i don't know, i'm helpless. And i'd really like to use the shell for doing many AD-stuff etc. And i also read many many posts. :\  Didn't end up successfully.

Environment: Windows Server 2008 R2 SP1 Domaincontroller, actual patches, running nothing else. Script running in Active Directory Module for Windows PowerShell, (editing with Notepad++)

my script:

Import-CSV "c:\scripts\Content.csv" \foreach-object{ $userprincipalname = $_.SamAccountName + "@mydomain.de" New-ADUser -SamAccountName $_.SamAccountName -UserPrincipalName $userprincipalname -GivenName $_.FirstName -Name $_.LastName -Displayname = "$_.FirstName" + "$_.LastName" -EmailAddress $_.mail -Title $_.title -OfficePhone $_.telephone -Department $_.Department -Path "OU=MY-OU,OU=Content,dc=corp,dc=mydomain,dc=net" -AccountPassword(ConvertTo-SecureString "x345Stro11nG" -AsPlainText -force) -Enabled$True -PasswordNeverExpires $True -PassThru }

Powershell error:

PS C:\scripts> .\content.ps1
Unexpected token 'New-ADUser' in expression or statement.
At C:\scripts\content.ps1:3 char:121
+ Import-CSV "c:\scripts\Content.csv" \foreach-object{ $userprincipalname = $_.SamAccountName + "@mydomain.corp"
New-ADUser <<<<  -SamAccountName $_.SamAccountName -UserPrincipalName $userprincipalname - GivenName $_.FirstName 
-Name $_.LastName -Displayname = "$_.FirstName" + "$_.LastName" -EmailAddress $_.mail -Title $_.title -OfficePhone
$_.telephone -Department $_.Department -Path "OU=MyOU,OU=Content,dc=mydomain,dc=corp" -AccountPassword(ConvertTo-
SecureString "x345Stro11nG"" -AsPlainText -force) -Enabled$True -PasswordNeverExpires $True -PassThru }
    + CategoryInfo          : ParserError: (New-ADUser:String) [], ParseException + FullyQualifiedErrorId : UnexpectedToken

Thanks for any hints, advices...

Best, Jörg



unable to install active directory

$
0
0

hai everybody i am bhaskar.. i installed windows server 2008 service pack 1 32-bit OS in my PC and when i tried to install Active Directory... i typed dcpromo in run command and it is checking for binaries and suddenly power gone.. now what is my problem is and again i logged in and when i typed dcpormo in run command then i am getting some error.. the error is

Failed to install Active Directory Domain Service binaries.The error was : The Parameter is incorrect

 

the above mentioned is the error i am getting.. so what to do now ? how can i install Active Directory now ? or should i re-install OS again ?


Bhaskar

Unable to connect to the NETLOGON share frin Winserver 2008 R2 std

$
0
0

Hi

I am not able to  see Netlog share on my new Setup ADC .. 

After using the below setup I could see ...  Syslog Share  ..but still netgon is not availabe..

To work around this issue, set the SysvolReady Flag registry value to "0" and then back to "1" in the registry. To do this, follow these steps:

  • Click Start, click Run, type regedit, and then click OK.
  • Locate the following subkey in Registry Editor: <samp>

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters

  • In the Value data box, type 0, and then click OK.
  • Again in the details pane, right-click the SysvolReady flag, and then click Modify.
  • In the Value data box, type 1, and then click OK.
</samp> In the details pane, right-click the SysvolReady flag, and then click Modify.

Can some one pls guide me


shivakumarmv

Viewing all 2536 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>