summaryrefslogtreecommitdiff
path: root/libds/common
AgeCommit message (Collapse)AuthorFilesLines
2012-05-15s3-auth: remove "security=server" (depricated since 3.6)Stefan Metzmacher1-2/+17
"security=server" has a lot of problems in the world with modern security (ntlmv2 and krb5). It was also not very reliable, as it needed a stable connection to the password server for the lifetime of the whole client connection! Please use "security=domain" or "security=ads" is you authentication against remote servers (domain controllers). metze -------------- / \ / REST \ / IN \ / PEACE \ / \ | SEC_SERVER | | security=server | | | | | | 12 May | | | | 2012 | *| * * * | * _________)/\\_//(\/(/\)/\//\/\///|_)_______
2012-03-04s3-auth: Remove security=share (depricated since 3.6).Andrew Bartlett1-2/+19
This patch removes security=share, which Samba implemented by matching the per-share password provided by the client in the Tree Connect with a selection of usernames supplied by the client, the smb.conf or guessed from the environment. The rationale for the removal is that for the bulk of security=share users, we just we need a very simple way to run a 'trust the network' Samba server, where users mark shares as guest ok. This is still supported, and the smb.conf options are documented at https://wiki.samba.org/index.php/Public_Samba_Server At the same time, this closes the door on one of the most arcane areas of Samba authentication. Naturally, full user-name/password authentication remain available in security=user and above. This includes documentation updates for username and only user, which now only do a small amount of what they used to do. Andrew Bartlett -------------- / \ / REST \ / IN \ / PEACE \ / \ | SEC_SHARE | | security=share | | | | | | 5 March | | | | 2012 | *| * * * | * _________)/\\_//(\/(/\)/\//\/\///|_)_______
2012-01-14Intersite KCC flagsDave Craft1-0/+5
NTDSSITELINK option flags added Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-17libds: Make server role values explicit for easier debuggingAndrew Bartlett1-1/+6
2011-11-17param: calculate server role from security, and security from server roleAndrew Bartlett1-1/+1
This allows smb.conf files from either the samba3 or samba4 tradition to come to the same value of server role, using the information in the smb.conf file. This is important so that tools like 'net getlocalsid' work against a Samba4 AD installation (yes, users have tried this). Andrew Bartlett Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
2011-11-17roles: Add ROLE_AUTO to indicate that the server role is calculatedAmitay Isaacs1-1/+4
2011-10-27s4:objectclass_attrs LDB module - implement the dSHeuristics length checks ↵Matthias Dieter Wallnöfer1-1/+9
correctly Consider bug #8489 Reviewed-by: abartlet
2011-07-14NTDSConnection and NTDSA Site setting flagsDave Craft1-0/+20
Flags that were missing from flags.h or were incorrectly defined inline to the kcc_topology.c code (and thus unusable elsewhere). These are the NTDSConnection and NTDSDSA Site settings flags. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-06-21lib/util Remove samba-util-common!Andrew Bartlett1-1/+1
All of this code is now in common, so we don't need the second '-common' library any more! Andrew Bartlett
2011-06-10libds/common/flag_mapping.h: fix licence/copyrightGünther Deschner1-0/+22
Guenther
2011-05-08libds: moved enum security_types to a common headerAndrew Tridgell1-0/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-05-03libds: added roles.h for server rolesAndrew Tridgell2-0/+43
this will allow us to move the server roles in common, which will make it much easier to mix s3/s4 calls in the one C file Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-04-13libds: Make flag_mapping a libraryAndrew Bartlett1-3/+5
This is a tiny library, but otherwise the functions end up in multiple other libraries. Andrew Bartlett
2011-03-01libds/common/flag_mapping.c - fix another build dependencySean Finney1-0/+1
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Mar 1 18:53:40 CET 2011 on sn-devel-104
2011-02-28Fix some typesJelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Feb 28 23:30:06 CET 2011 on sn-devel-104
2011-02-24build: moved libds/common/flag_mapping.c into a common subsystemAndrew Tridgell3-0/+17
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-28libds: added mS-DS-ReplicatesNCReason flagsAndrew Tridgell1-1/+11
these define why a KCC connection was made
2010-10-15s4:libds/common/flags.h - fix typoMatthias Dieter Wallnöfer1-1/+1
2010-09-29libds: added more UF_ -> ACB_ flags mappingsAndrew Tridgell2-2/+5
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2010-09-24libds:flag_mapping.c - support also the default read-only DC primary groupMatthias Dieter Wallnöfer1-1/+3
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-09-12libds:flag_mapping.c - introduce a call which maps the "userAccountControl" ↵Matthias Dieter Wallnöfer1-0/+13
to the default primary group RID
2010-09-12libds:flag_mapping.c - fix counter variable typesMatthias Dieter Wallnöfer1-2/+3
2010-08-26Added values for the flags in dSHeuristicsNadezhda Ivanova1-0/+23
These specify the character position, while the character value of that character controls behavior
2010-08-17s4-dsdb: added support for UF_PARTIAL_SECRETS_ACCOUNTAndrew Tridgell1-0/+1
when this is in user_account_control the account is a RODC, and we need to set the primaryGroupID to be DOMAIN_RID_READONLY_DCS Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-08-10libds/common/flags.h - fix a comment's typoMatthias Dieter Wallnöfer1-1/+1
2010-06-23libds:common Remove DS_DC_* domain functionality flagsAndrew Bartlett1-8/+4
These are just a subset of the DS_DOMAIN_ functionality flags, are compared and often confused with each other. Just make them one set. Andrew Bartlett
2010-05-26flags.h - fix comment for "GTYPE_SECURITY_UNIVERSAL_GROUP" constantMatthias Dieter Wallnöfer1-1/+1
2010-05-03Replaced DS_FLAG_ATTR_IS_CRITICAL with SCHEMA_FLAG_ATTR_IS_CRITICAL.Nadezhda Ivanova1-3/+0
2010-05-03Added a couple of systemFlags, needed for determining filtered attributes.Nadezhda Ivanova1-0/+4
2010-04-22s4-drs: Do not allow system-critical attributes to be RODC filteredFernando J V da Silva1-0/+3
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-02-12libds: added recyclebin feature GUIDAndrew Tridgell1-0/+3
2009-12-16libds: added GUIDs for wellknown AD objectsAndrew Tridgell1-0/+13
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2009-10-15libds: added nTDSDSA options flagsAndrew Tridgell1-0/+7
2009-09-28libds: fixed spelling errorAndrew Tridgell1-1/+1
2009-09-24s4-drs: add defines for replication flags on attributesAndrew Tridgell1-0/+3
2009-09-17libds/common/flags: variousMatthias Dieter Wallnöfer2-28/+36
- Reorders the header file to have the order "userAccountFlags", "groupType", "sAMAccountType" (matches the order in the flag_mapping.c and samldb module) - Fixes the group account flags properly up - Fixes the flags for "domain/forestFunctionality" and "domainControllerFunctionality" up
2009-07-13libds: merge the UF<->ACB flag mapping functions.Günther Deschner1-0/+143
Guenther
2009-07-13libds: share UF_ flags between samba3 and 4.Günther Deschner1-0/+177
Guenther