[Samba] Corrupt Database and couldn't map SID.
Samba
Samba at guidemail.com
Mon Feb 28 13:26:04 GMT 2005
I'm running Samba 3.0.11. Compiled with:
./configure '--with-ads' '--with-pam' '--with-winbind' '--with-smbmount' '--with-shared-modules=idmap_rid'
It configured, make and make installed fine. I configured the idmap_rid using the following directives in the smb.conf.
; IDMap Stuff
idmap backend = idmap_rid:<DOMAINNAME>=500-100000000
idmap uid = 500-100000000
idmap gid = 500-100000000
; Winbind Stuff
winbind use default domain = yes
winbind separator = +
winbind enum users = no
winbind enum groups = no
winbind nested groups = yes
template shell = /bin/bash
obey pam restrictions = yes
Problem is after a few days I 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 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_group.c:winbindd_getgrgid(375)
could not convert gid 783 to rid
[2005/02/22 12:30:00, 0] sam/idmap_rid.c:rid_idmap_get_id_from_sid(475)
rid_idmap_get_id_from_sid: no suitable range available for sid: S-1-5-32-545
[2005/02/22 12:30:00, 0] sam/idmap_rid.c:rid_idmap_get_id_from_sid(475)
rid_idmap_get_id_from_sid: no suitable range available for sid: S-1-5-32-545
[2005/02/22 12:30:00, 0] sam/idmap_rid.c:rid_idmap_get_id_from_sid(475)
rid_idmap_get_id_from_sid: no suitable range available for sid: S-1-5-32-545
[2005/02/22 12:30:00, 0] sam/idmap_rid.c:rid_idmap_get_id_from_sid(475)
rid_idmap_get_id_from_sid: no suitable range available for sid: S-1-5-32-545
Any help is appreciated !!
Josh Konkol, CCSE CNE MCSE
Technical Research Specialist
.~. GuideOne Insurance
/V\
/( )\
^^-^^ samba at guidemail.com
More information about the samba
mailing list