• [^] # Re: il faut chercher...

    Posté par . En réponse au message samba et windows 2000. Évalué à 1.

    man net pour connaitre les options de net pour l'action join
    net [RPC|ADS] JOIN [TYPE] [-U username[%password]] [createupn=UPN] [createcomputer=OU] [options]
    Join a domain. If the account already exists on the server, and [TYPE] is MEMBER, the machine will attempt to join automatically.
    (Assuming that the machine has been created in server manager)
    Otherwise, a password will be prompted for, and a new account may be created.

    [TYPE] may be PDC, BDC or MEMBER to specify the type of server joining the domain.

    [UPN] (ADS only) set the principalname attribute during the join. The default format is host/netbiosname@REALM.

    [OU] (ADS only) Precreate the computer account in a specific OU. The OU string reads from top to bottom without RDNs, and is delimited by a ’/’. Please note that ’ ́ is used for escape by both the
    shell and ldap, so it may need to be doubled or quadrupled to pass through, and it is not used as a delimiter.

    net [RPC] OLDJOIN [options]
    Join a domain. Use the OLDJOIN option to join the domain using the old style of domain joining - you need to create a trust account in server manager first.