Günther Deschner
ec33a87d58
s3-printing: skip metadata entry when traversing printerlist.
...
We were creating a new printer (with a very broken name) out of the
lasttimestamp entry all the time.
Simo, please check.
Guenther
2010-09-29 01:23:54 +02:00
Günther Deschner
46774388dc
s3-waf: add in a little hack to deal with the ECHO rpc module for non-developer builds.
...
This will be removed once we have the rpc modules subsystem in place.
Guenther
2010-09-28 22:55:18 +02:00
Andrew Tridgell
cd3eddbb59
waf: we don't need the preprocessor recursion limit any more
...
thanks to ita for this
2010-09-28 11:36:40 -07:00
Günther Deschner
9d3046f098
s3-waf: add AUTH_SCRIPT module to AUTH subsystem (which is build as shared
...
module by default).
Guenther
2010-09-28 20:03:54 +02:00
Günther Deschner
2cf5c661c6
s3-waf: add vfs_linux_xfs_sgid to the list of default shared modules.
...
Guenther
2010-09-28 20:03:54 +02:00
Volker Lendecke
a3e211ca3f
s3: Attempt to fix bug 7518
...
If select returns -1, we can't rely on the fd sets. The current code might loop
endlessly because when putting an invalid fd (the closed socket?) on the read
set, a select implementation might choose not to touch it but directly return
with EINVAL. Thus run_events will see the socket readable, which leads to a
"return true", and thus a NT_STATUS_RETRY -> same game again.
We should never get into this situation, but to me the logfiles given in bug
7518 do not reveal enough information to understand how this can happen.
2010-09-28 19:22:50 +02:00
Volker Lendecke
51bc104c5c
s3: Increase the debuglevel for connection termination msgs
2010-09-28 10:40:17 +02:00
Günther Deschner
2a1891a9d6
s3-waf: fix dependencies in most of our module subsystems.
...
Guenther
2010-09-28 09:41:54 +02:00
Günther Deschner
5fcd0471e5
s3-waf: add pam_smbpass.
...
Guenther
2010-09-28 09:41:54 +02:00
Günther Deschner
07697fa053
s3-auth_util: make sure the system server info actually contains S-1-5-18.
...
Without this, all security descriptor checks for the winreg spoolss backend fail
and make our spoolss system in its current shape basically unusable.
Andreas, please check.
Guenther
2010-09-28 09:40:57 +02:00
Günther Deschner
314d738f90
s3-printing: remove unused old structs.
...
Guenther
2010-09-28 09:40:57 +02:00
Volker Lendecke
94dc2c106b
s3: Lift smbd_messaging_context() from open_sockets_smbd()
2010-09-28 07:36:18 +02:00
Volker Lendecke
790ad3d1a4
s3: Remove two calls to procid_self()
2010-09-28 07:36:18 +02:00
Volker Lendecke
886b5b67ee
s3: Remove talloc_autofree_context() from myhostname()
...
No destructor needed, so we can as well use the NULL context
2010-09-28 07:36:18 +02:00
Volker Lendecke
49b4d2e652
s3: Remove some remaining files.c globals to sconn
2010-09-28 07:36:18 +02:00
Volker Lendecke
d26d79b640
s3: Remove talloc_autofree_context() from files.c
2010-09-28 07:36:18 +02:00
Volker Lendecke
eadc4b5b78
s3: Lift smbd_server_conn from file_find_fd
2010-09-28 07:36:18 +02:00
Volker Lendecke
54f7b70212
s3: Remove smbd_server_conn from file_fsp
2010-09-28 07:36:18 +02:00
Volker Lendecke
3009178ee5
s3: Slightly simplify file_fnum
...
req==NULL should never happen, see the comment
2010-09-28 07:36:18 +02:00
Volker Lendecke
e57811440a
s3: Remove smbd_server_conn from file_sync_all
2010-09-28 07:36:17 +02:00
Volker Lendecke
e2222fc19c
s3: Remove smbd_server_conn from file_find_subpath
2010-09-28 07:36:17 +02:00
Volker Lendecke
75c6e0e5c7
s3: Lift smbd_server_conn from file_find_di_first
2010-09-28 07:36:17 +02:00
Volker Lendecke
b448e42de4
s3: Lift smbd_server_conn from file_find_dif
2010-09-28 07:36:16 +02:00
Volker Lendecke
fb8686962a
s3: Remove smbd_server_conn from files_forall
2010-09-28 07:36:16 +02:00
Volker Lendecke
9fc9ff9bfa
s3: Remove smbd_server_conn from file_close_user
2010-09-28 07:36:16 +02:00
Volker Lendecke
25ca1cd1a8
s3: Remove smbd_server_conn from file_close_pid
2010-09-28 07:36:16 +02:00
Volker Lendecke
6a1c4bad13
s3: Remove smbd_server_conn from file_close_conn
2010-09-28 07:36:16 +02:00
Volker Lendecke
c5d2799543
s3: Remove smbd_server_conn from file_new and file_free
2010-09-28 07:36:15 +02:00
Volker Lendecke
5276608151
s3: Lift smbd_server_conn from file_fnum
2010-09-28 07:36:15 +02:00
Volker Lendecke
5e26e4d30f
s3: Move "Files" to smbd_server_connection
2010-09-28 07:36:15 +02:00
Volker Lendecke
f83e7d8f8c
s3: Remove "server_fd" global variable
2010-09-28 07:36:15 +02:00
Volker Lendecke
93adf70d1a
s3: Remove talloc_autofree_context() from receive_unexpected()
...
This is freed in this routine a few lines down
2010-09-28 07:36:15 +02:00
Jeremy Allison
d7c09f312e
Add torture test BAD-NBT-SESSION as regression fix for bug 7698 - Assert causes smbd to panic on invalid NetBIOS session request.
...
Jeremy.
2010-09-27 18:24:53 -07:00
Jeremy Allison
a738f5b846
Small tweak to bugfix for 7698 - Assert causes smbd to panic on invalid NetBIOS session request.
...
Don't just fail to reply on a bad NBT name, just don't do the
internal action.
Jeremy.
2010-09-27 18:24:53 -07:00
Jeremy Allison
f98d217514
Change to using TDB_INCOMPATIBLE_HASH (the jenkins hash) on all
...
TDB_CLEAR_IF_FIRST tdb's. For tdb's like gencache where we open
without CLEAR_IF_FIRST and then with CLEAR_IF_FIRST if corrupt
this is still safe to use as if opening an existing tdb the new
hash will be ignored - it's only used on creating a new tdb not
opening an old one.
Jeremy.
2010-09-27 17:18:54 -07:00
Günther Deschner
77d4c28032
s3-spoolss: Fix _spoolss_EnumPrintProcDataTypes error handling
2010-09-28 01:17:16 +02:00
Günther Deschner
2921888a08
s3-spoolss: Fix _spoolss_EnumPrintProcessors error handling
2010-09-28 01:17:12 +02:00
Günther Deschner
0e1588aa98
s3-waf: add NDR_PERFCOUNT subsystem.
...
Guenther
2010-09-28 01:16:48 +02:00
Volker Lendecke
3235f44ac4
s3: Make file_fnum static
2010-09-27 18:14:47 +02:00
Volker Lendecke
f1c1959f13
s3: Remove some unused code
2010-09-27 18:14:47 +02:00
Volker Lendecke
6319e0da10
s3: Fix some comments
2010-09-27 18:14:47 +02:00
Gregor Beck
f4f5ad9774
s3:registry: proposed aix build fix for reg_parse_internal
...
Signed-off-by: Michael Adam <obnox@samba.org>
2010-09-27 11:36:49 +02:00
Günther Deschner
ff95491925
s3-waf: fix dependencies to NDR_XATTR.
...
Guenther
2010-09-27 07:46:52 +02:00
Günther Deschner
1e97e73c77
s3-waf: link PReg parser only in registry client side extension.
...
Guenther
2010-09-27 07:38:13 +02:00
Günther Deschner
122e35405e
s3-waf: NDR_SRVSVC is defined now from the main librpc wscript_build.
...
Guenther
2010-09-27 07:18:16 +02:00
Günther Deschner
1622ad414f
s3-waf: move SERVICES into a subsystem.
...
Guenther
2010-09-27 03:52:29 +02:00
Günther Deschner
f52fda4964
s3-waf: add PRINTING subsystems.
...
Guenther
2010-09-27 03:52:29 +02:00
Günther Deschner
cef16c2690
s3-waf: add two more REGF based subsystems.
...
Guenther
2010-09-27 03:52:28 +02:00
Günther Deschner
7afa7b8a84
s3-waf: rework static and shared list handling a little.
...
Guenther
2010-09-27 00:39:38 +02:00
Günther Deschner
4584a12b6a
s3-waf: add missing IDMAP modules.
...
Guenther
2010-09-27 00:39:38 +02:00