CVS update: samba/source/utils
vlendec at samba.org
vlendec at samba.org
Thu Feb 26 11:29:56 GMT 2004
Date: Thu Feb 26 11:29:56 2004
Author: vlendec
Update of /data/cvs/samba/source/utils
In directory dp.samba.org:/tmp/cvs-serv19869/utils
Modified Files:
Tag: SAMBA_3_0
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. I'd like to have some feedback on the usability
of this.
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.43.2.42 => 1.43.2.43
http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/net.c.diff?r1=1.43.2.42&r2=1.43.2.43
net.h 1.7.2.6 => 1.7.2.7
http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/net.h.diff?r1=1.7.2.6&r2=1.7.2.7
net_groupmap.c 1.1.2.21 => 1.1.2.22
http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/net_groupmap.c.diff?r1=1.1.2.21&r2=1.1.2.22
More information about the samba-cvs
mailing list