From: Dmitriy S. <sha...@gm...> - 2011-04-28 12:52:46
|
While doing this operation you authenticated on server as? BTW, use add to change looks wrong to me :-) On Thu, Apr 28, 2011 at 12:53 AM, Andrzej Jan Taramina <an...@ch...>wrote: > It used to be that you could change the admin user's password using an ant > task of the following > structure: > > <exist:adduser failonerror="false" uri="${exist.url}/xmlrpc/db" > user="anotherAdminUser" > password="anotherAdminUserPassword" name="admin" secret="newAdminPassword" > home="/db" > primaryGroup="dba"/> > > Now it errors with the following message: > > [exist:adduser] XMLDB exception caught: Failed to invoke method addAccount > in class > org.exist.xmlrpc.RpcConnection: you are not allowed to change this user > > Why is it that we can no longer change the admin password in this way? > Leaving the admin password > unset is a bad idea, from a security perspective, and some of us want to be > able to automate this > reset using Ant, as we've done in the past. > -- Dmitriy Shabanov |