summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
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.
2010-10-15s4:lib/registry/util.c - cosmetic - fix indentation, trailing whitespacesMatthias Dieter Wallnöfer1-10/+11
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Oct 15 07:27:07 UTC 2010 on sn-devel-104
2010-10-15s4:lib/registry/util.c - strtoll call - better say explicitly that data is ↵Matthias Dieter Wallnöfer1-1/+1
in hex format Template is commit deebc934edb9a0a70e7615b1161d7a60fcb1d78f from Wilco.
2010-10-15s4:ntptr/ntptr_simple_ldb.c - use LDB result constantsMatthias Dieter Wallnöfer1-2/+2
2010-10-15s4:libnet_samsync_ldb.c - use LDB result constantsMatthias Dieter Wallnöfer1-15/+15
2010-10-15s4:lsa RPC server - use LDB result constantMatthias Dieter Wallnöfer1-1/+1
2010-10-15s4:samldb LDB module - cosmetic - use "ldb" variable rather than ↵Matthias Dieter Wallnöfer1-1/+1
"ldb_module_get_ctx"
2010-10-15s4:samdb_create_foreign_security_principal - proof error code of ↵Matthias Dieter Wallnöfer1-3/+6
"samdb_msg_add_string"
2010-10-15s4:dsdb/common/util.c - samdb_msg_add_* calls - proof for more OOM conditionsMatthias Dieter Wallnöfer1-0/+6
2010-10-15s4:dsdb/common/util.c - samdb_msg_add_string - the attribute name doesn't ↵Matthias Dieter Wallnöfer1-4/+3
need to be duplicated This is done internally by the LDB library - look at "ldb_msg_add_empty".
2010-10-15s4:dsdb - remove "samdb_msg_add_value"Matthias Dieter Wallnöfer2-17/+6
This can be substituted by "ldb_msg_add_value". Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Oct 15 00:21:53 UTC 2010 on sn-devel-104
2010-10-15s4:dsdb - remove "samdb_result_uint", "samdb_result_int64", ↵Matthias Dieter Wallnöfer20-225/+199
"samdb_result_uint64" and "samdb_result_string" We have ldb_msg_find_attr_as_* calls which do exactly the same. Therefore this reduces only code redundancies. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-10-14s4:samldb LDB module - attempt to fix integer handling on big-endian platformsMatthias Dieter Wallnöfer1-7/+9
And beside this it's also nicer to use standard LDB functions for type conversions. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Oct 14 08:26:53 UTC 2010 on sn-devel-104
2010-10-14s4-waf: automatically remove stale C and header filesAndrew Tridgell1-0/+1
this prevents stale .c and .h files in bin/ from causing build problems Thanks to Thomas Nagy for the example implementation! Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 14 07:44:13 UTC 2010 on sn-devel-104