diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-02-26 11:34:33 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2004-02-26 11:34:33 +0000 |
commit | 688ea97ba09607279eef1cc3739b47d299c702ba (patch) | |
tree | 22ff17a32f98a969dc4d3632889a49b897be217a /source3/utils/status.c | |
parent | 92f97426bea2745955c9c8924362a520c165f266 (diff) | |
download | samba-688ea97ba09607279eef1cc3739b47d299c702ba.tar.gz samba-688ea97ba09607279eef1cc3739b47d299c702ba.tar.bz2 samba-688ea97ba09607279eef1cc3739b47d299c702ba.zip |
Implement 'net groupmap set' and 'net groupmap cleanup'.
I was rather annoyed by the net groupmap syntax, I could never get it
right.
net groupmap set "domain admins" domadm
creates a mapping,
net groupmap set "domain admins" -C "Comment" -N "newntname"
should also do what you expect.
net groupmap cleanup
solves a problem I've had two times now: Our SID changed, and a user's primary
group was mapped to a SID that is not ours. net groupmap cleanup removes all
mappings that are not from our domain sid.
Volker
(This used to be commit 69879ceffa587ccf2bf59e1c716424e1d20a7f68)
Diffstat (limited to 'source3/utils/status.c')
0 files changed, 0 insertions, 0 deletions