Personal tools
You are here: Home Software MOSXSWebPassword 1.5
Log in


Forgot your password?
 

MOSXSWebPassword 1.5

An updated version of my WebObjects application that allows for user password changes and resets from a web page, released September 10, 2007. At long last, the "Joel made me do it" release. Back in March, Joel Rennich posted an article to afp548.com, where he wrote: "A more secure way of handling the need for password resets would be to create a script, probably presented to the users as a webpage, that would allow a non-admin to change passwords only for non-admin users. I believe some of those among us have ginned something up along these lines. If you have we'd love for you to share." OK, it took me a while, but I finally got the bugs worked out. Here it is in all its lush, plush smoothness! The new features are: 1) Configure the entry page. 2) Configure whether to show a link to the admin reset password page. 3) Configure the URL that the user will be taken to after a successful reset. 4) Protect admin users' passwords from resets. 5) Non-admin users in a specific group can reset non-admin users' passwords. 6) Configure whether the status of non-admin user password resets is shown. I reworked the installer package to make it more reliable as well. This disk image includes the source code for the project.

MOSXSWebPassword.dmg — application/x-apple-diskimage, 269Kb

Document Actions

Thanks!

Avatar Posted by Trevor at Sep 16, 2007 06:04 PM
very grateful for this; we use Open Directory as our global LDAP master and this fits the bill exactly.

password Reset.

Avatar Posted by Scott Alan Steven at Oct 08, 2007 09:21 AM
Thank you this is great. I am going to work on some documentation with screen shots You can have if you like. I am trying find out where I can edit the links on the reset page so that it goes along with the rest of the domain

this is going to help a lot thank you very much for your effort

Thanks!

Avatar Posted by Darian at Nov 03, 2007 01:54 PM
You just save me so much work - thanks!

Your request produced an error.

Avatar Posted by Brian at Nov 25, 2007 12:58 PM
I have installed and tested this app and it works. This is exactly what I need.

I have a problem though. When I get a successful password change, I get the error "Your request produced an error." and it changes the password.

When I get an actual error, the app responds appropriately (bad password tells me failed to auth, mismatch tell me so...)

Please help with the success page.

Thanks.

Leopard

Avatar Posted by brian at Nov 25, 2007 01:19 PM
Oh and the above error is on a Leopard server if that makes a difference...

Thanks for any help you can provide.

Second that.

Avatar Posted by Colin at Jan 20, 2008 11:02 PM
MOSXSWebPassword does the same behavior on my server (Mac OS X Server 10.5.1, PowerPC). Successful changes return "Your request produced an error".

Successful change produces error

Avatar Posted by Kurt at Jan 21, 2008 04:53 PM
As with those above... this is a great app that works well. However, when the user successfully changes the password, the page shown is, "Your request produced an error". Or on windows OS, "The page cannot be displayed". This is on Intel Leopard xserve. Any ideas?

yikes, me too!

Avatar Posted by sj at Apr 02, 2008 05:41 PM
what's with the "Your request produced an error" message after a successful change???

Updating html page

Avatar Posted by David at Dec 01, 2007 01:15 PM
This is a great WebObject applications and exactly what we needed. When I try to edit the html for the min page though, nothing seems to change - is there some caching process or am I just doing something wrong? I edit the PageWrapperComponent.html file in BBEdit to look the way I want, but the page that is rendered in WebObjects does not change! Any help please?



Leopard support..?

Avatar Posted by Roey at Dec 24, 2007 11:07 AM
Thank you so much for a wonderful app!
we updated to Leopard server, and now when we try to change password we get an "Authentication failed." message. The logs do not seem helpful:
[Mon Dec 24 16:48:10 2007] [error] [client 192.168.1.244] File does not exist: /Library/WebServer/Documents/cgi-bin
[Mon Dec 24 17:02:13 2007] [crit] (2)No such file or directory: mod_rewrite: could not init rewrite log lock in child
[Mon Dec 24 17:02:14 2007] [crit] (2)No such file or directory: mod_rewrite: could not init rewrite log lock in child
[Mon Dec 24 17:02:14 2007] [crit] (2)No such file or directory: mod_rewrite: could not init rewrite log lock in child

i did change the Properties file and deleted the no longer needed Netinfo and replaced it by directoryNodeList=("/Local/Default","/LDAPv3/127.0.0.1")

Any idea?


works, but....

Avatar Posted by kris at Feb 12, 2008 05:00 PM
On leopard it returns "Your request produced an error." it is however producing the change as requested. it seems to be ignoring successPageRedirectTarget

Proper way to edit Properties?

Avatar Posted by Justin at Feb 20, 2008 11:19 AM
What is the best way to edit the properties? I have been opening the Properties List in TextWrangler.

Fixed

Avatar Posted by Justin at Apr 01, 2008 08:30 AM
Did a Whole system restart and changes were there!

Need install help

Avatar Posted by Rob McLear at Aug 29, 2008 01:08 PM
I apologize in advance for my complete cluelessness here. I've never used WebObjects before. I followed the install instructions, and then I tweaked the properties for our server, and I've restarted Apache, but when I try to access the page I get:

Not Found

The requested URL /cgi-bin/WebObjects/MOSXSWebPassword was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.2.8 (Unix) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.7l mod_scgi_pubsub/1.11-pubsub mod_jk/1.2.23 PHP/5.2.4 mod_perl/2.0.2 Perl/v5.8.8 Server at www.acvr.org Port 80

Any help is appreciated, this software looks like it would solve a lot of problems for me!!!

-Rob McLear

great tool- suggested improvement

Avatar Posted by Paul McGrath at Oct 07, 2008 09:45 AM
Hi,
I have used this for a few years on my panther server and now we have it on our leopard server. Can I suggest an improvement. Add a password strength checker on the form like this example code
http://www.codeassembly.com/How-to-make-a-password-strength-meter-for-your-register-form/
Thanks
Paul

skinning

Avatar Posted by Ross at Nov 19, 2008 07:20 PM
anyone ever figure out how to skin this?

I make changes to the pagewrappercomponent.html file, and it remains the same default mac osx server skin.

Email the password?

Avatar Posted by Jacques at Feb 04, 2009 10:12 AM
Does your software allow a user to receive an email of their existing password? Do you know of anyone software with this capability?