summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* r23770: Some minor cleanups in libgpo Günther Deschner2007-07-094-131/+184
| | | | | | (including some valgrind errors, uninitialized vars, etc.) Guenther
* r23769: Move removal of the tdb from the generic tdb_validate functionMichael Adam2007-07-092-6/+6
| | | | | | | to the caller (winbindd_validate_cache in this case). Next, there will be a backup handling for the tdb files. Michael
* r23767: Add GTYPE_SECURITY_UNIVERSAL_GROUP to adsearch.pl as well.Günther Deschner2007-07-091-0/+1
| | | | Guenther
* r23766: Add GTYPE_SECURITY_UNIVERSAL_GROUP define.Günther Deschner2007-07-091-0/+5
| | | | Guenther
* r23765: Another error-path restore_case_semantics().Volker Lendecke2007-07-091-0/+1
|
* r23764: Do restore_case_semantics in an error path. Jeremy, please check!Volker Lendecke2007-07-091-0/+1
|
* r23763: Fix a typo in DEBUG message.Michael Adam2007-07-091-1/+1
| | | | Thanks to Karolin Seeger (ks@sernet.de)
* r23761: Rename reduce_name to check_reduced_nameVolker Lendecke2007-07-094-5/+5
| | | | | The function name reduce_name is misleading, making the user believe it changes an argument.
* r23760: Untangle use of strrchr_m and strequal and add some checksMichael Adam2007-07-091-2/+11
| | | | | | for the validity of the given registry key name. Michael
* r23759: Fix make test -- sorryVolker Lendecke2007-07-091-2/+2
|
* r23758: Fix Coverity id 385Volker Lendecke2007-07-091-2/+7
|
* r23757: Fix Coverity id 386Volker Lendecke2007-07-091-1/+5
|
* r23756: Fix Coverity id 388Volker Lendecke2007-07-091-0/+1
|
* r23755: Fix Coverity id 384Volker Lendecke2007-07-091-1/+7
|
* r23752: Fix bug introduced by checkin 22920, allow largeJeremy Allison2007-07-091-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.
* r23751: Call tdb_close even when validation was not successful.Michael Adam2007-07-081-9/+1
| | | | Michael
* r23750: Change the behaviour of net conf import when there is a global sectionMichael Adam2007-07-071-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.
* r23749: Simplify prototype of reg_setvalue_internal:Michael Adam2007-07-071-22/+9
| | | | | | eliminate "type" parameter since we store only REG_SZ. Michael
* r23748: Clean use of talloc in import_process_service:Michael Adam2007-07-071-4/+13
| | | | | | create a temporary talloc ctx for the function. Michael
* r23747: Move formatting of a parameter's value into a value string Michael Adam2007-07-071-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
* r23746: Fix missing assignments to target string of asprintf in import function.Michael Adam2007-07-071-2/+2
| | | | Michael
* r23745: Fix: Check whether top subkeyname instead of whole registry key nameMichael Adam2007-07-071-2/+3
| | | | | | is equal to GLOBAL_NAME. Michael
* r23744: Remove TODO-comment. lp_load returns False if openingMichael Adam2007-07-071-2/+0
| | | | | | | of the config file fails. That's enough of checking for existence and readbility to my taste. Michael
* r23743: Simplify stat_cache_lookup() logic. For the history of this, seeVolker Lendecke2007-07-071-68/+76
| | | | http://article.gmane.org/gmane.network.samba.internals/32486.
* r23742: Merge Jeremy's r23736:Volker Lendecke2007-07-071-14/+16
| | | | Use local variable of smb_flag2 instead of using the macro every time.
* r23741: Combined merge of 23726, 23727 and 23731 from 3_0:Volker Lendecke2007-07-0713-94/+207
| | | | | | | | | | | | | | | | | | | | | 23726: Explicitly pass down the FLAGS2 field to srvstr_pull_buf. The next 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. 23731: Explicitly pass down FLAGS2 to srvstr_get_path. 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 23731: Forgot one reference to inbuf
* r23740: Merge r23725 from 3_0:Volker Lendecke2007-07-072-26/+33
| | | | Remove get_current_mid()
* r23739: Merge r23724 from 3_0 without the accidential checkin:Volker Lendecke2007-07-0710-102/+211
| | | | | | | | Reduce access to the global inbuf a tiny bit. Add a struct smb_request 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.
* r23735: Second part of the bugfix for #4763Jeremy Allison2007-07-061-1/+21
| | | | | | This should coalesce identical adjacent notify records - making the "too large" bug very rare indeed. Please test. Jeremy.
* r23733: Limit LDAP lookup in lookup_usergroups_member() to security groups.Lars Müller2007-07-061-1/+6
| | | | Credits to Ralf Haferkamp for the discussion and help on this.
* r23732: removed reference to non-existent structureHerb Lewis2007-07-061-2/+0
|
* r23729: Squashed commit of the following:Gerald Carter2007-07-052-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.
* r23728: First part of bugfix for #4763. Limit notify responsesJeremy Allison2007-07-051-0/+12
| | | | | to client max buf size. Jeremy.
* r23723: Alexander Larsson pointed me at a missing mapping in clierror.cSimo Sorce2007-07-051-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.
* r23722: Fix the build of the catia moduleVolker Lendecke2007-07-051-2/+2
|
* r23710: Remove some code duplication, we do have a random number generatorVolker Lendecke2007-07-041-7/+3
|
* r23709: C++ warningsVolker Lendecke2007-07-041-2/+2
|
* r23708: - Add define for WINBIND_WARN_PWD_EXPIRE.Lars Müller2007-07-042-2/+12
| | | | | - Add parameter config_flag to get_config_item_int() and do the same check as in get_conf_item_string.
* r23707: - Move the asprintf() call to create the key even inLars Müller2007-07-041-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().
* r23705: Add suggestion for vim from Andreas 'GlaDiaC' Schneider to show tabs,Lars Müller2007-07-041-1/+2
| | | | trailing whitespace, and continued lines visually.
* r23704: Add pam_pwd_expire feature as discussed on samba-technical.Lars Müller2007-07-043-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!
* r23694: Make sure that when builddir != srcdir, we can still find the exports Gerald Carter2007-07-041-6/+6
| | | | | | | files and library-versions file. Also move the "-o $@" from the individual targets and into the SHLD_DSO command.
* r23692: Couldn't wait, sorry :-). Did the style change.Jeremy Allison2007-07-031-3/+3
| | | | Jeremy.
* r23691: fix for bug on touching files as described here:Simo Sorce2007-07-031-5/+13
| | | | https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=243897
* r23690: Squashed commit of the following:Gerald Carter2007-07-035-16/+42
| | | | | | | | | | | | | | 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.
* r23688: Fix bug #4759 reported by Raul <ismell@ismell.org>.Jeremy Allison2007-07-031-1/+1
| | | | | "N" is not a valid format entry for ber_printf, should be "n" Jeremy.
* r23686: merge from SAMBA_4_0:Stefan Metzmacher2007-07-031-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
* r23683: Check ports are in the correct range (1-65535)Simo Sorce2007-07-031-2/+2
|
* r23682: Old patch I forgot in one of my 3.0.25 trees.Simo Sorce2007-07-031-0/+16
| | | | Make sure we honour the directive not to allow machine password changes.
* r23673: Check for integer wrap on incoming data.Jeremy Allison2007-07-021-0/+6
| | | | Jeremy.