[Samba] id mapping on a dc+file server

Pisch Tamás pischta at gmail.com
Mon Aug 12 06:13:08 UTC 2019

> >> You have to give any users you require visible on Unix a uidNumber attribute
> > Ok, I can do it with samba-tool user edit...
> >> You have to give 'Domain Users'  a gidNumber attribute.
> >> You have to give any group you require to be visible a gidNumber
> > I know that I can set gidNumber when I create a group, but how can I
> > edit the group properties?
> >
> Try the attached script, ( you will need to make it executable), you
> will need the ldb-tools package installed and it must be run on a Samba

Thank you very much for the script!

> Current plan : add a third DC, make dc2 a dm file server. Best solution
Yes, I know that it would be better to use a separate dc, but I didn't
want it on that site.

More information about the samba mailing list