1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-20 16:23:51 +03:00
Commit Graph

62 Commits

Author SHA1 Message Date
Simo Sorce
e341e7c49f Ok, this patch removes the privilege stuff we had in, unused, for some time.
The code was nice, but put in the wrong place (group mapping) and not
supported by most of the code, thus useless.

We will put back most of the code when our infrastructure will be changed
so that privileges actually really make sense to be set.

This is a first patch of a set to enhance all our mapping code cleaness and
stability towards a sane next beta for 3.0 code base

Simo.
-
Jeremy Allison
43ca4b8a84 Patch from "Alex Deiter" <tiamat@komi.mts.ru> to fix incorrect error check.
Jeremy.
-
Gerald Carter
82f024723c fix and if () that should be an 'else if()' -
Gerald Carter
d9277bd064 groupmap delet should take a name or a SID -
Gerald Carter
fdacad185c allow the unix group in a mapping to be changed; doesn't work with LDAP right now but should be ok with tdb's -
Gerald Carter
541f40a144 don't reset the group type unless specified -
Gerald Carter
665d21b865 default new groups to domain groups -
Gerald Carter
b6ccdb8f7b support referencing group by sid in all operations; allow group name to be changed -
Gerald Carter
43942398af removing some ifdef'd out code -
Jeremy Allison
1e5fe87d75 Fixup a few typos for Jerry.
Jeremy.
-
Gerald Carter
e5f6676639 * fix segfault when no vfs objects defined
* add "sid=..." to 'net groupmap add'
-
Gerald Carter
f2fd0ab41f Merging smbgroupedit into 'net groupmap'. Not entirely done.
Need to check on where the privilege code is sitting
and update the docs.

Examples:

root# bin/net help groupmap
net groupmap add
  Create a new group mapping
net groupmap modify
  Update a group mapping
net groupmap delete
  Remove a group mapping
net groupmap list
  List current group map

# bin/net groupmap add
Usage: net groupmap add rid=<int> name=<string> type=<domain|local|builtin> [comment=<string>]

# bin/net groupmap delete
Usage: net groupmap delete name=<string|SID>

# bin/net groupmap modify
Usage: net groupmap modify name=<string|SID> [comment=<string>] [type=<domain|local>
-