[Samba] Add gidNumber for group

Rowland penny rpenny at samba.org
Fri Jun 19 15:00:06 UTC 2020


On 19/06/2020 15:11, Robert E. Wooden via samba wrote:
> I am testing my new member server and have found the following.
>
> Found on the Sambawiki "Samba Member Server Troubleshooting" page:
>
> root at dtdc01:~# ldbsearch -H /var/lib/samba/private/sam.ldb cn=Domain\ 
> Users | grep 'gidNumber'
> root at dtdc01:~#
>
> My question is what is the best manner to add this uidNumber?

I take it you mean 'gidNumber' ;-)

The easiest way is to upgrade to 4.12.x and then use 'samba-tool group 
addunixattrs', otherwise you could use ldbedit or create an ldif and use 
ldbmodify or ldapmodify. Another option would be to use something like LAM.

Rowland






More information about the samba mailing list