anlai / Permitted-Logon-Times-for-Active-Directory

5 stars 2 forks source link

Duplicate Days Appearing. #2

Open TheJaysH opened 7 years ago

TheJaysH commented 7 years ago

First off, Thank you for writing this! I was about to get the shotgun and give up all hope!

I've finally managed to get it to work okay.

However i have an issue with the old mask being converted to days.

Lets say these are my Logon Hours: image

And its returning the following: image

As you can see If a day is missing it will duplicate one. I have been trying to understand the issue, but to no avail.

Please see another examples bellow:

This is with just Wednesday: image image

And here is Wednesday & Sunday: image image

I cant upload every combination, but hopefully you can see the nature of the error.