1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

23084 Commits

Author SHA1 Message Date
Derrell Lipman
8f371e2ea9 r24466: - Sort ACEs according to http://support.microsoft.com/kb/269175 so that
Windows Explorer doesn't complain about the order (and so that they get
  interpreted properly).

Derrell
2007-10-10 12:29:50 -05:00
Jeremy Allison
9256ec0a20 r24464: Now Volker removed the readbmpx we don't need cached errors any more.
Jeremy.
2007-10-10 12:29:50 -05:00
Derrell Lipman
319df380e5 r24462: - Removing all ACEs was causing removal of the DACL entirely. 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
2007-10-10 12:29:50 -05:00
Volker Lendecke
0fecd8a0c3 r24461: Fix Bug 4852, thank to anto <sistemac@prosoft.ba> for reporting it. 2007-10-10 12:29:49 -05:00
Stefan Metzmacher
cedf7022c5 r24458: regenerate pidl output after pidl fixes:
fixes winreg_EnumValues()

metze
2007-10-10 12:29:49 -05:00
Volker Lendecke
1e08fddafd r24457: Convert reply_tcon to the new API
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
2007-10-10 12:29:49 -05:00
Volker Lendecke
d941aae2df r24453: Remove the read and write bmpx calls
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
2007-10-10 12:29:49 -05:00
Stefan Metzmacher
a3fd68d485 r24450: merge from SAMBA_4_0:
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
2007-10-10 12:29:49 -05:00
Jeremy Allison
edc17dfcbd r24445: Convert SMBwritebraw. No test suite unfortunately.... I need to write one for this.
Jeremy
2007-10-10 12:29:48 -05:00
Volker Lendecke
6af8595346 r24444: Convert reply_find[n]close to the new API 2007-10-10 12:29:48 -05:00
Volker Lendecke
a8a33c377e r24443: Convert reply_search/fclose to the new API 2007-10-10 12:29:48 -05:00
Volker Lendecke
0cb00c5475 r24442: Convert reply_copy to the new API 2007-10-10 12:29:48 -05:00
Volker Lendecke
a5af7ebb7f r24441: Convert reply_ioctl to the new API 2007-10-10 12:29:48 -05:00
Volker Lendecke
a64bc31098 r24440: Convert the reply_sendXX functions to the new API 2007-10-10 12:29:48 -05:00
Volker Lendecke
6b0ad071d8 r24439: Convert reply_get/setattrE to the new API 2007-10-10 12:29:47 -05:00
Günther Deschner
adaa5e423d r24438: Use dump_data_pw() instead of dump_data() on sensitive data in winbindd.
Guenther
2007-10-10 12:29:47 -05:00
Günther Deschner
44c10bbe94 r24437: Remove "done" in winbindd_raw_kerberos_login() as well.
Guenther
2007-10-10 12:29:47 -05:00
Volker Lendecke
1b6add251c r24436: Convert reply_lockread/writeunlock to the new API 2007-10-10 12:29:47 -05:00
Günther Deschner
8705f890b1 r24435: Fix typo.
Guenther
2007-10-10 12:29:47 -05:00
Günther Deschner
98ffae031a r24434: Simplify winbindd_raw_kerberos_login().
Guenther
2007-10-10 12:29:46 -05:00
Volker Lendecke
42b07a52b9 r24433: Convert reply_ntrename to the new API 2007-10-10 12:29:46 -05:00
Günther Deschner
e70bf0ecc3 r24432: Expand kerberos_return_pac() so that it can be used in winbindd.
Guenther
2007-10-10 12:29:46 -05:00
Volker Lendecke
e528479f56 r24431: Convert the reply_printXX calls to the new API 2007-10-10 12:29:46 -05:00
Volker Lendecke
6def2ee03b r24430: Convert reply_writeclose to the new API 2007-10-10 12:29:46 -05:00
Volker Lendecke
ca27a718b0 r24429: reply_setdir is not used... 2007-10-10 12:29:46 -05:00
Volker Lendecke
01c7426fc0 r24428: Convert reply_unlock to the new API 2007-10-10 12:29:45 -05:00
Volker Lendecke
212f43ddea r24427: Convert reply_lock to the new API 2007-10-10 12:29:45 -05:00
Volker Lendecke
30aada0ef8 r24426: Convert reply_read to the new API 2007-10-10 12:29:45 -05:00
Volker Lendecke
244965f7b6 r24425: Convert reply_write to the new API 2007-10-10 12:29:45 -05:00
Günther Deschner
029bf26f8a r24424: Fix the build.
Guenther
2007-10-10 12:29:45 -05:00
Volker Lendecke
bd22885386 r24423: Convert reply_lseek to the new API 2007-10-10 12:29:44 -05:00
Volker Lendecke
3cc22fd74f r24422: Convert reply_ctemp to the new API 2007-10-10 12:29:44 -05:00
Günther Deschner
b310b1dfd6 r24421: Ignore long #defines (like for registry keys).
Guenther
2007-10-10 12:29:44 -05:00
Günther Deschner
e6415c5232 r24420: Pure pedantism: the talloc_init could have failed...
Guenther
2007-10-10 12:29:44 -05:00
Günther Deschner
42abe8450b r24419: Hm, I think this protoype is not required here.
Guenther
2007-10-10 12:29:44 -05:00
Günther Deschner
f7457c6173 r24418: Adding reg_deleteallvalues().
Guenther
2007-10-10 12:29:44 -05:00
Volker Lendecke
56bab5ea4c r24417: Convert reply_setatr to the new API 2007-10-10 12:29:43 -05:00
Günther Deschner
3e240672b4 r24416: Some more minor edits for libgpo, mostly reformatting and moving of functions.
Guenther
2007-10-10 12:29:43 -05:00
Volker Lendecke
1a08b97a93 r24415: Convert reply_getatr to the new API 2007-10-10 12:29:43 -05:00
Volker Lendecke
fa341e4840 r24414: Convert reply_mv to the new API 2007-10-10 12:29:42 -05:00
Günther Deschner
5dc791f4cf r24413: Minor edits for libgpo.
Guenther
2007-10-10 12:29:42 -05:00
Volker Lendecke
394987f522 r24412: Convert reply_open to the new API 2007-10-10 12:29:42 -05:00
Derrell Lipman
2fde343150 r24410: - I got tricked by function naming. Contrary to what seemed obvious to me,
prs_mem_free() is not the function to be called to free memory allocated by
  prs_alloc_mem().  I've added a comment so others may not get bitten too.

- Remove incorrect memory free calls added yesterday to replace SAFE_FREE.
  The memory is actually now on a talloc context, so gets freed by the caller
  when that context is freed.  We don't need to free it iternally.

Derrell
2007-10-10 12:29:41 -05:00
Volker Lendecke
ee6f212ed0 r24409: Check wct in reply_open 2007-10-10 12:29:41 -05:00
Volker Lendecke
e0db5fd11b r24408: Remove reply_prep_legacy from reply_lockingX 2007-10-10 12:29:41 -05:00
Volker Lendecke
bce87ebdc0 r24406: Push reply_prep_legacy into reply_lockingX 2007-10-10 12:29:41 -05:00
Volker Lendecke
c4972632f8 r24405: Check wct in reply_lockingX 2007-10-10 12:29:41 -05:00
Volker Lendecke
cb8fab5663 r24404: Remove get_OutBuffer usage from blocking.c 2007-10-10 12:29:41 -05:00
Volker Lendecke
a6400ca6e2 r24403: Remove reply_prep_legacy from send_nttrans_replies 2007-10-10 12:29:40 -05:00
Volker Lendecke
73d99d6f9a r24402: Fix a 64-bit warning 2007-10-10 12:29:40 -05:00