1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

50565 Commits

Author SHA1 Message Date
Stefan Metzmacher
308eb1c46e Revert "quote ' inside '...' and make sure shell isn't eating \ by using perl here."
This reverts commit 2a52b059ce44403ff6ced066e0bb23fa6cc66a73.

It breaks the build on ubuntu.

metze
2009-01-09 12:23:58 +01:00
Björn Jacke
2a52b059ce quote ' inside '...' and make sure shell isn't eating \ by using perl here.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-01-09 12:21:01 +01:00
Karolin Seeger
1f7e09ea54 docs: Improve man mount.cifs.
Add hint about specifying the workgroup in the credentials file.
Whitespace cleanup.

This fixes bug #4541.
Patch based on proposed patch from Christian Perrier <bubulle@debian.org>.
Thanks for reporting and providing a patch!

Karolin
2009-01-09 11:22:00 +01:00
Björn Jacke
fff711fddb fix syntax error in case statement
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-01-09 08:55:05 +01:00
Stefan Metzmacher
aeb798c325 s3:smbd: handle incoming smb requests via event handlers
We use a fd event and receive incoming smb requests
when the fd becomes readable. It's not completely
nonblocking yet, but it should behave like the old code.

We use timed events to trigger retries for deferred open calls.

metze
2009-01-09 08:45:40 +01:00
Stefan Metzmacher
d524e5f417 s3:events: debug sys_select() errors
metze
2009-01-09 08:45:40 +01:00
Stefan Metzmacher
def5e8e889 s3:events: install a tevent debug handler that calls DEBUG()
metze
2009-01-09 08:45:40 +01:00
Andrew Bartlett
447f266887 Only do special DN tracking for normal DNs in OpenLDAP backend.
This means trying (again, harder), not to do this for DN+Binary and
DN+String attributes.

Andrew Bartlett
2009-01-09 12:08:11 +11:00
Jeremy Allison
590c9b7b6d Fix bug #6021 - smbclient du command does not recuse properly
Jeremy.
2009-01-08 15:41:49 -08:00
Volker Lendecke
84292022bf Now that all policy_handle free_fn's are just TALLOC_FREE, dump free_fn 2009-01-08 22:29:54 +01:00
Volker Lendecke
825500f5da Use TALLOC for struct lsa_info 2009-01-08 22:29:54 +01:00
Volker Lendecke
e94d7f53f9 Make use of a talloc_destructor for free_printer_entry 2009-01-08 22:29:54 +01:00
Volker Lendecke
baa5c5eeb0 Make use of a talloc_destructor for free_eventlog_info() 2009-01-08 22:29:53 +01:00
Volker Lendecke
52b6756c4e Make samr_info a talloc context of its own 2009-01-08 22:29:53 +01:00
Volker Lendecke
5a4f71d40c Simplify init_pipe_handle_list a bit 2009-01-08 22:29:53 +01:00
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