Volker Lendecke
37da26a06e
Add the strlen to push to smb_bytes_push_str, return the converted size
...
The pushed strlen replaces the STR_TERMINATE flag which I personally always
find very confusing.
2009-01-29 21:38:06 +01:00
Volker Lendecke
89caa0e86b
cli_ucs2
2009-01-29 21:38:06 +01:00
Volker Lendecke
1a87568d99
Fix the build on "opi"
...
It did not like to include "includes.h" twice
2009-01-29 21:38:05 +01:00
Björn Jacke
29ab9ed933
add missing semicolons
...
the fixed configure check led to a missing semicolon in the now activated BSD
code. Then this error was even copypasted into the new AIX code. grrr
2009-01-29 12:12:29 -08:00
Björn Jacke
12f57f95b5
setting mtime setted atime on BSD systems, fix this
2009-01-29 09:51:36 -08:00
Björn Jacke
3639e525a9
add AIX sub-second resolution timestamp support
2009-01-29 09:51:36 -08:00
Björn Jacke
11f32204f8
add configure check for AIX style sub-second resolution support
2009-01-29 09:51:36 -08:00
Björn Jacke
f9926a4944
rather cosmetic fix for failed birthtime configure checks
2009-01-29 09:51:35 -08:00
Björn Jacke
bc84bd7b71
give configure check "sub-second timestamps without struct timespec" a chance to succeed
2009-01-29 09:51:35 -08:00
Stefan Metzmacher
11163720e6
s3:configure: autodetect ctdb/cluster support
...
We need to make sure ctdb has transaction support
and we autodetect ipv6 support.
metze
2009-01-29 17:40:13 +01:00
Stefan Metzmacher
7540d13956
s3:ctdbd_conn: canonicalize ips before sending them to ctdbd
...
This makes samba work with older ctdb versions.
metze
2009-01-29 17:40:13 +01:00
Michael Adam
ba482e6b8d
s3:smbd: make smbd_open_one_socket() static
...
Michael
2009-01-29 15:42:10 +01:00
Stefan Metzmacher
3ee1acdc8e
s3:smbd: ignore open_socket_in() failures
...
This restores the pre e0232934fb
behavior.
metze
2009-01-29 15:33:47 +01:00
Björn Jacke
1ea6ed3fc2
quote ' inside '...' and make sure shell isn't eating \ by using perl here.
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-01-29 15:03:53 +01:00
Michael Adam
27408de533
s3: fix bug #6073 : prevent ads_connect() from using SSL unless explicitly requested
...
This fixes "net ads join".
It copes with the changed default "ldap ssl = start tls".
A new boolean option "ldap ssl : ads" is added to allow for
explicitly requesting ssl with ads.
Michael
2009-01-29 13:23:06 +01:00
Stefan Metzmacher
88278cf23f
s3:selftest: import more tests from 'make test'
...
metze
2009-01-29 10:54:48 +01:00
Stefan Metzmacher
439172dc06
selftest: add "member" environment for Samba3
...
metze
2009-01-29 10:39:06 +01:00
Stefan Metzmacher
77bb2d6d0b
s3:seltest: make test_smbclient_s3.sh more strict
...
metze
2009-01-29 10:36:12 +01:00
Stefan Metzmacher
67bf7a2396
selftest: fix Samba3 bugs
...
metze
2009-01-29 10:31:48 +01:00
Stefan Metzmacher
9f8d80c699
selftest: Samba4 remove unused variable
...
metze
2009-01-28 22:17:24 +01:00
Stefan Metzmacher
6a41a2de8d
selftest: abstract Samba3 provision a bit
...
metze
2009-01-28 21:01:49 +01:00
Stefan Metzmacher
8b7c66512d
s3:selftest: fix 'make selftest'
...
metze
2009-01-28 17:32:50 +01:00
Stefan Metzmacher
a849183f94
s3:selftest: create BUILTIN\\Administrators at startup
...
And add and remove the alias member via net rpc group
instead of net sam.
metze
2009-01-28 17:32:50 +01:00
Jelmer Vernooij
d6497aa089
Stop installing events.h - it contains a broken include itself and
...
should be considered internal now.
2009-01-28 17:06:18 +01:00
Jelmer Vernooij
38b2931cf3
Define _GNU_SOURCE, required for comparison_fn_t.
2009-01-28 17:05:56 +01:00
Volker Lendecke
4c7296cc0c
Avoid valgrind errors
...
In event handlers, we might destroy other events that are pending in the lists.
We can only run one event safely per select call.
Yes, I've seen these valgrind errors :-)
Jeremy, with ccdd921e61
you had checked in the change to run multiple events.
Do you remember why it was necessary and could not be solved in a different
way?
Volker
2009-01-28 16:18:16 +01:00
Volker Lendecke
c001b456cf
Fix a valgrind error when the socket dies
...
Don't reference anything that might have been deleted in the async_req_error
call.
2009-01-28 16:18:15 +01:00
Michael Adam
1021c752ea
s3:winbind: remove prototype for non-existent function from winbind_proto.h
...
Michael
2009-01-28 12:41:04 +01:00
Michael Adam
5ec52659da
s3:test: exit the net rpc registry tests when give_administrative_rights fails
...
Michael
2009-01-28 12:19:06 +01:00
Stefan Metzmacher
5da211b658
s3:selftest: fix warnings with empty *_TEST_LOG variables
...
metze
2009-01-28 12:06:23 +01:00
Michael Adam
57a290e942
s3:registry: always provision the registry, not only in smbd.
...
This will make tools like "net registry" also fill the registry
with the basic hives and keys.
Michael
2009-01-28 12:06:26 +01:00
Stefan Metzmacher
ff39e0f6dd
selftest: set 'lock dir' in client.conf
...
metze
2009-01-28 12:01:20 +01:00
Kai Blin
ab63bad94b
async_sock: Move to top level
2009-01-28 11:35:32 +01:00
Stefan Metzmacher
c2a2006f8a
s3:torture: support SMB_CONF_PATH envvar in smbtorture
...
metze
2009-01-28 10:59:17 +01:00
Michael Adam
ac6cf387ff
s3:util_tdb: remove duplicate prototypes (from ../lib/util/util_tdb.h)
...
Michael
2009-01-28 10:35:49 +01:00
Stefan Metzmacher
db7ee3733f
s3: try to make 'make selftest' work again
...
metze
2009-01-28 10:07:12 +01:00
Michael Adam
11b66ccaa1
s3:build: don't use $(FLAGS) in linking targets - it is useless
...
Michael
2009-01-28 09:44:04 +01:00
Michael Adam
eccbc32ae3
s3:tdb_validate: clean up leading tabs/spaces and trailing spaces.
...
Michael
2009-01-28 09:44:03 +01:00
Michael Adam
59859b547c
s3: separate tdb validation code out into its own source file
...
So this gets now linked only into its single user: winbindd
(needed by winbindd_cache.c)
Michael
2009-01-28 09:43:57 +01:00
Jeremy Allison
ca3a801a82
Fix detection of dns_sd libraries.
...
Jeremy.
2009-01-27 16:19:09 -08:00
Steven Danneman
fffd94b442
Move S3 specific parameters to S3 conf file in make test.
2009-01-27 13:27:35 -08:00
Tim Prouty
31e46ff4ac
s3: Fix shadowed declaration
2009-01-27 10:37:51 -08:00
Michael Adam
86ed67f073
libreplace: fix detection of netinet/ip.h on solaris 8
...
(The test needs to additionally include <netinet/in_systm.h>.)
Michael
2009-01-27 15:48:54 +01:00
Stefan Metzmacher
f6d8d94510
s3:rpc_server: use get_client_fd() instead of smbd_server_fd()
...
Both are absolutely the same, but smbd_server_fd() is otherwise
only used in smbd/*.c and would like to remove smbd_server_fd() soon.
metze
2009-01-27 15:28:12 +01:00
Stefan Metzmacher
e0232934fb
s3:smbd: wait for new connection via fd events
...
metze
2009-01-27 15:28:12 +01:00
Stefan Metzmacher
bf2347bd7d
s3:smbd: make mdns registration event driven.
...
metze
2009-01-27 15:28:11 +01:00
Stefan Metzmacher
e11e82318c
s3:smbd: make inetd code path more clear
...
metze
2009-01-27 15:28:11 +01:00
Stefan Metzmacher
52f6a4436f
s3:smbd: make kernel oplocks event driven
...
And use signal events for Linux oplocks.
metze
2009-01-27 15:28:10 +01:00
Stefan Metzmacher
4a22713495
s3:smbd: remove pointless respond_to_all_remaining_local_messages() function
...
This the process_kernel_oplock() function never response to messages,
it only generates messages to ourself.
metze
2009-01-27 15:28:10 +01:00
Stefan Metzmacher
b8c416fe2a
s3:smbd: convert aio to use tevent_signal
...
metze
2009-01-27 15:28:09 +01:00