summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r23668: When creating a new string value, win2k regedit deliversMichael Adam1-8/+22
one byte of data despite characters being two-byte. This modifies registry_pull_value, to change the data to the correct two-byte version of the empty string, (as delivered by winxp), when only one byte of data is received. Michael (This used to be commit a4c2b20296d6853cd1578601f17330cde75c4038)
2007-10-10r23667: Prevent storing of forbidden parameter names in registryMichael Adam1-0/+13
configuration as values. I would really like to check whether the valuename is a valid parameter name (with lp_parameter_is_valid) here, but unfortunately, regedit cereates new values as "New Value #1" (and so on) first, before dropping into the rename box. So this is impossible here. Michael (This used to be commit 10014833da868289ae28db2e7c1edfd353ca7b2b)
2007-10-10r23666: Rename lp_parameter_valid -> lp_parameter_is_valid.Michael Adam2-2/+2
Michael (This used to be commit 7f85cff49dfe1ae90e37162d35f1a48baaa9fe79)
2007-10-10r23665: Remove two unneeded global variablesVolker Lendecke2-14/+7
(This used to be commit 51a3933b3d367e3693daa6842f5a286328f4fd39)
2007-10-10r23664: Fix incorrect index - should be j not i. How did we everJeremy Allison1-1/+1
live without valgrind :-). Jeremy. (This used to be commit 9b231149c78c8bbfb70c5675cffb652705ba2cd2)
2007-10-10r23663: Fix bug #4308 - Excel save operation corrupts file ACLs.Jeremy Allison1-28/+255
You don't want to know what I discovered about Windows ACLs to make this work :-(. See : http://www.codeproject.com/win32/accessctrl2.asp Search for "Q. How does Inheritance come into this?" for details. Jeremy. (This used to be commit e1d3a80d2bff2e3540637fd741fc149eeca5fb9d)
2007-10-10r23662: According to simo, check_dos_char is neededVolker Lendecke4-1/+96
(This used to be commit c195eccefea69c17169c350a13bbfe845fc6fc44)
2007-10-10r23661: Another static pstringVolker Lendecke1-10/+15
(This used to be commit d4256ae5588fddc62bf90082d24140e327a54c8c)
2007-10-10r23660: Anybody know what check_dos_char() was used for? It wasn't called atVolker Lendecke4-96/+1
all, so it's gone. With it 8k bss went away. (This used to be commit 7e9a4c39a5ce620f8eac74d0ae4dd80b96c81aca)
2007-10-10r23659: file_pload is not used outside of util_file.cVolker Lendecke1-1/+1
(This used to be commit 3ec43e18a4ffc46700de484251ea0bb2a18cde78)
2007-10-10r23658: One pstring a day....Volker Lendecke1-16/+39
This one was particularly tasty, it was a static one. So 1k less footprint per process. (This used to be commit 83865e32889e2d29086ae9d9701713fc74b09175)
2007-10-10r23657: Prevent setting of a global option in a share definitionMichael Adam2-1/+28
in "net conf setparm". Michael (This used to be commit bf92d567984f00ebb998fb2485d0aac87d30b924)
2007-10-10r23656: Add initial checking of the validity of a paramterMichael Adam2-0/+26
given to "net conf setparm". Add a utility function lp_parameter_valid() for this to loadparm.c. Michael (This used to be commit 639051e58d4da9fb1116c19f0790250640b6ac7a)
2007-10-10r23655: Fix a comment and adjust some code formatting.Michael Adam1-2/+3
Michael (This used to be commit b294bc707c2a7ef3ff5efcac1d5ea6f3d80f5a70)
2007-10-10r23654: Remove misleading inline comment.Günther Deschner1-4/+2
Guenther (This used to be commit a3441c22b342e2802bd9766b7046073db3895a29)
2007-10-10r23652: Use the recursive delete function instead of the original oneMichael Adam1-1/+1
when deleting a share. Just to be sure... Michael (This used to be commit 91770e153d7dd87d5e4f0516c297812091ba5b5a)
2007-10-10r23651: Always, always, always compile before commit...Günther Deschner2-2/+2
Guenther (This used to be commit accb40446ad3f872c5167fc2306d892553293b7b)
2007-10-10r23650: Fix remaining callers of krb5_kt_default().Günther Deschner2-6/+7
Guenther (This used to be commit b9d7a2962a472afb0c6b8e3ac5c2c819d4af2b39)
2007-10-10r23649: Fix the build (by moving smb_krb5_open_keytab() to clikrb5.c).Günther Deschner2-138/+138
Guenther (This used to be commit 19020d19dca7f34be92c8c2ec49ae7dbde60f8c1)
2007-10-10r23648: Allow to list a custom krb5 keytab file with:Günther Deschner2-5/+12
net ads keytab list /path/to/krb5.keytab Guenther (This used to be commit a2befee3f240543ea02ea99cebad886b54ae64eb)
2007-10-10r23647: Use smb_krb5_open_keytab() in smbd as well.Günther Deschner1-2/+2
Guenther (This used to be commit d22c0d291e1b4a1412164d257310bbbb99de6500)
2007-10-10r23646: Generalize our internal keytab handling to support a broader range ↵Günther Deschner2-47/+144
of default keytabnames (like "ANY:FILE:/etc/krb5.keytab,krb4:/etc/srvtab"). This also fixes keytab support with Heimdal (which supports the WRFILE pragma as well now). Guenther (This used to be commit 7ca002f4cc9ec4139c0c48952ebf05f89b5795ef)
2007-10-10r23645: add examples and try to answer some common questions in the coding ↵Gerald Carter1-6/+134
style guide (This used to be commit c955151bb384c3edba3f2f17f1ebb7029b61d36c)