Jump to content

Recommended Posts

Posted

Just finally got sick of fielding requests for password resets for pupils. So I have rustled up a dinky little app which will allow staff to do it for pupils, without giving them any complex ADUC or permissions they don't need.

 

I've only tested it in Windows 2003 and Windows XP SP3.

 

If anyone finds issues, please say so, and I'll update as I go. :)

 

I won't be adding any extra 'features' as such (ie. locking or anything like that) as I don't want this to be anything more than a reset app.

 

Instructions are in the README.

  • Thanks 1
Posted
Like the concept, and the app looks good, but I do have to give a +1 to WiseSoft Password Control here - which has been rolled out across the site for all staff to use.

 

Looks too complicated and allows too much freedom compared to what I want - ie. I want staff to only be able to select users from a list, and click reset with a preset value. I don't want them choosing passwords, or having to type things in.

Posted

Hi localzuk,

 

Looks like a wonderful little app could be really useful for our school. Been trying to get it to work however but with no success so far, I can get a list of students to reset the password for but when I click "Reset" it comes up with an error saying "Error: An invalid dn syntax has been specified." I have checked my settings in the config file but can't see where I may be going wrong, please see below:

 

Domain Admins (Just to test the app out)

schooldomainname

OU=Students,OU=Managed Users,DC=school,DC=devon,DC=sch,DC=uk

curriculum

college

 

Any advice would be amazing, probably missing something obvious.

 

Cheers

Chris

Posted

Are you sure that that is the DN for the top level OU?

 

Also, could you try using the IP address of the server rather than the DNS name?

Posted

Thanks for the reply, I have tried putting in the ip address in instead of the DNS name for the field ADServer, which bit are you referring to in "Are you sure that that is the DN for the top level OU?"

 

Thanks again

Posted

This bit - OU=Students,OU=Managed Users,DC=school,DC=devon,DC=sch,DC=uk

 

In your directory structure, are your pupil OUs in an OU called Students in an OU called Managed Users?

Posted
Yes they are, this is definitely the right LDAP path and it does bring up all the students in all the years just the reset password bit fails with the error "Error: An invalid dn syntax has been specified."
Posted
Hi Maniac, sounds good but unfortunately we don't and probably never will use entry prefixes in front of student usernames can your program be modified to work with OU groups?
Posted
Hi Maniac, sounds good but unfortunately we don't and probably never will use entry prefixes in front of student usernames can your program be modified to work with OU groups?

 

It does. If you run the .EXE with /S at the end you'll get the settings screen which you can use to program it to work in whatever way you like, by OU is one of the options. The only slight flaw with my program is it reads the settings file from the user profile rather than the same directory as the program is run from.

  • 2 months later...
Posted (edited)
Slightly updated version. Fixes the 'user must change password at next login' issue, unlocks the account and now allows you to type the username in the box directly. Edited by localzuk
  • Thanks 1
Posted
Looks excellent! Alas can't get it to work on Windows 7 x64 with Server 2008 R2 AD :(

 

What error do you get? I've currently only tested it on a 2k3 domain with XP clients myself, but it is standard .Net 4 (Client Framework), so should work across the board.

Posted

what is the preferable way for people to select which OU the program will search?

I have a password reset tool as well, but at the moment our student OU is hard coded. I could get it to read the latter part of the FQDN (DC=site,dc=internal) but how would you want it to select OUs?

I could also have it show you the whole AD structure and you click the relevant OU and it shows that, but then the chance for teachers to mess is a bit more there.

 

I was thinking perhaps first run it shows the OU browser, you select the student OU as an admin, it saves that to a setting and second run it doesn't ask so its good to go to teachers? how do others do it?

Posted
what is the preferable way for people to select which OU the program will search?

I have a password reset tool as well, but at the moment our student OU is hard coded. I could get it to read the latter part of the FQDN (DC=site,dc=internal) but how would you want it to select OUs?

I could also have it show you the whole AD structure and you click the relevant OU and it shows that, but then the chance for teachers to mess is a bit more there.

 

I was thinking perhaps first run it shows the OU browser, you select the student OU as an admin, it saves that to a setting and second run it doesn't ask so its good to go to teachers? how do others do it?

 

The way I do it is described in the readme in the download - the network admin enters the LDAP path into the config file to the topmost OU which contains the user OUs below it.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...