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

53235 Commits

Author SHA1 Message Date
Stefan Metzmacher
182a4b30de tsocket: rename tdgram_unix_dgram_socket() => tdgram_unix_socket()
metze
2009-05-01 17:41:38 +02:00
Stefan Metzmacher
b46599590f tsocket: move tsocket_simple_int_recv() to tsocket.c
metze
2009-05-01 17:38:27 +02:00
Stefan Metzmacher
0db3b944bd tsocket: move tsocket_sendto_queue_send/recv() to tsocket_helpers.c
metze
2009-05-01 17:38:26 +02:00
Stefan Metzmacher
b4c5387e9f tsocket: tdgram move input checks to the common code as there're needed for all backends
We need to make sure that we free the sendto and recvfrom requests before
the tdgram_context

metze
2009-05-01 17:38:25 +02:00
Stefan Metzmacher
cc75ff1a37 tsocket: for unix domain sockets we need to use sizeof(struct sockaddr_un)
sizeof(struct sockaddr_storage) generates EINVAL.

metze
2009-05-01 17:38:24 +02:00
Stefan Metzmacher
66a2cd36c6 tsocket: return EINVAL when tdgram_sendto_send() is used with len == 0
metze
2009-05-01 17:38:23 +02:00
Stefan Metzmacher
997eb9eb43 tsocket: fix dependecies
metze
2009-05-01 17:38:22 +02:00
Stefan Metzmacher
9dbb535aa5 tsocket: remove tsocket_context related stuff
It will be replaced by tdgram_context and tstream_context.

metze
2009-05-01 17:38:21 +02:00
Stefan Metzmacher
5604e8d614 s4:libcli: remember operating system and lan manager strings from session setup
metze
2009-05-01 15:46:08 +02:00
Stefan Metzmacher
b97a591e2c s4:libcli/raw: write can return STATUS_BUFFER_OVERFLOW as a real error
We should not try to parse the result if the status is not NT_STATUS_OK.

metze
2009-05-01 15:12:07 +02:00
Jelmer Vernooij
bcb89826de Fix regular expressions in find_missing_doc after code format changes in
loadparm.c.
2009-05-01 13:10:14 +02:00
Jelmer Vernooij
4abc5c945e Fix 'make undocumented' (by hardcoding the source path, now that the docs
live in the same git repo)
2009-05-01 13:10:13 +02:00
Jelmer Vernooij
6e48495ee7 Filter substitution variables out of list of undocumented applications. 2009-05-01 13:10:13 +02:00
Jelmer Vernooij
90c9e0aec4 Fix 'make samples' (git doesn't version directories, so 'examples' won't
exist yet)
2009-05-01 13:10:13 +02:00
Volker Lendecke
5b7b47f015 Add getaddrinfo_send/recv 2009-05-01 12:30:59 +02:00
Volker Lendecke
8cf75770cf Add fncall_send/recv 2009-05-01 12:30:59 +02:00
Volker Lendecke
db2cc8c9f2 Add thread pool
Included if pthreads are found, can be disabled with --enable-pthreadpool=no

Tim, Steven, I haven't yet seen comments from you. You have been asking for
such a thing at SambaXP. Do you like this? :-)
2009-05-01 12:30:58 +02:00
Jeremy Allison
f3af298e5b Cause cli_close to return an NTSTATUS.
Jeremy.
2009-04-30 16:57:42 -07:00
Michael Adam
384c1aaa8e s3:config.sub: clean some space/tab mixup that git complains about
Michael
2009-05-01 01:18:01 +02:00
Michael Adam
f3308b91d7 s3:config.sub: replace old FSF address by the web site url.
Michael
2009-05-01 01:18:00 +02:00
Michael Adam
62a69994f2 s3:config.sub: move to GPLv3
Michael
2009-05-01 01:18:00 +02:00
Michael Adam
f81c02c3f3 s3:update config.sub from gnu.org (2009-04-17)
as requested in bug #6292.

This is taken from
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD

Michael
2009-05-01 01:17:59 +02:00
Michael Adam
faaa306c6a s3:config.guess: clean some whitespace/tab mixtures that git complains about
Michael
2009-05-01 01:17:59 +02:00
Michael Adam
d230ac7b32 s3:config.guess: replace old FSF address by the web site url.
Michael
2009-05-01 01:17:59 +02:00
Michael Adam
fee7829458 s3:config.guess: move to GPLv3 2009-05-01 01:17:58 +02:00
Michael Adam
1188c78f53 s3:update config.guess form gnu.org (version 2009-04-27)
as requested in bug #6292.

This is taken from
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD

Michael
2009-05-01 01:17:58 +02:00
Jeremy Allison
8cf78ff553 Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int.
Convert all uses of cli_open(), cli_nt_createXXX to NTSTATUS versions.
This is smaller than it looks, it just fixes a lot of old code.
Next up, ensure all cli_XX functions return NTSTATUS.
Jeremy.
2009-04-30 15:26:43 -07:00
Günther Deschner
ab4b8c9c04 s3-netapi: Fix Bug #6309: support remote unjoining of Windows 2003 or greater.
Found by David Markey <admin@dmarkey.com>. Thanks!

Guenther
2009-04-30 23:40:09 +02:00
Günther Deschner
26b9c9370c wkssvcs: add WKSSVC_JOIN_FLAGS_IGNORE_UNSUPPORTED_FLAGS join flag.
Guenther
2009-04-30 23:36:24 +02:00
Günther Deschner
baf7850689 s3-printing: rework move_driver_file_to_download_area() a bit for clarity.
Guenther
2009-04-30 17:33:07 +02:00
Günther Deschner
af5a71d528 s3-lsa: use LSA_POLICY_MODE flags in _lsa_GetSystemAccessAccount().
Guenther
2009-04-30 14:28:38 +02:00
Günther Deschner
eee446a948 s3-nss_wins: Fix unresolved ldb symbols in libnss_wins.so.
The objects for this module should probably be cleaned up once.

Guenther
2009-04-30 14:18:09 +02:00
Volker Lendecke
f4fcf2c1c0 Re-import the v3-3 version of str_list_make().
The merged version behaves differently: "Domain Users" is parsed into two
values, as it does not look at quotes. Samba3 users depend on the ability do
say for example

valid users = "domain users"

which would not work anymore with the merged version.

Thanks to Björn Jacke for testing this!

Volker
2009-04-30 13:42:12 +02:00
Volker Lendecke
3b666bf0f9 Fix notify_onelevel: notify is not necessarily enabled
Thanks to Günther Deschner!

Volker
2009-04-30 12:25:46 +02:00
Günther Deschner
d22965e2e5 s3-spoolss: avoid referring to uid 0 in spoolss server (use sec_initial_uid() instead).
Guenther
2009-04-30 11:22:23 +02:00
Günther Deschner
233bfb25c9 s3-printing: use move_driver_file_to_download_area() to avoid code duplication.
Guenther
2009-04-30 11:22:23 +02:00
Günther Deschner
a2a155bee5 s3-printing: add move_driver_file_to_download_area().
Guenther
2009-04-30 11:22:23 +02:00
Jeremy Allison
370e7209db Make cli_unlink async.
Jeremy.
2009-04-29 18:26:02 -07:00
Jeremy Allison
edd25980b0 More async calls in libsmb/clifile.c
Jeremy.
2009-04-29 10:48:16 -07:00
Michael Adam
8aa41bdeb2 s3:vfs: untangle logic for loading and probing modules in vfs_init_custom()
This is to be able to provide more specific error messages.

Michael
2009-04-29 16:48:22 +02:00
Günther Deschner
3316ae9d75 s3-test: make it possible to find the built vlp in "make test".
Guenther
2009-04-29 14:31:09 +02:00
Karolin Seeger
3422b9c546 s3/docs: Fix serveral typos.
This fixes bug #4315.
Thanks to Felipe Augusto van de Wiel <faw [at] cathedrallabs [dot] org>!

Karolin
2009-04-29 14:12:01 +02:00
Karolin Seeger
b6eab68c20 s3/docs: Remove documentation of "use kerberos keytab".
This parameter has been removed with d96248a9b4655.

Karolin
2009-04-29 12:40:12 +02:00
Günther Deschner
664ff081ca s3-docs: document "net eventlog" in net manpage.
Guenther
2009-04-29 11:47:34 +02:00
Günther Deschner
e89cc775e6 s3-net: make "net eventlog" help output a little more appropriate.
Guenther
2009-04-29 11:47:27 +02:00
Bo Yang
f8cc0e88fb s3: fix crash in winbindd 2009-04-29 09:50:41 +08:00
Michael Adam
077bcc1125 s3:smbd/service: switch load_registry_service/shares to use loadparm routines
instead of reading the registry directly with tdb and activating the
configure options by hand.

This eliminates the need for repeating checks done in loadparm.
For instance it disables registry shares without path in the server
as is the case with text based shares.

Michael
2009-04-29 02:20:19 +02:00
Michael Adam
fb3b657612 s3:loadparm: refactor process_registry_service out or process_registry_globals
Michael
2009-04-29 02:20:19 +02:00
Günther Deschner
67ca76c288 samr: fix samr_ConnectVersion enum which is 32bit not 16bit.
Volker, please check.
Rafal, haven't we seen this in your tests at sambaxp as well ?

Guenther
2009-04-29 01:59:03 +02:00
Günther Deschner
a23fb4663d svcctl: Fix IDL for svcctl_StartServiceW().
Guenther
2009-04-29 01:59:03 +02:00