Newsgroup: it.comp.os.win.nt
Titolo: QUESITO IMPOSSIBILE!!

Qualcuno saprebbe dirmi come migrare gli utenti da un dominio ad un'altro senza doverli ricreare da capo!!!???
Fin'ora nessuno è stato in grado di rispondere, tra cui 4 sistemisti e 2 ammistratori di sistema!
Ciao!
--
TiscaliFreeNet, libero accesso ad Internet.
http://www.tiscalinet.it
--
Posted from 
laguna.tiscalinet.it
 [195.130.224.86] 
via Mailgate.ORG Server - 
http://www.Mailgate.ORG

 Fin'ora nessuno č stato in grado di rispondere, tra cui 4 sistemisti e 2
ammistratori di sistema!
Ma leggere un po??????
Nell'ultimo mese avro postato la soluzione 10 volte, altre al fatto che č
una straFAQ.
Quando fai una domanda nessuno e costretto a rispnderti a meno che tu non lo
paghi??
ADDUSERS

Posto da Ntfaq.com
Q. How can I create a list of all User Accounts?
A. A. There a number of ways to produce a list of all user accounts in a
domain (or accounts just on a machine):
  1.. The best way is to use a utility shipped with the Resource Kit called
ADDUSERS.EXE which is used to add users that have been detailed in a text
file. This image can also be used to export the current users and groups
into a comma separated file. What is a comma separated file? This is just a
file that has comma's between fields and when read into a
spreadsheet/database, the commas are detected, and the commas are replaced
with a new field. The format is :
  addusers /d <file name>
  e.g. addusers /d johnslis.csf
  Note: Be very careful not to enter /e instead of /d, /e deletes all users
and groups!
  This file can then be read into a spreadsheet/database (such as Excel) and
you will need to specify that comma is the delimiter.
  2.. A utility called USRSTAT.EXE is shipped with the NT Server Resource
Kit, and this utility supplies information on all members of a given domain,
including time/date of last login
  usrstat <domain>
  e.g. usrstat savilltech
  3.. The Resource Kit utility SHOWMBRS.EXE will show all the users in a
given group, so you could dump out the Domain Users group of a domain,
  showmbrs "<domain>\domain users"
  e.g. showmbrs "savilltech\domain users"
  You could add "> <file name>" to output to a file, e.g. showmbrs
"savilltech\domain users" > allusers.list
  4.. Finally if you don't have the resource kit (go and get it), you can
use the NET command to show all users in a domain
  net user /domain
  Which will list all users in the current domain, again you can user >
<file name> to output to a file. You could then get more information on each
user this lists by entering
  net user <username> /domain
  e.g. net user savillj /domain
  You could easily write a perl script to automate this task.
  5.. You could also use Windows Scripting Host which gives you the option
of being able to be more flexible with the output. The code below just lists
the full name
  set oDomain = GetObject("WinNT://SAVILLTECH")
  WScript.echo "Domain : " + oDomain.name
  for each oDomainItem in oDomain
   if oDomainItem.Class = "User" then
    WScript.echo " Full Name=" + oDomainItem.FullName
   end if
  next
It may be that none of these suit your exact needs, or you need to access
the user list from within a program, you can use the NetUserEnum(),
NetGroupEnum() and NetLocalGroupEnum() functions to get the required
information. For each of these, the first argument is the computer name to
perform the operation on, a null pointer will make it use the current
system, or use NetGetDCName() to get the computer name of the Domain
Controller. That's enough code for me, I'm starting to sweat :-)
Ciao Paolo

sistemisti di schedine o amministratori di condominio ?
--
umberto (area 6)