1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

18273 Commits

Author SHA1 Message Date
Stefan Metzmacher
d3ac11c64a s4:heimdal_build: correrctly switch closefrom() and get/setprogname() replacements on and off
metze
2009-02-26 13:14:26 +01:00
Stefan Metzmacher
8e4816f007 s4:Makefile: try to fix 'make installheaders' on *BSD systems
metze
2009-02-26 10:55:00 +01:00
Stefan Metzmacher
b6597424db s4:heimdal_build: don't always build setprogname.o
This hopefully fixes the build on Mac OS 10, where setprogname()
is available via libc.

asn1_compile and compile_et use only .ho files again
and don't use socket_wrapper anymore.

metze
2009-02-26 10:48:11 +01:00
Stefan Metzmacher
64662cb0c3 s4:ldb_map: include ldb_includes.h first to get replace.h as first header
This should bring the build on AIX one step further.

metze
2009-02-26 09:42:29 +01:00
Stefan Metzmacher
b679f6b256 s4:VERSION: mark as 4.0.0-alpha8 gitsnapshot
metze
2009-02-26 09:10:23 +01:00
Andrew Bartlett
c3632e4efc Mark as the Samba 4.0 alpha7 release 2009-02-26 13:21:08 +11:00
Andrew Bartlett
76a0050e23 A simple hack to avoid the segfault in #6138
Thanks to Andrew Kroeger <andrew@id10ts.net> for reporting this.  This
fix just for the release.  A better fix will make it into the master
branch soon.

Andrew Bartlett
2009-02-26 13:12:07 +11:00
Günther Deschner
7e01ec5560 s4-spoolss: implement dcesrv_spoolss_AddJob which always is a dummy.
Guenther
2009-02-25 23:48:29 +01:00
Günther Deschner
8bf0c256d7 s4-smbtorture: add test_AddJob test to RPC-SPOOLSS test.
Guenther
2009-02-25 23:48:29 +01:00
Günther Deschner
228e75112f s4-spoolss: implement dcesrv_spoolss_GetPrintProcessorDirectory.
Guenther
2009-02-25 23:06:56 +01:00
Günther Deschner
6cd30a351a s4-smbtorture: expand RPC-SPOOLSS enumform and getform tests for level 2 forms.
Guenther
2009-02-25 21:17:19 +01:00
Günther Deschner
666cc916eb s4-smbtorture: add test_GetPrintProcessorDirectory to RPC-SPOOLSS.
Guenther
2009-02-25 21:17:18 +01:00
Tim Prouty
f90250b549 s4: make libintl a build dependency of heimdal_krb5 so all dependent binaries are linked properly 2009-02-25 11:29:07 -08:00
Simo Sorce
fd3f3e68f2 Use stdbool.h instead of manually defining bool 2009-02-25 10:02:41 -05:00
Stefan Metzmacher
2bd8cacf0e s4:lib/events: map TEVENT_DEBUG_TRACE to debug level 10
metze
2009-02-25 15:05:50 +01:00
Jelmer Vernooij
258ae4cec5 Merge branch 'master' of ssh://git.samba.org/data/git/samba
Conflicts:
	source4/scripting/python/samba/provision.py
2009-02-25 12:49:37 +01:00
Tim Prouty
eb5efd1978 s4 heimdal: Link libintl correctly 2009-02-25 00:36:43 -08:00
Stefan Metzmacher
dc0e46afb7 s4:build: add some comments to the SMB_EXT_LIB() definition
metze
2009-02-25 08:42:33 +01:00
Jeremy Allison
f68c091107 Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba 2009-02-24 17:33:47 -08:00
Jeremy Allison
cde5724780 Added torture test from a usage case from the Apple OS/X client.
Setting an attribute on a stream fnum must change the attribute
on the base file.
Jeremy.
2009-02-24 17:32:22 -08:00
Oliver Liebel
503d15e8df Updates to the recent cn=config support for the OpenLDAP backend
- removed workaround for olcSyncprovConfig - creation (works perfect now
with 2.4.15, release was today)
- added 1 message-helpline, which is displayed when running
provision-backend with olc and/or mmr setup
- corrected 1 wrong slapcommand-helpline
- slapd.conf is removed now in case of olc-setup
- added 1 copyright-line to provision.py and provision-backend

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-02-25 10:39:35 +11:00
Jeremy Allison
a028e9640b Make S4 build on OpenSolaris.
Jeremy.
2009-02-24 15:27:47 -08:00
Jeremy Allison
c21d54f913 Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba 2009-02-24 12:35:33 -08:00
Jeremy Allison
3a88316e23 Fix the build. Looks like no one ever compiled this on a system
with a libintl.h before.
Jeremy.
2009-02-24 12:19:06 -08:00
Volker Lendecke
e3746ac922 Fix some C++ warnings 2009-02-24 21:12:01 +01:00
Jeremy Allison
365925eea3 Start fixing Solaris build failures.
Jeremy.
2009-02-24 11:37:57 -08:00
Stefan Metzmacher
f6b0a99cef libcli/ldap: move generic ldap control encoding code to ldap_message.c
As they can we static there, we pass the specific handlers as parameter
where we need to support controls.

metze
2009-02-24 17:55:41 +01:00
Stefan Metzmacher
7b1c5c94f6 s4:libcli/ldap: don't use 'void **out' as arguments as the behavior is not defined in C.
metze
2009-02-24 17:55:41 +01:00
Stefan Metzmacher
18b30e5646 libcli/ldap: move ldap_ndr from source4/ to toplevel
metze
2009-02-24 17:55:40 +01:00
Stefan Metzmacher
ef0fa403f1 libcli/ldap: move ldap_errors.h to the toplevel and install it
metze
2009-02-24 17:55:39 +01:00
Stefan Metzmacher
536318549f libcli/ldap: move ldap_message.[ch] from source4/ to the toplevel
metze
2009-02-24 17:55:39 +01:00
Stefan Metzmacher
1ab9c1a402 s4:libcli/ldap: remove reference to DEBUG()
This prepares using ldap_message.c in source3/ later

metze
2009-02-24 17:55:38 +01:00
Stefan Metzmacher
12184d4132 s4:libcli: split out LIBCLI_LDAP_MESSAGE subsystem
metze
2009-02-24 17:55:37 +01:00
Oliver Liebel
31f2cddcf5 Added mmr and olc to the OpenLDAP backend provisioning-scripts
These extensions add mmr (multi-master-replication) and olc
(openldap-online-configuration) capabilities to the
provisioning-scripts (provision-backend and provision.py), for use
with the openldap-backend (only versions >=2.4.15!).

Changes / additions made to the provision-backend  -script:
added new command-line-options:
--ol-mmr-urls=<list of whitespace separated ldap-urls> for use with mmr
(can be combined with --ol-olc=yes),
--ol-olc=[yes/no] (activate automatic conversion from static slapd.conf
to olc),
--ol-slaptest=<path to slaptest binary> (needed in conjunction with
--ol-olc=yes)

Changes / additions made to the provision.py -script: added
extensions, that will automatically generate the chosen mmr and/or olc
setup for the openldap backend, according to the to chosen parameters
set in the provision-backend script

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-02-24 21:34:44 +11:00
Andrew Tridgell
3a1b4c00eb Merge branch 'master' of ssh://git.samba.org/data/git/samba 2009-02-24 11:40:28 +11:00
Andrew Tridgell
b9860043dc fixed the event context for net vampire 2009-02-24 11:39:44 +11:00
Jelmer Vernooij
fff055f8e3 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2009-02-24 01:02:45 +01:00
Jelmer Vernooij
b9cf189404 expand tabs in python file, consistent with the rest of the file. 2009-02-24 01:02:26 +01:00
Jelmer Vernooij
dcb2e7d577 expand tabs in python file, consistent with the rest of the file. 2009-02-24 01:00:09 +01:00
Jelmer Vernooij
10c047c6f4 Fix finding of setup data. 2009-02-24 00:58:29 +01:00
Andrew Tridgell
0016b9cee8 added a missing linefeed 2009-02-24 10:48:11 +11:00
Simo Sorce
1cd7fe7194 Fix headers, ldb_includes.h is a private header,
do not reference it from ldb.h
2009-02-23 17:38:11 -05:00
Simo Sorce
689b8f5bb3 Make all transactions nested in ldb. The current samba4 code expects this
behavior anyway, and given we can only have one transaction active per
ldb context this is the only sane model we can support.

Fix ldb_tdb transactions, we could return back with an error with neither
committing nor canceling the actual tdb transaction in some error paths
within the ltdb commit and cancel transaction paths.

Added also some debugging to trace what was going on.
2009-02-23 13:33:19 -05:00
Günther Deschner
24373c16a5 s4-smbtorture: fix eventlog getinformation test.
Guenther
2009-02-21 21:13:59 +01:00
Jelmer Vernooij
80e9e63cf6 Let --enable-external-libldb default to no (since linking against
external LDB doesn't work yet).
Fix flags when using internal libs.
2009-02-21 18:59:12 +01:00
Jelmer Vernooij
fb1c564b78 Add --enable-external-* flags for libraries shipped with Samba, to allow
explicitly enabling or disabling the use of the version provided by the
system.
2009-02-21 18:21:20 +01:00
Zack Kirsch
2539d678f5 s4 torture: Add comment to clarify test 2009-02-20 16:42:50 -08:00
Steven Danneman
116ce19b10 Moved become_daemon() and close_low_fds() to shared util lib 2009-02-20 16:30:12 -08:00
Steven Danneman
1a0aed36c0 Added torture tests to RAW-NOTIFY
* This adds a test to check the change notify behavior of the SMB server
  when more events have been generated than can be returned in a single
  change notify response.

* Second test makes sure the server doesn't return notification events
  for changes to the watched directory itself
2009-02-20 14:10:29 -08:00
Stefan Metzmacher
052f3f0d4d s4:librpc/ndr: if uninitialized variable in string_array code
metze
2009-02-19 11:13:35 +01:00