Quantcast
Channel: Directory Services forum
Viewing all 31638 articles
Browse latest View live

AD LDS What are reasons a search would fail?

$
0
0

I can successfully authenticate an AD user via an LDS proxy.

However, when I do a search after the authentication, I get an object not found.

What could be the reasons and how do I fix this?

Is their an ACL in LDS?

Is my search filter too narrow?  Shouldn't object=* get any object?

Is my scope too narrow?  Isnt subtree the largest scope?

Is my search beginning from the wrong node in the tree?

In order to search, does the user that I authenticate as need to be a member of the readers role as well as in the users container?

I am trying to use Java JNDI to authenticate and search.

Thanks


leo


Which DC domain-joined client PC see when user try to logon to that PC ?

$
0
0

Which DC domain-joined client PC see when user try to logon to that PC ?

And what information is used to judge that ? (Client IP address information?)

Domain Trust And Distribution Groups

$
0
0
We're migrating our student email to Office365.  Our students are on a separate domain from faculty/staff.  A one way trust partnership exists so that the student domain trusts the staff domain.  My question is this, is it possible to create AD distribution groups on the staff domain from AD accounts on the student domain?  Our need is for faculty and staff to email distribution groups consisting of student email addresses and script the creation of those DG on the fly numerous times during the day.

Retiring Active Directory Forest: Last DC, DCPROMO or shut down?

$
0
0

Years ago, we have acquired a Windows 2000 Forest with resources that have already been migrated over to a Windows 2008 AD Domain.

This Windows 2000 Forest has no child domains and only has one domain controller.  There are no dependencies such as DNS/DHCP, WINS, Terminal Services Licensing, etc. attached to this DC.  All identifiable stakeholders have been notified and have given us their sign-off to retire.

From a business recovery perspective, our team has elected to shut down the server.  In the event there are unidentified dependencies, we would power the server back up instead of recovering from backup.

After leaving it shut down for a period of two weeks and there are no outages, we turn over the server to our Intel server support team to retire - wipe disks, unrack.

I understand we should demote a DC if it is the last server of a child domain, but are there any reasons why we should DCPromo in cases like this where the server is the last server of the Forest root domain versus just shutting it down?


Migrate DNS, DHCP, AD

$
0
0

I'd like to ask for some advice with regards to an AD migration which will also include the migration of non-Windows DNS and DHCP.

Here is the situation:

Current AD is city.company.org.

DNS is hosted on Bind. DHCP is in Linux.

company.org and company.com are in BIND as well.

We want to migrate to a new AD infrastructure:corp.company.com while also migrating DNS and DHCP from Bind and Linux to Windows.

How should I go about this?

Setup new AD for corp.company.com and migrate DNS and DHCP, then setup ADMT between source and target and migrate?

Advice greatly appreciated.

Akash

Confirm Subtree Deletion....Why this??

$
0
0

Hello all,

So today I tried to remove an old user out of AD 2003/2008 and for the first time I get the a message:

Confirm Subtree Deletion:

"Object username contains other objects. Are you sure you want to delete object %username% and all of the objects it contains?

If you cancel the running deletion, the objects deleted thus far will not be recovered.

WARNING: if you select Use Delete Subtree Server control check box, all objects within the subtree, including all delete-protected objects, will be deleted and the deletion cannot be canceled"

Check box: Use Delete Subree server Control

YES or No.

What is this all about? I haven't encountered this before and not recently while deleting users, old machines, etc??

Thank You in advance.

SM


AD LDS fails if an user belongs to more than ~2000 groups

$
0
0
Hi gentlemen, If I have more than 2000 groups (~2025) associated with an user, that user is not able to access to ADAM at all. If I try to connect using ADSI (as that user), ADSI fails with error: Error code: 0x8000500d "The directory property cannot be found in the cache" I can log in as another user and remove one portion of groups or disassociate the user from groups. ADSI works fine for another users. One more interesting thing is that if I put user in Windows group, and associate Windows group with ADAM groups everything looks fine. Is this maybe related with size of security token array, ADLDS, LDAP or something else? Please, if you have any idea how to solve this please let me know. Regards, Zeljko

Attribute PhysicalDeliveryOfficeName

$
0
0

Hi,

I would like to make an advanced AD search from dsa.msc finding all users having the attribute PhysicalDeliveryOfficeName=x. 

When I make this advanced search, this attribute is not displayed. 

When I check the user properties, the attribute PhysicalDeliveryOfficeName=Office

When I make another advcanced search with the attribute Office, this one is not displayed

Do you have ideas please ?

Thanks.


Migration from 2000 AD to 2012 virtual

$
0
0

So I've read this post: http://social.technet.microsoft.com/Forums/en-US/winserverDS/thread/db8156af-1985-4500-965a-32d4632a3843

and I want to do similar but I have two Server 2000 DC's that I want to migrate to a virtual Server 2012 DC (or should I have two of them?).  Any suggestions or comments as to the process?

DNS

$
0
0

Dear All

I have problem with our company website .

I can access the website from external network but from my network inside company i can't access. this message appear to me and to all users when we try to access from inside the company:

Why Would a Recall Notification Email Delete Automatically?

$
0
0

When someone recalled an email, the original email and the recall notification emails were deleted. There is no trace of the email except for in our archives. I would just like to know if anyone knows why both emails would delete?

Please don't not reply further. I posted to wrong forum.

problems dcpromo promoting RODC 2008R2

$
0
0

We have one domain with two DC's (2008R2 & 2012). We also have 6 RODC's (2008R2).

Installation of the RODC's went perfectly till now..

I now try to use DCPROMO and get another RODC in my domain.

But I get error messages that the PRP (Password Replication Policy) isn't working and then  it stops.

an error occured while loading the default password replication policy is the message.

When trying to install the RODC like a normal DC (Writeable) I get the message that the active directory domain services could not replicate the directory partition.

The remote procedure feature failed !

All others went fine, but this one (installed over three tmes now) is a pain in the ... Also I used another name.

Using DCPROMO in the past just did it all and  the RODC was installed and operational.  Never had this problem, so what info do you need to seriously help me ?

VPN is working just fine.

Ben.


Ben van der Meer



Incorrect time displayed in the property of the event logs folder in the windows server 2003 !

$
0
0

Hi

Please help me to solve the problem of figuring out where the incorrect time/date stems for the event logs files (*.evt) of the windows server 2003 in couple of same servers in our domain environment.

Actually the events inside each event file  are showing the correct time/date but the Date modified for the *.evt files  holding the event logs are  displaying the incorrect time/date.


Please help me to solve the issue where actually this file should have modified date as 18 June 2013 17:22:55


Thanks & Regards S.Swaminathan Live & let others live!!!



Active Directory backup on Windows Server 2008 R2

$
0
0

I'm looking to backup my window 2008 r2 domain controllers.

1. Where is the best location to store you backups? Backup locally and then backup to tape or backup directly to a network share and then to tape?

2. How long do you keep your backups for? I was thinking of keeping the previous nights backup stored locally on the DC and the rest backed up to tape.

3. Is it better to use wbadmin or powershell to configure the backups?

thanks all

Need detailed information about working disconnected from domain.

$
0
0

I am looking into setting up Windows domain environment at home for personal use. Mostly to be able to get familiar with enterprise technologies that require domain authentication.

The plan is to have 1 server running Windows Server 2012 Standard Edition. It will be domain controller and will also host some services and a couple VMs. VMs will also run Windows Server 2012 and will be members of that domain.

I use a laptop as my workstation and sometimes work from remote locations. I would like to add laptop to domain but I don't completely understand (and couldn't find a detailed document from Microsoft) the implications of working on computer joined to domain when domain controller is not available.

All I figured out so far is if you ever logged in to computer with domain credentials they become cached locally and you are supposed to be able to log in using domain credentials even if domain is not available.  But what if I have some services running on my laptop under some other domain account? What happens to them?

Are domain credentials only cached for some limited period of times? Are there any other implications?

I guess what I am looking for is some kind of knowledge base article from Microsoft that describes in details all implications of working disconnected from domain.

Does anyone know of such article?


Command to display current default containers?

$
0
0
I found redirusr and redircmp command to make changes, but is there a command that will list what the current state is for default locations without making any changes?

Adding existing attributes to the user object class.

$
0
0

Greetings,

I have searched the forums quite a bit to see if there was any guidance on addling/linkingexisting AD attributes to an existing object class. For example we are looking at adding the pre-existing buildingName and roomNumber attributes to the user object class so we can maintain what building and/or room number a user is in.

To my knowledge these attributes are used for computer objects, and aside from not being linked to the user class object they appear to be perfect candidates for what we want to do.

I have found plenty of posts about using existing and linked attributes to store data (such as employeeID), or completely creating your own custom attributes, but not anything that speaks to using an attribute that already exists but just isn't currently linked.

Essentially we just want to open up the "user" object class in the Schema snap=in and Add those two pre-existing attributes as optional attributes. Is there any harm to doing this? I can't see why rusing existing attributes and making them available to the user object class would be bad, especially since the current attribute definitions are fine.

Thanks!

DFSR Unsuccessful on New Domain Controller (EventIDs 1058, 5014)

$
0
0

I have searched a lot and done quite a bit of troubleshooting to no avail.  There are a lot of posts on these issues, and none of them have helped me resolve the problem.  I believe it may be multifaceted, though, as some changes I made for one of them appeared to fix a time synchronization error I wasn't even worrying about yet.  That having been said, let me start from the beginning...

I have a single-server 2008R2 functional level Active Directory domain that was installed in that state (that is IIRC; it is possible that I installed it in 2003 functional level and migrated, but I definitely started with one 2008R2 server).  I recently added a 2012 server to the domain and promoted it to a domain controller.  The sysvol share never replicated, so I am getting the same event failures over and over.  The first thing I noticed was eventID 1058 (which is recorded every 5 minutes) in the system event log:

The processing of Group Policy failed. Windows attempted to read the file \\domain\sysvol\domain\Policies\{GPID}\gpt.ini from a domain controller and was not successful. Group Policy settings may not be applied until this event is resolved. This issue may be transient and could be caused by one or more of the following:

a) Name Resolution/Network Connectivity to the current domain controller.
b) File Replication Service Latency (a file created on another domain controller has not replicated to the current domain controller).
c) The Distributed File System (DFS) client has been disabled.

I started by doing a lot of searching on this, and one thing I tried after that searching is disabling IP/TCP/UDP checksum offloading on the network adapters on both servers.  Changing these settings on the 2008R2 server is what got time synchronization working, so it could have been relevant in the cause of the issue.  Both servers are hosting Hyper-V, so both are actually connected via the Hyper-V virtual switch, and I disabled the IP/TCP/UDP offloading on that adapter as well as the actual physical adapter.  I also rebooted both servers after the changes.  When doing the same on 2012 didn't help with the problem, I went ahead and changed it back.  I also used the following commands, whose output didn't provide me with any information I wasn't already aware of:

DCDIAG /V /C /D /E /s:2008R2DC > c:\2008R2dcdiag.log --on local DC
DCDIAG /V /C /D /E /s:2008R2DC > c:\2008R2f2012dcdiag.log --on remote DC
DCDIAG /V /C /D /E /s:2012DC > c:\2012dcdiag.log --on local DC
DCDIAG /V /C /D /E /s:2012DC > c:\2012f2008r2dcdiag.log --on local DC
repadmin.exe /showrepl 2008R2dc /verbose /all /intersite > c:\2008r2repl.txt --I don't remember whether I ran this on the 2008r2 server or the 2012 server
repadmin.exe /showrepl 2012dc /verbose /all /intersite > c:\2012repl.txt --I don't remember whether I ran this on the 2012 server or the 2008r2 server
dnslint /ad 2008R2IP /s 2008R2IP /r 2008R2dnslint --on Win7 domain member
dnslint /ad 2012IP /s 2012IP /r 2012dnslint --on Win7 domain member

I didn’t see anything out of the ordinary in any of the output from those commands, and I couldn’t find the netdiag command on either server to run it, so I assume the troubleshooting I was doing was for previous versions.  After all of this failed to yield anything interesting, I did some more searching, and found advice that multi-homed servers could cause problems. The 2008R2 server is running RRAS, and I can’t do much about that at the moment, but I did run the diagnostics above on the RRAS IP and still didn’t see anything out of the ordinary. I also confirmed that \\2008R2IP\ sysvol\prd-inc.com\Policies\{GUID?}\ and \\2008R2RRASIP\ sysvol\prd-inc.com\Policies\{GPID}\ were both accessible (and GPT.ini was accessible on both, and there are actually four group policies, all of which are accessible this way). The 2012 server was set up with VLANs on the physical interface, and had two VLAN interfaces enabled, giving it two Hyper-V virtual switches, so I removed the VLANs from the physical interface and got it down to the one Hyper-V virtual switch as well. I read something that indicated IPv6 should be set to automatic, so I removed my self-generated private IPV6 addresses from the 2008R2 server and the 2012 server and set them to automatic. After each of the changes mentioned in this paragraph, I verified the DNS servers were up to date, and they were. During this troubleshooting, I one user also let me know they couldn’t connect to a service that uses LDAP on the 2008R2 server to verify a user is logged in at a given IP, so I have to assume this user got logged in through the 2012 server and the 2008R2 server was not notified.  I didn’t use this additional piece of information in my troubleshooting because I didn’t know how, but it is interesting that DNS is replicating while other things besides DFRS don’t appear to be.

At some point, I’m not sure where it falls in the list of actions above, I decided to check the DFS Replication event log. There I noticed another error (which I just found out I failed to document, but do recall something about RPC failing (which is why I was disabling the IP/TCP/UPD offloading), and I do have a record of searching for “The primary Domain Controller for this domain could not be located”.  I also found this at some point:http://technet.microsoft.com/en-us/library/cc727259(v=WS.10).aspx I followed it to KB314494, but that didn’t help with my problem either. At another point I looked at KB887303, which also didn’t help with my problem. After all of this, I finally gave up, demoted the 2012 server, and went through the promotion process again. At that point, I can tell you that I see the following events on the 2012 server (I cleared all event logs before doing the promotion again):

Netlogon 5706 (in system, probably during promotion before reboot):
The Netlogon service could not create server share C:\Windows\SYSVOL\sysvol\prd-inc.com\SCRIPTS. The following error occurred:
The system cannot find the file specified.

DFSR 6016:
The DFS Replication service failed to update configuration in Active Directory Domain Services. The service will retry this operation periodically.

Additional Information:
Object Category: msDFSR-LocalSettings
Object DN: CN=DFSR-LocalSettings,CN=PRDRDS,OU=Domain Controllers,DC=prd-inc,DC=com
Error: 2 (The system cannot find the file specified.)
Domain Controller: PRDAD1.prd-inc.com
Polling Cycle: 60

DFSR 1210 (informational, of interest is the port number):
The DFS Replication service successfully set up an RPC listener for incoming replication requests.
 
Additional Information:
Port: 0

DFSR 6804:
The DFS Replication service has detected that no connections are configured for replication group Domain System Volume. No data is being replicated for this replication group.
 
Additional Information:
Replication Group ID: RGID
Member ID: MID

DFSR 6406:
The DFS Replication service detected that the local path of a replicated folder (domain) in its database does not match the newly configured local path (C:\Windows\SYSVOL\domain) of the replicated folder. The service will replicate the new path, and the old replicated folder path in the database will no longer be tracked as a replicated folder. This event is expected if the local path of the replicated folder has been changed.
 
Additional Information:
Replicated Folder Name: SYSVOL Share
Replicated Folder ID: RFID
Replication Group Name: Domain System Volume
Replication Group ID: RGID
Member ID: MID

DFSR 2002 (Informational, probably not of interest):
The DFS Replication service successfully initialized replication on volume C:.
 
Additional Information:
Volume: VID

DFSR 4614:
The DFS Replication service initialized SYSVOL at local path C:\Windows\SYSVOL\domain and is waiting to perform initial replication. The replicated folder will remain in the initial synchronization state until it has replicated with its partner PRDAD1.prd-inc.com. If the server was in the process of being promoted to a domain controller, the domain controller will not advertize and function as a domain controller until this issue is resolved. This can occur if the specified partner is also in the initial synchronization state, or if sharing violations are encountered on this server or the synchronization partner. If this event occurred during the migration of SYSVOL from File Replication service (FRS) to DFS Replication, changes will not replicate out until this issue is resolved. This can cause the SYSVOL folder on this server to become out of sync with other domain controllers.
 
Additional Information:
Replicated Folder Name: SYSVOL Share
Replicated Folder ID: RFID
Replication Group Name: Domain System Volume
Replication Group ID: RGID
Member ID: MID
Read-Only: 0

DFSR 4604 (informational, of interest is the alleged success):
The DFS Replication service successfully initialized the SYSVOL replicated folder at local path C:\Windows\SYSVOL\domain. This member has completed initial synchronization of SYSVOL with partner PRDAD1.prd-inc.com.  To check for the presence of the SYSVOL share, open a command prompt window and then type "net share".
 
Additional Information:
Replicated Folder Name: SYSVOL Share
Replicated Folder ID: RFID
Replication Group Name: Domain System Volume
Replication Group ID: RGID
Member ID: MID
Sync partner: PRDAD1.prd-inc.com

I will repeat that this last event is especially noteworthy in that it looks like replication happened, but it didn't.  There are other informational events, but no more warnings after this (other than the repeated warning every 5 minutes as first mentioned in this post).

While compiling this, I had another user contact me with a problem, he can't access his network drives because the logon script didn't run, which means he logged in to the new DC.  I am probably going to demote it again now and wait until I have some new ideas to try before promoting it for a third time.  I deleted all of the logs from the commands run last time, so I will run them again before demotion in case someone else feels the need to look at them.  I feel it is safe to assume a third promotion wouldn't be helpful without something being fixed first.

Another thing I forgot to note here was that Group Policy event 1058 contains the following details:

EventData
SupportInfo14
SupportInfo2820
ProcessingMode0
ProcessingTimeInMilliseconds374
ErrorCode3
ErrorDescriptionThe system cannot find the path specified.
DCName2012DC.domain
GPOCNNameCN={31B2F340-016D-11D2-945F-00C04FB984F9},CN=Policies,CN=System,DC=domain,DC=com
FilePath\\domain\sysvol\domain\Policies\{GPID}\gpt.ini

Of particular note here is that the share that can't be accessed is pointing at the domain instead of the domain controller it should replicate from.  I did an nslookup on the domain, and the server lists itself first, which is presumably why it can't access the files (because they haven't actually replicated yet.  I read somewhere that someone solved this problem by copying the files manually.  I could probably do that, but don't want to do it as anything other than a last resort.  Incidentally, I didn't note this earlier, but I did have each DC pointing at the other as primary DNS last time, this time they are both pointing at the 2008R2 DC for DNS, obviously that makes no difference.

Domain local or universal group?

$
0
0

I have 2 domains from 2 different forests.
Two way Trust between them.

Let say:

DomainA and DomainB

I need to add in local administrator group of server1.domainA users from DomainA and DomainB.

What the best practice?

Create a Domain Local group and add it in local administrator group of server1.domainA

Or

Create a Universal group and add it in local administrator group of server1.domainA

Windows 2012 Active Directory upgrade

$
0
0

Hi,

I was just going through below article for planning AD upgrade to WIndows 2012 based environment, i got few ideas but not able to to find clear articulation about Windows 2003 DCs.

http://technet.microsoft.com/en-us/library/hh994618.aspx

If Forest and DOmain Functional level is 2003 with Windows 2003 as Domain Controller OS then can we directly introduce Windows 2012 DC in existing environment ?

Will Windows 2012 DC be able to sync with Windows 2003 DC considering 64 bit OS?

Did any one tried these ? pls suggest


Regards:Mahesh

Viewing all 31638 articles
Browse latest View live


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