[Samba] tdbtool help

David Shapiro David.Shapiro at bcbsnc.com
Thu Aug 24 12:59:05 GMT 2006


Please provide me with an example on how to use this tool to change a
uid of a user to what I want the uid to be.  I am confused on what it
thinks are keys.  It has a keys command:
 
 
key 11 bytes: UID 119989
key 44 bytes: S-1-5-21-54348060-1989963526-242692186-2277
key 44 bytes: S-1-5-21-54348060-1989963526-242692186-8749
key 45 bytes: S-1-5-21-54348060-1989963526-242692186-24986

 
But if I go to type tdb> show UID 119989
 
 
tdb> open winbindd_idmap.tdb
tdb> show UID 119989
fetch failed
tdb>

What is the key?  UID 119989?  119989?  11 bytes: UID 119989?  Sigh. 
No examples are shown in the manpage.
 
What I really want to do is locate the uid assocated with a specific
sid and change it to something else.   Please help.
 
Thanks,
 
David
 
 
David Shapiro
Distributed Systems
Unix Team Lead
office: 919-765-2011
cellphone: 730-0538


More information about the samba mailing list