[Samba] Re: net groupmap add/modify script fails

John H Terpstra
Thu, 09 Jun 2005 19:07:55 -0000

On Thursday 09 June 2005 10:08, Jeremy wrote:
> So i move on to Step 6
>
> brandy:/etc/samba# useradd -m mhoernig
> brandy:/etc/samba# passwd mhoernig
> Enter new UNIX password:
> Retype new UNIX password:
> passwd: password updated successfully
> brandy:/etc/samba# smbpasswd -a mhoernig
> New SMB password:
> Retype new SMB password:
> tdb_update_sam: Failing to store a SAM_ACCOUNT for [mhoernig] without a
> primary group RID
> Failed to add entry for user mhoernig.
> Failed to modify password entry for user mhoernig
>
> I guess this is related (?).

Is the primary group of the account mhoernig a Windows group?

- John T.