summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* r24602: Add function lp_string_is_valid_boolean() to check if a stringMichael Adam2007-08-211-2/+18
| | | | | | | | | contains a correct representation of a boolean value (in the understanding of loadparm.c). Make set_boolean() catch passing NULL for the boolean target. Michael
* r24601: Fix if statements where we still expected cli_connect() to return BOOL.Lars Müller2007-08-212-2/+2
|
* r24600: patch from Karolin Seeger <ks@sernet.de>:Stefan Metzmacher2007-08-213-5/+18
| | | | | | | | | | smbd, nmbd and winbindd can be started with invalid options currently. The first patch attached would be a possible solution. It contains an exit if an invalid option has been used. The main problem is, that existing setups with wrong options or missing arguments in start scripts will break (which is the right behaviour from my point of view). metze
* r24598: - talloc request structure for the samba3 server bindingsStefan Metzmacher2007-08-2112-7435/+9997
| | | | | | | | | and make that the primary context for the request which the implementations can also use. - go via functions pointers in the ndr_interface_table instead of calling functions directly. metze
* r24595: Fix Coverity ID 393Volker Lendecke2007-08-211-2/+1
| | | | In this error case we would have used "start" not having it initialized
* r24593: pass down the ndr_interface_table in the samba3 client bindingsStefan Metzmacher2007-08-2113-371/+376
| | | | | | instead of the pull and push functions metze
* r24584: Merge all pam post-processing code (in particular all extra_data ↵Günther Deschner2007-08-201-147/+179
| | | | | | | | code) into append_data(). Guenther
* r24583: Make sure we don't accept invalid request options.Günther Deschner2007-08-201-0/+41
| | | | | | Thanks to Michael for his bit-magic. Guenther
* r24581: Fix the buildVolker Lendecke2007-08-202-2/+2
|
* r24579: Merge error reporting to the end of winbindd_pam_auth().Günther Deschner2007-08-201-16/+14
| | | | Guenther
* r24578: Fix build warning.Günther Deschner2007-08-201-1/+1
| | | | Guenther
* r24573: Fix build without LDAP. Thanks Volker for pointing this out.Günther Deschner2007-08-202-12/+13
| | | | Guenther
* r24572: Allow for functions map_parameter_canonical() and is_synonym_of() toMichael Adam2007-08-201-11/+33
| | | | | | | | | be called with inverse == NULL. Add a new function lp_parameter_is_canonical() to check whether a parameter name is the canonical name (as apposed to an alias). Michael
* r24571: Only look at errno if the close call actually failedVolker Lendecke2007-08-201-1/+4
| | | | Patch from Ofir Azoulay <Ofir.Azoulay@expand.com> -- thanks
* r24565: regenerate after pidl changes...Stefan Metzmacher2007-08-1912-12/+0
| | | | metze
* r24562: merge from SAMBA_4_0:Stefan Metzmacher2007-08-1953-1192/+1192
| | | | | | rename some DCERPC_ prefixes into NDR_ metze
* r24559: merge from SAMBA_4_0:Stefan Metzmacher2007-08-1926-38/+38
| | | | | | rename 'dcerpc_table_' -> 'ndr_table_' metze
* r24553: merge from SAMBA_4_0:Stefan Metzmacher2007-08-1928-51/+46
| | | | | | | | | rename dcerpc_interface_table -> ndr_interface_table rename dcerpc_interface_list -> ndr_interface_list and move them to libndr.h metze
* r24549: Fix unix_convert to return the already converted partVolker Lendecke2007-08-191-4/+10
| | | | | | | | | | This API will change anyway when moving away from pstrings. It took so long to fix, because that rename bug I just fixed gave make test failures that had nothing to do with this one. I have samba4 tests for both bugs, will check them in when the build farm has caught up
* r24548: Fix the case-changing renamesVolker Lendecke2007-08-192-15/+29
| | | | | This was broken when I changed reply_mv to wrap in a open_file_ntcreate call, unix_convert on the destination was called twice
* r24547: Fix #4897, patch from David S. Collier-Brown <davecb@spamcop.net> -- ↵Volker Lendecke2007-08-191-6/+6
| | | | Thanks!
* r24546: Fix some C++ and type-punned warningsVolker Lendecke2007-08-196-34/+67
|
* r24544: Apply missing portion of correction for bug 4750Derrell Lipman2007-08-181-0/+5
|
* r24542: merge from SAMBA_4_0:Stefan Metzmacher2007-08-1814-36/+31
| | | | | | | rename struct dcerpc_endpoint_list/struct dcerpc_authservice_list into ndr_interface_string_array and move it to libndr.h metze
* r24539: merge from SAMBA_4_0:Stefan Metzmacher2007-08-1815-27/+24
| | | | | | | rename struct dcerpc_interface_call -> struct ndr_interface_call and move it to librpc/ndr/libndr.h metze
* r24536: regenerate after pidl fixesStefan Metzmacher2007-08-182-2/+2
| | | | metze
* r24534: merge from SAMBA_4_0:Stefan Metzmacher2007-08-185-10/+15
| | | | | | rename dcerpc_syntax_id -> ndr_syntax_id metze
* r24527: Add a function lp_canonicalize_parameter_with_value that turnsMichael Adam2007-08-172-33/+55
| | | | | | | | | a parameter and value into the canonical paramter with the value inverted if it was in invers boolean synonym. Make net conf use this function when storing parameters. Michael
* r24526: Refactor determiniation of the index of the canonical form of aMichael Adam2007-08-171-15/+35
| | | | | | | parameter given in string representation into a function of its own (map_parameter_canonical). Michael
* r24525: Add output of synonym information to show_parameter_list().Michael Adam2007-08-171-8/+52
| | | | | | | | | | | | Also simplify lp_canonicalize_parameter by making use of the new function "is_synonym_of". Michael Note: If anything depends on the exact former output format of show_parameter list, I would trigger the output of synonym information by a boolean verbose switch (that could be passed to testparm via the "-v" command line switch).
* r24519: Refactor printing of one parameter into a helper function of its own.Michael Adam2007-08-171-30/+42
|
* r24513: Reformatting: eliminate trailing spaces, overly long linesMichael Adam2007-08-171-69/+64
| | | | | | and adjust some formattings to standard. Michael
* r24510: Fix logic. Thanks to Volker for the hint!Michael Adam2007-08-171-1/+1
| | | | Michael
* r24499: Move the checks for DOS error codes on open to a function.Jeremy Allison2007-08-165-95/+29
| | | | Jeremy.
* r24497: Revert r24485 -- this needs more thoughtVolker Lendecke2007-08-161-1/+1
|
* r24496: Add initial synonym handling to "net conf":Michael Adam2007-08-161-11/+45
| | | | | | | | | | | | | | | When storing parameters in the smbconf portion of the registry, up to now, synonyms could be misused to store a parameter twice. Now this is prevented by canonicalizing the paramter name first. Also, the value for a boolean parameter checked for validity before storing the bool in registry. (The canonicalization should finally go into the registry smbconf code to also prevent e.g. "regedit" or "net rpc registry" from storing synonyms. - This is in the making.) Michael
* r24495: Add a function lp_canonicalize_parameter: It takes a name of a parameterMichael Adam2007-08-161-0/+108
| | | | | | | | | | | | and produces the "canonical" (or main) name of the parameter (the one synonym that does not have the flag FLAG_HIDE). The function also sets a flag as to whether the synonym is a reverse boolean synonym. Add some functions for the handling of string representations of boolean values: return the canonical string representation of a bool, invert a bool given as a string, canonicalize a bool given as a string. Michael
* r24485: Even in the failure case unix_convert must pass the already convertedVolker Lendecke2007-08-161-1/+1
| | | | part of the string to the caller.
* r24476: Fix the mappings in reply_opeXXX calls. Now to test renames.Jeremy Allison2007-08-161-0/+30
| | | | Jeremy.
* r24475: Fix the error mapping for SMB_POSIX_PATH_OPEN.Jeremy Allison2007-08-161-0/+11
| | | | Jeremy.
* r24474: Map error value NT_STATUS_OBJECT_NAME_COLLISIONJeremy Allison2007-08-151-47/+50
| | | | | to ERRDOS, ERRfilexists for NTCreateX and NTTransCreate. Jeremy.
* r24472: Start fixing up the mapping of OBJECT_NAME_COLLISIONJeremy Allison2007-08-151-1/+11
| | | | | to DOS error ERRDOS, ERRfilexists on open calls. Jeremy.
* r24471: Revert inadvertant commit.Jeremy Allison2007-08-153-313/+49
| | | | Jeremy.
* r24470: Start fixing up the mapping of OBJECT_NAME_COLLISIONJeremy Allison2007-08-153-49/+313
| | | | | to DOS error ERRDOS, ERRfilexists on open calls. Jeremy.
* r24465: - Sort ACEs according to http://support.microsoft.com/kb/269175 so thatDerrell Lipman2007-08-151-10/+72
| | | | | | | Windows Explorer doesn't complain about the order (and so that they get interpreted properly). Derrell
* r24461: Fix Bug 4852, thank to anto <sistemac@prosoft.ba> for reporting it.Volker Lendecke2007-08-151-0/+10
|
* r24460: - Removing all ACEs was causing removal of the DACL entirely. ↵Derrell Lipman2007-08-151-4/+0
| | | | | | | | | | | | | | | Win2000 ignored the request, presumably due to the PROTECTED flag not being set. Setting that flag (in make_sec_desc()) has much wider implications than just to libsmbclient, so instead of modifying that, we'll remove security descriptors by setting the number of ACEs to zero. At some point, we might want to look into whether we should actually be setting the PROTECTED flag in the DACL. Reference http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/distrib/dsce_ctl_qxju.mspx?mfr=true Derrell
* r24456: regenerate pidl output after pidl fixes:Stefan Metzmacher2007-08-154-8/+8
| | | | | | fixes winreg_EnumValues() metze
* r24455: make librpc/table.pl executableStefan Metzmacher2007-08-151-0/+0
| | | | metze
* r24451: merge from SAMBA_4_0:Stefan Metzmacher2007-08-151-2/+2
| | | | | | | | | | length_is() isn't supported without size_is(). I assume what we need is an array of strings, so the code isn't used and broken anyway without a testsuite...just get rid of the pidl warning metze