@@ -101,7 +101,7 @@ user, err := client.CheckPasswordForSAMAccountName("username", "password")
101101- 👥 ** User Management** - Type-safe user operations with automatic attribute mapping and validation
102102- 🏢 ** Group Operations** - Simplified group queries and membership management across AD and OpenLDAP
103103- 💻 ** Computer Management** - Active Directory computer object support with automatic schema detection
104- - 🔑 ** Password Management** - Secure password changes with automatic LDAPS enforcement and policy validation
104+ - 🔑 ** Password Management** - Secure password changes and admin resets with automatic LDAPS enforcement and policy validation
105105- 🛡️ ** Active Directory Support** - Native AD features like SAMAccountName, UPN, and nested group resolution
106106- ⚡ ** Connection Pooling** - Automatic connection management with health checks, retry logic, and resource cleanup
107107- 🎯 ** Smart Caching** - Configurable caching layer that reduces server load for repeated queries
@@ -158,7 +158,7 @@ func main() {
158158Comprehensive examples are available in the [ examples] ( examples/ ) directory:
159159
160160- ** [ Basic Usage] ( examples/basic-usage/ ) ** - Finding users, groups, and computers
161- - ** [ Authentication] ( examples/authentication/ ) ** - User authentication and password changes
161+ - ** [ Authentication] ( examples/authentication/ ) ** - User authentication, password changes, and admin resets
162162- ** [ User Management] ( examples/user-management/ ) ** - Creating, updating, and managing users
163163
164164## API Reference
@@ -205,6 +205,10 @@ err := client.DeleteUser("cn=John Doe,ou=Users,dc=example,dc=com")
205205group , err := client.FindGroupByDNContext (ctx, " cn=Admins,dc=example,dc=com" )
206206// Caching happens automatically if config.EnableCache is true
207207err := client.AddUserToGroup (userDN, groupDN)
208+
209+ // Password management
210+ err := client.ChangePasswordForSAMAccountName (" jdoe" , " oldPass" , " newPass" )
211+ err := client.ResetPasswordForSAMAccountName (" jdoe" , " newPass" ) // Admin reset
208212```
209213
210214See the [ Go Reference] ( https://pkg.go.dev/github.com/netresearch/simple-ldap-go ) for complete API documentation.
0 commit comments