madhatter22 / LinqToLdap

C# LINQ provider built on top of System.DirectoryServices.Protocols for querying and updating LDAP servers.
MIT License
45 stars 23 forks source link

Wiki set password as expired. #24

Open m33p opened 3 years ago

m33p commented 3 years ago

Can you add some documentation around setting a password as expired on the "Managing passwords" wiki It took me a bit to figure this out since DirectoryEntry you always set the value to -1 but with linqtoldap I had to use this.

user.Set("pwdLastSet", 0);

I'm not sure if this is the best way to submit this. I'd like to contribute more to your wiki. Love this library! keep up the great work.

nove1398 commented 2 years ago

Would love some insight on this as well