summaryrefslogtreecommitdiffstats
path: root/source/utils/net_groupmap.c
Commit message (Collapse)AuthorAgeFilesLines
* r18271: Big change:Gerald Carter2006-09-081-2/+2
| | | | | | | | | | | * autogenerate lsa ndr code * rename 'enum SID_NAME_USE' to 'enum lsa_SidType' * merge a log more security descriptor functions from gen_ndr/ndr_security.c in SAMBA_4_0 The most embarassing thing is the "#define strlen_m strlen" We need a real implementation in SAMBA_3_0 which I'll work on after this code is in.
* r17669: Remove RID algorithm support from unmapped users and groupsGerald Carter2006-08-211-2/+9
| | | | when using smbpasswd
* r17554: CleanupVolker Lendecke2006-08-151-42/+43
|
* r17496: net groupmap add could add uninitialized sid_name_typeJeremy Allison2006-08-111-10/+27
| | | | | entries to the group mapping db. Ensure this can't happen. Jeremy.
* r17468: To minimize the diff later on, pre-commit some changes ↵Volker Lendecke2006-08-091-3/+3
| | | | | | | | independently: Change internal mapping.c functions to return NTSTATUS instead of BOOL. Volker
* r17465: Get rid of add_initial_entry. In the two places it was called in it ↵Volker Lendecke2006-08-081-33/+33
| | | | | | | | seemed a bit pointless to me. Volker
* r17463: A bit of cleanup work: Volker Lendecke2006-08-081-6/+6
| | | | | | | | | | | | Remove some unused code: pdb_find_alias is not used anymore, and nobody I think has ever used the pdb_nop operations for group mapping. smbpasswd and tdb use the default ones and ldap has its own. Make the functions pdb_getgr* return NTSTATUS instead of BOOL. Nobody right now really makes use of it, but it feels wrong to throw away information so early. Volker
* r17451: Change pdb_getgrsid not to take a DOM_SID but a const DOM_SID * as anVolker Lendecke2006-08-081-3/+3
| | | | | | argument. Volker
* r14403: * modifies create_local_nt_token() to create a BUILTIN\AdministratorsGerald Carter2006-03-151-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | group IFF sid_to_gid(S-1-5-32-544) fails and 'winbind nested groups = yes' * Add a SID domain to the group mapping enumeration passdb call to fix the checks for local and builtin groups. The SID can be NULL if you want the old semantics for internal maintenance. I only updated the tdb group mapping code. * remove any group mapping from the tdb that have a gid of -1 for better consistency with pdb_ldap.c. The fixes the problem with calling add_group_map() in the tdb code for unmapped groups which might have had a record present. * Ensure that we distinguish between groups in the BUILTIN and local machine domains via getgrnam() Other wise BUILTIN\Administrators & SERVER\Administrators would resolve to the same gid. * Doesn't strip the global_sam_name() from groups in the local machine's domain (this is required to work with 'winbind default domain' code) Still todo. * Fix fallback Administrators membership for root and domain Admins if nested groups = no or winbindd is not running * issues with "su - user -c 'groups'" command * There are a few outstanding issues with BUILTIN\Users that Windows apparently tends to assume. I worked around this presently with a manual group mapping but I do not think this is a good solution. So I'll probably add some similar as I did for Administrators.
* r13648: Duh.Tim Potter2006-02-231-1/+1
|
* r13494: Merge the stuff I've done in head the last days.Volker Lendecke2006-02-131-2/+2
| | | | Volker
* r13316: Let the carnage begin....Gerald Carter2006-02-031-10/+28
| | | | Sync with trunk as off r13315
* r12986: Use d_fprintf(stderr, ...) for any error message in net.Lars Müller2006-01-171-39/+39
| | | | | | | | All 'usage' messages are still printed to stdout. Fix some compiler warnings for system() calls where we didn't used the return code. Add appropriate error messages and return with the error code we got from system() or NT_STATUS_UNSUCCESSFUL.
* r12185: Cosmetic cleanupVolker Lendecke2005-12-111-1/+1
|
* r12182: Cosmetic cleanupVolker Lendecke2005-12-111-9/+5
|
* r12129: Fix uninitialized variables.Volker Lendecke2005-12-081-0/+3
| | | | Volker
* r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4Jeremy Allison2005-10-181-5/+5
| | | | | x86_64 box. Jeremy.
* r7139: trying to reduce the number of diffs between trunk and 3.0; changing ↵Gerald Carter2005-05-311-1/+2
| | | | version to 3.0.20pre1
* r6706: * fix bug that prevented smbclient from creating directories Gerald Carter2005-05-101-3/+1
| | | | | | on non-dfs paths * add patch from James Peach to remove use of uninitialized variables
* r6080: Port some of the non-critical changes from HEAD to 3_0. The main one ↵Volker Lendecke2005-03-271-10/+42
| | | | | | | | is the change in pdb_enum_alias_memberships to match samr.idl a bit closer. Volker
* r5918: Fix typo.John Terpstra2005-03-211-1/+1
|
* r5234: Do not use the "Local Unix Group"-default description for all kinds ofGünther Deschner2005-02-041-2/+16
| | | | | | group-mappings. Guenther
* r4285: Allow -v or -l for displaying verbose groupmap-listing as well asGünther Deschner2004-12-201-0/+3
| | | | | | "verbose". Guenther
* r3566: Completely replace the queryuseraliases call. The previous ↵Volker Lendecke2004-11-051-1/+1
| | | | | | | | | | | | | | implementation does not exactly match what you would expect. XP workstations during login actually do this, so we should better become a bit more correct. The LDAP query issued is not really fully optimal, but it is a lot faster and more correct than what was there before. The change in passdb.h makes it possible that queryuseraliases is done with a single ldap query. Volker
* r2835: Since we always have -I. and -I$(srcdir) in CFLAGS, we can get rid of Tim Potter2004-10-071-1/+1
| | | | | '..' from all #include preprocessor commands. This fixes bugzilla #1880 where OpenVMS gets confused about the '.' characters.
* r1720: Show correct help for net groupmap commands.Günther Deschner2004-08-111-3/+3
| | | | Guenther
* r116: volker's patch for local group and group nestingGerald Carter2004-04-071-0/+108
|
* r4: merge in the SAMBA_3_0 branch from cvsCVS Import User2004-04-041-110/+0
| | | | | | | | to checkout try this: svn co svn+ssh://svn.samba.org/home/svn/samba/branches/SAMBA_3_0 samba-3_0-work metze
* r2: import HEAD into svn+ssh://svn.samba.org/home/svn/samba/trunkCVS Import User2004-04-041-0/+767
metze