Exportation de comptes sous 2000 Server

Exportation de comptes sous 2000 Server - Windows & Software

Marsh Posté le 09-02-2003 à 15:17:47    

Salut à tous.
 
Voilà mon problème :
 
Je dois changer un serveur windows 2000 contrôleur de domaine principal (et unique) d'un sous réseau qui gère 300 comptes pour environ une dizaine de groupes. J'avais pensé à installer le nouveau serveur en contrôleur de domaine secondaire puis basculer les comptes en réplicant l'Active Directory (même si je ne connais pas franchement la procédure à suivre ...) puis ensuite passez le nouveau serveur en contrôleur primaire.
 
Malheureusement un pb de DNS et/ou de configuration réseau (antérieur à mon arrivée et personne pour me rensigner  :fou: ) m'empêche de promouvoir le nouveau serveur en contrôleur secondaire !
 
Ma question est donc la suivante : est-il possible d'exporter le contenu d'Active Directory pour le récupérer ensuite ?

Reply

Marsh Posté le 09-02-2003 à 15:17:47   

Reply

Marsh Posté le 14-02-2003 à 01:54:53    

:bounce:

Reply

Marsh Posté le 14-02-2003 à 07:59:49    

Csvde :
 

CsvdeImports and exports data from Active Directory using files that store data in the comma-separated value (CSV) format. You can also support batch operations based on the CSV file format standard.  
 
Syntax
csvde [-i] [-f FileName] [-s ServerName] [-c String1 String2] [-v] [-j Path] [-t PortNumber] [-d BaseDN] [-r LDAPFilter] [-p Scope] [-l LDAPAttributeList] [-o LDAPAttributeList] [-g] [-m] [-n] [-k] [-a UserDistinguishedName Password] [-b UserName Domain Password]  
 
Parameters
-i  
Specifies import mode. If not specified, the default mode is export.  
-f FileName  
Identifies the import or export file name.  
-s ServerName  
Specifies the domain controller to perform the import or export operation.  
-c String1 String2  
Replaces all occurrences of String1 with String2. This is generally used when importing data from one domain to another and the distinguished name of the export domain (String1) needs to be replaced with that of the import domain (String2).  
-v  
Sets verbose mode.  
-j Path  
Sets the log file location. The default is the current path.  
-t PortNumber  
Specifies an LDAP port number. The default LDAP port is 389. The global catalog port is 3268.  
-d BaseDN  
Sets the distinguished name of the search base for data export.  
-r LDAPFilter  
Creates an LDAP search filter for data export.  
-p Scope  
Sets the search scope. Search scope options are Base, OneLevel, or SubTree.
 
-l LDAPAttributeList  
Sets the list of attributes to return in the results of an export query. If this parameter is omitted, all attributes are returned.  
-o LDAPAttributeList  
Sets the list of attributes to omit from the results of an export query. This is typically used when exporting objects from Active Directory and then importing them into another LDAP-compliant directory. If attributes are not supported by another directory, you can omit the attributes from the result set using this option.  
-g  
Omits paged searches.  
-m  
Omit attributes that only apply to Active Directory objects such as the ObjectGUID, objectSID, pwdLastSet and samAccountType attributes.  
-n  
Omits export of binary values.  
-k  
Ignores errors during the import operation and continues processing. The following is a complete list of ignored errors: "Object already exists," "Constraint violation," and "Attribute or value already exists."  
-a UserDistinguishedName Password  
Sets the command to run using the supplied UserDistinguishedName and Password. By default, the command runs using the credentials of the user currently logged on to the network.  
-b UserName Domain Password  
Sets the command to run as Username Domain Password. By default, the command will run using the credentials of the user currently logged on to the network.  
-?  
Displays the command menu.  
Remarks
Applications such as Microsoft Excel are capable of reading and saving data in the CSV format. In addition, the Microsoft Exchange Server administration tools are also capable of importing and exporting data using the CSV format, as are many other non-Microsoft tools.  
The CSV format consists of one or more lines of data, with each value separated by a comma. The first line (sometimes referred to as the header) of the CSV file must contain the names of each attribute in the same order as the data in any line following the first line. For example:
 
CN,FirstName,SurName,Description
 
FirstUserLogonName,1stUserFirstName,1stUserSurname,Manager
 
SecondUserLogonName,2ndUserFirstName,2ndUserSurname,President
 
You can use csvde -r to create an LDAP search filter for data export. For example, the following filter exports all users with a particular surname: csvde -r (and(objectClass=User)(sn=Surname))  
Formatting legend
Format Meaning  
Italic Information that the user must supply  
Bold Elements that the user must type exactly as shown  
Ellipsis (...) Parameter that can be repeated several times in a command line  
Between brackets ([]) Optional items  
Between braces ({}); choices separated by pipe (|). Example: {even|odd} Set of choices from which the user must choose only one  
Courier font Code or program output  
 


Reply

Marsh Posté le 15-02-2003 à 12:13:21    

Merci je vais déjà essayer ça.

Reply

Marsh Posté le 15-02-2003 à 12:14:49    

MagicBuzz a écrit :

Reformatte ton serveur secondaire, tu t'es chié dessus à l'installe de AD...
 
Normalement, t'as rien à promouvoir, tu installes AD en indiquant que tu es un serveur supplémentaire pour un domaine existant et ça roule.
 
Si t'as un message d'erreur à ce moment, alors poste-le ENTIER, afin qu'on puisse t'aider.
 
C'est la seule façon de récupérer les infos du domaine.
 
Vérifie quand même les paramètres du serveur actuel, afin de voir si y'a pas des trucs qui ont été paramètrés n'importe comment, notamment au niveau du PDC policies


 
non je me suis pas chié dessus et le seul message d'erreur que j'aie c'est "domaine inacessible" (c'est un pb de DNS)
 
Mais merci qd même !


Message édité par ppmalin le 15-02-2003 à 12:15:41
Reply

Marsh Posté le 24-02-2003 à 18:33:52    

PpMalin a écrit :

Salut à tous.
 
Voilà mon problème :
 
Je dois changer un serveur windows 2000 contrôleur de domaine principal (et unique) d'un sous réseau qui gère 300 comptes pour environ une dizaine de groupes. J'avais pensé à installer le nouveau serveur en contrôleur de domaine secondaire puis basculer les comptes en réplicant l'Active Directory (même si je ne connais pas franchement la procédure à suivre ...) puis ensuite passez le nouveau serveur en contrôleur primaire.
 
Malheureusement un pb de DNS et/ou de configuration réseau (antérieur à mon arrivée et personne pour me rensigner  :fou: ) m'empêche de promouvoir le nouveau serveur en contrôleur secondaire !
 
Ma question est donc la suivante : est-il possible d'exporter le contenu d'Active Directory pour le récupérer ensuite ?
 


 
Euh, premièrement ça n'existe plus un controleur secondaire ou primaire avec Active Directory... Oublie les notions PDC/BDC.
 
Puis, pour prendre un serveur autonome et en faire un DC, tu tapes DCPROMO à l'invite de commandes..
 
70-215?

Reply

Marsh Posté le 26-02-2003 à 00:03:32    

8086Rulez a écrit :


 
Euh, premièrement ça n'existe plus un controleur secondaire ou primaire avec Active Directory... Oublie les notions PDC/BDC.


 
C'est un serveur 2000 mis à jour à partir d'un NT.
 
70-215? <= ????

Reply

Marsh Posté le 26-02-2003 à 00:08:05    

PpMalin a écrit :


 
C'est un serveur 2000 mis à jour à partir d'un NT.
 
70-215? <= ????


 
Exam...

Reply

Marsh Posté le 26-02-2003 à 00:18:55    

http://www.itpro.fr/index1.asp?Idarticle=1096&rub=2
http://www.itpro.fr/index1.asp?Idarticle=1144&rub=2
 
de bonne infos sur les pb dns et 2000


---------------
"Tout ce que je sais c'est que je ne sais rien" Socrate
Reply

Marsh Posté le 28-02-2003 à 02:48:55    

Reply

Marsh Posté le 28-02-2003 à 02:48:55   

Reply

Marsh Posté le 28-02-2003 à 02:49:07    

Jef34 a écrit :


 
Exam...


 
???

Reply

Marsh Posté le 28-02-2003 à 09:21:19    


 
La 215 c'est une certification microsoft (numero 70-215) un examen microsoft validant des competence sur leur systeme.
 
la 215 concerne 2000 serveur ;)


---------------
"Tout ce que je sais c'est que je ne sais rien" Socrate
Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed