97cdf15f09
s3-printing: fix memory leak in print_cups.c
...
As found by valgrind, tmp_pcap_cache is not freed following printer list
tdb update.
Signed-off-by: Andreas Schneider <asn@samba.org >
Autobuild-User: Andreas Schneider <asn@cryptomilk.org >
Autobuild-Date: Wed Mar 16 16:37:58 CET 2011 on sn-devel-104
2011-03-16 16:37:58 +01:00
52845c1054
s3-printing: remove duplicate cups response processing code
...
There is currently a lot of duplicate code included for processing
responses to CUPS_GET_PRINTERS and CUPS_GET_CLASSES requests. This
change splits this code into a separate function.
Signed-off-by: Andreas Schneider <asn@samba.org >
2011-03-16 15:52:21 +01:00
d6cb4feae1
s3-printing: use printcap IDL for IPC
...
Use printcap IDL for marshalling and unmarshalling messages between cups
child and parent smbd processes. This simplifies the IPC and ensures
the parent is notified of cups errors encountered by the child.
https://bugzilla.samba.org/show_bug.cgi?id=7994
Signed-off-by: Andreas Schneider <asn@samba.org >
2011-03-16 15:52:21 +01:00
9ea6027419
idl: define printcap IPC message format
...
Signed-off-by: Andreas Schneider <asn@samba.org >
2011-03-16 15:52:21 +01:00
e084edc16e
s4-smbtorture: use torture_fail and _assert macros in torture_netlogon_samba3().
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org >
Autobuild-Date: Wed Mar 16 15:51:12 CET 2011 on sn-devel-104
2011-03-16 15:51:12 +01:00
be55bbc575
s4-smbtorture: remove explicit mem_ctx from torture_netlogon_samba3().
...
Guenther
2011-03-16 14:56:16 +01:00
8775aee036
s4-smbtorture: use torture_fail and _skip in raw.write test.
...
Guenther
2011-03-16 14:52:51 +01:00
1b055fa6c6
s4-smbtorture: remove duplicate if branch in raw.write test.
...
Guenther
2011-03-16 14:51:30 +01:00
227c00d8bd
s4-smbtorture: use torture_fail/-assert api in torture_samba3_hide().
...
Guenther
2011-03-16 14:04:09 +01:00
fad0112373
s3-build: stop including ldap and lber headers everywhere in the code.
...
Instead use new header smb_ldap.h where all LDAP API related things are handled,
while smbldap.h only deals with our smbldap_X() API.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org >
Autobuild-Date: Wed Mar 16 10:54:51 CET 2011 on sn-devel-104
2011-03-16 10:54:50 +01:00
d19ea55e9e
s3-includes: avoid global include of gssapi headers.
...
Guenther
2011-03-16 10:11:16 +01:00
6c8d802391
s3-libsmb: move smb encryption structs into own header.
...
Guenther
2011-03-16 10:11:16 +01:00
e1f84330ba
libcli/security: move display_sec headers to own header file and add to
...
security.h grouping header.
Guenther
2011-03-16 10:11:08 +01:00
1d5f3c11df
s4:ldb: don't install .pc files when building a private library
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org >
Autobuild-Date: Wed Mar 16 09:58:22 CET 2011 on sn-devel-104
2011-03-16 09:58:22 +01:00
46384cf60a
headers: cope with non-system popt in test_headers
...
Autobuild-User: Andrew Tridgell <tridge@samba.org >
Autobuild-Date: Wed Mar 16 09:09:40 CET 2011 on sn-devel-104
2011-03-16 09:09:40 +01:00
3cfa8216b9
headers: include Python.h first to avoid warnings
2011-03-16 08:23:25 +01:00
9bc14afe96
s3: Fix a cut&paste error in pdb_ads_connect
...
Autobuild-User: Volker Lendecke <vlendec@samba.org >
Autobuild-Date: Wed Mar 16 08:22:28 CET 2011 on sn-devel-104
2011-03-16 08:22:28 +01:00
831ff4519e
s3: Use jenkins hash for str_checksum, fix bug 8010
...
From the bugreport:
I have a folder with ~90 photos: IMG_XXXX.JPG where XXXX is a four digit
number, almost consecutive (photos from camera for one day).
Current implementation gives about 30 different checksums for this set of
files.
Autobuild-User: Jeremy Allison <jra@samba.org >
Autobuild-Date: Wed Mar 16 01:15:41 CET 2011 on sn-devel-104
2011-03-16 01:15:41 +01:00
73e7b72936
libcli: openchange doesn't need these headers any more
...
thanks to Simo for pointing this out
Autobuild-User: Andrew Tridgell <tridge@samba.org >
Autobuild-Date: Wed Mar 16 00:25:10 CET 2011 on sn-devel-104
2011-03-16 00:25:10 +01:00
5e3da3fc50
s3-build: try to silence annoying "Ignoring invalid value 'vlp' for parameter 'printing'"
...
warning on the buildfarm.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org >
Autobuild-Date: Tue Mar 15 23:38:43 CET 2011 on sn-devel-104
2011-03-15 23:38:43 +01:00
c287351d05
s4-rap: remove last iconv_convenience traces from rap client and test code.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org >
Autobuild-Date: Tue Mar 15 22:01:51 CET 2011 on sn-devel-104
2011-03-15 22:01:51 +01:00
135104649f
s4-rap: decouple rap client code from torture binary, add new LIBCLI_RAP subsystem.
...
Guenther
2011-03-15 21:16:36 +01:00
ebe0aa0e9c
s4-smbtorture: check for username and computername presence in rap_netsessionenum test.
...
Guenther
2011-03-15 21:16:35 +01:00
7a91282c9f
s3-libsmb: only include rap client when needed.
...
Guenther
2011-03-15 21:16:35 +01:00
c91b897caa
s3-build: share smbtorture4 build rules with s3-waf build.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org >
Autobuild-Date: Tue Mar 15 16:10:17 CET 2011 on sn-devel-104
2011-03-15 16:10:16 +01:00
a6a722b5ba
libwbclient: CID 2199 -- NULL pointer return
...
Autobuild-User: Volker Lendecke <vlendec@samba.org >
Autobuild-Date: Tue Mar 15 12:08:48 CET 2011 on sn-devel-104
2011-03-15 12:08:47 +01:00
d9a58791b0
s3: Fix Coverity ID 2278: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_SetValue.
2011-03-15 11:10:46 +01:00
f0d491205c
s3: Fix Coverity ID 2279: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_SetValue.
2011-03-15 11:10:46 +01:00
c98c36e38b
s3: Fix Coverity ID 2280: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_SetValue.
2011-03-15 11:10:46 +01:00
6b584e0e9a
s3: Fix Coverity ID 2281: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_SetValue.
2011-03-15 11:10:45 +01:00
e68cf5e9bf
s3: Fix Coverity ID 2282: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_SetValue.
2011-03-15 11:10:45 +01:00
b753b0ab82
s3: Fix Coverity ID 2283: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_OpenKey.
2011-03-15 11:10:45 +01:00
2992ccfe9c
s3: Fix Coverity ID 2284: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_DeleteValue.
2011-03-15 11:10:45 +01:00
2b26c86fe6
s3: Fix Coverity ID 2285: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_DeleteValue.
2011-03-15 11:10:45 +01:00
c09877113d
s3: Fix Coverity ID 2286: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_SetValue.
2011-03-15 11:10:44 +01:00
31ff8f38e7
s3: Fix Coverity ID 2287: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_CreateKey.
2011-03-15 11:10:43 +01:00
09677d664f
s3: Fix Coverity ID 2288: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_SetValue.
2011-03-15 11:10:43 +01:00
cc90415062
s3: Fix Coverity ID 2289: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_OpenKey.
2011-03-15 11:10:42 +01:00
4f34955e2c
s3: Fix Coverity ID 2290: Uninitialized read
...
We passed the structure including the uninitialized elements to
dcerpc_winreg_DeleteKey.
2011-03-15 11:10:42 +01:00
420be02a60
s3: Read uidNumber/gidNumber in pdb_ads_sid_to_id
...
Question: How shall we allocate those? Something like the rid allocator?
Autobuild-User: Volker Lendecke <vlendec@samba.org >
Autobuild-Date: Tue Mar 15 09:59:55 CET 2011 on sn-devel-104
2011-03-15 09:59:55 +01:00
b0667f7fda
s3: Remove some unused code
2011-03-15 09:15:36 +01:00
a4d7b3a1df
s3: "hex_encode" does the same as "binary_string"
2011-03-15 09:15:35 +01:00
7c83f69383
s4-rpc: added dcesrv_call_account_name()
...
this will be used by openchange
Autobuild-User: Andrew Tridgell <tridge@samba.org >
Autobuild-Date: Tue Mar 15 06:14:00 CET 2011 on sn-devel-104
2011-03-15 06:14:00 +01:00
b2b41a5087
libcli: protect access_check.h against double inclusion
...
Autobuild-User: Andrew Tridgell <tridge@samba.org >
Autobuild-Date: Tue Mar 15 05:07:01 CET 2011 on sn-devel-104
2011-03-15 05:07:01 +01:00
1404a9fe72
waf: ensure that MAKEFLAGS is set before parsing it
2011-03-15 13:56:46 +11:00
500c854f79
build: added simple header handling for our libraries
...
we don't need header munging for tdb/talloc etc
2011-03-15 13:09:30 +11:00
af28facc03
s3-waf: enable public_headers_allow_broken
2011-03-15 12:22:20 +11:00
4907695012
build: removed mkdir of public headers directory
...
not needed now that we have public_headers_allow_broken
2011-03-15 12:22:20 +11:00
fd328f8f81
build: added public_headers_allow_broken option
...
the s3 waf build will use this to say that we should allow public
headers that contain references to non-public headers. In the s4 build
that is not allowed, but the s3 build does not yet have clean public
headers
2011-03-15 12:22:20 +11:00
7a57f72ef4
s3-waf: enable public header building in s3
2011-03-15 12:22:20 +11:00