summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r24425: Convert reply_write to the new APIVolker Lendecke3-36/+56
(This used to be commit 244965f7b67becb85774311e6ce84318d554384d)
2007-10-10r24424: Fix the build.Günther Deschner1-5/+5
Guenther (This used to be commit 029bf26f8a571ae060f7be60fd3e8c61d86004f7)
2007-10-10r24423: Convert reply_lseek to the new APIVolker Lendecke2-13/+26
(This used to be commit bd228853863ce5b4b9b974347c50c956d7f2e055)
2007-10-10r24422: Convert reply_ctemp to the new APIVolker Lendecke2-34/+53
(This used to be commit 3cc22fd74f0ffc72f4340a963b4eca7178be2192)
2007-10-10r24421: Ignore long #defines (like for registry keys).Günther Deschner1-1/+2
Guenther (This used to be commit b310b1dfd69ba0470b66eb84007f28e5e69e92e7)
2007-10-10r24420: Pure pedantism: the talloc_init could have failed...Günther Deschner1-2/+1
Guenther (This used to be commit e6415c523234f60da7dcfa4de101e8634dc6927d)
2007-10-10r24419: Hm, I think this protoype is not required here.Günther Deschner1-5/+0
Guenther (This used to be commit 42abe8450b0fc3c9f8d768fadbd5e6b0a6c1bfc3)
2007-10-10r24418: Adding reg_deleteallvalues().Günther Deschner1-0/+24
Guenther (This used to be commit f7457c6173107f1730ae2e31c5377df3dbd2454e)
2007-10-10r24417: Convert reply_setatr to the new APIVolker Lendecke2-20/+35
(This used to be commit 56bab5ea4cbcf8e46101053bd68f66691fd737c5)
2007-10-10r24416: Some more minor edits for libgpo, mostly reformatting and moving of ↵Günther Deschner7-117/+371
functions. Guenther (This used to be commit 3e240672b431b7132dfb2bdd46198ab758eadd0b)