summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r23782: I tested this against NT4 PDC, W2K Server, W2K3 Dc, and a Win XP std ↵Simo Sorce1-6/+1
alone client and they all work with this code. (This used to be commit 44e22581d731572d3fa260b92063922c59ce75db)
2007-10-10r23780: Find and fix more GPL2 -> GPL3.Jeremy Allison27-27/+27
Jeremy. (This used to be commit c2f7ab1c175ecff0cf44d0bbc4763ba9f7d7803f)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison690-690/+690
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23776: Setting version in 3.2 branch to 3.2.1pre1-SVNGerald Carter1-2/+2
Setting version in 3.2.0 branch to 3.2.0pre1-SVN (This used to be commit 240b19c8caf3af35189e70e056c480112f0d5077)
2007-10-10r23773: One pstring a day...Volker Lendecke1-3/+5
(This used to be commit 0c3016d32b5277b901788b13aa7d3f4b647728f2)
2007-10-10r23772: Add ads_find_samaccount() helper function.Günther Deschner2-61/+66
Guenther (This used to be commit 6fafa64bea4ce6a7a5917fa02ed9c564a7c93ffb)
2007-10-10r23771: Merge useful W_ERROR_NOT_OK_RETURN macro from samba4.Günther Deschner1-0/+6
Guenther (This used to be commit 31d689b2486b23d73618f36febde3e17cba5ca59)
2007-10-10r23770: Some minor cleanups in libgpoGünther Deschner4-131/+184
(including some valgrind errors, uninitialized vars, etc.) Guenther (This used to be commit 1a2878db2d2fcdc53fa74fea48b82a1903e6a1f1)
2007-10-10r23769: Move removal of the tdb from the generic tdb_validate functionMichael Adam2-6/+6
to the caller (winbindd_validate_cache in this case). Next, there will be a backup handling for the tdb files. Michael (This used to be commit 821bc84109625c9d85edee38fa26d16f9f0a0fe2)
2007-10-10r23768: Get rid of the three global variables for the case semantics. I thinkVolker Lendecke1-64/+70
this is really not worth globals. Jeremy, please check for 3.0.26. (This used to be commit 6e655500c05f2584094329a95ad5791160147fd9)
2007-10-10r23766: Add GTYPE_SECURITY_UNIVERSAL_GROUP define.Günther Deschner1-0/+5
Guenther (This used to be commit 964acb2716e230172e716d8d24ee2f888930130d)
2007-10-10r23765: Another error-path restore_case_semantics().Volker Lendecke1-0/+1
(This used to be commit a3e5fe1693a3e1830561d60254d6a3bfc0c30686)
2007-10-10r23764: Do restore_case_semantics in an error path. Jeremy, please check!Volker Lendecke1-0/+1
(This used to be commit 3b5422c9a401321788d824c68da31a39d85aece1)
2007-10-10r23763: Fix a typo in DEBUG message.Michael Adam1-1/+1
Thanks to Karolin Seeger (ks@sernet.de) (This used to be commit 0ae6ae4ee8098abdfefc9fe7c3880bfbb6da52a8)
2007-10-10r23761: Rename reduce_name to check_reduced_nameVolker Lendecke4-5/+5
The function name reduce_name is misleading, making the user believe it changes an argument. (This used to be commit 68234f0bc6fb4d6d99ae94ff067db118c60804aa)
2007-10-10r23760: Untangle use of strrchr_m and strequal and add some checksMichael Adam1-2/+11
for the validity of the given registry key name. Michael (This used to be commit 4b4ba7724ee77a93e32cd7f3c5884d965fe9bcaa)
2007-10-10r23759: Fix make test -- sorryVolker Lendecke1-2/+2
(This used to be commit cbbc70604e815f4ffd25d040ca0a4ef58e651523)
2007-10-10r23758: Fix Coverity id 385Volker Lendecke1-2/+7
(This used to be commit 4d9f627cc8081307da3f84f784602533bd20c1e6)
2007-10-10r23757: Fix Coverity id 386Volker Lendecke1-1/+5
(This used to be commit 91be38f7ab42991e04a41e91132137a834c10996)
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-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-10r23704: Add pam_pwd_expire feature as discussed on samba-technical.Lars Müller2-11/+95
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)