1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

76 Commits

Author SHA1 Message Date
Anatoliy Atanasov
c033b2dd2d Fix for DSSYNC test against Windows 2003 2009-09-03 18:36:08 +10:00
Günther Deschner
3a519fac8a ntlmssp: add ndr_print_ntlmssp_{nt,lm}_response() function.
Guenther
2009-08-28 10:08:43 +02:00
Günther Deschner
e65a3cb0db ntlmssp: add CHALLENGE_MESSAGE to IDL.
Guenther
2009-08-28 10:05:13 +02:00
Günther Deschner
4e7edc7906 ntlmssp: add string helper functions to handle OEM and UNICODE charset.
Guenther
2009-08-28 10:05:00 +02:00
Günther Deschner
d4d2b42a92 ntlmssp: add ntlmssp helper skeleton.
Guenther
2009-08-28 10:04:52 +02:00
Günther Deschner
b1ee4c14d4 libndr: add missing protoypes for double type.
Guenther
2009-08-24 14:31:22 +02:00
Andrew Tridgell
011f103501 when we get an NDR error in the logs, it is useful to know where it happened 2009-08-12 15:33:37 +10:00
Stefan Metzmacher
933d5ee22b librpc/ndr_drsuapi: fix a memory leak on ndr_push_drsuapi_DsReplicaOID()
metze
2009-07-31 14:42:02 +02:00
Stefan Metzmacher
84eced1425 librpc: fix the merged build of ndr_frsrpc.c
metze
2009-07-22 13:43:39 +02:00
Stefan Metzmacher
424e763695 frsrpc.idl: make the chunk array in frsrpc_CommPktChunkCtr dynamic
We add an extra num_chunks to the frsrpc_CommPktChunkCtr structure
and use hand modified ndr_push/pull functions to let it not appear
on the wire.

metze
2009-07-21 19:11:24 +02:00
Andrew Tridgell
ff4acca13a Revert "avoid crashes in ndr_print_*() calls"
This reverts commit f5a47dc4bf.

This change broke Samba3. We'll need to do it the long way.
2009-06-12 15:37:48 +10:00
Andrew Tridgell
f5a47dc4bf avoid crashes in ndr_print_*() calls
This is a hackish fix, but it will do for now
2009-06-12 12:23:46 +10:00
Brad Hards
00bfe9c286 Add support for double type in pidl.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-06-02 18:05:42 +02:00
Volker Lendecke
8f3a9b3c0f Of course, s_addr is a #define somewhere else .... (Solaris...) 2009-05-02 23:35:30 +02:00
Volker Lendecke
eea114a856 Fix a warning on host "gwen"
cc: "../librpc/ndr/ndr_basic.c", line 572: warning 604: Pointers are not assignment-compatible.

Apparently in_addr.s_addr is not compatible to uint32_t, maybe a 32-bit signed
int.
2009-05-02 19:17:23 +02:00
Günther Deschner
9d1ab9a001 spoolss: add my copyright.
Guenther
2009-03-18 17:18:46 +01:00
Günther Deschner
65151077b3 spoolss: add custom ndr_print_spoolss_Field.
Guenther
2009-03-18 16:46:14 +01:00
Günther Deschner
2687d29f7c spoolss: add ndr_size_spoolss_EnumPrinterDataEx_info in spoolss helper.
Guenther
2009-03-18 11:55:41 +01:00
Günther Deschner
ec47aac299 spoolss: rename NDR_SPOOLSS_SIZE_ENUM macro to NDR_SPOOLSS_SIZE_ENUM_LEVEL in
spoolss helper.

Guenther
2009-03-18 11:55:32 +01:00
Günther Deschner
048013ddaa spoolss: fix ndr_push_spoolss_EnumPrinterDataEx.
Guenther
2009-03-18 10:35:13 +01:00
Günther Deschner
18a93e3e62 spoolss: add ndr_push/pull_spoolss_EnumPrinterDataEx helper.
Guenther
2009-03-18 01:19:46 +01:00
Günther Deschner
b560a99718 spoolss: fix ndr_push_spoolss_SetPrinterData.
Guenther
2009-03-17 11:14:49 +01:00
Günther Deschner
e56be5cf84 spoolss: fix GetPrinterData buffer helper.
Guenther
2009-03-17 10:58:14 +01:00
Günther Deschner
793247452e spoolss: fix typo in spoolss_EnumPrintProcessors_info union helper fn.
Guenther
2009-03-11 15:31:09 +01:00
Günther Deschner
2c3d7449b4 spoolss: fix typo in spoolss_EnumJobs_info union helper fn.
Guenther
2009-03-11 15:30:57 +01:00
Volker Lendecke
8c41e0e5a6 Don't log NDR_PRINT_DEBUG at level 0, this always ends up in syslog
I think we eventually need to pass down the debuglevel here.
2009-03-10 17:07:38 +01:00
Günther Deschner
f959aac745 spoolss: add spoolss_EnumPrintProcDataTypes to enum macro helper.
Guenther
2009-03-07 00:23:29 +01:00
Günther Deschner
c6aea64e92 spoolss: fix spoolss enum calls helper macro code after pointer changes.
Guenther
2009-03-06 14:27:57 +01:00
Günther Deschner
6532fea2c8 spoolss: add push,pull helper for spoolss_DriverInfo101.
Guenther
2009-02-24 01:02:37 +01:00
Jeremy Allison
0b62cdbed0 Quieten down a boatload of shadowed variable warnings on Solaris.
Makes real problems easier to spot.
Jeremy.
2009-02-23 15:03:29 -08:00
Günther Deschner
4f803502ef spoolss: add ndr_size_spoolss_StringArray to spoolss helper.
Guenther
2009-02-19 18:00:36 +01:00
Günther Deschner
742270eb2d spoolss: fix spoolss helper for out ref count pointer.
Guenther
2009-02-17 16:15:52 +01:00
Günther Deschner
2f44170836 spoolss: fix ndr_pull_spoolss_GetPrinterData.
Guenther
2009-02-07 01:51:35 +01:00
Günther Deschner
1ebd35e872 spoolss: fix ndr_pull/push_spoolss_GetPrinterData.
Guenther
2009-02-06 18:36:47 +01:00
Günther Deschner
9ad6b94339 spoolss: fix spoolss helper functions and macros w.r.t. needed pointer.
Guenther
2009-02-06 17:35:56 +01:00
Günther Deschner
c9e64100d4 spoolss: fix samba4 dependency of spoolss helper.
Guenther
2009-02-05 16:04:36 +01:00
Günther Deschner
b03913cbc6 spoolss: move ndr spoolss helper to main librpc dir.
Guenther
2009-02-05 16:04:36 +01:00
Günther Deschner
a0c4fbdb3c librpc: add header file for drsblobs helper functions.
Guenther
2009-02-04 12:38:21 +01:00
Günther Deschner
35f1e02ca4 librpc: add ndr_size_string_array().
Guenther
2009-02-03 15:42:29 +01:00
Jelmer Vernooij
79255cec6a Add function for mapping NDR error codes to strings. 2009-01-26 17:31:22 +01:00
Tim Prouty
53293f2ccb librpc: Fix warning caused by some empty debug strings
It would probably be better to create a new macro such as DEBUGHDR to
allow empty strings for debug statements, but for the short term this
eliminates the warning with no negative consequences.
2009-01-20 17:30:28 -08:00
Stefan Metzmacher
bae593bb11 ndr_print: fix the output ndr debug messages only add header line once
metze
(from samba4wins tree e99531aae325e4443fcb917a75dfe4a86b892583)
2009-01-19 07:05:21 +01:00
Günther Deschner
a9b7695c24 svcctl: add ndr_push/pull_ENUM_SERVICE_STATUSW_array helper.
Thanks metze for helping here.

Guenther
2009-01-09 16:52:40 +01:00
Jelmer Vernooij
af744e0954 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2009-01-04 22:48:23 +01:00
Jelmer Vernooij
08259c1c52 Add iconv_convenience argument to size functions. 2009-01-01 04:45:33 +01:00
Jeremy Allison
9c92cb7636 Fix typo found by Volker. Thanks for the review.
Jeremy.
2008-12-31 18:34:52 -08:00
Jeremy Allison
07e0094365 Fix all warnings in source3 with gcc4.3.
Jeremy.
2008-12-31 18:06:57 -08:00
Andrew Bartlett
18c095e5d8 Don't trust sscanf not to run off the end of the string
The memory allocations here are wasteful, but they do nicely ensure we
cannot walk off the end of the DATA_BLOB that might be a string, or
might be binary and might not be NULL terminated.

Andrew Bartlett
2008-12-20 14:44:39 +11:00
Jelmer Vernooij
cd25b6245f Move dom_sid to the Samba 3 IDL file, remove the old definition. 2008-12-12 20:20:01 +01:00
Jelmer Vernooij
58db2befbd Move netr_SamDatabaseID8Bit to netlogon.idl to prevent problems with
forward enum declarations when compiled with C++.
2008-11-26 18:20:51 +01:00