Архив

Archive for the ‘AD’ Category

How to Run Programs as a Domain User from a Non-domain Computer

In most cases, not being joined to a client’s domain doesn’t make one iota of difference. You need to access a network share or printer, browser to it and you will be prompted for domain credentials. The fact that you’re using different domain credentials to access the resource from those that you logged in with doesn’t matter one bit. If you want to expedite the process and not wait for an authentication time-out, you can utilize NET USE from the command line to tell Windows which credentials you want to use when accessing certain computers. You can even make them persistent or roll the whole thing into a batch script that you can execute whenever at a particular client.

net use \\server /user:domain\username /persistent:yes

Unfortunately this doesn’t work in all cases. One of my longstanding development pet peeves has been certain tools – I’m looking at you SQL Server Management Studio and SQL Query Analyzer – that don’t allow you to specify alternate domain credentials for authentication. For example, SQL Server Management Studio allows you to log into a SQL Server instance using Windows Authentication or SQL Server Authentication. If the SQL instance requires Windows Authentication – the recommended configuration – SQL Server Management Studio uses your logged in credentials. This works well if your computer is part of the domain, but fails horribly if not. It doesn’t let you specify alternate credentials or even prompt you for alternate credentials if the log-in fails.

Читать дальше…

Рубрики:AD, Microsoft Метки: ,

Как добавить доменного пользователя в локальную группу

Иногда нужно добавить пользователя в локальнуюю  группу – например, дать ему административные права на компьютер.

Это можно сделать следующей командой:

net localgroup Administrators "DOMAIN\username" /ADD

С помощью команды net можно также добавить пользователя и в доменную группу:

net group LocalAdmins "DOMAIN\username" /ADD

Читать дальше…

Рубрики:AD, Batch programming, HOW-TO Метки: ,

Как подключить Samba 3 сервер к домену Active Directory

Как упавший контроллер домена поднять

http://articles.techrepublic.com.com/5100-10878_11-6082663.html

хорошая статья – что делать, если упал один из контроллеров домена

Читать дальше…

Рубрики:AD, HOW-TO, Microsoft Метки: , ,