[K12OSN] This is nuts! Samba/ldap almost fixed

Shahms King shahms at shahms.com
Fri Apr 16 18:09:03 UTC 2004

Well, email stopped working yesterday about noon, or I would have gotten
this out sooner.

Attached is a script called "hashswap.sh" that will swap *all* NT and
LANMAN hashes beneath the given basedn.  It should be relatively easy to
modify to switch a specific set of hashes, however.

$ ./hashswap.sh -D <binddn> -b <basedn> -h <ldapserver>

The DN you bind as must be able to see and modify the lmPassword and
ntPassword attributes and the ldapserver must be the master or modify
will fail.
Shahms King <shahms at shahms.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hashswap.sh
Type: text/x-sh
Size: 1196 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/k12osn/attachments/20040416/ae458f56/attachment.bin>

More information about the K12OSN mailing list