Your problem seems to be in the switches.
The command you were sending:
AddUser -mod -u root -h whatever-host.com -p root +chgpass +active +web
I believe when modifying the account you should use:
AddUser -m root -h whateverhost.com -p root +chgpass +active +web
You substitute the -u switch for the -m switch when the account is being
modified, not created.
You should only use the -u switch when the user is being added initially.
I haven't used this since my import from SLmail quite a while ago so if I'm
wrong someone please point this guy in the right direction.
Scott Phelps
NT Admin. Customer Service
+=====================+
WebKorner Internet Services
[EMAIL PROTECTED]
www.webkorner.com
----- Original Message -----
From: "Mark McDonald" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 21, 1999 1:44 PM
Subject: RE: [IMail Forum] IMail 5.09 - AddUser.Exe - Enabling Host Access-
SOMEBODY PLEASE RESPOND!
>
>
> -Mark McDonald
> [EMAIL PROTECTED]
>
> The Siteserver Network!
> Voice: 800.610.9856, Ext. 231 - Fax: 888.333.2710
>
>
> -----Original Message-----
> From: Mark McDonald [mailto:[EMAIL PROTECTED]]
> Sent: Friday, December 17, 1999 3:58 PM
> To: '[EMAIL PROTECTED]'
> Subject: [IMail Forum] IMail 5.09 - AddUser.Exe - Enabling Host Access?
>
>
> Hi,
>
> Quick question on the AddUser.Exe, we're trying automate things a
> bit more by having a batch file run on the IMail server that will add the
> new domain, and change properties for the root user to allow it to
> Administrate that host. HOWEVER, the only flags that are available are
> chgpass, active, web, and ldap. How do we enable the Host Administration
> from the command line? We have everything working except for this one
> little problem, and it's a pain to have to load the IMail Admin to click
one
> checkbox. Here is the line we're currently using.
>
> AddUser -mod -u root -h whatever-host.com -p root +chgpass +active +web
>
> -Mark McDonald
> [EMAIL PROTECTED]
>
> The Siteserver Network!
> Voice: 800.610.9856, Ext. 231 - Fax: 888.333.2710
> Please visit http://www.ipswitch.com/support/mailing-lists.html
> to be removed from this list.
> Please visit http://www.ipswitch.com/support/mailing-lists.html
> to be removed from this list.
>
Please visit http://www.ipswitch.com/support/mailing-lists.html
to be removed from this list.