Bug 67 - tdb_update_sam is broken
Summary: tdb_update_sam is broken
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: User/Group Accounts (show other bugs)
Version: 3.0.0preX
Hardware: All Linux
: P1 regression
Target Milestone: none
Assignee: Gerald (Jerry) Carter (dead mail address)
QA Contact:
Depends on:
Reported: 2003-05-05 21:04 UTC by John H Terpstra (mail address dead(
Modified: 2005-02-07 07:54 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description John H Terpstra (mail address dead( 2003-05-05 21:04:38 UTC
CVS at 12:00 noon MDT - Adding any account is broken.

Joining a machine to the domain will not work.
"smbpasswd -a anything" will not work
"pdbedit -a anything" will not work

Failure message is:
tdb_update_sam: Failing to store a SAM_ACCOUNT for [name] without a primary
group RID
Comment 1 John H Terpstra (mail address dead( 2003-05-08 10:57:47 UTC
Fixed type.

Also, please note that when I removed the passdb.tdb file and started with a
fresh file the problem went away.

It seems this may be a bug that is triggered by a change in file format.
If so, then this needs to be documented.

Please confirm if a passdb.tdb file format change has been made so I can update
the HOWTO. It should then also go into the WHATSNEW.
Comment 2 Gerald (Jerry) Carter (dead mail address) 2003-05-12 10:51:42 UTC
works with a fresh passdb.tdb.  File format changes only needed 
to be worried about when made to released versions.
Nothing to do here.  
Comment 3 Gerald (Jerry) Carter (dead mail address) 2003-05-20 07:16:07 UTC
bad bug report
Comment 4 Gerald (Jerry) Carter (dead mail address) 2005-02-07 07:54:52 UTC
originally reported against 3.0alpha23.  Bugzilla spring cleaning.