Keresés

Új hozzászólás Aktív témák

  • kraftxld

    félisten

    válasz aton-hawk #2143 üzenetére

    Egy példa:

    Using dsadd.exe User
    Adding users from the GUI is fine when you have to add a few users. However, when you
    have to add a lot of users at the same time, the command line is more efficient. Using
    dsadd.exe enables you to quickly add multiple users. dsadd.exe has a lot of features.These
    are overviewed in the beginning of this chapter. In this section we are going to look at the
    syntax for dsadd user.This command has many switches. Do not let the complexity of
    options for this tool deter you from using it because it looks difficult. It is a very powerful
    tool that can be of great use and save you a lot of time.The syntax and options for
    dsadd.exe user are as follows, and are explained in detail in

    dsadd user <UserDN> [-samid <SAMName>] [-upn <UPN>] [-fn <FirstName>]
    [-mi <Initial>] [-ln <LastName>] [-display <DisplayName>]
    [-empid <EmployeeID>] [-pwd {<Password> | *}] [-desc
    <Description>] [-memberof <Group ...>] [-office <Office>] [-tel <Phone#>]
    [-email <Email>] [-hometel <HomePhone#>] [-pager <Pager#>]
    [-mobile <CellPhone#>] [-fax <Fax#>] [-iptel <IPPhone#>]
    [-webpg <WebPage>] [-title <Title>] [-dept <Department>]
    [-company <Company>] [-mgr <Manager>] [-hmdir <HomeDir>]
    [-hmdrv <DriveLtr:>] [-profile <ProfilePath>] [-loscr
    <ScriptPath>]
    [-mustchpwd {yes | no}] [-canchpwd {yes | no}]
    [-reversiblepwd {yes | no}] [-pwdneverexpires {yes | no}]
    [-acctexpires <NumDays>] [-disabled {yes | no}]
    [{-s <Server> | -d <Domain>}] [-u <UserName>]
    [-p {<Password> | *}] [-q] [{-uc | -uco | -uci}

    dsadd user ''CN=Chad Todd,CN=Users,DC=trainingconcepts,DC=org'' -UPN
    chad@trainingconcepts.org -samid chadtodd -pwd *


    [Szerkesztve]

  • X-COM

    nagyúr

    válasz aton-hawk #2143 üzenetére

    hátnemtom mit akarsz dsadd-olni, meg most AD sincs itt mellettem, de a felhasználó valami ilyesmi:

    dsadd user CN=Jóska Pista,CN=FelhasználóOUja,DC=domain,DC=hu -samid joskapista -pwd jelszava

Új hozzászólás Aktív témák