summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-10-16s4:dsdb - make the RELAX control privateMatthias Dieter Wallnöfer2-9/+8
This makes our LDAP much more secure and less error-prone. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Oct 16 19:43:36 UTC 2010 on sn-devel-104
2010-10-16s4:libcli/ldap/ldap_controls.c - fix up the controls listMatthias Dieter Wallnöfer1-29/+49
- add missing private controls and comments - use control defines rather than hardcoded values -> easier to comprehend - reorder controls
2010-10-16ldb:ldb.h - reorder controls/extended operationsMatthias Dieter Wallnöfer1-27/+28
This makes it easier to read
2010-10-16heimdal: Remove some unused arguments from HEIMDAL_SUBSYSTEM().Jelmer Vernooij1-7/+3
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Oct 16 16:14:24 UTC 2010 on sn-devel-104
2010-10-16heimdal: Allow leaving off prefix from asn1 option_file.Jelmer Vernooij1-2/+5
2010-10-16heimdal: Leave off ../heimdal prefix to HEIMDAL_BINARY().Jelmer Vernooij1-29/+14
2010-10-16heimdal: Allow leaving off prefix to HEIMDAL_ERRTABLE().Jelmer Vernooij1-9/+11
2010-10-16heimdal: Allow leaving off prefix for HEIMDAL_ASN1().Jelmer Vernooij1-19/+20
2010-10-16heimdal: Allow leaving off ../heimdal prefix for proto headers.Jelmer Vernooij1-13/+14
2010-10-16heimdal: Allow leaving off ../heimdal prefix for source files.Jelmer Vernooij1-104/+104
2010-10-16heimdal: Add convenience functions for finding heimdal paths.Jelmer Vernooij1-3/+6
2010-10-16heimdal: Call HEIMDAL_AUTOPROTO() manually.Jelmer Vernooij1-15/+11
2010-10-16heimdal: Call HEIMDAL_AUTOPROTO_PRIVATE() manually.Jelmer Vernooij1-6/+4
2010-10-16heimdal: Add variables for source files.Jelmer Vernooij1-12/+15
2010-10-16heimdal: Simplify handling of ../heimdal prefixes in HEIMDAL_SUBSYSTEM.Jelmer Vernooij1-82/+83
2010-10-16heimdal_build: Fix detection of system roken library.Jelmer Vernooij1-1/+1
2010-10-16heimdal_build: Remove ignored argument ldflags from HEIMDAL_BINARY().Jelmer Vernooij1-1/+0
2010-10-16ldb:pyldb.c - remove pointless commentMatthias Dieter Wallnöfer1-1/+0
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Oct 16 14:38:58 UTC 2010 on sn-devel-104
2010-10-16ldb:"ldb_dn_compare_base" - use "unsigned int" countersMatthias Dieter Wallnöfer1-2/+2
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Oct 16 13:54:13 UTC 2010 on sn-devel-104
2010-10-16ldb:"ldb_dn_add_child" - use "unsigned int" countersMatthias Dieter Wallnöfer1-2/+3
2010-10-16ldb:"ldb_dn_remove_base_components" - use an "unsigned int" counterMatthias Dieter Wallnöfer1-6/+6
2010-10-16ldb:"ldb_dn_canonical" - use an "unsigned int" counterMatthias Dieter Wallnöfer1-3/+3
Convert it to use an "unsigned int" counter which represents the exact length of the DN components.
2010-10-16s4:samldb LDB module - use appropriate fixed-length integer types where neededMatthias Dieter Wallnöfer1-4/+5
- The "systemFlags" we interpret always as signed - Use "samdb_msg_add_int" where possible (much saver for integer storing than ldb_msg_add_fmt)
2010-10-16s4:dsdb/samdb/ldb_modules/util.c - remove now unused functions which set ↵Matthias Dieter Wallnöfer1-74/+0
integers Please do always use the functions which specifiy the appropriate integer length to not run into platform-specific issues. Therefore I'm removing these generic calls.
2010-10-16s4:samba3sid LDB module - handle the RID as uint32_tMatthias Dieter Wallnöfer1-13/+15
- This is how we always deal with RIDs - Use an integer-length safe function for the RID update
2010-10-16s4:objectclass LDB module - implement the "isCriticalSystemObject" subtree ↵Matthias Dieter Wallnöfer2-3/+27
delete protection MS-ADTS 3.1.1.5.5.7.2 Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Oct 16 11:24:09 UTC 2010 on sn-devel-104
2010-10-16s4:ldif_handlers.c - fix a typoMatthias Dieter Wallnöfer1-1/+1
2010-10-16s4:dsdb - fix unsigned integer save problems using the "%u" specifierMatthias Dieter Wallnöfer8-33/+49
The issue here is that we have not yet first cast to int32_t explicitly, before we cast to an signed int to printf() into the %d or cast to a int64_t before we then cast to a long long to printf into a %lld. There are *no* unsigned integers in Active Directory LDAP, even the RID allocations and ms-DS-Secondary-KrbTgt-Number are *signed* quantities. (See the schema, and the syntax definitions in schema_syntax.c). The failure has been detected by Matthieu Patou on the buildfarm host "tridge" due to a malformed "groupType" attribute. The solution is to use the "%d" specifier. Either to use it directly - or better (when possible) use the call "samdb_msg_add_uint" (which encapsulates it). This patch changes such problematic situations.
2010-10-16s4:dsdb/common/util.c - describe the behaviour of the functions ↵Matthias Dieter Wallnöfer1-5/+32
"samdb_msg_add_uint", "samdb_msg_add_uint64" and "samdb_msg_set_uint" a bit more Unsigned int data in AD is a bit problematic to handle. Problem described by abartlet.
2010-10-16Don't arbitrarily clean all parametric options in add_a_service(),Jeremy Allison1-3/+3
that is called from many places, not just smb.conf processing. Only clean parametric options when doing actual smb.conf reading (or registry equivalent). Michael Adams, Volker, Metze, please check. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Oct 16 06:46:19 UTC 2010 on sn-devel-104
2010-10-16Ensure we have correct parameters to use Windows ACL modules.Jeremy Allison2-4/+9
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Oct 16 03:36:04 UTC 2010 on sn-devel-104
2010-10-16heimdal_build: Support using system asn1 library.Jelmer Vernooij2-28/+35
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Oct 16 02:14:32 UTC 2010 on sn-devel-104
2010-10-16heimdal_build: Skip some hx509 code when using system hx509.Jelmer Vernooij1-42/+41
2010-10-16heimdal_build: Add comment with stub for finding the system libtommath.Jelmer Vernooij1-0/+4
2010-10-16heimdal_build: Initial work on supporting an external heimdal library.Jelmer Vernooij1-5/+6
2010-10-16heimdal_build: Support using system hx509 library when explicitlyJelmer Vernooij2-47/+44
requested.
2010-10-16heimdal_build: Fix build with system roken.Jelmer Vernooij1-9/+9
2010-10-16heimdal_build: Put version objects in a separate subsystem.Jelmer Vernooij4-21/+57
2010-10-16heimdal: Support using system roken.Jelmer Vernooij2-98/+100
2010-10-16heimdal_build: Use existing functions for finding system libraries.Jelmer Vernooij2-7/+2
2010-10-16Add acl_xattr:ignore system acls boolean (normally false) to allowJeremy Allison3-11/+38
Samba ACL module to ignore mapping to lower POSIX layer. With this fix Samba 3.6.x now passes RAW-ACLs (with certain smb.conf parameters set). Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Oct 16 01:26:31 UTC 2010 on sn-devel-104
2010-10-15Add make_default_filesystem_acl() function to be used in following change to ↵Jeremy Allison2-0/+114
acl_xattr and acl_tdb module.
2010-10-15Fix handling of "NULL" DACL. Map to u/g/w - rwx.Jeremy Allison1-23/+33
Jeremy.
2010-10-15Fix "force unknown ACL user" to strip out foreign SIDs from POSIX ACLs if ↵Jeremy Allison1-0/+8
they can't be mapped.
2010-10-15Add debug message to get_nt_acl_internal() to see what we got.Jeremy Allison1-0/+7
2010-10-15Fix valgrind "uninitialized read" error on "info" when returning !NT_STATUS_OK.Jeremy Allison1-1/+5
Jeremy.
2010-10-15Fix bug #7734 - When creating files with "inherit ACLs" set to true, we ↵Jeremy Allison2-2/+2
neglect to apply appropriate create masks. Jeremy.
2010-10-15Fix bug #7733 - Invalid client DOS attributes on create can cause incorrect ↵Jeremy Allison1-0/+9
unix mode_t to be generated. It turns out a client can send an NTCreateX call for a new file, but specify FILE_ATTRIBUTE_DIRECTORY in the attribute list. Windows silently strips this, but we don't - causing the unix_mode() function to go through the "mode bits for new directory" codepath, instead of the "mode bits for new file" codepath. Jeremy.
2010-10-15heimdal Add missing dependencies on wind.Jelmer Vernooij1-2/+2
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Oct 15 23:20:22 UTC 2010 on sn-devel-104
2010-10-15heimdal_build: Allow using system wind.Jelmer Vernooij2-47/+67
Please note that to use the system wind library the user explicitly has to specify --bundled-library=!wind . Without that option we will always use the included wind library.