1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

23144 Commits

Author SHA1 Message Date
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
Volker Lendecke
489436a656 r24401: Push reply_prep_legacy into send_nt_replies 2007-10-10 12:29:40 -05:00
Volker Lendecke
7c65deaed7 r24400: Fix a valgrind bug 2007-10-10 12:29:40 -05:00
Volker Lendecke
be67bb50ee r24399: Change change_notify_reply to use send_nt_replies_new 2007-10-10 12:29:40 -05:00
Volker Lendecke
607b3ab8bc r24398: Convert call_nt_transact_notify_change to the new API 2007-10-10 12:29:40 -05:00
Volker Lendecke
189876a664 r24394: Convert call_nt_transact_rename to the new API 2007-10-10 12:29:39 -05:00
Volker Lendecke
4cb60abd4c r24393: Convert call_nt_transact_set_user_quota to the new API 2007-10-10 12:29:39 -05:00
Volker Lendecke
96a9435874 r24392: Minor simplifications 2007-10-10 12:29:39 -05:00
Volker Lendecke
0e47a6643e r24391: Convert call_nt_transact_get_user_quota to the new API 2007-10-10 12:29:39 -05:00
Derrell Lipman
2ac502e29b r24388: - ACL retrieval provided incomplete information because the buffer pointer was
incremented too far in some circumstances.  In these cases, only the first
 of multiple concatenated strings would be seen.

- Working on bug 4649 pertaining to delete an ACL, this fixes the reported
 crash.  It appears to have been an incomplete switchover from malloc to
 talloc, as the memory was still being freed with SAFE_FREE.

 Deleting ACLs still doesn't work.  Although a valid request is sent to the
 server and a SUCCESS response is returned, the method that's used in
 libsmbclient for deleting ACLs seems to be incorrect.  In looking at the
 samba4 torture tests, it appears that we should be turning on the INHERIT
 flag if we want to delete the ACL.  (I could use some assistance on the
 proper flags to send, from anyone familiar with this stuff.)

- Apply patch from SATOH Fumiyasu to fix bug 4750.  smbc_telldir_ctx() was not
  returning a value useful to smbc_lseekdir_ctx().

Derrell
2007-10-10 12:29:39 -05:00
Jeremy Allison
27e183afa8 r24387: Convert readbraw to the new api. Volker, keep checking in
your patches please :-). I'll work on SMBreadBmpx tomorrow.
Jeremy.
2007-10-10 12:29:38 -05:00
Jeremy Allison
a7648ed9d4 r24386: Piss off Volker (not deliberately) by checking in a reply_mknew -> conversion.
Sorry vl, remove one of your 15 patches :-).
Jeremy.
2007-10-10 12:29:38 -05:00
Volker Lendecke
f44e0aac2b r24385: Convert call_nt_transact_query_security_desc to the new API 2007-10-10 12:29:38 -05:00
Volker Lendecke
925ed1e186 r24384: Convert call_nt_transact_set_security_desc to the new API 2007-10-10 12:29:38 -05:00
Volker Lendecke
8e6485e078 r24383: Convert call_nt_transact_ioctl to the new API 2007-10-10 12:29:38 -05:00
Volker Lendecke
73392485f4 r24382: Remove reply_prep_legacy from call_nt_transact_create 2007-10-10 12:29:37 -05:00
Volker Lendecke
ca18ba96be r24381: Push reply_prep_legacy into call_nt_transact_create 2007-10-10 12:29:37 -05:00
Volker Lendecke
523a463be4 r24368: Push down reply_prep_legacy one level
Not pretty, but necessary to convert the calls one by one
2007-10-10 12:29:37 -05:00
Volker Lendecke
8b5e51c266 r24367: Push reply_prep_legacy into handle_nttrans 2007-10-10 12:29:37 -05:00
Volker Lendecke
03c5e960a2 r24362: Initialize padding also when no params are sent back 2007-10-10 12:29:36 -05:00
Volker Lendecke
d97a2e91d3 r24361: Push reply_prep_legacy down in reply_nttrans[s] 2007-10-10 12:29:36 -05:00
Günther Deschner
45ee3b55d5 r24360: Make ndr_print_debug_helper() output readable.
Guenther
2007-10-10 12:29:36 -05:00
Volker Lendecke
b2ac1a3ec5 r24359: Fix the build 2007-10-10 12:29:36 -05:00
Volker Lendecke
197c231079 r24358: Push reply_prep_legacy into reply_nttrans[s] 2007-10-10 12:29:36 -05:00
Volker Lendecke
9ab87e644e r24357: Check wct in reply_nttrans[s] 2007-10-10 12:29:35 -05:00
Volker Lendecke
8a910d37cc r24356: Add send_nt_replies_new wrapper 2007-10-10 12:29:35 -05:00
Stefan Metzmacher
c7ed550483 r24355: move reply_outbuf() to the place where it's used
metze
2007-10-10 12:29:35 -05:00
Volker Lendecke
d93b5d50a0 r24354: Remove offsetof macro
Samba4 seems not to suffer from it
2007-10-10 12:29:35 -05:00
Kai Blin
f8560ea66c r24353: Add a getpwuid lookup to wbinfo.
Merged from my Samba4 GSoC branch.
Volker, can you check if that's done the way you thought?
2007-10-10 12:29:32 -05:00
Volker Lendecke
8f3e3a2100 r24351: Remove reply_prep_legacy from reply_read_and_X 2007-10-10 12:29:32 -05:00
Volker Lendecke
f7e2eec35f r24349: For large read&x we need more than 64k of outbuf. 2007-10-10 12:29:32 -05:00
Volker Lendecke
595ea708ee r24348: Do not use inbuf/outbuf in the sendfile path of read_and_X 2007-10-10 12:29:31 -05:00
Volker Lendecke
32921c878a r24347: fake_sendfile does not need Inbuf/Outbuf
In the future, we might put the new Linux splice(2) syscall here. This
should also work for reply_write, but getting that in is a bit trickier.
We need to decide very early before fetching the whole buffer that we
have a write call.
2007-10-10 12:29:31 -05:00
Volker Lendecke
cded66a7dc r24346: Push reply_prep_legacy into send_file_readX 2007-10-10 12:29:31 -05:00
Jelmer Vernooij
4a5fa715a6 r24341: Make libreplace provide offsetof. 2007-10-10 12:29:31 -05:00
Jelmer Vernooij
26d1430283 r24340: Use standard data type uint32_t rather than tdb-specific u32. 2007-10-10 12:29:30 -05:00
Volker Lendecke
9ad91bd205 r24332: schedule_aio_read_and_X does not need InBuf/OutBuf 2007-10-10 12:29:30 -05:00
Volker Lendecke
748fdfbd7b r24331: Fix an error where gid_t != 32 bit 2007-10-10 12:29:30 -05:00
Volker Lendecke
30fd903465 r24330: Fix a 64-bit error 2007-10-10 12:29:30 -05:00
Volker Lendecke
67ec6863dd r24329: Fix a 64-bit bug
enums are not necessarily represented as 32-bit uints. On assignment
(see line 1029) implicit conversion happens, but not when pointers are
taken.
2007-10-10 12:29:30 -05:00
Volker Lendecke
0eb831ca0e r24328: Restore chain_reply error handling
Get the whole smb header from the second chained function, in particular
the error fields
2007-10-10 12:29:30 -05:00