summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ldb:"ldb_dn_compare_base" - use "unsigned int" countersMatthias Dieter Wallnöfer2010-10-161-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
* ldb:"ldb_dn_add_child" - use "unsigned int" countersMatthias Dieter Wallnöfer2010-10-161-2/+3
|
* ldb:"ldb_dn_remove_base_components" - use an "unsigned int" counterMatthias Dieter Wallnöfer2010-10-161-6/+6
|
* ldb:"ldb_dn_canonical" - use an "unsigned int" counterMatthias Dieter Wallnöfer2010-10-161-3/+3
| | | | | Convert it to use an "unsigned int" counter which represents the exact length of the DN components.
* s4:samldb LDB module - use appropriate fixed-length integer types where neededMatthias Dieter Wallnöfer2010-10-161-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)
* s4:dsdb/samdb/ldb_modules/util.c - remove now unused functions which set ↵Matthias Dieter Wallnöfer2010-10-161-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.
* s4:samba3sid LDB module - handle the RID as uint32_tMatthias Dieter Wallnöfer2010-10-161-13/+15
| | | | | - This is how we always deal with RIDs - Use an integer-length safe function for the RID update
* s4:objectclass LDB module - implement the "isCriticalSystemObject" subtree ↵Matthias Dieter Wallnöfer2010-10-162-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
* s4:ldif_handlers.c - fix a typoMatthias Dieter Wallnöfer2010-10-161-1/+1
|
* s4:dsdb - fix unsigned integer save problems using the "%u" specifierMatthias Dieter Wallnöfer2010-10-168-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.
* s4:dsdb/common/util.c - describe the behaviour of the functions ↵Matthias Dieter Wallnöfer2010-10-161-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.
* Don't arbitrarily clean all parametric options in add_a_service(),Jeremy Allison2010-10-161-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
* Ensure we have correct parameters to use Windows ACL modules.Jeremy Allison2010-10-162-4/+9
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Oct 16 03:36:04 UTC 2010 on sn-devel-104
* heimdal_build: Support using system asn1 library.Jelmer Vernooij2010-10-162-28/+35
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Oct 16 02:14:32 UTC 2010 on sn-devel-104
* heimdal_build: Skip some hx509 code when using system hx509.Jelmer Vernooij2010-10-161-42/+41
|
* heimdal_build: Add comment with stub for finding the system libtommath.Jelmer Vernooij2010-10-161-0/+4
|
* heimdal_build: Initial work on supporting an external heimdal library.Jelmer Vernooij2010-10-161-5/+6
|
* heimdal_build: Support using system hx509 library when explicitlyJelmer Vernooij2010-10-162-47/+44
| | | | requested.
* heimdal_build: Fix build with system roken.Jelmer Vernooij2010-10-161-9/+9
|
* heimdal_build: Put version objects in a separate subsystem.Jelmer Vernooij2010-10-164-21/+57
|
* heimdal: Support using system roken.Jelmer Vernooij2010-10-162-98/+100
|
* heimdal_build: Use existing functions for finding system libraries.Jelmer Vernooij2010-10-162-7/+2
|
* Add acl_xattr:ignore system acls boolean (normally false) to allowJeremy Allison2010-10-163-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
* Add make_default_filesystem_acl() function to be used in following change to ↵Jeremy Allison2010-10-152-0/+114
| | | | acl_xattr and acl_tdb module.
* Fix handling of "NULL" DACL. Map to u/g/w - rwx.Jeremy Allison2010-10-151-23/+33
| | | | Jeremy.
* Fix "force unknown ACL user" to strip out foreign SIDs from POSIX ACLs if ↵Jeremy Allison2010-10-151-0/+8
| | | | they can't be mapped.
* Add debug message to get_nt_acl_internal() to see what we got.Jeremy Allison2010-10-151-0/+7
|
* Fix valgrind "uninitialized read" error on "info" when returning !NT_STATUS_OK.Jeremy Allison2010-10-151-1/+5
| | | | Jeremy.
* Fix bug #7734 - When creating files with "inherit ACLs" set to true, we ↵Jeremy Allison2010-10-152-2/+2
| | | | | | neglect to apply appropriate create masks. Jeremy.
* Fix bug #7733 - Invalid client DOS attributes on create can cause incorrect ↵Jeremy Allison2010-10-151-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.
* heimdal Add missing dependencies on wind.Jelmer Vernooij2010-10-151-2/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Oct 15 23:20:22 UTC 2010 on sn-devel-104
* heimdal_build: Allow using system wind.Jelmer Vernooij2010-10-152-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.
* s4:torture/local/dbspeed.c - use LDB result constantMatthias Dieter Wallnöfer2010-10-151-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
* s3-rpc_server: Normalize rpc_pipe_open_interface pipe name.Andreas Schneider2010-10-151-1/+6
| | | | | Autobuild-User: Andreas Schneider <asn@samba.org> Autobuild-Date: Fri Oct 15 12:15:45 UTC 2010 on sn-devel-104
* s3-rpc_server: Make auth_serversupplied_info const.Andreas Schneider2010-10-154-11/+11
|
* s3-winbind: Fixed the build of idmap_rid.Andreas Schneider2010-10-151-0/+1
|
* s4-test: fixed a typo in test_kinit.shAndrew Tridgell2010-10-151-1/+1
| | | | | | | too many Ts Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Oct 15 10:14:27 UTC 2010 on sn-devel-104
* s4-test: fixed test_kinit.sh time command testAndrew Tridgell2010-10-151-1/+1
| | | | passing -W breaks -k yes
* s4-net: exit with a failure when a command is unknownAndrew Tridgell2010-10-151-1/+1
| | | | | this ensures we don't pass bad tests in 'make test' if they call unknown net commands
* script: the --tests option has been replaced by --test-commandAndrew Tridgell2010-10-151-1/+0
|
* s4-finddcs: better debug messages to help track down DNS problemsAndrew Tridgell2010-10-151-1/+12
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-net: fix the dependence on command line orderingAndrew Tridgell2010-10-151-8/+10
| | | | | | | this fixes python net commands where you use a '-' option before the command name Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:samdb_msg_add_int* - use "ldb_msg_add_string" rather than ↵Matthias Dieter Wallnöfer2010-10-151-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
* s4 param: change messaging directory name from messaging to msgMatthieu Patou2010-10-151-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
* s4 dsdb: fix sign problem on PPC and x86Matthieu Patou2010-10-151-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.
* s4:lib/registry/util.c - cosmetic - fix indentation, trailing whitespacesMatthias Dieter Wallnöfer2010-10-151-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
* s4:lib/registry/util.c - strtoll call - better say explicitly that data is ↵Matthias Dieter Wallnöfer2010-10-151-1/+1
| | | | | | in hex format Template is commit deebc934edb9a0a70e7615b1161d7a60fcb1d78f from Wilco.
* s4:ntptr/ntptr_simple_ldb.c - use LDB result constantsMatthias Dieter Wallnöfer2010-10-151-2/+2
|
* s4:libnet_samsync_ldb.c - use LDB result constantsMatthias Dieter Wallnöfer2010-10-151-15/+15
|
* s4:lsa RPC server - use LDB result constantMatthias Dieter Wallnöfer2010-10-151-1/+1
|