1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

50800 Commits

Author SHA1 Message Date
Günther Deschner
8cddcefb13 s3-rpcclient: add eventlog test client.
Guenther
2009-01-08 19:37:29 +01:00
Günther Deschner
252d271fe4 s3-eventlog: minor cosmetics.
Guenther
2009-01-08 19:37:29 +01:00
Günther Deschner
dad5141c78 s3-eventlog: trying to make eventlog_io_q_read_eventlog readable.
Guenther
2009-01-08 19:37:29 +01:00
Günther Deschner
c0f1309010 s3-eventlog: trying to avoid to pass around full ndr structures in rpc_server.
Jerry, please check.

Guenther
2009-01-08 19:37:29 +01:00
Jeremy Allison
c07ea13d30 Fix race condition in alarm lock processing noticed by Richard Sharpe <realrichardsharpe@gmail.com>.
"It seems to me that if the lock is already held by another process when we
enter this code, there is a race between the timeout and the granting. If
the lock is subsequently granted, the process releasing the lock will signal
the wait variable (or whatever) and our process will be scheduled. However,
if the timeout occurs before we are scheduled, the timeout will be delivered
first.

We will have the lock but will forget we have the lock, and never release
it."
Jeremy.
2009-01-08 10:36:10 -08:00
Günther Deschner
154e08f275 s3-net: fix type in rpc_service_list_internal(). Sorry...
Guenther
2009-01-08 19:15:41 +01:00
Günther Deschner
74a1ed3e28 s4-smbtorture: extend test_QueryServiceConfig2W a bit.
Guenther
2009-01-08 17:32:44 +01:00
Günther Deschner
e0edc079bd s4-smbtorture: fix build of svcctl torture test.
Guenther
2009-01-08 17:32:40 +01:00
Günther Deschner
6bed89fa49 s3: re-run make samba3-idl.
Guenther
2009-01-08 17:32:36 +01:00
Günther Deschner
2e5b581a5e svcctl: use svcctl_ServiceState in some other places.
Guenther
2009-01-08 17:32:35 +01:00
Günther Deschner
f01f8103be svcctl: use hex range format in IDL.
Guenther
2009-01-08 17:32:35 +01:00
Günther Deschner
9832a5e593 svcctl: add ENUM_SERVICE_STATUSW and ENUM_SERVICE_STATUSA.
Guenther
2009-01-08 17:32:34 +01:00
Günther Deschner
c9f6a58109 svcctl: remove redundant SERVICE_STATE_* defines.
Guenther
2009-01-08 16:56:59 +01:00
Stefan Metzmacher
74a5ccec96 s3:smbd: fix the build with dmapi support
struct smbd_dmapi_context *dmapi_ctx;
is in globals.c

metze
2009-01-08 16:24:28 +01:00
Stefan Metzmacher
bb45bf6347 s4:blackbox: don't remove newlines in the subunit failure output
metze
2009-01-08 15:59:09 +01:00
Stefan Metzmacher
f3ac9ec8b3 s4:events: don't trigger \n in debug messages two times
metze
2009-01-08 15:59:09 +01:00
Jelmer Vernooij
8c18d3a316 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2009-01-08 15:47:34 +01:00
Volker Lendecke
260c4e17e8 Attempt to fix the build 2009-01-08 15:27:36 +01:00
Jelmer Vernooij
2c1cd0c9fe Make sure smbtorture4 can find all gensec modules. (Fixes RPC-BINDSAMBA3) 2009-01-08 15:23:35 +01:00
Günther Deschner
50721b485f s3-svcctl: use pidl based struct SERVICE_STATUS.
Guenther
2009-01-08 13:24:22 +01:00
Günther Deschner
490a14068e s3: re-run make samba3-idl.
Guenther
2009-01-08 13:24:22 +01:00
Günther Deschner
ca98357710 s3-svcctl: add copyright to svcctl rpc_server.
Guenther
2009-01-08 13:24:22 +01:00
Günther Deschner
cbc2c9059f s3-svcctl: remove some more redundant headers.
Guenther
2009-01-08 13:24:22 +01:00
Günther Deschner
700d055762 s3-svcctl: move SVC_HANDLE_IS* defines to implementation specific header file.
Guenther
2009-01-08 13:24:22 +01:00
Günther Deschner
0c2784c6be s3-svcctl: remove (now duplicate) defines.
Guenther
2009-01-08 13:24:22 +01:00
Günther Deschner
378ef22069 svcctl: add svcctl_ServiceStatus and svcctl_ControlsAccepted.
Guenther
2009-01-08 13:24:22 +01:00
Günther Deschner
ad078f5269 s3-svcctl: remove (now duplicate) SVCCTL_STAT* defines.
Guenther
2009-01-08 13:24:21 +01:00
Jelmer Vernooij
d44a6982f3 Don't attempt to use GNUTLS >= 2.6, as it is known broken with the socket-tls backend. 2009-01-08 13:15:10 +01:00
Jelmer Vernooij
e548660c87 Fix ldap.py test on systems that *can* find the record (the search fails here locally). 2009-01-08 12:51:19 +01:00
Jelmer Vernooij
078879735b Print the failed value in the time tests. 2009-01-08 12:45:57 +01:00
Jelmer Vernooij
3318204d29 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2009-01-08 12:27:52 +01:00
Stefan Metzmacher
3dde0cbb76 s3:smbd: move all globals and static variables in globals.[ch]
The goal is to move all this variables into a big context structure.

metze
2009-01-08 12:22:21 +01:00
Stefan Metzmacher
defb574c25 s3:smbd: variables in a main() don't need to be static
metze
2009-01-08 12:22:21 +01:00
Stefan Metzmacher
7a5d07a1c1 s3:smbd: open_sockets_smbd() don't need a static variable arrount atexit()
open_sockets_smbd() is only called once.

metze
2009-01-08 12:22:21 +01:00
Stefan Metzmacher
1bd317d3e3 s3:smbd: keep dmapi globals in one context struct
metze
2009-01-08 12:22:20 +01:00
Stefan Metzmacher
256101b022 s3:smbd: remove stupid static variables for the nfs quota code
metze
2009-01-08 12:22:20 +01:00
Stefan Metzmacher
0a0cd1396a s3:smbd: remove pointless static variable in uid.c
We always free the value at the end of the function,
so we don't need a static variable to hold just NULL
for the time the function isn't executed.

metze
2009-01-08 12:22:19 +01:00
Stefan Metzmacher
9ae0c5e5a7 s3:smbd: make static const in mangle_hash2.c really static const
const char *foo, means a non-const pointer to
a const char.

const char * const foo, means a const pointer to
a const char.

char * const foo, would mean a const pointer to
a non-const char.

metze
2009-01-08 12:22:19 +01:00
Stefan Metzmacher
c19ed7669c s3:smbd: make const globals in mangle_hash2.c really static const
const char *foo, means a non-const pointer to
a const char.

const char * const foo, means a const pointer to
a const char.

char * const foo, would mean a const pointer to
a non-const char.

metze
2009-01-08 12:22:19 +01:00
Stefan Metzmacher
0713f98124 s3:smbd: make globals in utmp.c static const
const char *foo, means a non-const pointer to
a const char.

const char * const foo, means a const pointer to
a const char.

char * const foo, would mean a const pointer to
a non-const char.

metze
2009-01-08 12:22:18 +01:00
Stefan Metzmacher
d9e81664e5 s3:smbd: it's pointless to have a global magic_char
We call magic_char = lp_magicchar(p) each time it's used.

metze
2009-01-08 12:22:18 +01:00
Stefan Metzmacher
2f9f8fe81e s3:smbd: remove pointless static variables in chgpasswd.c
metze
2009-01-08 12:22:18 +01:00
Stefan Metzmacher
33dd8e850b s3:smbd: make fake_files[] static const
metze
2009-01-08 12:22:17 +01:00
Stefan Metzmacher
7f2cf6b166 s3:smbd: make mangle_fns const
metze
2009-01-08 12:22:17 +01:00
Jelmer Vernooij
ba5d6e6d70 Avoid using a utility header for Python replacements included in Samba,
since this will not be shipped with talloc/tdb/tevent/etc.
2009-01-08 12:20:20 +01:00
Günther Deschner
07e1e30b96 s3-svcctl: remove old hand marshalling of svcctl_QueryServiceConfig2W.
Guenther
2009-01-08 11:19:34 +01:00
Günther Deschner
3079e14f94 s3-svcctl: use pidl for _svcctl_QueryServiceConfig2W.
Guenther
2009-01-08 11:19:33 +01:00
Günther Deschner
5581637d22 s3-svcctl: fix return code for _svcctl_QueryServiceStatusEx.
Guenther
2009-01-08 11:19:33 +01:00
Günther Deschner
385316a09a s3-svcctl: remove old hand marshalling of svcctl_QueryServiceStatusEx.
Guenther
2009-01-08 11:19:33 +01:00
Günther Deschner
b42cb4944a s3-svcctl: use pidl for _svcctl_QueryServiceStatusEx.
Guenther
2009-01-08 11:19:32 +01:00