CVS update: samba/source/utils
vlendec at samba.org
vlendec at samba.org
Thu Feb 26 11:34:33 GMT 2004
Date: Thu Feb 26 11:34:33 2004
Author: vlendec
Update of /data/cvs/samba/source/utils
In directory dp.samba.org:/tmp/cvs-serv20788
Modified Files:
net.c net.h net_groupmap.c
Log Message:
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
Revisions:
net.c 1.93 => 1.94
http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/net.c.diff?r1=1.93&r2=1.94
net.h 1.14 => 1.15
http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/net.h.diff?r1=1.14&r2=1.15
net_groupmap.c 1.16 => 1.17
http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/net_groupmap.c.diff?r1=1.16&r2=1.17
More information about the samba-cvs
mailing list