1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

22622 Commits

Author SHA1 Message Date
Jeremy Allison
2c713978a0 r23778: Change to GPLv3. Now to go through all internal source
and headers. Probably will be a long day.... :-).
Jeremy.
2007-10-10 12:28:19 -05:00
Gerald Carter
4ff00a74f6 r23777: Set template release note files 2007-10-10 12:28:19 -05:00
Gerald Carter
240b19c8ca r23776: Setting version in 3.2 branch to 3.2.1pre1-SVN
Setting version in 3.2.0 branch to 3.2.0pre1-SVN
2007-10-10 12:28:18 -05:00
Volker Lendecke
0c3016d32b r23773: One pstring a day... 2007-10-10 12:23:55 -05:00
Günther Deschner
6fafa64bea r23772: Add ads_find_samaccount() helper function.
Guenther
2007-10-10 12:23:55 -05:00
Günther Deschner
31d689b248 r23771: Merge useful W_ERROR_NOT_OK_RETURN macro from samba4.
Guenther
2007-10-10 12:23:55 -05:00
Günther Deschner
1a2878db2d r23770: Some minor cleanups in libgpo
(including some valgrind errors, uninitialized vars, etc.)

Guenther
2007-10-10 12:23:55 -05:00
Michael Adam
821bc84109 r23769: Move removal of the tdb from the generic tdb_validate function
to the caller (winbindd_validate_cache in this case).
Next, there will be a backup handling for the tdb files.

Michael
2007-10-10 12:23:55 -05:00
Volker Lendecke
6e655500c0 r23768: Get rid of the three global variables for the case semantics. I think
this is really not worth globals.

Jeremy, please check for 3.0.26.
2007-10-10 12:23:55 -05:00
Günther Deschner
9535866f6f r23767: Add GTYPE_SECURITY_UNIVERSAL_GROUP to adsearch.pl as well.
Guenther
2007-10-10 12:23:54 -05:00
Günther Deschner
964acb2716 r23766: Add GTYPE_SECURITY_UNIVERSAL_GROUP define.
Guenther
2007-10-10 12:23:54 -05:00
Volker Lendecke
a3e5fe1693 r23765: Another error-path restore_case_semantics(). 2007-10-10 12:23:54 -05:00
Volker Lendecke
3b5422c9a4 r23764: Do restore_case_semantics in an error path. Jeremy, please check! 2007-10-10 12:23:54 -05:00
Michael Adam
0ae6ae4ee8 r23763: Fix a typo in DEBUG message.
Thanks to Karolin Seeger (ks@sernet.de)
2007-10-10 12:23:53 -05:00
Volker Lendecke
68234f0bc6 r23761: Rename reduce_name to check_reduced_name
The function name reduce_name is misleading, making the user believe it
changes an argument.
2007-10-10 12:23:53 -05:00
Michael Adam
4b4ba7724e r23760: Untangle use of strrchr_m and strequal and add some checks
for the validity of the given registry key name.

Michael
2007-10-10 12:23:53 -05:00
Volker Lendecke
cbbc70604e r23759: Fix make test -- sorry 2007-10-10 12:23:53 -05:00
Volker Lendecke
4d9f627cc8 r23758: Fix Coverity id 385 2007-10-10 12:23:53 -05:00
Volker Lendecke
91be38f7ab r23757: Fix Coverity id 386 2007-10-10 12:23:53 -05:00
Volker Lendecke
91af086823 r23756: Fix Coverity id 388 2007-10-10 12:23:52 -05:00
Volker Lendecke
ebb410ca1e r23755: Fix Coverity id 384 2007-10-10 12:23:52 -05:00
Jeremy Allison
af715c602a r23752: Fix bug introduced by checkin 22920, allow large
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.
2007-10-10 12:23:52 -05:00
Michael Adam
b68856d990 r23751: Call tdb_close even when validation was not successful.
Michael
2007-10-10 12:23:52 -05:00
Michael Adam
ec21a0cf9f r23750: Change the behaviour of net conf import when there is a global section
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.
2007-10-10 12:23:52 -05:00
Michael Adam
65ce463317 r23749: Simplify prototype of reg_setvalue_internal:
eliminate "type" parameter since we store only REG_SZ.

Michael
2007-10-10 12:23:52 -05:00
Michael Adam
39df7faaa9 r23748: Clean use of talloc in import_process_service:
create a temporary talloc ctx for the function.

Michael
2007-10-10 12:23:51 -05:00
Michael Adam
76f4f224aa r23747: Move formatting of a parameter's value into a value string
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
2007-10-10 12:23:51 -05:00
Michael Adam
6b1bf7c1f4 r23746: Fix missing assignments to target string of asprintf in import function.
Michael
2007-10-10 12:23:51 -05:00
Michael Adam
fdcdcacf0a r23745: Fix: Check whether top subkeyname instead of whole registry key name
is equal to GLOBAL_NAME.

Michael
2007-10-10 12:23:51 -05:00
Michael Adam
204f4f1a94 r23744: Remove TODO-comment. lp_load returns False if opening
of the config file fails. That's enough of checking for
existence and readbility to my taste.

Michael
2007-10-10 12:23:51 -05:00
Volker Lendecke
e5e42fe3d5 r23743: Simplify stat_cache_lookup() logic. For the history of this, see
http://article.gmane.org/gmane.network.samba.internals/32486.
2007-10-10 12:23:51 -05:00
Volker Lendecke
c38c31afb7 r23738: Re-add commented out code snipped that got lost by accident 2007-10-10 12:23:50 -05:00
Jeremy Allison
9e1663b1f1 r23736: Use local variable of smb_flag2 instead of using the macro every time.
Jeremy.
2007-10-10 12:23:50 -05:00
Jeremy Allison
1aaa1f5bbe r23735: Second part of the bugfix for #4763
This should coalesce identical adjacent notify records - making the "too large"
bug very rare indeed. Please test.
Jeremy.
2007-10-10 12:23:50 -05:00
Lars Müller
5be96d09a7 r23733: Limit LDAP lookup in lookup_usergroups_member() to security groups.
Credits to Ralf Haferkamp for the discussion and help on this.
2007-10-10 12:23:50 -05:00
Herb Lewis
4c04059f7d r23732: removed reference to non-existent structure 2007-10-10 12:23:50 -05:00
Volker Lendecke
b02115f2ca r23731: Forgot one reference to inbuf 2007-10-10 12:23:50 -05:00
Gerald Carter
dfb89dfcaa r23730: Squashed commit of the following:
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.
2007-10-10 12:23:49 -05:00
Jeremy Allison
6113f56919 r23728: First part of bugfix for #4763. Limit notify responses
to client max buf size.
Jeremy.
2007-10-10 12:23:49 -05:00
Volker Lendecke
18078b9faa r23727: 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

Jeremy, last one for today to reviw :-)
2007-10-10 12:23:49 -05:00
Volker Lendecke
836782b07b r23726: 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.
2007-10-10 12:23:49 -05:00
Volker Lendecke
a50555dda7 r23725: Remove get_current_mid()
Jeremy, next one to review :-)
2007-10-10 12:23:49 -05:00
Volker Lendecke
ca988f4e79 r23724: 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.

Jeremy, I'm only checking this into 3_0, please review before I merge it
to _26.

Volker
2007-10-10 12:23:48 -05:00
Simo Sorce
b35038fa4e r23723: Alexander Larsson pointed me at a missing mapping in clierror.c
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.
2007-10-10 12:23:48 -05:00
Volker Lendecke
fa09744cce r23722: Fix the build of the catia module 2007-10-10 12:23:48 -05:00
Michael Adam
b3e5082e10 r23714: but now:
This script allows for adding lists of users (or other objects)
to lists of groups (or aliases). Useful for creating large test
scenarios.

Michael
2007-10-10 12:23:48 -05:00
Michael Adam
ae23e6d04b r23713: Oops accidentially checked in the wrong file - sorry!
Michael
2007-10-10 12:23:48 -05:00
Michael Adam
0c03c78af8 r23712: This script allows for adding lists of users (or other objects)
to lists of groups (or aliases). Useful for creating large test
scenarios.

Michael
2007-10-10 12:23:47 -05:00
Michael Adam
26349c0b17 r23711: Refactor the actual creation of object into its own small function.
Michael
2007-10-10 12:23:47 -05:00
Volker Lendecke
afd7febd98 r23710: Remove some code duplication, we do have a random number generator 2007-10-10 12:23:47 -05:00