Displaying 2 results from an estimated 2 matches for "db_set_map".
2005 Feb 22
2
Corrupt Database and couldn't map SID.
...get error messages in log.winbind that say the database is corrupt or it couldn't map the SID.
[2005/02/22 12:27:53, 0] tdb/tdbutil.c:tdb_log(725)
tdb(/usr/local/samba/var/locks/winbindd_idmap.tdb): rec_free_read bad magic 0x42424242 at offset=12816
[2005/02/22 12:27:53, 0] sam/idmap_tdb.c:db_set_mapping(463)
idb_set_mapping: tdb_store 1 error: Corrupt database
[2005/02/22 12:27:53, 1] nsswitch/winbindd_user.c:winbindd_getpwuid(238)
could not convert uid 783 to SID
[2005/02/22 12:27:53, 0] tdb/tdbutil.c:tdb_log(725)
tdb(/usr/local/samba/var/locks/winbindd_idmap.tdb): rec_free_read bad mag...
2004 Aug 23
0
Pre-populating winbind idmap doesn't work.
...1743-4c7
GID 100002 S-1-5-15-735fc311-1cda3193-320a1743-4fe
GID 100003 S-1-5-15-735fc311-1cda3193-320a1743-208
# wc -l /tmp/usermapper.tmp
1218 /tmp/usermapper.tmp
# rm /var/lib/samba/winbindd_*.tdb
# cat /tmp/usermapper.tmp | net -d10 idmap restore > /tmp/restore.log 2>&1
# grep 'db_set_mapping: stored' /tmp/restore.log | wc -l
1218 <<<<<<<<<<<<<<<<<< # of input lines
# net -d10 idmap dump ./winbindd_idmap.tdb > /tmp/dump.log 2> /tmp/dump.debug
# wc -l /tmp/dump.log
563 /tmp/dump.log <<<<<< #...