1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

31583 Commits

Author SHA1 Message Date
Andrew Tridgell
c2d17cf978 s4-waf: set default for bundled libraries 2010-04-06 20:27:12 +10:00
Andrew Tridgell
f9eae32f4b s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them 2010-04-06 20:27:11 +10:00
Andrew Tridgell
a247ce8ef9 s3-waf: added options for static/shared module building
Pair-Programmed-With: Kai Blin <kai@samba.org>
2010-04-06 20:27:08 +10:00
Andrew Tridgell
ab343e037d s3-waf: build version.h 2010-04-06 20:27:08 +10:00
Andrew Tridgell
0b47bda816 s3-waf: charsets needs to be quoted as strings in config.h
Pair-Programmed-With: Kai Blin <kai@samba.org>
2010-04-06 20:27:08 +10:00
Andrew Tridgell
6b3a72dd45 s3-waf: fixed tests for charsets
Pair-Programmed-With: Kai
2010-04-06 20:27:08 +10:00
Kai Blin
ecafbd3ec8 s3-waf: check for default charsets 2010-04-06 20:27:07 +10:00
Andrew Tridgell
8f5551c4b3 s3-waf: use new variable expansion feature 2010-04-06 20:27:06 +10:00
Andrew Tridgell
b2f01b54d2 s3-waf: modulesdir is in the base set of options now 2010-04-06 20:27:06 +10:00
Andrew Tridgell
b4d34f849e s3-waf: the start of the main build for s3 2010-04-06 20:27:04 +10:00
Andrew Tridgell
e19196110c s3-waf: more configure tests and minor fixes 2010-04-06 20:27:04 +10:00
Andrew Tridgell
e642c5a155 s3-waf: added build subdir for dynconfig generation 2010-04-06 20:27:04 +10:00
Kai Blin
8f33da10da build: Change checks to conform to new CHECK_* behaviour 2010-04-06 20:27:04 +10:00
Kai Blin
38f8b86c77 build: Check if the compiler will optimize out functions 2010-04-06 20:27:03 +10:00
Kai Blin
f7569922d9 build: check for int types included from rpc/rpc.h 2010-04-06 20:27:03 +10:00
Kai Blin
3bc6cf8097 build: Check for POSIX capabilities 2010-04-06 20:27:03 +10:00
Kai Blin
22d9f3d7c5 build: Check for various members of struct stat 2010-04-06 20:27:03 +10:00
Kai Blin
ea76743394 build: Fix package name and package string case 2010-04-06 20:27:03 +10:00
Kai Blin
998a9da867 build: Check for functions needed by Samba3 2010-04-06 20:27:03 +10:00
Kai Blin
c37f6e649d build: Check for kernel share modes 2010-04-06 20:27:03 +10:00
Kai Blin
565191e39f build: Check for IRIX kernel oplock types 2010-04-06 20:27:03 +10:00
Kai Blin
23ba9ad6e2 build: Check for Linux kernel oplocks 2010-04-06 20:27:03 +10:00
Kai Blin
207869dbf4 build: Check for kernel change notify support 2010-04-06 20:27:02 +10:00
Kai Blin
048b821b29 build: check for inotify support 2010-04-06 20:27:02 +10:00
Kai Blin
208bb86aae build: check for headers needed to generate stack traces 2010-04-06 20:27:02 +10:00
Kai Blin
33ef088f3d build: Check for krb5 headers 2010-04-06 20:27:02 +10:00
Kai Blin
ac9d39d108 build: Check for LDAP libraries 2010-04-06 20:27:02 +10:00
Kai Blin
59074dcfb1 build: Check for CUPS 2010-04-06 20:27:02 +10:00
Kai Blin
41e8e54406 build: Add a basic wscript file for Samba3 2010-04-06 20:27:02 +10:00
Jeremy Allison
15531d9df1 Add FSCTL_QUERY_ALLOCATED_RANGES to the list of Windows ioctls we support.
Based on a patch reported and tested by Ira Cooper <samba@ira.wakeful.net>.

Jeremy.
2010-04-05 19:33:55 -07:00
Jeremy Allison
c75184b8a1 Fix issue with aio where r/w lock wasn't kept across aio read operations.
Change schedule_aio_read_and_X/schedule_aio_write_and_X to
return NTSTATUS. Move the grant and release of the lock into
the aio code.

Jeremy
2010-04-05 14:16:21 -07:00
Volker Lendecke
2754a8e2b6 Fix related to bug #7326 - can't read/write any files with full_audit 2010-04-05 13:50:59 -07:00
Volker Lendecke
3ccecdd650 s3: Fix a cut&paste error in winbindd_list_groups_done 2010-04-05 16:04:03 +02:00
Volker Lendecke
6e40fa9b01 s3: Fix the GNU ld version detection on SLES
On SLES 11 "ld -v" gives

GNU ld (GNU Binutils; SUSE Linux Enterprise 11) 2.19

The regexp to intended to detect the "2.19" is confused by the "11" in the
version string. I'm not really into regexps, and awk '{print $NF}' to me is a
simple (and hopefully portable) way to print the last field.
2010-04-04 20:31:19 +02:00
Volker Lendecke
53dec15427 s3: Fix a comment 2010-04-02 10:17:14 +02:00
Jeremy Allison
bf90969892 Move initialize_async_io_handler() inside of smbd/aio.c.
Call from actual aio read or write. No reason to call this globally on startup.

Jeremy.
2010-04-01 16:47:59 -07:00
Jeremy Allison
b6aabcd628 Add torture test for bug 7310 - DOS attribute inconsistency with MS Office
Ensure we don't regress.

Jeremy.
2010-04-01 15:01:43 -07:00
Stefan Metzmacher
e18ddb6036 s3:winbindd: remove unused variables
metze
2010-04-01 18:11:25 +02:00
Stefan Metzmacher
73577205cf s3:winbindd: fix problems with SIGCHLD handling (bug #7317)
The main problem is that we call CatchChild() within the
parent winbindd, which overwrites the signal handler
that was registered by winbindd_setup_sig_chld_handler().

That means winbindd_sig_chld_handler() and winbind_child_died()
are never triggered when a winbindd domain child dies.
As a result will get "broken pipe" for all requests to that domain.

To reduce the risk of similar bugs in future we call
CatchChild() in winbindd_reinit_after_fork() now.

We also use a full winbindd_reinit_after_fork() in the
cache validation child now instead instead of just resetting
the SIGCHLD handler by hand. This will also fix possible
tdb problems on systems without pread/pwrite and disabled mmap
as we now correctly reopen the tdb handle for the child.

metze
2010-04-01 17:25:11 +02:00
Volker Lendecke
3475c61179 s3: Ensure NULL termination before printing in winbindd_pam_logoff 2010-04-01 16:34:01 +02:00
Volker Lendecke
64c564291d s3: Fix a typo in winbindd_pam_logoff 2010-04-01 15:14:09 +02:00
Stefan Metzmacher
a2411c5708 s3:winbindd: correctly invalidate the cached connection
There're maybe additional TCP connection for ncacn_ip_tcp.

metze
2010-04-01 13:01:27 +02:00
Stefan Metzmacher
0f95d00f49 s3:winbindd: only set child_domain in the child
metze
2010-04-01 13:01:26 +02:00
Stefan Metzmacher
d930904b99 s3:winbindd: make sure we don't try rpc requests against unaccessable domains
This makes sure we don't crash while trying to dereference domain->conn.cli->foo
while trying to establish a rpc connection to the server.

metze
2010-04-01 13:01:26 +02:00
Volker Lendecke
658dc77446 s3: fix a typo in winbind_client_response_written 2010-04-01 12:56:54 +02:00
Jeremy Allison
6800fdbb81 Make smbd_lock_socket/smbd_unlock_socket recursive with a ref_count.
As these always call exit_server, make that part of the function.
Use _internal functions for the echo client.

Metze please check !

Jeremy.
2010-03-31 17:40:30 -07:00
Christian PERRIER
bb54089503 s3: Merge French translation for pam_winbind after review
- some wording improvements ("user" is not "usager" but "utilisateur"
- gender neutrality changes:
  by rewording:  ("vous n'êtes pas autorisé" --> "vous n'avez pas
  l'autorisation")
- bad translation corrections: "valide"-->"valable" (a very common
  false friend)
- and several changes we consider to be improvements, mostly because
  they are common wording in computing translations in French

Signed-off-by: Lars Müller <lars@samba.org>
2010-03-31 23:10:11 +02:00
Volker Lendecke
0e3f031e59 s3: Fix an error message in winbindd_pam_chauthtok() 2010-03-31 22:07:39 +02:00
Volker Lendecke
15d58f688f s3: Ensure null termination in winbindd_pam_chauthtok() 2010-03-31 22:07:38 +02:00
Volker Lendecke
6d9b2e62cb s3: Make check_info3_in_group static 2010-03-31 21:03:07 +02:00