summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r24450: merge from SAMBA_4_0:Stefan Metzmacher1-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 (This used to be commit a3fd68d48582865923e18e8412ac7dca7f725c64)
2007-10-10r24445: Convert SMBwritebraw. No test suite unfortunately.... I need to ↵Jeremy Allison2-62/+151
write one for this. Jeremy (This used to be commit edc17dfcbd21cccaffb76f4ae67fe4b06520f1a9)
2007-10-10r24444: Convert reply_find[n]close to the new APIVolker Lendecke2-15/+27
(This used to be commit 6af85953465789594342f2d199ef5d29462cf34f)
2007-10-10r24443: Convert reply_search/fclose to the new APIVolker Lendecke2-61/+99
(This used to be commit a8a33c377e38046b4103cf1d59032b97ab6bac9a)
2007-10-10r24442: Convert reply_copy to the new APIVolker Lendecke2-39/+85
(This used to be commit 0cb00c54750837ab2d2dc12e4947fedb7d38e878)
2007-10-10r24441: Convert reply_ioctl to the new APIVolker Lendecke2-21/+37
(This used to be commit a5af7ebb7f1d869659fbab187652e68ec4fafbb8)
2007-10-10r24440: Convert the reply_sendXX functions to the new APIVolker Lendecke2-35/+35
(This used to be commit a64bc31098de8694b79eeafd3a226cf519700707)
2007-10-10r24439: Convert reply_get/setattrE to the new APIVolker Lendecke2-27/+52
(This used to be commit 6b0ad071d85ddd8fbf24386db11688bde49baf81)
2007-10-10r24438: Use dump_data_pw() instead of dump_data() on sensitive data in winbindd.Günther Deschner3-15/+8
Guenther (This used to be commit adaa5e423dd022e3dc2cbe657146f3978fb59de3)
2007-10-10r24437: Remove "done" in winbindd_raw_kerberos_login() as well.Günther Deschner1-6/+2
Guenther (This used to be commit 44c10bbe9477fc9e731f319e62c1358a7497e316)
2007-10-10r24436: Convert reply_lockread/writeunlock to the new APIVolker Lendecke2-42/+80
(This used to be commit 1b6add251ca1db565a03407db30884132dd93e7d)
2007-10-10r24435: Fix typo.Günther Deschner1-1/+1
Guenther (This used to be commit 8705f890b11e7158b5c77cbd3a6dfae8eb26776e)
2007-10-10r24434: Simplify winbindd_raw_kerberos_login().Günther Deschner1-115/+15
Guenther (This used to be commit 98ffae031ae641fb0ba7f2e972ab731dbe114a5f)
2007-10-10r24433: Convert reply_ntrename to the new APIVolker Lendecke2-31/+52
(This used to be commit 42b07a52b9f4fe147426e9156958cb4d33691678)
2007-10-10r24432: Expand kerberos_return_pac() so that it can be used in winbindd.Günther Deschner2-7/+80
Guenther (This used to be commit e70bf0ecc3ec6d3ba8ba384024bbdf9a783072ea)
2007-10-10r24431: Convert the reply_printXX calls to the new APIVolker Lendecke2-51/+111
(This used to be commit e528479f56bc936cc60eb95c9738a48de48dbd05)
2007-10-10r24430: Convert reply_writeclose to the new APIVolker Lendecke2-19/+37
(This used to be commit 6def2ee03bb3510f000b1977c4d5293cad4ae364)
2007-10-10r24429: reply_setdir is not used...Volker Lendecke1-53/+0
(This used to be commit ca27a718b07949959efaeb49f310123de76af9a0)
2007-10-10r24428: Convert reply_unlock to the new APIVolker Lendecke2-12/+25
(This used to be commit 01c7426fc0e2af6a955dcb37111ca439fc913d5f)
2007-10-10r24427: Convert reply_lock to the new APIVolker Lendecke2-11/+23
(This used to be commit 212f43ddeaa6369e5437ed3915eb066a37bc9014)
2007-10-10r24426: Convert reply_read to the new APIVolker Lendecke2-20/+41
(This used to be commit 30aada0ef8e16ce94035039b63ab140d158009d9)