summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r24590: Reformatting to coding standards. Added my (C) in places it already ↵Jeremy Allison2-191/+271
should have been :-). Jeremy. (This used to be commit 41611a22ed852bb74e2ef3f45766c0580ffd3a18)
2007-10-10r24589: Refactor our vuid code so that we keep the sameJeremy Allison3-176/+245
vuid that was allocated whilst the connection is being constructed and after the connection has been set up. This is what Windows does and at least one client (and HP printer) depends on this behaviour. As it depends on the req struct not yet ported to SAMBA_3_2_0 (Volker, hint hint.... :-) I am not yet adding this to that branch, but will investigate that tomorrow. Jeremy. (This used to be commit a54f2805df92c67e74a6764568eedebe394fd500)
2007-10-10r24584: Merge all pam post-processing code (in particular all extra_data ↵Günther Deschner1-147/+179
code) into append_data(). Guenther (This used to be commit 8c56ee2c58ef5aab64292d4420947ea0a5e2766f)
2007-10-10r24583: Make sure we don't accept invalid request options.Günther Deschner1-0/+41
Thanks to Michael for his bit-magic. Guenther (This used to be commit 8a493cce98c5fcc2e498df9ef1ac0f1e3ee6a75e)
2007-10-10r24579: Merge error reporting to the end of winbindd_pam_auth().Günther Deschner1-16/+14
Guenther (This used to be commit d5bd8b1d618828fe390ca76120863316606dc250)
2007-10-10r24578: Fix build warning.Günther Deschner1-1/+1
Guenther (This used to be commit 27ecb0df792b54d167a829f23bd82c27e0731f0d)
2007-10-10r24573: Fix build without LDAP. Thanks Volker for pointing this out.Günther Deschner3-16/+13
Guenther (This used to be commit 1bae53e39f86a9b3b277578a71b906ca1cd0e4fa)
2007-10-10r24572: Allow for functions map_parameter_canonical() and is_synonym_of() toMichael Adam1-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 (This used to be commit 07dc0fecf5116b34e468bddae8b36920c492717a)
2007-10-10r24571: Only look at errno if the close call actually failedVolker Lendecke1-1/+4
Patch from Ofir Azoulay <Ofir.Azoulay@expand.com> -- thanks (This used to be commit 888e657d758173c0eb4b68059d6fb5ae45b2b2ed)
2007-10-10r24564: regenerate after pidl changes...Stefan Metzmacher12-12/+0
metze (This used to be commit ec8858c37482f0d2ac1291d9a9df00dace6944a8)
2007-10-10r24561: merge from SAMBA_4_0:Stefan Metzmacher53-1192/+1192
rename some DCERPC_ prefixes into NDR_ metze (This used to be commit 8f07b8ab658ae3d63487ca5fb20065318cdd9d0e)
2007-10-10r24558: merge from SAMBA_4_0:Stefan Metzmacher26-38/+38
rename 'dcerpc_table_' -> 'ndr_table_' metze (This used to be commit 4e5908cd596f97d3bb73bd9c0bf3d360944f7810)
2007-10-10r24552: merge from SAMBA_4_0:Stefan Metzmacher28-51/+46
rename dcerpc_interface_table -> ndr_interface_table rename dcerpc_interface_list -> ndr_interface_list and move them to libndr.h metze (This used to be commit f57d23d0f1b1c7a435f3a4ad801e58519cc92a77)
2007-10-10r24550: Attempt to fix the non-LDAP buildVolker Lendecke1-0/+4
For example host "bigboy" doesn't have it. Günther, please fix it properly and merge to 3_2_0 Thanks, Volker (This used to be commit 0d294267414b12c31afd316c39689984e5047865)
2007-10-10r24549: Fix unix_convert to return the already converted partVolker Lendecke1-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 (This used to be commit d4f442ed9b145990af4db26859663954ddd70926)
2007-10-10r24548: Fix the case-changing renamesVolker Lendecke2-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 (This used to be commit fddc9db91175bdb0b7ac6a636f8bef918bd7c1b4)
2007-10-10r24547: Fix #4897, patch from David S. Collier-Brown <davecb@spamcop.net> -- ↵Volker Lendecke1-6/+6
Thanks! (This used to be commit 4a90264d173ef5a870f2a44554c3bb9e738e98fb)
2007-10-10r24543: Apply missing portion of correction for bug 4750Derrell Lipman1-0/+5
(This used to be commit 5a83c306bb80b492a3c3d5e86b0767dc45e5c262)
2007-10-10r24541: merge from SAMBA_4_0:Stefan Metzmacher14-36/+31
rename struct dcerpc_endpoint_list/struct dcerpc_authservice_list into ndr_interface_string_array and move it to libndr.h metze (This used to be commit 9fec0d6c2ceaf66752baa5c8a34821bef2c5b833)
2007-10-10r24538: merge from SAMBA_4_0:Stefan Metzmacher15-27/+24
rename struct dcerpc_interface_call -> struct ndr_interface_call and move it to librpc/ndr/libndr.h metze (This used to be commit 24e096b3659c3070a1ce029174fba51ae59e89ad)
2007-10-10r24537: regenerate after pidl fixesStefan Metzmacher2-2/+2
metze (This used to be commit e827c7311ce9890358be145099391c6b3cee15a1)
2007-10-10r24533: merge from SAMBA_4_0:Stefan Metzmacher5-10/+15
rename dcerpc_syntax_id -> ndr_syntax_id metze (This used to be commit 7facd9bf3ffd0718bc9f9161274d18a0014f3744)
2007-10-10r24527: Add a function lp_canonicalize_parameter_with_value that turnsMichael Adam2-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 (This used to be commit 3b762ab18392fd06427957b0263262e3b8e34b9d)
2007-10-10r24526: Refactor determiniation of the index of the canonical form of aMichael Adam1-15/+35
parameter given in string representation into a function of its own (map_parameter_canonical). Michael (This used to be commit 0dfb5eee25e287c129f7d34e4d079c60d56dce59)
2007-10-10r24525: Add output of synonym information to show_parameter_list().Michael Adam1-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). (This used to be commit fd2dbae82594c6d6ab10a7318f127aea0a9a61ea)
2007-10-10r24519: Refactor printing of one parameter into a helper function of its own.Michael Adam1-30/+42
(This used to be commit 70dfe5d098b5d815e652b82fca57be0eb826f820)
2007-10-10r24513: Reformatting: eliminate trailing spaces, overly long linesMichael Adam1-69/+64
and adjust some formattings to standard. Michael (This used to be commit 00432bcd69bb1c30774af277af1dc7271380d75b)
2007-10-10r24512: Fix RAW-NOTIFYVolker Lendecke1-2/+10
With the inbuf consistency checks we have to more correctly fake the inbuf (This used to be commit 2b8ecda30fc57bb4027b7208d22d85d213074158)
2007-10-10r24510: Fix logic. Thanks to Volker for the hint!Michael Adam1-1/+1
Michael (This used to be commit ce1d7ad1acb48a254add3ddfac5f13e05b8ec646)
2007-10-10r24501: Added bcc test for reply_tcon & removed Vl's comment :-).Jeremy Allison1-6/+5
Jeremy. (This used to be commit 9d9ed41f2139051578c35f80112640cffb5f7608)
2007-10-10r24500: Add check that bcc is correct in an incoming packet.Jeremy Allison1-1/+10
Jeremy. (This used to be commit 267a0ac48d358e1bd10d92238352ca3d867a58d4)
2007-10-10r24498: More extra code into a function, reply_openerror.Jeremy Allison4-155/+96
Jeremy. (This used to be commit 43ddfb8c918bd27e2efd3b54077db815da80a53a)
2007-10-10r24497: Revert r24485 -- this needs more thoughtVolker Lendecke1-1/+1
(This used to be commit 01f701ba1ea9859b090aaf8f4ae9722c5502316c)
2007-10-10r24496: Add initial synonym handling to "net conf":Michael Adam1-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 (This used to be commit 95447dde860f54d835b3fe90d95fe60231788d1b)
2007-10-10r24495: Add a function lp_canonicalize_parameter: It takes a name of a parameterMichael Adam1-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 (This used to be commit 113ac07199aaf2271af6eba2611dad429ee4c416)
2007-10-10r24485: Even in the failure case unix_convert must pass the already convertedVolker Lendecke1-1/+1
part of the string to the caller. (This used to be commit 301ae3d68bc64c9526eb7d4458584a5ebb151137)
2007-10-10r24481: copy .bzrignore => .gitignoreStefan Metzmacher1-0/+29
metze (This used to be commit 51507a0d7674301de01e3d5b107f13834a078dc0)
2007-10-10r24476: Fix the mappings in reply_opeXXX calls. Now to test renames.Jeremy Allison2-8/+27
Jeremy. (This used to be commit 74d10b09a68f5c06d6b3ceffe0a40818dc84106e)
2007-10-10r24475: Fix the error mapping for SMB_POSIX_PATH_OPEN.Jeremy Allison1-0/+12
Jeremy. (This used to be commit 6dac315ba1d9b9582c2b573e0785b2f6d627f846)
2007-10-10r24474: Map error value NT_STATUS_OBJECT_NAME_COLLISIONJeremy Allison1-34/+24
to ERRDOS, ERRfilexists for NTCreateX and NTTransCreate. Jeremy. (This used to be commit 5b2316d1734765ef6c31ff09beea974d9629d17f)
2007-10-10r24470: Start fixing up the mapping of OBJECT_NAME_COLLISIONJeremy Allison1-1/+12
to DOS error ERRDOS, ERRfilexists on open calls. Jeremy. (This used to be commit 4674486450bbe79ec9b22bcbc23c534365d6798a)
2007-10-10r24468: Don't forget the +4 for length :-).Jeremy Allison1-2/+2
Jeremy. (This used to be commit 4d01e0b7443aa4e4d450d705df5762d801172809)
2007-10-10r24467: Do range checking on incoming smb request.Jeremy Allison1-0/+14
Jeremy. (This used to be commit dbd58dd647279def1681d88701e41d8a738c680a)
2007-10-10r24466: - Sort ACEs according to http://support.microsoft.com/kb/269175 so thatDerrell Lipman1-10/+72
Windows Explorer doesn't complain about the order (and so that they get interpreted properly). Derrell (This used to be commit 8f371e2ea97a3b58d1c7c3aa1368a0904295f681)
2007-10-10r24464: Now Volker removed the readbmpx we don't need cached errors any more.Jeremy Allison5-36/+0
Jeremy. (This used to be commit 9256ec0a20f532c7dd7ddc2d3534336a47e6c2d2)
2007-10-10r24462: - Removing all ACEs was causing removal of the DACL entirely. ↵Derrell Lipman1-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 (This used to be commit 319df380e579fd860348a8f08a584e13161dde9d)
2007-10-10r24461: Fix Bug 4852, thank to anto <sistemac@prosoft.ba> for reporting it.Volker Lendecke1-0/+14
(This used to be commit 0fecd8a0c3aaa64e137d2efd3f9cc7705837ea2a)
2007-10-10r24458: regenerate pidl output after pidl fixes:Stefan Metzmacher4-8/+8
fixes winreg_EnumValues() metze (This used to be commit cedf7022c5c61ed5eb49bb1cb24b062858f7d2fd)
2007-10-10r24457: Convert reply_tcon to the new APIVolker Lendecke2-30/+26
Jeremy, I really apologize for doing this, but I just wanted to enjoy converting the last SMB call :-) I've left one little task for you there, I'm not certain that checking the inbuf length is correct here. Volker (This used to be commit 1e08fddafda11961f8855423b29c1f8a9a6b4457)
2007-10-10r24453: Remove the read and write bmpx callsVolker Lendecke3-264/+32
Talked to both Tridge and Jeremy about this, Tridge said that there is a special error message persuading OS/2 to fall back to other methods. The calls now checked in always return the error message we used to return when "read bmpx = False" was set (the default): ERRSRV, ERRuseSTD. If someone has a reproducable test case where this is really needed, we can always dig it up from version control and convert it to the new API. But that time without that silly parameter, and with a torture test case for "make test" please :-) Volker (This used to be commit d941aae2dfd11609e807bf4ce712571a2e354627)