20090623 nsaccountlock - plembo/onemoretech GitHub Wiki

title: nsaccountlock link: https://onemoretech.wordpress.com/2009/06/23/nsaccountlock/ author: lembobro description: post_id: 303 created: 2009/06/23 14:14:08 created_gmt: 2009/06/23 14:14:08 comment_status: open post_name: nsaccountlock status: publish post_type: post

nsaccountlock

Just a note to self:

To lock a user’s account on Sun Directory Server, add the key/value pair “nsaccountlock: TRUE” to their entry.

dn: uid=someuser,ou=people,dc=example,dc=com changetype: modify add: nsaccountlock nsaccountlock: TRUE

To unlock, change value of nsaccounlock to “FALSE” or delete the entire attribute.

Copyright 2004-2019 Phil Lembo