summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2010-10-17s4:remove "util_ldb" submodule and integrate the three gendb_* calls in ↵Matthias Dieter Wallnöfer27-27/+92
"dsdb/common/util.c" They're only in use by SAMDB code. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 17 09:40:13 UTC 2010 on sn-devel-104
2010-10-17s4:ldb-samba/ldb_wrap.c - fix indentation and trailing whitespacesMatthias Dieter Wallnöfer1-36/+36
2010-10-17s4:"wrap_casefold" - move it to "ldb_wrap.c" since it's only used thereMatthias Dieter Wallnöfer1-0/+9
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-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 Vernooij1-6/+1
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.
2010-10-15s4:torture/local/dbspeed.c - use LDB result constantMatthias Dieter Wallnöfer1-1/+2
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Oct 15 19:11:32 UTC 2010 on sn-devel-104
2010-10-15s4-net: exit with a failure when a command is unknownAndrew Tridgell1-1/+1
this ensures we don't pass bad tests in 'make test' if they call unknown net commands
2010-10-15s4-finddcs: better debug messages to help track down DNS problemsAndrew Tridgell1-1/+12
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-15s4-net: fix the dependence on command line orderingAndrew Tridgell1-8/+10
this fixes python net commands where you use a '-' option before the command name Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-15s4:samdb_msg_add_int* - use "ldb_msg_add_string" rather than ↵Matthias Dieter Wallnöfer1-2/+2
"samdb_msg_add_string" "ldb_msg_add_string" is safe here since the integer has already been converted to a string which is "talloc"ed on "mem_ctx". Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Oct 15 09:11:49 UTC 2010 on sn-devel-104
2010-10-15s4 param: change messaging directory name from messaging to msgMatthieu Patou1-1/+1
This saves 6 chars and as in some installation users tends to install samba in directory with very long name they have a problem with the sockets. It will also ease the pain on buildfarms as we tend to have very long environnement name (ie. vampire_dc) in path that are already quite long leading also to errors on unix socket manipulation. Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Fri Oct 15 08:15:56 UTC 2010 on sn-devel-104
2010-10-15s4 dsdb: fix sign problem on PPC and x86Matthieu Patou1-2/+2
In LDAP we used signed intege and groups have the highest bit set (ie. 0x80000002). So it will result with values that are > 2^31 when these value are used on some plateforms (x86 and PPC 64bits in this case) it causes problem with strtol.