chsh for LDAP

The standard UNIX utility chsh doesn't work when account data is stored in LDAP, and there didn't seem to be any real LDAP-compatible chsh programs out there, so I wrote this script. It shows what needs to be done, but has all sorts of deficiencies:

ldapchsh.sh