Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1679 connectés 

  FORUM HardWare.fr
  Windows & Software

  Exportation de comptes sous 2000 Server

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Exportation de comptes sous 2000 Server

n°1053550
ppmalin
Posté le 09-02-2003 à 15:17:47  profilanswer
 

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 ?

mood
Publicité
Posté le 09-02-2003 à 15:17:47  profilanswer
 

n°1059737
ppmalin
Posté le 14-02-2003 à 01:54:53  profilanswer
 

:bounce:

n°1059761
Jef34
Je ferai mieux demain
Posté le 14-02-2003 à 07:59:49  profilanswer
 

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  
 


n°1061245
ppmalin
Posté le 15-02-2003 à 12:13:21  profilanswer
 

Merci je vais déjà essayer ça.

n°1061249
ppmalin
Posté le 15-02-2003 à 12:14:49  profilanswer
 

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
n°1072090
8086rulez
Posté le 24-02-2003 à 18:33:52  profilanswer
 

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?

n°1073747
ppmalin
Posté le 26-02-2003 à 00:03:32  profilanswer
 

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? <= ????

n°1073753
Jef34
Je ferai mieux demain
Posté le 26-02-2003 à 00:08:05  profilanswer
 

PpMalin a écrit :


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


 
Exam...

n°1073773
boisorbe
Posté le 26-02-2003 à 00:18:55  profilanswer
 

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
n°1076424
ppmalin
Posté le 28-02-2003 à 02:48:55  profilanswer
 
mood
Publicité
Posté le 28-02-2003 à 02:48:55  profilanswer
 

n°1076425
ppmalin
Posté le 28-02-2003 à 02:49:07  profilanswer
 

Jef34 a écrit :


 
Exam...


 
???

n°1076477
boisorbe
Posté le 28-02-2003 à 09:21:19  profilanswer
 


 
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

Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Windows & Software

  Exportation de comptes sous 2000 Server

 

Sujets relatifs
Partitionner sous Windows 2000 -> QuestionPrblm avec MS Photo Editor 2000
mettre un DC windows 2000 sur domain NT 4[WinXP] G perdu tous mes comptes !
Installation automatique de windows 2000 pro + faire un isoBesoin de server DNS
peut on installer le service dhcp sous windows 2000 pro ?[Win2K Server] Fonctionnement de Terminal Server
Formater disque dur Windows.NET 2003 server[Win2K Server] DFS, qui peut m'expliquer...
Plus de sujets relatifs à : Exportation de comptes sous 2000 Server


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR