[Samba] Impossible to change Primary group

David Greenhall david.greenhall at praybourne.co.uk
Thu Jan 18 11:21:09 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fabio Muzzi wrote:
> Hello drweb,
> 
> Saturday, November 25, 2006, 4:32:17 PM, you wrote:
> 
> 
> d> By command:
> d> pdbedit -r gad -G 514 -d0
> d> I cann't change primary group.
> 
> 
> I  was  looking  through the list archives and found your post. I have 
> the same issue. Any solutions yet?
> 
> Running Samba 3.0.23d with tdbsam

The primary group is based off of the Unix primary group.
We not longer store maintain this as a separate value.


cheers, jerry =====================================================================
Samba                                    ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFrpKaIR7qMdg1EfYRAtWvAJ0eLKqAXYN9YRkgAh8LSbGK1qJyqACgqkjw
1uvTjC857EBDRWj5CbxizUQ=
=KSFw
-----END PGP SIGNATURE-----
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba




This is what I have used in the past to change the primary group
for some of our users:

pdbedit -r gad -G S-1-5-21-3738234612-4042114426-1695072666-513

>From what I have read, when changing the group it must start with
either the S- or R-

Dave.


More information about the samba mailing list