Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | r23727: Explicitly pass down FLAGS2 to srvstr_get_path. | Volker Lendecke | 2007-10-10 | 3 | -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 :-) | |||||
* | r23726: Explicitly pass down the FLAGS2 field to srvstr_pull_buf. The next | Volker Lendecke | 2007-10-10 | 13 | -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. | |||||
* | r23725: Remove get_current_mid() | Volker Lendecke | 2007-10-10 | 2 | -26/+33 | |
| | | | | Jeremy, next one to review :-) | |||||
* | r23724: Reduce access to the global inbuf a tiny bit. Add a struct smb_request | Volker Lendecke | 2007-10-10 | 10 | -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 | |||||
* | r23723: Alexander Larsson pointed me at a missing mapping in clierror.c | Simo Sorce | 2007-10-10 | 1 | -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 module | Volker Lendecke | 2007-10-10 | 1 | -2/+2 | |
| | ||||||
* | r23710: Remove some code duplication, we do have a random number generator | Volker Lendecke | 2007-10-10 | 1 | -7/+3 | |
| | ||||||
* | r23709: C++ warnings | Volker Lendecke | 2007-10-10 | 1 | -2/+2 | |
| | ||||||
* | r23708: - Add define for WINBIND_WARN_PWD_EXPIRE. | Lars Müller | 2007-10-10 | 2 | -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 in | Lars Müller | 2007-10-10 | 1 | -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(). | |||||
* | r23704: Add pam_pwd_expire feature as discussed on samba-technical. | Lars Müller | 2007-10-10 | 2 | -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! | |||||
* | r23694: Make sure that when builddir != srcdir, we can still find the exports | Gerald Carter | 2007-10-10 | 1 | -7/+7 | |
| | | | | | | | 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 Allison | 2007-10-10 | 1 | -3/+3 | |
| | | | | Jeremy. | |||||
* | r23691: fix for bug on touching files as described here: | Simo Sorce | 2007-10-10 | 1 | -5/+13 | |
| | | | | https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=243897 | |||||
* | r23689: Squashed commit of the following: | Gerald Carter | 2007-10-10 | 5 | -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. | |||||
* | r23688: Fix bug #4759 reported by Raul <ismell@ismell.org>. | Jeremy Allison | 2007-10-10 | 1 | -1/+1 | |
| | | | | | "N" is not a valid format entry for ber_printf, should be "n" Jeremy. | |||||
* | r23685: merge from SAMBA_4_0: | Stefan Metzmacher | 2007-10-10 | 1 | -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 Sorce | 2007-10-10 | 1 | -2/+2 | |
| | ||||||
* | r23682: Old patch I forgot in one of my 3.0.25 trees. | Simo Sorce | 2007-10-10 | 1 | -0/+16 | |
| | | | | Make sure we honour the directive not to allow machine password changes. | |||||
* | r23673: Check for integer wrap on incoming data. | Jeremy Allison | 2007-10-10 | 1 | -0/+6 | |
| | | | | Jeremy. | |||||
* | r23672: Allow msrpc_name_to_sid() to be called without a domain_name and ↵ | Günther Deschner | 2007-10-10 | 1 | -7/+9 | |
| | | | | | | just a name. Guenther | |||||
* | r23671: Remove unused code -- 16416 bytes of bss space... | Volker Lendecke | 2007-10-10 | 2 | -27/+0 | |
| | ||||||
* | r23670: Fix mkversion.sh for the git case: Only use the first line where | Volker Lendecke | 2007-10-10 | 1 | -1/+1 | |
| | | | | "commit" occurs | |||||
* | r23669: Move a variable into the only block where it is used. | Michael Adam | 2007-10-10 | 1 | -1/+1 | |
| | ||||||
* | r23668: When creating a new string value, win2k regedit delivers | Michael Adam | 2007-10-10 | 1 | -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 | |||||
* | r23667: Prevent storing of forbidden parameter names in registry | Michael Adam | 2007-10-10 | 1 | -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 | |||||
* | r23666: Rename lp_parameter_valid -> lp_parameter_is_valid. | Michael Adam | 2007-10-10 | 2 | -2/+2 | |
| | | | | Michael | |||||
* | r23665: Remove two unneeded global variables | Volker Lendecke | 2007-10-10 | 2 | -14/+7 | |
| | ||||||
* | r23664: Fix incorrect index - should be j not i. How did we ever | Jeremy Allison | 2007-10-10 | 1 | -1/+1 | |
| | | | | | live without valgrind :-). Jeremy. | |||||
* | r23663: Fix bug #4308 - Excel save operation corrupts file ACLs. | Jeremy Allison | 2007-10-10 | 1 | -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. | |||||
* | r23662: According to simo, check_dos_char is needed | Volker Lendecke | 2007-10-10 | 4 | -1/+96 | |
| | ||||||
* | r23661: Another static pstring | Volker Lendecke | 2007-10-10 | 1 | -10/+15 | |
| | ||||||
* | r23660: Anybody know what check_dos_char() was used for? It wasn't called at | Volker Lendecke | 2007-10-10 | 4 | -96/+1 | |
| | | | | all, so it's gone. With it 8k bss went away. | |||||
* | r23659: file_pload is not used outside of util_file.c | Volker Lendecke | 2007-10-10 | 1 | -1/+1 | |
| | ||||||
* | r23658: One pstring a day.... | Volker Lendecke | 2007-10-10 | 1 | -16/+39 | |
| | | | | | This one was particularly tasty, it was a static one. So 1k less footprint per process. | |||||
* | r23657: Prevent setting of a global option in a share definition | Michael Adam | 2007-10-10 | 2 | -1/+28 | |
| | | | | | | in "net conf setparm". Michael | |||||
* | r23656: Add initial checking of the validity of a paramter | Michael Adam | 2007-10-10 | 2 | -0/+26 | |
| | | | | | | | given to "net conf setparm". Add a utility function lp_parameter_valid() for this to loadparm.c. Michael | |||||
* | r23655: Fix a comment and adjust some code formatting. | Michael Adam | 2007-10-10 | 1 | -2/+3 | |
| | | | | Michael | |||||
* | r23654: Remove misleading inline comment. | Günther Deschner | 2007-10-10 | 1 | -4/+2 | |
| | | | | Guenther | |||||
* | r23652: Use the recursive delete function instead of the original one | Michael Adam | 2007-10-10 | 1 | -1/+1 | |
| | | | | | | when deleting a share. Just to be sure... Michael | |||||
* | r23651: Always, always, always compile before commit... | Günther Deschner | 2007-10-10 | 2 | -2/+2 | |
| | | | | Guenther | |||||
* | r23650: Fix remaining callers of krb5_kt_default(). | Günther Deschner | 2007-10-10 | 2 | -6/+7 | |
| | | | | Guenther | |||||
* | r23649: Fix the build (by moving smb_krb5_open_keytab() to clikrb5.c). | Günther Deschner | 2007-10-10 | 2 | -138/+138 | |
| | | | | Guenther | |||||
* | r23648: Allow to list a custom krb5 keytab file with: | Günther Deschner | 2007-10-10 | 2 | -5/+12 | |
| | | | | | | net ads keytab list /path/to/krb5.keytab Guenther | |||||
* | r23647: Use smb_krb5_open_keytab() in smbd as well. | Günther Deschner | 2007-10-10 | 1 | -2/+2 | |
| | | | | Guenther | |||||
* | r23646: Generalize our internal keytab handling to support a broader range ↵ | Günther Deschner | 2007-10-10 | 2 | -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 | |||||
* | r23641: Put check for forbidden values in smbconf into a function. | Michael Adam | 2007-10-10 | 2 | -4/+23 | |
| | | | | | | | (This will be used in a next step to prevent storing these values in reg_smbconf.c.) Michael | |||||
* | r23640: When we support the SeSecurity privilage, this is where | Jeremy Allison | 2007-10-10 | 1 | -0/+21 | |
| | | | | | we'll check it. Jeremy. | |||||
* | r23639: Eliminate trailing whitespaces in the new tdb_validate functions... | Michael Adam | 2007-10-10 | 1 | -8/+7 | |
| | | | | Michael | |||||
* | r23633: Fix a couple of crash bugs pointed out by Volker caused by an old | Gerald Carter | 2007-10-10 | 1 | -1/+6 | |
| | | | | change from a pstring to a char* and still trying use pstrcpy(). |