Volker Lendecke
ca74246b4b
s3: Fix a typo
2010-04-08 10:49:57 +02:00
Andrew Bartlett
f1aa4c34bf
tsocket_bsd: Always use a real length for the sa_socklen, and keep it around
...
The previous code assumed the OS would happily accept sizeof(struct
sockaddr_storage). It seems some versions of Solaris do not like
this.
Andrew Bartlett
2010-04-08 08:34:40 +02:00
Stefan Metzmacher
0922c5ab2d
Revert "socket-wrapper: not all systems have FIONREAD defined"
...
This reverts commit 710aa773d54509de34404f9992c5058ddfa45f3b.
We rely on FIONREAD in a lot of other parts in the code,
so there's no need to have an ifdef for it in the socket_wrapper code.
On tru64 FIONREAD is defined in <sys/ioctl.h>
and we include <sys/ioctl.h> via "system/network.h".
Tridge: maybe a HAVE_SYS_IOCTL_H was missing at the time you tried
it on tru64?
If we find a platform that doesn't support it,
we need to bail out at configure time or
provide a replacement in libreplace.
metze
2010-04-08 08:34:39 +02:00
Jeremy Allison
3413cf7a6b
Start to plumb smb2 into the oplock system. Calls dummy functions for now.
...
Jeremy.
2010-04-07 19:00:44 -07:00
Günther Deschner
0ec6f297ee
s4-smbtorture: minor typo in SetJob test in RPC-SPOOLSS.
...
Guenther
2010-04-07 23:53:19 +02:00
Günther Deschner
d9138f4ccf
s3-spoolss: Fix an issue in _spoolss_DeleteForm.
...
Found by torture test.
Guenther
2010-04-07 23:53:19 +02:00
Günther Deschner
65c5b786ca
s3-spoolss: Fix some issues in _spoolss_AddForm.
...
Found by torture test.
Guenther
2010-04-07 23:53:18 +02:00
Günther Deschner
34ada1d540
s3-spoolss: Fix potential memleak in _spoolss_AddForm and _spoolss_SetForm.
...
Guenther
2010-04-07 23:53:18 +02:00
Thomas Nagy
7f3116a63d
build: allow the waf build to work with python 3.0 and 3.1
...
Python 3.x is a bit fussier about print statements and indentation.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-08 07:46:39 +10:00
Matthias Dieter Wallnöfer
64957ce068
LDB:sample_module - reintroduce accidentally removed "ldb_msg_add_fmt" statement
...
Obviously this is really needed by the "samba4.ldb" test.
2010-04-07 23:06:02 +02:00
Jelmer Vernooij
e5bb6d56df
s4-waf: Fix 'waf dist' app name.
2010-04-07 22:53:39 +02:00
Jelmer Vernooij
472860c9a7
Move configure_check_unused script to root scriptdir, as it is useful
...
for both s3 and s4.
2010-04-07 22:53:39 +02:00
Jelmer Vernooij
36474e5867
s4: Remove unused pkg-config replacement in perl.
2010-04-07 22:53:39 +02:00
Jelmer Vernooij
0473926a5b
update-external: Support updating dnspython.
2010-04-07 22:53:38 +02:00
Volker Lendecke
7ccd68073d
s3: Fix bug 7327 -- Build fails while building without kerberos
...
libsmb/clikrb5.c has a dummy implementation for the non-kerberos case
2010-04-07 22:31:09 +02:00
Jelmer Vernooij
2cf3585e52
selftest: Display minutes and hours for duration.
2010-04-07 21:58:32 +02:00
Matthias Dieter Wallnöfer
baf81a0e08
LDB:python bindings - also empty LDB message elements should have a python representation
...
Bug found by ekacnet (see technical mailing list).
2010-04-07 20:40:06 +02:00
Matthias Dieter Wallnöfer
79fccc45bc
s4:registry - "regf backend" - fix it up regarding REG_DWORD/REG_DWORD_BIG_ENDIAN_VALUES
...
This is needed to make it platform independently work (also on big endian
platforms as little endian).
Also add a size check before storing a DWORD.
2010-04-07 20:22:57 +02:00
Matthias Dieter Wallnöfer
8ae956d7ba
s4:winbind/wb_server.c - fix indentation
2010-04-07 19:37:35 +02:00
Jeremy Allison
40172f374b
Test using (-1) for tid and sessionid in compound related requests.
...
Jeremy.
2010-04-07 10:33:02 -07:00
Jeremy Allison
556b42a351
On compound requests, MS-SMB2 says clients MAY use 0xFFFFFFFF for compound tid and 0xFFFFFFFFFFFFFFFF for compound sessionid values. Cope with this.
...
Jeremy.
2010-04-07 10:32:01 -07:00
Jeremy Allison
146c1618e4
Don't forget to initialize *p_creds_requested.
...
Jeremy.
2010-04-07 10:31:43 -07:00
Jelmer Vernooij
c76bd65b60
s4-samdb: Allow skipping global schema.
2010-04-07 17:40:00 +02:00
Jelmer Vernooij
feeedf49cf
s4-provision: Proper handling of exceptions, use SamDB class but skip global schema.
2010-04-07 17:39:59 +02:00
Jelmer Vernooij
21ab06f8a2
s4-python: Move samdb_ntds_objectGUID to pydsdb.
2010-04-07 17:39:59 +02:00
Jelmer Vernooij
fe4b212eba
urgent_replication: Use standard comments rather than docstrings.
2010-04-07 17:39:59 +02:00
Andreas Schneider
eebc66ce32
s3-spoolss: Added a winreg_getform1 function.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:53 +02:00
Andreas Schneider
c7fb84a58f
s3-spoolss: Added a winreg_setform1 function.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:53 +02:00
Andreas Schneider
0d46ab0f3e
s3-spoolss: Added a winreg_deleteform1 function.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:53 +02:00
Andreas Schneider
93575d6d70
s3-spoolss: Added a winreg_addform1 function.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:53 +02:00
Andreas Schneider
fbd3235610
s3-spoolss: Added a winreg_enumforms1 function.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:53 +02:00
Andreas Schneider
20e96d9243
s3-spoolss: Fixed winreg_printer_openkey to be used in a more generic way.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:53 +02:00
Andreas Schneider
adfd4854fa
s3-spoolss: Added a delete_printer_key function using the winreg pipe.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:52 +02:00
Andreas Schneider
f0054d8361
s3-spoolss: Added a enum_printer_key function using the winreg pipe.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:52 +02:00
Andreas Schneider
77d1b73a3e
s3-spoolss: Added a delete_printer_dataex function using the winreg pipe.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:52 +02:00
Andreas Schneider
e498338f6f
s3-spoolss: Added a enum_printer_dataex function using the winreg pipe.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:52 +02:00
Andreas Schneider
511dba5ae8
s3-spoolss: Added a get_printer_dataex function using the winreg pipe.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:52 +02:00
Andreas Schneider
bc23545909
s3-spoolss: Added a set_printer_dataex function using the winreg pipe.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:52 +02:00
Andreas Schneider
4f3893f814
s3-spoolss: Added a function to open a regkey using the winreg pipe.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07 15:16:52 +02:00
Matthias Dieter Wallnöfer
1ac654d108
s4:WHATSNEW4.txt - further updates and corrections
...
Some are inspired by ekacnet.
2010-04-07 15:05:19 +02:00
Matthias Dieter Wallnöfer
acfd02574b
s4:pyregistry.c - fix indentation
2010-04-07 15:05:19 +02:00
Matthias Dieter Wallnöfer
fa4d91e1e0
s4:provision - add a comment which explains why "paths.dns_keytab" is stored without path reference
2010-04-07 15:05:18 +02:00
Günther Deschner
345fcf5875
s4-smbtorture: test for invalid form flags in RPC-SPOOLSS.
...
Guenther
2010-04-07 14:56:07 +02:00
Günther Deschner
95b9c48ef1
s3-rpcclient: allow to define server_unc in cmd_srvsvc_srv_query_info().
...
Guenther
2010-04-07 14:41:13 +02:00
Günther Deschner
f63c345bbd
s4-smbtorture: test all types and also use a wellknown builtin form name in RPC-SPOOLSS.
...
Guenther
2010-04-07 14:41:13 +02:00
Björn Jacke
3fdebc0646
s3: add comment about what the FSCTL_QUERY_ALLOCATED_RANGES currently does
2010-04-07 12:22:47 +02:00
Günther Deschner
4712940e7c
s4-smbtorture: merge badname spoolss openprinter tests.
...
Guenther
2010-04-07 11:40:41 +02:00
Günther Deschner
8bb30ffcf6
s4-smbtorture: avoid passing down a full test_spoolss_context to directory
...
spoolss tests when not used.
Guenther
2010-04-07 11:40:31 +02:00
Jeremy Allison
3d113a6ffb
Ensure we total up the correct number of creds requested in a compound request.
2010-04-06 16:31:26 -07:00
Jeremy Allison
9c410118cb
Parameterize "smb2 max read", "smb2 max write", "smb2 max trans".
...
Set to 64k by default.
Jeremy.
2010-04-06 15:43:35 -07:00