Gerald (Jerry) Carter wrote:

Simon Berg wrote:

|> Simon Berg wrote:
|> | pdbedit -i smbpasswd:/root/smbpasswd.old
|> |
|> | The error message returned was tdb_update_sam: Failing to
|> | store a SAM_ACCOUNT for [foo] without a primary group RID
...
|
| Samba version information says it's "Version 3.0.0-Debian". Please let
| me know if you need more information.

The user sid and primary groiup SID are from different domains.
Did you setup a group mapping entry for 'Domai Users' in the
past and then generate a new domain sid?

setting user sid S-1-5-21-3982113065-1923505688-3729776395-3218
~   from rid 3218
pdb_set_group_sid: setting group sid
~   S-1-5-21-1793260918-3901658240-45857572-513

Right. There was a mapping for another domain sid. When I deleted all the mappings for that sid, pdbedit ran without complaining and all the users were imported as expected.

Thanks a lot, Simon

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to