On Sun, 5 Jan 2003, Aaron Johnson wrote:

> I am not a C++ programmer so I can't confirm this, but I think there
> might be an order of operations issue with the external auth modify user
> code.
>
> I have created a script to handle modifying an external applications
> users based on the useradd, userdel, and useredit auth-commands.
> However the useredit command is not working.  My tests indicate to me
> that the process by which the code gets the users password for modifying
> an external user is incorrectly reading the value from the current
> stored user data rather then applying the one passed from the command
> line (.tab @@PASSWD ).
>
> I have run a test on the command line (one one line):
> /var/MailRoot/bin/CtrlClnt -s 127.0.0.1 -u admin -p test adduser
> development.gina.net aarontest test U
>
> Looked at the external apps password, it is correctly set with the
> useradd command.
>
> /var/MailRoot/bin/CtrlClnt -s 127.0.0.1 -u admin -p test userpasswd
> development.gina.net aarontest test1
>
> Looked at the external apps password for aarontest, it is still test
>
> /var/MailRoot/bin/CtrlClnt -s 127.0.0.1 -u admin -p test userpasswd
> development.gina.net aarontest test2
>
> Looked at the external apps password for aarontest, it is now set to
> test1 NOT test2
>
> /var/MailRoot/bin/CtrlClnt -s 127.0.0.1 -u admin -p test userpasswd
> development.gina.net aarontest test3
>
> External app now has test2 as the password for aarontest.
>
> Anyone else experienced this?

I will check the code as soon as I'll be in US. It is possible though
since such feature has never been widely tested.


- Davide

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to