[Samba] Tdbtool in Samba 3.0.28a

Grzegorz Wakan grzegorz.wakan at gmail.com
Thu Apr 10 13:56:46 GMT 2008

okey, thanks for your reply Volker but in case of net idmap dump I get
output like this
for example:

UID 111 S-1-5-21-1161552919-2021084893-2910719778-1125
UID 126 S-1-5-21-1161552919-2021084893-2910719778-1235
GID 114 S-1-5-21-1161552919-2021084893-2910719778-520
UID 124 S-1-5-21-1161552919-2021084893-2910719778-1199
UID 106 S-1-5-21-1161552919-2021084893-2910719778-1106

let's say we want to change UID 126 to something else for example 193
how to do that? Only thing to do is to put 193 instead of 126, save
file and do "net idmap restore winbindd_idmap.tdb < "modified file
with uid's"? Is this going to work or I should do something more?

2008/4/10, Volker Lendecke <Volker.Lendecke at sernet.de>:
> On Thu, Apr 10, 2008 at 01:38:37PM +0200, Grzegorz Wakan wrote:
>  > how to change UID's or GID's in tdbtool?
> Probably not at all, you're much better off using "net idmap
>  dump", vi and "net idmap restore".
>  Volker

More information about the samba mailing list