summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r23756: Fix Coverity id 388Volker Lendecke1-0/+1
(This used to be commit 91af086823265ed66bbd0bdc1cced070b7dd0629)
2007-10-10r23755: Fix Coverity id 384Volker Lendecke1-1/+7
(This used to be commit ebb410ca1e08d6f062154c9f8b3970682c6eeebd)
2007-10-10r23752: Fix bug introduced by checkin 22920, allow largeJeremy Allison1-3/+1
readX. Fix from Dmitry Shatrov <dhsatrov@linux.vnet.ibm.com>. "In send_file_readX(), if startpos > sbuf.st_size, then smb_maxcnt is set to an invalid large value due to integer overflow. As for me, this resulted in MS Word hanging while trying to save a 1.5Mb document." This isn't in shipping code. Jeremy. (This used to be commit af715c602a8ef6038e6272c7cc6a08501617ae67)
2007-10-10r23751: Call tdb_close even when validation was not successful.Michael Adam1-9/+1
Michael (This used to be commit b68856d9902f41079224ba11c7d0ab811b082201)
2007-10-10r23750: Change the behaviour of net conf import when there is a global sectionMichael Adam1-8/+24
in the current registry and there is no global section in the input file (or only global options with default values): In that case the existing global section is now not touched. Before, it would have been deleted and recreated empty. The new behaviour is how other shares are treated too. Note that since the input file is parsed by lp_load, there is currently no way to distinguish between a section with only default parameters and a non-existing section in net conf import. Michael PS: A couple of trailing white-spaces have been eliminated and a line was broken to be not longer than 80 chars, too. (This used to be commit ec21a0cf9f01986d333b50b883f2105e32cf7fc9)
2007-10-10r23749: Simplify prototype of reg_setvalue_internal:Michael Adam1-22/+9
eliminate "type" parameter since we store only REG_SZ. Michael (This used to be commit 65ce4633171eabd6fc94677cb7d884d6125d0745)
2007-10-10r23748: Clean use of talloc in import_process_service:Michael Adam1-4/+13
create a temporary talloc ctx for the function. Michael (This used to be commit 39df7faaa9472d565653b36203860eee8a259f2c)
2007-10-10r23747: Move formatting of a parameter's value into a value stringMichael Adam1-80/+82
to a function of its own. (for storing it in registry), Eliminate the valtype variable : store everything as "sz". Eliminate some trailing white spaces on the way. Michael (This used to be commit 76f4f224aa65b1414222818996e215ec80d117a4)
2007-10-10r23746: Fix missing assignments to target string of asprintf in import function.Michael Adam1-2/+2
Michael (This used to be commit 6b1bf7c1f49f737ca3cbee96b184e3b21fdc4931)
2007-10-10r23745: Fix: Check whether top subkeyname instead of whole registry key nameMichael Adam1-2/+3
is equal to GLOBAL_NAME. Michael (This used to be commit fdcdcacf0a9513829ad474605879ef55ce8b389e)
2007-10-10r23744: Remove TODO-comment. lp_load returns False if openingMichael Adam1-2/+0
of the config file fails. That's enough of checking for existence and readbility to my taste. Michael (This used to be commit 204f4f1a94a6693ab5d92df0de48e6cb446c7a7f)
2007-10-10r23743: Simplify stat_cache_lookup() logic. For the history of this, seeVolker Lendecke1-68/+76
http://article.gmane.org/gmane.network.samba.internals/32486. (This used to be commit e5e42fe3d5b26c0ec48d98c001b9cb1623c0b5a7)
2007-10-10r23738: Re-add commented out code snipped that got lost by accidentVolker Lendecke1-0/+10
(This used to be commit c38c31afb770350e47713bf1025c23fd774607ab)
2007-10-10r23736: Use local variable of smb_flag2 instead of using the macro every time.Jeremy Allison1-14/+16
Jeremy. (This used to be commit 9e1663b1f18d716a7f307bea2b09dadeef392ab8)
2007-10-10r23735: Second part of the bugfix for #4763Jeremy Allison1-1/+21
This should coalesce identical adjacent notify records - making the "too large" bug very rare indeed. Please test. Jeremy. (This used to be commit 1aaa1f5bbe9222acbe3dea1daa1c6c5ce72e1c2c)
2007-10-10r23733: Limit LDAP lookup in lookup_usergroups_member() to security groups.Lars Müller1-1/+6
Credits to Ralf Haferkamp for the discussion and help on this. (This used to be commit 5be96d09a7c457b1763d7ad482b5a5a92c02d157)
2007-10-10r23732: removed reference to non-existent structureHerb Lewis1-2/+0
(This used to be commit 4c04059f7dfa0096c9f3249b55269f7335137f48)
2007-10-10r23731: Forgot one reference to inbufVolker Lendecke1-1/+1
(This used to be commit b02115f2ca6aca8655a4ebd1bd0adaa1e50578ce)
2007-10-10r23730: Squashed commit of the following:Gerald Carter2-2/+6
commit 3941269fa01038fca242a197e8d7c1f234d45ea7 Author: Gerald (Jerry) Carter <jerry@samba.org> Date: Thu Jul 5 14:52:03 2007 -0500 Two fixes for "winbind expand groups". (a) Update the counter for the number of new groups to resolve else we'll only expand one group member per level and drop the rest. (b) Don't reset the num_names counter in winbindd_ads.c:lookup_groupmem() or we'll drop the SIDs resolved to names via cache from the resulting list. (This used to be commit dfb89dfcaa02f497ff22ac0213b70add6e4d5b8f)
2007-10-10r23728: First part of bugfix for #4763. Limit notify responsesJeremy Allison1-0/+12
to client max buf size. Jeremy. (This used to be commit 6113f56919a3cd7fd753808dbbe473603851bc3c)
2007-10-10r23727: Explicitly pass down FLAGS2 to srvstr_get_path.Volker Lendecke3-44/+111
Next step is to remove the bug that in the trans2 code we use the inbuf as the base pointer to decide whether we need ucs2 alignment where we need to use the beginning of the params buffer Jeremy, last one for today to reviw :-) (This used to be commit 18078b9faa3820fb34604063c9079c1ebe3ad47f)
2007-10-10r23726: Explicitly pass down the FLAGS2 field to srvstr_pull_buf. The nextVolker Lendecke13-53/+99
checkin will pull this up to srvstr_get_path. At that point we can get more independent of the inbuf, the base_ptr in pull_string will only be used to satisfy UCS2 alignment constraints. (This used to be commit 836782b07bf133e9b2598c4a089f1c810e4c7754)
2007-10-10r23725: Remove get_current_mid()Volker Lendecke2-26/+33
Jeremy, next one to review :-) (This used to be commit a50555dda7db5e848e337185ed91c41c2557f7be)
2007-10-10r23724: Reduce access to the global inbuf a tiny bit. Add a struct smb_requestVolker Lendecke10-110/+208
that contains some of the fields from the SMB header, removing the need to access inbuf directly. This right now is used only in the open file code & friends, and creating that header is only done when needed. This needs more work, but it is a start. Jeremy, I'm only checking this into 3_0, please review before I merge it to _26. Volker (This used to be commit ca988f4e79e977160d82e86486972afd15d4acf5)
2007-10-10r23723: Alexander Larsson pointed me at a missing mapping in clierror.cSimo Sorce1-1/+3
When renaming a file across 2 filesystem a samba server returns NT_STATUS_NOT_SAME_DEVICE but thius is not translated to EXDEV, and the generic EINVAL is returned instead. This should fix it, Jeremy or Derrel please check if this is ok. (This used to be commit b35038fa4e3e69f1397758497a46dc0d37edee79)
2007-10-10r23722: Fix the build of the catia moduleVolker Lendecke1-2/+2
(This used to be commit fa09744cce6c1aa63e46bd61e4c01234574f3b32)
2007-10-10r23714: but now:Michael Adam1-0/+167
This script allows for adding lists of users (or other objects) to lists of groups (or aliases). Useful for creating large test scenarios. Michael (This used to be commit b3e5082e105f6eaeed51e9a42d525d811e7155ee)
2007-10-10r23713: Oops accidentially checked in the wrong file - sorry!Michael Adam1-17/+0
Michael (This used to be commit ae23e6d04b8551e66b77995994a0c50cd880ea32)
2007-10-10r23712: This script allows for adding lists of users (or other objects)Michael Adam1-0/+17
to lists of groups (or aliases). Useful for creating large test scenarios. Michael (This used to be commit 0c03c78af8f62ece2965e0f5a16c001aad61c8fa)
2007-10-10r23711: Refactor the actual creation of object into its own small function.Michael Adam1-7/+10
Michael (This used to be commit 26349c0b173e8baf6fa43deb39cb2bfdb31bf18e)
2007-10-10r23710: Remove some code duplication, we do have a random number generatorVolker Lendecke1-7/+3
(This used to be commit afd7febd980bb000f81d5251d03d500cb43c39f4)
2007-10-10r23709: C++ warningsVolker Lendecke1-2/+2
(This used to be commit 2d5e3322d6ecd00c0e936ee64483e63a3ad87c0b)
2007-10-10r23708: - Add define for WINBIND_WARN_PWD_EXPIRE.Lars Müller2-2/+12
- Add parameter config_flag to get_config_item_int() and do the same check as in get_conf_item_string. (This used to be commit d1d1baa264587911e1c97b3b35d5ed2bc56bf12b)
2007-10-10r23707: - Move the asprintf() call to create the key even inLars Müller1-14/+12
get_conf_item_string() to the later if statement. - Also move the key definition to the later if statement in get_conf_item_string() and get_conf_item_int(). (This used to be commit 3a82ec943a3828b843dd47aaa0e360844d4dfb91)
2007-10-10r23706: Add a script to create domainusers,-groups and -aliases.Michael Adam1-0/+155
This is done via rpc client. The main purpose is to be able to fill a domain controller with a large number of users / groups easily. A the object names are built as <prefix><num> where number ranges from a given start number counting up until a given number of objects has been created. In a next step, I will submit scripts to add (many) users to a group and to add a user to (many) groups. Michael (This used to be commit 8b81fbb7d998eda65978a772f2194b4a3de467f9)
2007-10-10r23705: Add suggestion for vim from Andreas 'GlaDiaC' Schneider to show tabs,Lars Müller1-1/+2
trailing whitespace, and continued lines visually. (This used to be commit 6209ae79de3710ab9c2e91e2f6643b1c5fe2a6b2)
2007-10-10r23704: Add pam_pwd_expire feature as discussed on samba-technical.Lars Müller3-11/+98
This is a slightly modified version to set warn_pwd_expire to the default value if 0, no, or a broken value is set. This version also has one if statement less in get_config_item_int(). Thanks a lot to Andreas 'GlaDiaC' Schneider for this feature! (This used to be commit d26914c978457ae0ec097cc40c8e33a7cee9ebcf)
2007-10-10r23694: Make sure that when builddir != srcdir, we can still find the exportsGerald Carter1-7/+7
files and library-versions file. Also move the "-o $@" from the individual targets and into the SHLD_DSO command. (This used to be commit c85311b3a8a891af4b4c8eb1f09bd91f00a1f5db)
2007-10-10r23692: Couldn't wait, sorry :-). Did the style change.Jeremy Allison1-3/+3
Jeremy. (This used to be commit da0d6ba0f972dbe48e2b7297e86e1717e510fadf)
2007-10-10r23691: fix for bug on touching files as described here:Simo Sorce1-5/+13
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=243897 (This used to be commit 6b68c006f8ecba8ed3a4d87950691cb1e5c46386)
2007-10-10r23689: Squashed commit of the following:Gerald Carter5-21/+43
commit 0d4bbd197198a94bf4e29e0ccd175a40a60097f3 Author: Gerald (Jerry) Carter <jerry@samba.org> Date: Mon Jul 2 20:08:19 2007 -0500 Introduce GNU ld linker export-script for hiding non-public symbols in shared libraries. Based on initial patch from Julien Cristau <jcristau@debian.org> and suggestions from James Peach <jpeach@samba.org>. Currently the libsmbsharemodes libraries still exports *. Signed off on my Derrell as well. (This used to be commit c42cf731b4b259c5c1a874fd1837ca85144f1a58)
2007-10-10r23688: Fix bug #4759 reported by Raul <ismell@ismell.org>.Jeremy Allison1-1/+1
"N" is not a valid format entry for ber_printf, should be "n" Jeremy. (This used to be commit f3bb102c24018f0a91f8b51de6fe646c091da6be)
2007-10-10r23685: merge from SAMBA_4_0:Stefan Metzmacher1-2/+2
Only use the bzr and git information when there's a .bzr or .git in the top branch directory I use bzr for my home directory and bzr version-info in ~/devel/samba/4.0/samba4-git gives the info about the ~/.bzr branch metze (This used to be commit e4df2e1c2d302613b1e7f44f13db9435bdafb30f)
2007-10-10r23683: Check ports are in the correct range (1-65535)Simo Sorce1-2/+2
(This used to be commit 84b193a7d95aa8c00da2a3720ee87a7231e0fc6e)
2007-10-10r23682: Old patch I forgot in one of my 3.0.25 trees.Simo Sorce1-0/+16
Make sure we honour the directive not to allow machine password changes. (This used to be commit 436555f05ceae34d8df2356d1066b6b5e0a07c41)
2007-10-10r23673: Check for integer wrap on incoming data.Jeremy Allison1-0/+6
Jeremy. (This used to be commit 77a46c7aee2ad4c402527cf78e5ae70a792d65d4)
2007-10-10r23672: Allow msrpc_name_to_sid() to be called without a domain_name and ↵Günther Deschner1-7/+9
just a name. Guenther (This used to be commit eeed62b6ca86bcb0875de90a5d8c65948fd80215)
2007-10-10r23671: Remove unused code -- 16416 bytes of bss space...Volker Lendecke2-27/+0
(This used to be commit 25f3bfdb1f60ab17af05608481068299da94cec9)
2007-10-10r23670: Fix mkversion.sh for the git case: Only use the first line whereVolker Lendecke1-1/+1
"commit" occurs (This used to be commit 0e9aeec37008e5b882ce91c44ee201ef779ecabe)
2007-10-10r23669: Move a variable into the only block where it is used.Michael Adam1-1/+1
(This used to be commit 82be4137b7bba6a9a433ec011e7f47587935ae61)