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

Active Directory Service

$
0
0

Hello Support Team,

I need you help,

My AD server not login domain Administrator Account, give an error (The trust relationship between this workstation and the primary domain failed).

and my AD server name is KHIAXS01, when i login local administrator account it showing Computer name different (WIN-DNE84ND9D7N),

and when i starting AD services, so below error showing

the AD Domain service on WIN-DNE84ND9D7N started and then stopped. some services stop automatically if they are not in use by other services or programs.

Please resolve my issue as soon as possible,

i am waiting your reply.

Regards

Saad Ahmed Abbasi

Email: s.abbasi9@hotmail.com / saad.abbasi@sysnet.pk


AD upgrade from 2003 to 2008 - infrastructure master problem

$
0
0

i wish to add Windows 2008 Domain controller to Windows 2003 domain

so i upgrade AD2003 to 2008 version

i run adprep /forestprep at infrastructure master (server A)

but it keeps on saying "the infra master is another server B"

i check the AD users and computers at bother domain controllers

infra server is server A

the infra master is just changed from server A to server B

but i still cannot run adprep /forestprep

Internet accses for clients when the DC is privately connected only

$
0
0

Hi! :)

I have a server which runs a few VMs, one of which is a DC. I have read and agree with the notion that a private DC should not be routable on the Internet; as such it's private only. I also have a linux VM which runs iptables that I use as the default gateway for clients/VMs needing internet access. 

If I want my clients to join the domain they need to use the DNS server of the domain which is run on the DC. However, since the DC is private only, they'll then be unable to resolve any Internet domains. Setting root hints on the DC or forwarding is futile. 

TLDR: How can I both use my private domain's DNS to join the domain on my laptop and also use other DN (my ISP's) DNS servers so that I can resolve Internet domains without having two NICs? Thanks.


Linux integration with Active Directory - User and Groups are named the same

$
0
0

I am working to integrate our Linux systems into Active Directory - so they get AD Kerberos tickets, use the same passwords etc. Many things are working, but now I'm running into an issue where many programs that are Linux derived such as puppet, qemu, etc have a user account named, for example 'qemu' and a group named 'qemu' but AD won't let me create the equivalent user/group pair as they are named the same. This sort of setup is apparently common with Linux programs, and it's not obvious that we can change it without a lot of re-configuration.

What are other admins doing in this situation? Is there a way to enable users and groups having the same name, at least for LDAP lookups from Linux?

SYSVOL and NETLOGON replication issues

$
0
0

Hi,

I discovered some replications issues on one of my DCs a couple of days ago, the SYSVOL and NETLOGON shares as not displayed/shared. In my setup im using Server 2012 Standard on all Domain Controllers. All servers are running on a ESXi 5 host in the same subnet, with firewalls disabled.

DC001 - main DC with all FSMO roles. (10.0.1.20)
DC002 - the server i discovered the replication issues on. (10.0.1.21)
DC003 - a fresh Server 2012 install with all updates promoted as DC. (10.0.1.22)

001 which is also the dc that the domain was created on, has both the SYSVOL and the NETLOGON share. The other two do not have these shares as confirmed by "net share". Bearing in mind that 002 has been rejoined to the domain less that 24 hours ago, and that 003 (did not exist in the domain before) has been freshly setup and promoted to the domain also less than 24 hours ago. Im going to let them sync for a little while longer before attempting anything. I haven't seen any error messages on any of the DC's for over 4 hours now. But if i run dcdiag it reports errors. Output is given bellow:  

All 3 domain controllers have the same DNS server list. The primary DNS is set to DC001 on all domain controllers. I have made no attempt to move any FSMO roles since this domain was setup. All DC's are on the same subnet and i have attempted to disable the Windows Firewall to see if it helps.

Here is some output, all tested from DC001.

repadmin /showrepl - displays no errors.
repadmin /replsummary - dispalys no errors

C:\>dcdiag /a

Directory Server Diagnosis

Performing initial setup:
   Trying to find home server...
   Home Server = dc001
   * Identified AD Forest.
   Done gathering initial info.

Doing initial required tests

   Testing server: xxx\DC001
      Starting test: Connectivity
         ......................... DC001 passed test Connectivity

   Testing server: xxx\DC003
      Starting test: Connectivity
         ......................... DC003 passed test Connectivity

   Testing server: xxx\DC002
      Starting test: Connectivity
         ......................... DC002 passed test Connectivity

Doing primary tests

   Testing server: xxx\DC001
      Starting test: Advertising
         ......................... DC001 passed test Advertising
      Starting test: FrsEvent
         ......................... DC001 passed test FrsEvent
      Starting test: DFSREvent
         There are warning or error events within the last 24 hours after the SYSVOL has been shared.  Failing SYSVOL
         replication problems may cause Group Policy problems.
         ......................... DC001 failed test DFSREvent
      Starting test: SysVolCheck
         ......................... DC001 passed test SysVolCheck
      Starting test: KccEvent
         ......................... DC001 passed test KccEvent
      Starting test: KnowsOfRoleHolders
         ......................... DC001 passed test KnowsOfRoleHolders
      Starting test: MachineAccount
         ......................... DC001 passed test MachineAccount
      Starting test: NCSecDesc
         ......................... DC001 passed test NCSecDesc
      Starting test: NetLogons
         ......................... DC001 passed test NetLogons
      Starting test: ObjectsReplicated
         ......................... DC001 passed test ObjectsReplicated
      Starting test: Replications
         ......................... DC001 passed test Replications
      Starting test: RidManager
         ......................... DC001 passed test RidManager
      Starting test: Services
         ......................... DC001 passed test Services
      Starting test: SystemLog
         ......................... DC001 passed test SystemLog
      Starting test: VerifyReferences
         ......................... DC001 passed test VerifyReferences

   Testing server: xxx\DC003
      Starting test: Advertising
         Warning: DsGetDcName returned information for \\dc001.xxx.net, when we were trying to reach
         DC003.
         SERVER IS NOT RESPONDING or IS NOT CONSIDERED SUITABLE.
         ......................... DC003 failed test Advertising
      Starting test: FrsEvent
         ......................... DC003 passed test FrsEvent
      Starting test: DFSREvent
         There are warning or error events within the last 24 hours after the SYSVOL has been shared.  Failing SYSVOL
         replication problems may cause Group Policy problems.
         ......................... DC003 failed test DFSREvent
      Starting test: SysVolCheck
         ......................... DC003 passed test SysVolCheck
      Starting test: KccEvent
         ......................... DC003 passed test KccEvent
      Starting test: KnowsOfRoleHolders
         ......................... DC003 passed test KnowsOfRoleHolders
      Starting test: MachineAccount
         ......................... DC003 passed test MachineAccount
      Starting test: NCSecDesc
         ......................... DC003 passed test NCSecDesc
      Starting test: NetLogons
         Unable to connect to the NETLOGON share! (\\DC003\netlogon)
         [DC003] An net use or LsaPolicy operation failed with error 67, The network name cannot be found..
         ......................... DC003 failed test NetLogons
      Starting test: ObjectsReplicated
         ......................... DC003 passed test ObjectsReplicated
      Starting test: Replications
         ......................... DC003 passed test Replications
      Starting test: RidManager
         ......................... DC003 passed test RidManager
      Starting test: Services
         ......................... DC003 passed test Services
      Starting test: SystemLog
         ......................... DC003 passed test SystemLog
      Starting test: VerifyReferences
         ......................... DC003 passed test VerifyReferences

   Testing server: xxx\DC002
      Starting test: Advertising
         Warning: DsGetDcName returned information for \\dc001.xxx.net, when we were trying to reach
         DC002.
         SERVER IS NOT RESPONDING or IS NOT CONSIDERED SUITABLE.
         ......................... DC002 failed test Advertising
      Starting test: FrsEvent
         ......................... DC002 passed test FrsEvent
      Starting test: DFSREvent
         There are warning or error events within the last 24 hours after the SYSVOL has been shared.  Failing SYSVOL
         replication problems may cause Group Policy problems.
         ......................... DC002 failed test DFSREvent
      Starting test: SysVolCheck
         ......................... DC002 passed test SysVolCheck
      Starting test: KccEvent
         ......................... DC002 passed test KccEvent
      Starting test: KnowsOfRoleHolders
         ......................... DC002 passed test KnowsOfRoleHolders
      Starting test: MachineAccount
         ......................... DC002 passed test MachineAccount
      Starting test: NCSecDesc
         ......................... DC002 passed test NCSecDesc
      Starting test: NetLogons
         Unable to connect to the NETLOGON share! (\\DC002\netlogon)
         [DC002] An net use or LsaPolicy operation failed with error 67, The network name cannot be found..
         ......................... DC002 failed test NetLogons
      Starting test: ObjectsReplicated
         ......................... DC002 passed test ObjectsReplicated
      Starting test: Replications
         ......................... DC002 passed test Replications
      Starting test: RidManager
         ......................... DC002 passed test RidManager
      Starting test: Services
         ......................... DC002 passed test Services
      Starting test: SystemLog
         An error event occurred.  EventID: 0x0000164A
            Time Generated: 03/31/2013   21:27:38
            Event String:
            The Netlogon service could not create server share C:\Windows\SYSVOL\sysvol\xxx.net\SCRIPTS.  The followin
g error occurred:
         ......................... DC002 failed test SystemLog
      Starting test: VerifyReferences
         ......................... DC002 passed test VerifyReferences




   Running partition tests on : ForestDnsZones
      Starting test: CheckSDRefDom
         ......................... ForestDnsZones passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... ForestDnsZones passed test CrossRefValidation

   Running partition tests on : DomainDnsZones
      Starting test: CheckSDRefDom
         ......................... DomainDnsZones passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... DomainDnsZones passed test CrossRefValidation

   Running partition tests on : Schema
      Starting test: CheckSDRefDom
         ......................... Schema passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... Schema passed test CrossRefValidation

   Running partition tests on : Configuration
      Starting test: CheckSDRefDom
         ......................... Configuration passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... Configuration passed test CrossRefValidation

   Running partition tests on : xxx
      Starting test: CheckSDRefDom
         ......................... xxx passed test CheckSDRefDom
      Starting test: CrossRefValidation
         ......................... xxx passed test CrossRefValidation

   Running enterprise tests on : xxx.net
      Starting test: LocatorCheck
         ......................... xxx.net passed test LocatorCheck
      Starting test: Intersite
         ......................... xxx.net passed test Intersite

Im also seeing the following error:

The DNS server is waiting for Active Directory Domain Services (AD DS) to signal that the initial synchronization of the directory has been completed. The DNS server service cannot start until the initial synchronization is complete because critical DNS data might not yet be replicated onto this domain controller. If events in the AD DS event log indicate that there is a problem with DNS name resolution, consider adding the IP address of another DNS server for this domain to the DNS server list in the Internet Protocol properties of this computer. This event will be logged every two minutes until AD DS has signaled that the initial synchronization has successfully completed.

After this i get:

The DNS server has finished the background loading and signing of zones. All zones are now available for DNS updates and zone transfers, as allowed by their individual zone configuration.

S
o im assuming that there are no DNS related issues.

I found some KBs that might resolve the issue but i wanted to check if anyone had any tips before attempting registry fixes. Can anyone explain whats going on and how to resolve the issue?

http://support.microsoft.com/kb/290762
http://support.microsoft.com/kb/2218556


integrate 2 domains

$
0
0

Hi,

Could you please help advise on the options of using ADMT V3.2 to integrate 2 domains(domain1.int, and domain2.int)?

Current setups:

Currently, there are 2 existing domains(domain1 and domain2) set up as follows:

  1. Both domain DCs running a mixture of Windows server 2008 r2 Ent and Win2003 server.
  2. DCs of domains are physicall located inside a same room,
  3. but domain1 and domain2 are “separated “–  each keep its own set of AD DS database, DNS, DHCP. although the server machines are located in a same room, but are linked to different cisco switches in a way to prevent any connection between the 2 LANs/Domains.
  4.  in BOTH of AD, each staff is given/using an account in both domains -- EACH of staff  has a user accounts in both domains(e.g MikeLee\domain1, Midelee\domain2, the passwords are maintained by respective AD, thus the same user has 2 sets of account/passward).
  5. there're 2 separate LANs, each PC is only possible to link to one particular domain(and the DCs of that respective domain), a user can only log in to a particular domain(either domain1 or domain2) using the account/machine of that domain(id-at-thatdomain,  as well as the machine-joinedto-thatDomain).
  6. Among 200 staff, 30 of them are “active” in domain1(their PC account & homedrive in domain1, and most of time they log in to domain1); the rest of 170 staff are “active” in domain2(their PC joined to domain2, most of time log in to domain2, home drive in domain2).

New requirement to merge or integrate (domain1 and domain2)

Now, we need to maintain only 1 single domain instead of 2, as most of users in domain2, so it seems reasonable to keep domain2 and migrate those from the domain1 to domain2. 

Could you please advise what are the best solutions to the requirement?

Thanks a lot for your help and support!

Warm regards,

waterlily901

Can't add a new machine to AD

$
0
0

Recently i changed my name of my server which already configured AD on it.

Once the machine restarts i can't log in to my server again.

when ever i tried to log in i am getting "Invalid User name and Password ".

And i cant add a new computer to my domain.

Please help me to over come this issue. 

i need really help plz

$
0
0

am working in media field (radio station) working 24/7 more than 4 channels , i have an old 2003 domain controller running the onair work station on studio's , i wont to replace it by a new server (2008 r1) because am using netia system (air DDO8-Quick player8) without changing names or IP and without stopping onair workstation on studio's .

already am using the new server (2008 r1) as a database server and all my sound files stored on a storage box(15 TB) and file server device (6 TB) connected to the new server .

plz help me   


A record in DNS created in separate folder

$
0
0

Hello all!

I have AD in multiple site environment.

When i try to create A record in my DNS in domain folder, it is appear in Domain folder(for example contoso.local) but in separate folder, don't in main where all record  are store.

When i try to create the same record on other DNS, it is create fine, but when this record replicate to my problem DNS, it also appear in separate folder.



strange error from AD when using powershell

$
0
0

hey guys, im trying to add UPN suffixes to AD-Forest, and im using the below command for that.

Import-Module activedirectory
Set-ADForest -Identity domain.com -UPNSuffixes @{Add="demo23.com"}

now the problem  sometimes im getting the below error.

Set-ADForest : Insufficient access rights to perform the operation
At line:1 char:13+ Set-ADForest <<<<  -Identity "domain.com" -UPNSuffixes @{Add="demo23.com"}+ CategoryInfo          : NotSpecified: (Microsoft.Activ...gement.ADForest:ADForest) [Set-ADForest], ADException+ FullyQualifiedErrorId : Insufficient access rights to perform the operation,Microsoft.ActiveDirectory.Management
   .Commands.SetADForest

Now, the above error comes occasionally.. 

i was able to actually execute the powershell cmdlets peacefully, then all of a sudden it throws teh above error for teh same user on same machine, and on same powershell console.. 

im totally blank here. can any help help me with this strange error.

Edit:

Just now i have been able to reproduce the error. What i did was to log off from the domain controller and then after logging back and running the same command, im getting the same error.



AD and exchange

$
0
0

Hello! I have two VPS. I want one to be my domain controller and the second one to be exchange 2010 server. How should I make it properly?

[Server A] Installed AD using create new domain in a new forest

[Server B] How should I install AD, that my exchange 2010 wasn't on Domain controller

Add attribute through commandline in Active Directory

$
0
0

I am migrating from OpenLDAP to Active Directory. I was wondering if there is a commandline command (in windows commandprompt, not powershell) to add Attributes to the Active Directory Schema.

I can at the moment only add attributes through the Active Directory Schema snap in in mmc /a but as I have a lot of attributes I'm searching for a commandline solution.

Ошибка репликации контроллеров домена

$
0
0

2 контроллера домена (volans - хозяин ролей с ip 192.168.3.5 и serv-exch - имеет просто глобальный каталог с ip 192.168.3.6), оба на базе server 2008 R2 SP1.

В какой-то момент перестали реплицироваться и полетели ошибки:

На volans: 2088 источника 

... 

Имя альтернативного сервера: 
 serv-exch.stocf.ru 
Ошибочное имя узла DNS: 
 f7b8687f-f88a-4232-ac9a-dec7660d4c4e._msdcs.stocf.ru 

... 

Имя альтернативного сервера: 
 serv-exch.stocf.ru 
Ошибочное имя узла DNS: 
 f7b8687f-f88a-4232-ac9a-dec7660d4c4e._msdcs.stocf.ru 

Имя альтернативного сервера: 
 serv-exch.stocf.ru 
Ошибочное имя узла DNS: 
 f7b8687f-f88a-4232-ac9a-dec7660d4c4e._msdcs.stocf.ru 

C:\>dcdiag /test:dns

Диагностика сервера каталогов

Выполнение начальной настройки:
   Выполняется попытка поиска основного сервера...
   Основной сервер = volans
   * Идентифицирован лес AD.
   Сбор начальных данных завершен.

Выполнение обязательных начальных проверок

   Сервер проверки: Default-First-Site-Name\VOLANS
      Запуск проверки: Connectivity
         ......................... VOLANS - пройдена проверка Connectivi

Выполнение основных проверок

   Сервер проверки: Default-First-Site-Name\VOLANS

      Запуск проверки: DNS

         Проверки DNS выполняются без зависания. Подождите несколько мин
         ......................... VOLANS - пройдена проверка DNS

   Выполнение проверок разделов на: ForestDnsZones

   Выполнение проверок разделов на: DomainDnsZones

   Выполнение проверок разделов на: Schema

   Выполнение проверок разделов на: Configuration

   Выполнение проверок разделов на: stocf

   Выполнение проверок предприятия на: stocf.ru
      Запуск проверки: DNS
         Результаты проверки контроллеров домена:

            Контроллер домена: volans.stocf.ru
            Домен: stocf.ru


               TEST: Dynamic update (Dyn)
                  Warning: Failed to delete the test record dcdiag-test-
n zone stocf.ru

               volans                       PASS PASS PASS PASS WARN PAS
         ......................... stocf.ru - пройдена проверка DNS

На сервере serv-exch следующие ошибки:

id:1168

 

Internal error: An Active Directory Domain Services error has occurred. 

Additional Data 
Error value (decimal):
-1601 
Error value (hex):
fffff9bf 
Internal ID:
2070a86

и id 1645:

  

Доменным службам Active Direct

ory не удалось выполнить проверенный удаленный вызов процедуры (RPC) на другом сервере службы каталогов, поскольку нужное имя участника-службы (SPN) для конечного сервера службы каталогов не зарегистрировано на сервере службы каталогов, являющемся центром распространения ключей (KDC) и разрешающем SPN. 

Конечный сервер службы каталогов:
c018adba-b96f-4aa7-b062-5f9bc2eaf7fc._msdcs.stocf.ru 
SPN:
E3514235-4B06-11D1-AB04-00C04FC2DCD2/c018adba-b96f-4aa7-b062-5f9bc2eaf7fc/stocf.ru@stocf.ru 

Действие пользователя 
Проверьте правильность имен конечного сервера службы каталогов и домена. Кроме того, проверьте регистрацию SPN на сервере службы каталогов KDC. Если роль конечного сервера службы каталогов была недавно повышена, для возможности проверки его подлинности данные учетной записи компьютера этого сервера службы каталогов предварительно должны быть реплицированы на KDC.

также присутствуют ошибки DNS:

4014 и 408, 404, 407

DNS-серверу не удалось связать сокет для работы по протоколу UDP с 192.168.3.6. В данных события содержится код ошибки. Перезапустите DNS-сервер или перезагрузите компьютер 

  

DNS-серверу не удало

сь открыть сокет д

ля адреса "192.168.3.6". 
Убедитесь, что данный адрес является допустимым IP-адресом компьютера сервера.  Если он не является допустимым, используйте диалог "Интерфейсы" на вкладке "Свойства сервера" диспетчера DNS для удаления его из списка IP-интерфейсов.  После этого остановите и снова запустите DNS-сервер. (Если этот IP-интерфейс единственный на компьютере, DNS-сервер может не запуститься по причине описанной ошибки.  В этому случае удалите значение DNS\Parameters\ ListenAddress в разделе служб реестра и перезапустите сервер.) 

Если указанный IP-адрес является допустимым для данного компьютера, убедитесь, что не запущены другие приложения (например, другой DNS-сервер), которые могут использовать DNS-порт. 

Более подробную информацию смотрите в разделе "Журнал DNS-сервера" встроенной справки.

А вот, что выдает на serv-exch

C:\>dcdiag /test:dns

Диагностика сервера каталогов

Выполнение начальной настройки:
   Выполняется попытка поиска основного сервера...
   Основной сервер = serv-exch
   * Идентифицирован лес AD.
   Сбор начальных данных завершен.

Выполнение обязательных начальных проверок

   Сервер проверки: Default-First-Site-Name\SERV-EXCH
      Запуск проверки: Connectivity
         Узел f7b8687f-f88a-4232-ac9a-dec7660d4c4e._msdcs.stocf.ru не удается
         разрешить в IP-адрес. Проверьте DNS-сервер, DHCP, имя сервера и т. д.
         Получена ошибка при проверке подключения LDAP и RPC. Проверьте
         параметры брандмауэра.
         ......................... SERV-EXCH - не пройдена проверка
         Connectivity

Выполнение основных проверок

   Сервер проверки: Default-First-Site-Name\SERV-EXCH

      Запуск проверки: DNS

         Проверки DNS выполняются без зависания. Подождите несколько минут...
         ......................... SERV-EXCH - пройдена проверка DNS

   Выполнение проверок разделов на: ForestDnsZones

   Выполнение проверок разделов на: DomainDnsZones

   Выполнение проверок разделов на: Schema

   Выполнение проверок разделов на: Configuration

   Выполнение проверок разделов на: stocf

   Выполнение проверок предприятия на: stocf.ru
      Запуск проверки: DNS
         Результаты проверки контроллеров домена:

            Контроллер домена: serv-exch.stocf.ru
            Домен: stocf.ru


               TEST: Basic (Basc)
                  Ошибка: Невозможно подключение LDAP
                  Не найдены записи узла (A или AAAA) для данного DC

               TEST: Dynamic update (Dyn)
                  Warning: Failed to delete the test record dcdiag-test-record i
n zone stocf.ru

               TEST: Records registration (RReg)
                  Сетевой адаптер
                  [00000010] Сетевое подключение Intel(R) 82574L Gigabit:
                     Внимание!
                     Отсутствует запись CNAME на DNS-сервере 192.168.3.5:
                     f7b8687f-f88a-4232-ac9a-dec7660d4c4e._msdcs.stocf.ru

               Ошибка. Не удается найти регистрации записей для всех сетевых
               адаптеров

         Отчет по результатам проверки DNS:

                                            Auth Basc Forw Del  Dyn  RReg Ext
            _________________________________________________________________
            Домен: stocf.ru
               serv-exch                    PASS FAIL PASS PASS WARN FAIL n/a

         ......................... stocf.ru - не пройдена проверка DNS

На всякий пожарный ipconfig /all обоих 

volans

C:\>ipconfig /all

Настройка протокола IP для Windows

   Имя компьютера  . . . . . . . . . : volans
   Основной DNS-суффикс  . . . . . . : stocf.ru
   Тип узла. . . . . . . . . . . . . : Гибридный
   IP-маршрутизация включена . . . . : Нет
   WINS-прокси включен . . . . . . . : Нет
   Порядок просмотра суффиксов DNS . : stocf.ru

Ethernet adapter Подключение по локальной сети 2:

   DNS-суффикс подключения . . . . . :
   Описание. . . . . . . . . . . . . : Двухпортовое сетевое подключение Intel(R)
 82576 Gigabit #2
   Физический адрес. . . . . . . . . : 00-25-90-04-44-45
   DHCP включен. . . . . . . . . . . : Нет
   Автонастройка включена. . . . . . : Да
   IPv6-адрес. . . . . . . . . . . . : fd00::6(Основной)
   Локальный IPv6-адрес канала . . . : fe80::bd8b:2d12:51e7:3848%12(Основной)
   IPv4-адрес. . . . . . . . . . . . : 192.168.3.5(Основной)
   Маска подсети . . . . . . . . . . : 255.255.255.0
   Основной шлюз. . . . . . . . . : 192.168.3.1
   DNS-серверы. . . . . . . . . . . : 127.0.0.1
   NetBios через TCP/IP. . . . . . . . : Включен

Туннельный адаптер isatap.{E1E394B1-66A7-4118-B387-831777925CE5}:

   Состояние среды. . . . . . . . : Среда передачи недоступна.
   DNS-суффикс подключения . . . . . :
   Описание. . . . . . . . . . . . . : Адаптер Microsoft ISATAP
   Физический адрес. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP включен. . . . . . . . . . . : Нет
   Автонастройка включена. . . . . . : Да

Туннельный адаптер Teredo Tunneling Pseudo-Interface:

   Состояние среды. . . . . . . . : Среда передачи недоступна.
   DNS-суффикс подключения . . . . . :
   Описание. . . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Физический адрес. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP включен. . . . . . . . . . . : Нет
   Автонастройка включена. . . . . . : Да

serv-exch

C:\>ipconfig /all

Настройка протокола IP для Windows

   Имя компьютера  . . . . . . . . . : serv-exch
   Основной DNS-суффикс  . . . . . . : stocf.ru
   Тип узла. . . . . . . . . . . . . : Гибридный
   IP-маршрутизация включена . . . . : Нет
   WINS-прокси включен . . . . . . . : Нет
   Порядок просмотра суффиксов DNS . : stocf.ru

Ethernet adapter Подключение по локальной сети 2:

   DNS-суффикс подключения . . . . . :
   Описание. . . . . . . . . . . . . : Сетевое подключение Intel(R) 82574L Gigab
it #2
   Физический адрес. . . . . . . . . : 00-30-48-9F-5A-77
   DHCP включен. . . . . . . . . . . : Нет
   Автонастройка включена. . . . . . : Да
   IPv6-адрес. . . . . . . . . . . . : fd00::7(Основной)
   Локальный IPv6-адрес канала . . . : fe80::d411:ba9e:5feb:7361%11(Основной)
   IPv4-адрес. . . . . . . . . . . . : 192.168.3.6(Основной)
   Маска подсети . . . . . . . . . . : 255.255.255.0
   Основной шлюз. . . . . . . . . : 192.168.3.1
   DNS-серверы. . . . . . . . . . . : fd00::6
                                       ::1
                                       192.168.3.5
   NetBios через TCP/IP. . . . . . . . : Включен

Туннельный адаптер isatap.{E5A187B1-C94E-4F97-BE5A-524D95548393}:

   Состояние среды. . . . . . . . : Среда передачи недоступна.
   DNS-суффикс подключения . . . . . :
   Описание. . . . . . . . . . . . . : Адаптер Microsoft ISATAP #2
   Физический адрес. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP включен. . . . . . . . . . . : Нет
   Автонастройка включена. . . . . . : Да

Туннельный адаптер Teredo Tunneling Pseudo-Interface:

   Состояние среды. . . . . . . . : Среда передачи недоступна.
   DNS-суффикс подключения . . . . . :
   Описание. . . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Физический адрес. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP включен. . . . . . . . . . . : Нет
   Автонастройка включена. . . . . . : Да

С чего начать спасать? Перечитал много статей, но причина скорее кроется в отсутствии регистрации доменов друг у друга. Почему записи пропали, каких ещё записей не хватает, подскажите, запутался в конец.

importing csv file to active directory

$
0
0

Good morning

Here is my question and while i see several topics related to it i do not see one exactly what i am looking for.

i have gone into our active directory and exported each OU and combined it into one csv file.  the header columns are as such

Name
Type
Description
Modified
Business Phone
City
Company
Country/Region
Department
Display Name
E-Mail Address
Exchange Alias
Exchange Mailbox Store
First Name
Instant Messaging Home Server 
Instant Messaging URL 
Job Title
Last Name
Office
Phonetic Company Name
Phonetic Department
Phonetic Display Name
Phonetic First Name
Phonetic Last Name
State
User Logon Name
Zip Code

i have used various files from our company to piece together a csv file with all this information and would like to upload it back. my problem is i am unsure how to do this since they are all active accounts.  i know i would like to do this for just my department as a test to make sure it all works correctly but am not familiar enough with powershell or anything else to be able to do this.

thanks for any help you may enlighten me with


Jerry Peoples

Regional Settings on DCs & Clients across different physical & AD sites

$
0
0

Hi,

I have around 7 Physical Sites there is a single Domain single Forest AD Model.

I have a Main Site with a DC, ADC & Application Servers.

and an AD Site for each Physical location with an RODC and there are around 50-80 Users on each site.

I want to change the Region and Language - Format to English (United Kingdom) because i want date format to be day/month/year.

Do i need to do this change on Main DC or Every DC on each site? Please suggest.

Regards,

Maqsood


Maqsood Mohammed Senior Systems Engineer MCITP-Enterprise Admin & ITILv3 Foundation Certified


One physical DC still recommended?

$
0
0

Hello,

a few years ago (Windows 2008R2) somebody told me, that it is recommended to have at least one Domain Controller as a physical server.
This server should be responsible for the FSMO roles and for the time sync in the domain. Also complete virtualized ADDS Environments wouldn't be supported by Microsoft.

With Windows 2012, is that still a recommendation? Will I get support from Microsoft in a completely virtualized ADDS forests?

Thanks for your help

Andre

Windows 2008 + Invoke("ChangePassword") = Lots of profiles in C:\Users

$
0
0
We have an in-house self-service password change and reset web application that we wrote in C# using ASP.NET 2.0. It is being hosted on a 32-bit Windows Server 2008 Standard SP1 virtual machine (VMWare) running IIS 7.0 (although our domain is still a Windows 2003 domain). The application has been up and running without issue for several months now.

However, we recently realized that the C: drive on our server was getting full. This turned out to be due to the existence of over 3,000 profile folders in the C:\Users directory. We discovered that any time our .NET code successfully executes the following line, a profile for the user is created.

userDE.Invoke("ChangePassword", new object[] { oldPW, newPW }); 

("userDE" is a DirectoryEntry object for the user's Active Directory account.)

How can we prevent these profiles from being created when users successfully change their password using our application? Is this a setting within Windows Server 2008 that can be changed or do we need to modify the code somehow?

We tested this same code on a Windows Server 2003 machine and it did not create profiles each time a password was successfully changed.

Someone suggested that the problem could be due to the fact that our Windows Server 2008 installation is being hosted on a virtual server. However, we don't currently have any non-virtual Windows Server 2008 machines running that we can use to test this theory.

I've already posted this question on the ASP.NET forums at http://forums.asp.net/p/1388747/2960923.aspx#2960923 and on the MSDN .NET Development forums at http://social.msdn.microsoft.com/Forums/en-US/clr/thread/737e29af-0883-490d-82b9-7fcda02641f1, but so far I haven't had much luck.

Thanks in advance for your help.

Austin Beer
Enterprise Systems Analyst
Taylor University
Upland, Indiana


Query Active Directory for group membership on a different domain from IIS

$
0
0

Hi,

We have an application that needs to query for group membership in a second domain. This works fine from our thick client, but not from IIS using identical code.

Basically our client's setup is that they have two domains, one where they define users (dom1) and another where they define groups (dom2). We need to be able to query group membership within dom2 for a dom1 user. Eventually I got the code working in the thick client by retrieving the SID of the dom1 user, and then using that SID to query for groups in dom2:

(&(objectCategory=group)(member=CN=<user's SID>,CN=ForeignSecurityPrincipals,DC=dom2)

This is the code that works in the thick client but not when running under IIS:

void GetGroups(string userSid, string path, string userName)
{
	DirectoryEntry directoryEntry = new DirectoryEntry();
	directoryEntry.Path = path;
	directoryEntry.Username = userName;

	DirectorySearcher directorySearchGroup = new DirectorySearcher();
	directorySearchGroup.SearchRoot = directoryEntry;

	directorySearchGroup.Filter = string.Format("(&(objectCategory=group)(member=CN={0},CN=ForeignSecurityPrincipals,DC=dom2)", userSid);
	SearchResultCollection searchResultGroups = directorySearchGroup.FindAll();

	foreach (SearchResult searchResultGroup in searchResultGroups)
	{
		DoSomething();
	}
}

The main difference that I can see is that the application pool under IIS will be running under a different user account to the one that is being queried for. Whereas in the thick client it will be the logged in Windows user that is being sought. So in the IIS case, application pool is running under dom1.user1 and querying for group membership in dom2 for dom1.user2, and in the thick client dom1.userA is logged in and we are querying dom1.userA in dom2.

The error encountered in the IIS case is:

System.Runtime.InteropServices.COMException (0x8007052E): Logon failure: unknown user name or bad password.

Call stack:

   at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
   at System.DirectoryServices.DirectoryEntry.Bind()
   at System.DirectoryServices.DirectoryEntry.get_AdsObject()
   at System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne)
   at System.DirectoryServices.DirectorySearcher.FindAll()

I imagine it would work if we set the password property of the DirectoryEntry object, however this is of course not available at the time. Does the account that the IIS application pool is running under need to be a domain admin user or have any other elevated permissions in order to be allowed to query for group membership of any dom1 user within dom2?

We are trying to find out whether our client has full trust established between the two domains, or just one-way trust, but I imagine this can't be the cause of the problem as it works from the thick client. However my knowledge of AD is fairly limited. We are using .Net 2.0.

Any help would be hugely appreciated! Please let me know if any further information would be useful.


Certificate Renewal Issue

$
0
0

Hi,  We have a Microsoft 2008 R2 server. When attempting to renew a certificate we are getting exception "Provider could not perform the action since the context was acquired as silent. 0x80090022".  We want to renew the certificate with the same existing key pair.

We are trying to achieve this programmatically using c# and getting exception at 

objPkcs7.InitializeFromCertificate(X509CertificateEnrollmentContext.ContextUser, true, Convert.ToBase64String(certificate.RawData), EncodingType.XCN_CRYPT_STRING_BASE64, X509RequestInheritOptions.InheritPrivateKey);

Any ideas/suggestions where we are going wrong and what this error means??

NETLOGON 5719

$
0
0

How to resolve if we have very frequent 5719 netlogon error and it resumes automatically. 


Viewing all 31638 articles
Browse latest View live


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