Friday, June 11, 2010

Changing password on iFolder 3.8 without LDAP

I ran into a problem when trying to change the admin password on my iFolder 3.8 installation. It didn't work to run simias-server-setup again. The old password was still active.

This is how did it:
/usr/bin/mono /usr/lib/simias/bin/UserCmd.exe setpwd --url http://localhost --admin-name admin --admin-password (current password) --user admin --password (new password)

on 64-bit OS, the "lib" folder is "lib64"

You can use this to change users password too:
/usr/bin/mono /usr/lib/simias/bin/UserCmd.exe setpwd --url http://localhost --admin-name admin --admin-password (admin password) --user (username) --password (new user password)

Thank you Jeremy :)

A little update on this. You can also add and delete users with this tool. Use delete or create, instead of setpwd.

6 comments:

  1. This is very helpful and it works for iFolder 3.7.2 as well. Thank you very much.

    ReplyDelete
  2. what if one has lost the admin password?

    ReplyDelete
  3. I only got: Failed - Invalid admin credentials, are the '--url http://localhost' always working or am I supposed to change this to the path where iFolder administration web page is located. Thx.

    ReplyDelete
  4. Hello,

    thank you so much for posting this. I have used with version 3.8.0.0 and it worked great. I am running the latest version of server and clients however, I could not change the initial user passwords but your note gave me a good work around. I hope they fix this in the future versions. It is really bad that users can not change their passwords.

    ReplyDelete
  5. Sorry for late reply, I noticed I didn't have email notification on replies.

    Stephen:
    Thank you :) You're welcome!

    Stanley:
    If you have lost the admin password, you could try run simias-server-setup again, but keep in mind that you have to set it up exactly the same as before.

    Gustav:
    You could try using the server IP instead, but localhost should work.

    jafar1987:
    Thank you :) glad this helped you on the way. If you have AD in your environment, you should try using that as authentication source, that way the users can change their password.

    ReplyDelete
  6. Gustav:
    I had the same error DO NOT USE HTTPS or try to correct the path the "http://localhost" is critical (no idea why) and must be written exactly as that.

    ReplyDelete