[Samba] net rpc idmap restore does not work

Piotr Legiecki piotrlg at pum.edu.pl
Wed Jul 27 02:39:31 MDT 2011


Hi

In the samba HOWTO collection here
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/NetCommand.html
Creating an IDMAP Database Dump File
there is a command
net idmap restore /var/lib/samba/winbindd_idmap.tdb < idmap_dump.txt

the point is: it doesn't work. It just does nothing, except of printing 
a lot of lines like this:
....
ignoring invalid line []
....
ignoring invalid line 
[BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB]

Looks like the winbindd_idmap.tdb file is not changed after this command 
has been run.

The actual dump was done like this:
net idmap dump /var/lib/samba/winbindd_idmap.tdb > idmap_dump.txt

The system I'm testing it on is Debian 6.1, samba 3.5.6.

Regards
P.


More information about the samba mailing list