jelmer/samba4-debian.git
16 years agor13924: Split more prototypes out of include/proto.h + initial work on header
Jelmer Vernooij [Tue, 7 Mar 2006 11:07:23 +0000 (11:07 +0000)]
r13924: Split more prototypes out of include/proto.h + initial work on header
file dependencies

16 years agor13923: make the state_flags per dcesrv_connection
Stefan Metzmacher [Tue, 7 Mar 2006 11:02:47 +0000 (11:02 +0000)]
r13923: make the state_flags per dcesrv_connection

this will may help with a generic named pipe solution

metze

16 years agor13922: - fix whitespaces
Stefan Metzmacher [Tue, 7 Mar 2006 10:32:27 +0000 (10:32 +0000)]
r13922: - fix whitespaces
- remove some unused NOPROTO=YES on binaries

metze

16 years agor13921: rename DEFAULT_VISIBILITY -> STANDARD_VISIBILITY
Stefan Metzmacher [Tue, 7 Mar 2006 10:30:39 +0000 (10:30 +0000)]
r13921: rename DEFAULT_VISIBILITY -> STANDARD_VISIBILITY

the standard is "hidden" and not "default", I hope this
name makes a bit less confusing

metze

16 years agor13920: "hidden" visibility is the default...
Stefan Metzmacher [Tue, 7 Mar 2006 10:20:47 +0000 (10:20 +0000)]
r13920: "hidden" visibility is the default...

metze

16 years agor13919: for us the standard for the visibility is "hidden"
Stefan Metzmacher [Tue, 7 Mar 2006 10:20:06 +0000 (10:20 +0000)]
r13919: for us the standard for the visibility is "hidden"
and "default" means public

metze

16 years agor13918: fix whitespaces
Stefan Metzmacher [Tue, 7 Mar 2006 10:17:42 +0000 (10:17 +0000)]
r13918: fix whitespaces

metze

16 years agor13917: fix detection of the visibility support,
Stefan Metzmacher [Tue, 7 Mar 2006 10:16:03 +0000 (10:16 +0000)]
r13917: fix detection of the visibility support,
as we don't use #pragma for the build don't use it for the configure test
and use -fvisibility=hidden in CFLAGS in the configure test

metze

16 years agor13911: Make these debug messages clearer.
Andrew Bartlett [Tue, 7 Mar 2006 03:34:14 +0000 (03:34 +0000)]
r13911: Make these debug messages clearer.

16 years agor13910: Fix the 'your password has expired' on every login. We now consider
Andrew Bartlett [Tue, 7 Mar 2006 03:33:26 +0000 (03:33 +0000)]
r13910: Fix the 'your password has expired' on every login.  We now consider
if the 'password does not expire' flag has been set, filling in the
PAC and netlogon reply correctly if so.

Andrew Bartlett

16 years agor13909: Make this code clearer.
Andrew Bartlett [Tue, 7 Mar 2006 03:30:59 +0000 (03:30 +0000)]
r13909: Make this code clearer.

Andrew Bartlett

16 years agor13908: Improve the RPC-SAMSYNC test to cross-check some attributes I wasn't
Andrew Bartlett [Tue, 7 Mar 2006 03:24:29 +0000 (03:24 +0000)]
r13908: Improve the RPC-SAMSYNC test to cross-check some attributes I wasn't
sure about.

This finds a new ACB_PW_EXPIRED attribute.

Andrew Bartlett

16 years agor13907: By ordering things this way, we allow the password_hash module to set
Andrew Bartlett [Tue, 7 Mar 2006 03:17:44 +0000 (03:17 +0000)]
r13907: By ordering things this way, we allow the password_hash module to set
the pwdLastSet time on new users (with passwords) correctly.

Andrew Bartlett

16 years agor13906: fix swig build
Simo Sorce [Tue, 7 Mar 2006 02:55:59 +0000 (02:55 +0000)]
r13906: fix swig build

16 years agor13905: include/includes.h now includes param/param.h..
Jelmer Vernooij [Mon, 6 Mar 2006 23:51:24 +0000 (23:51 +0000)]
r13905: include/includes.h now includes param/param.h..

16 years agor13904: Make sure LDB gets initialized
Jelmer Vernooij [Mon, 6 Mar 2006 23:34:57 +0000 (23:34 +0000)]
r13904: Make sure LDB gets initialized

16 years agor13903: Don't generate prototypes for modules and binaries in include/proto.h by
Jelmer Vernooij [Mon, 6 Mar 2006 23:28:18 +0000 (23:28 +0000)]
r13903: Don't generate prototypes for modules and binaries in include/proto.h by
default.

16 years agor13902: Stricter checking for the -fvisibility flag
Jelmer Vernooij [Mon, 6 Mar 2006 22:01:03 +0000 (22:01 +0000)]
r13902: Stricter checking for the -fvisibility flag
Add two more proto headers.

16 years agor13901: Backends need to be initialized even if there are no modules
Simo Sorce [Mon, 6 Mar 2006 21:58:07 +0000 (21:58 +0000)]
r13901: Backends need to be initialized even if there are no modules

16 years agor13900: don't segfault on error
Simo Sorce [Mon, 6 Mar 2006 21:40:47 +0000 (21:40 +0000)]
r13900: don't segfault on error

16 years agor13899: Get the shared library build building again. Just compiles for now,
Jelmer Vernooij [Mon, 6 Mar 2006 21:36:24 +0000 (21:36 +0000)]
r13899: Get the shared library build building again. Just compiles for now,
but modules don't work yet..
(Run LIBRARY_OUTPUT_TYPE=SHARED_LIBRARY MODULE_OUTPUT_TYPE=SHARED_LIBRARY ./config.status)

16 years agor13898: Add a subsystem-specific DEFAULT_VISIBILITY property that can be used
Jelmer Vernooij [Mon, 6 Mar 2006 21:14:41 +0000 (21:14 +0000)]
r13898: Add a subsystem-specific DEFAULT_VISIBILITY property that can be used
to not export symbols when building shared libraries. Symbols that have to be
available to users of the library can be explicitly exported by
prepending them with _PUBLIC_ in the C source.

16 years agor13896: Get rid of 'use warnings' as it isn't very portable..
Jelmer Vernooij [Mon, 6 Mar 2006 20:19:00 +0000 (20:19 +0000)]
r13896: Get rid of 'use warnings' as it isn't very portable..

16 years agor13877: remove smbsrv_send_dos_error() and use smbsrv_send_error(..,NT_STATUS_DOS())
Stefan Metzmacher [Mon, 6 Mar 2006 18:29:48 +0000 (18:29 +0000)]
r13877: remove smbsrv_send_dos_error() and use smbsrv_send_error(..,NT_STATUS_DOS())

metze

16 years agor13872: fix typo
Stefan Metzmacher [Mon, 6 Mar 2006 16:58:07 +0000 (16:58 +0000)]
r13872: fix typo

metze

16 years agor13870: prefix more functions with smbsrv_
Stefan Metzmacher [Mon, 6 Mar 2006 16:19:27 +0000 (16:19 +0000)]
r13870: prefix more functions with smbsrv_

metze

16 years agor13868: remove useless talloc_free() wrapper
Stefan Metzmacher [Mon, 6 Mar 2006 15:38:07 +0000 (15:38 +0000)]
r13868: remove useless talloc_free() wrapper

metze

16 years agor13867: Wrap the cflags.sh hack in the build system. You can now simply
Jelmer Vernooij [Mon, 6 Mar 2006 15:34:29 +0000 (15:34 +0000)]
r13867: Wrap the cflags.sh hack in the build system. You can now simply
set subsystem-specific compiler flags in the .mk files.

16 years agor13866: prefix more functions with smbsrv_
Stefan Metzmacher [Mon, 6 Mar 2006 15:33:25 +0000 (15:33 +0000)]
r13866: prefix more functions with smbsrv_

metze

16 years agor13865: prefix functions with smbsrv_
Stefan Metzmacher [Mon, 6 Mar 2006 15:31:01 +0000 (15:31 +0000)]
r13865: prefix functions with smbsrv_

metze

16 years agor13863: this can be static...
Stefan Metzmacher [Mon, 6 Mar 2006 15:04:59 +0000 (15:04 +0000)]
r13863: this can be static...

metze

16 years agor13862: rename chain_reply -> smbsrv_chain_reply
Stefan Metzmacher [Mon, 6 Mar 2006 15:00:42 +0000 (15:00 +0000)]
r13862: rename chain_reply -> smbsrv_chain_reply

metze

16 years agor13860: - add support for SMB2 ("SMB 2.001") negotiation in SMB negprot requests
Stefan Metzmacher [Mon, 6 Mar 2006 14:19:11 +0000 (14:19 +0000)]
r13860: - add support for SMB2 ("SMB 2.001") negotiation in SMB negprot requests
- the default max protocol is still NT1

metze

16 years agor13859: - remove useless fsync() calls
Stefan Metzmacher [Mon, 6 Mar 2006 13:55:56 +0000 (13:55 +0000)]
r13859: - remove useless fsync() calls
- make sure we only close the old_fd when the new one was opened

metze

16 years agor13858: - use req_pull_ascii4() instead of doing strlen() on client provided buffers
Stefan Metzmacher [Mon, 6 Mar 2006 13:22:16 +0000 (13:22 +0000)]
r13858: - use req_pull_ascii4() instead of doing strlen() on client provided buffers
- also terminate the connection if we don't support any protocol the client
  provides

metze

16 years agor13857: add "Windows for Workgroups 3.1a" support to the server
Stefan Metzmacher [Mon, 6 Mar 2006 13:17:16 +0000 (13:17 +0000)]
r13857: add "Windows for Workgroups 3.1a" support to the server

metze

16 years agor13856: fixed a misleading comment
Andrew Tridgell [Mon, 6 Mar 2006 13:12:48 +0000 (13:12 +0000)]
r13856: fixed a misleading comment

16 years agor13855: Docs for the registry library as well
Jelmer Vernooij [Mon, 6 Mar 2006 10:09:53 +0000 (10:09 +0000)]
r13855: Docs for the registry library as well

16 years agor13854: we now pass BASE-NEGNOWAIT
Andrew Tridgell [Mon, 6 Mar 2006 05:16:39 +0000 (05:16 +0000)]
r13854: we now pass BASE-NEGNOWAIT

16 years agor13853: fixed the BASE-NEGNOWAIT test to not fail with a sigpipe if the server
Andrew Tridgell [Mon, 6 Mar 2006 05:16:00 +0000 (05:16 +0000)]
r13853: fixed the BASE-NEGNOWAIT test to not fail with a sigpipe if the server
drops the connection on multiple negprots

16 years agor13852: Split up
Jelmer Vernooij [Mon, 6 Mar 2006 01:11:27 +0000 (01:11 +0000)]
r13852: Split up

16 years agor13851: More doc improvements.
Jelmer Vernooij [Mon, 6 Mar 2006 00:24:51 +0000 (00:24 +0000)]
r13851: More doc improvements.

16 years agor13850: Test (and fix) not using SPNEGO at all, but instead using raw NTLMSSP.
Andrew Bartlett [Sun, 5 Mar 2006 23:06:37 +0000 (23:06 +0000)]
r13850: Test (and fix) not using SPNEGO at all, but instead using raw NTLMSSP.

The switch to turn off SPNEGO in the client is a bit messy, but it works.

Andrew Bartlett

16 years agor13849: More improvements to the libutil docs.
Jelmer Vernooij [Sun, 5 Mar 2006 20:45:18 +0000 (20:45 +0000)]
r13849: More improvements to the libutil docs.

16 years agor13847: Fix some portability issues with the visibility attribute.
Jelmer Vernooij [Sun, 5 Mar 2006 18:28:33 +0000 (18:28 +0000)]
r13847: Fix some portability issues with the visibility attribute.

16 years agor13844: Remove _PUBLIC_ for now as the proto script seems to make false assumptions
Jelmer Vernooij [Sun, 5 Mar 2006 17:50:47 +0000 (17:50 +0000)]
r13844: Remove _PUBLIC_ for now as the proto script seems to make false assumptions
about the data type being known.

16 years agor13842: Make some more functions public.
Jelmer Vernooij [Sun, 5 Mar 2006 17:44:16 +0000 (17:44 +0000)]
r13842: Make some more functions public.

16 years agor13840: Mark some functions as public.
Jelmer Vernooij [Sun, 5 Mar 2006 17:15:19 +0000 (17:15 +0000)]
r13840: Mark some functions as public.

16 years agor13839: Use registration mechanism for backends as well (in the same sense
Jelmer Vernooij [Sun, 5 Mar 2006 16:05:26 +0000 (16:05 +0000)]
r13839: Use registration mechanism for backends as well (in the same sense
my previous patch added it for modules). This is the next step towards
LDB backends and modules as run-time loadable .so files.

16 years agor13827: Minor enhancements or cosmetic changes
Simo Sorce [Fri, 3 Mar 2006 22:52:57 +0000 (22:52 +0000)]
r13827: Minor enhancements or cosmetic changes

16 years agor13826: Try to keep this backend updated
Simo Sorce [Fri, 3 Mar 2006 22:52:38 +0000 (22:52 +0000)]
r13826: Try to keep this backend updated
This need more testing and to be built by default when possible

16 years agor13823: make async_wait part of the modules ops
Simo Sorce [Fri, 3 Mar 2006 20:01:19 +0000 (20:01 +0000)]
r13823: make async_wait part of the modules ops

16 years agor13818: Make ldb_tdb 'fake' async.
Simo Sorce [Fri, 3 Mar 2006 17:44:03 +0000 (17:44 +0000)]
r13818: Make ldb_tdb 'fake' async.

Simo.

16 years agor13813: fix compiler warnings
Stefan Metzmacher [Fri, 3 Mar 2006 08:28:42 +0000 (08:28 +0000)]
r13813: fix compiler warnings

metze

16 years agor13812: fix compiler warning
Stefan Metzmacher [Fri, 3 Mar 2006 08:23:57 +0000 (08:23 +0000)]
r13812: fix compiler warning

metze

16 years agor13811: nicer format...
Stefan Metzmacher [Fri, 3 Mar 2006 08:21:11 +0000 (08:21 +0000)]
r13811: nicer format...

metze

16 years agor13810: global data types are defined in core.h now...
Stefan Metzmacher [Fri, 3 Mar 2006 08:17:55 +0000 (08:17 +0000)]
r13810: global data types are defined in core.h now...

metze

16 years agor13809: move ldb specific define
Stefan Metzmacher [Fri, 3 Mar 2006 08:15:29 +0000 (08:15 +0000)]
r13809: move ldb specific define

metze

16 years agor13808: remove unused define
Stefan Metzmacher [Fri, 3 Mar 2006 08:08:46 +0000 (08:08 +0000)]
r13808: remove unused define

metze

16 years agor13807: print out the netbios name the packet is for
Stefan Metzmacher [Fri, 3 Mar 2006 08:01:09 +0000 (08:01 +0000)]
r13807: print out the netbios name the packet is for

metze

16 years agor13803: fixed two errors found with 'make valgrindtest'
Andrew Tridgell [Fri, 3 Mar 2006 02:29:48 +0000 (02:29 +0000)]
r13803: fixed two errors found with 'make valgrindtest'

16 years agor13790: Add Samba as category
Jelmer Vernooij [Thu, 2 Mar 2006 17:06:49 +0000 (17:06 +0000)]
r13790: Add Samba as category

16 years agor13789: Add metadata files for the GTK+ apps
Jelmer Vernooij [Thu, 2 Mar 2006 16:55:35 +0000 (16:55 +0000)]
r13789: Add metadata files for the GTK+ apps

16 years agor13786: [merge] Add registration functions for LDB modules
Jelmer Vernooij [Thu, 2 Mar 2006 16:32:53 +0000 (16:32 +0000)]
r13786: [merge] Add registration functions for LDB modules

Applications that use LDB modules will now have to run ldb_global_init()
before they can use LDB.

The next step will be adding support for loading LDB modules from .so
files. This will also allow us to use one LDB without difference between the
standalone and the Samba-specific build

16 years agor13773: Be consistent in the way you get out and free allocated data
Simo Sorce [Wed, 1 Mar 2006 20:06:34 +0000 (20:06 +0000)]
r13773: Be consistent in the way you get out and free allocated data

16 years agor13770: - do fsync() on the debug fd, as we do in samba3,
Stefan Metzmacher [Wed, 1 Mar 2006 15:02:07 +0000 (15:02 +0000)]
r13770: - do fsync() on the debug fd, as we do in samba3,
  I have an report that smbd memory usage grows to 1,5 GB or more
  without this...
- make log_timestamp static

metze

16 years agor13769: the "wins partners"-option will not be readded
Stefan Metzmacher [Wed, 1 Mar 2006 13:20:32 +0000 (13:20 +0000)]
r13769: the "wins partners"-option will not be readded

metze

16 years agor13768: be less verbose...
Stefan Metzmacher [Wed, 1 Mar 2006 13:19:10 +0000 (13:19 +0000)]
r13768: be less verbose...

metze

16 years agor13767: fix compiler warnings
Stefan Metzmacher [Wed, 1 Mar 2006 12:10:10 +0000 (12:10 +0000)]
r13767: fix compiler warnings

metze

16 years agor13760: Remove extern declaration for SMB_PASSWD_FILE
Jelmer Vernooij [Tue, 28 Feb 2006 19:47:02 +0000 (19:47 +0000)]
r13760: Remove extern declaration for SMB_PASSWD_FILE

16 years agor13754: Update TODO
Jelmer Vernooij [Tue, 28 Feb 2006 13:33:48 +0000 (13:33 +0000)]
r13754: Update TODO

16 years agor13753: /bin/sh -> /bin/bash as this script uses some bash-specific constructs
Jelmer Vernooij [Tue, 28 Feb 2006 13:17:39 +0000 (13:17 +0000)]
r13753: /bin/sh -> /bin/bash as this script uses some bash-specific constructs

16 years agor13752: Add doxyfile and fix formatting of comments. Current output is available...
Jelmer Vernooij [Tue, 28 Feb 2006 13:12:39 +0000 (13:12 +0000)]
r13752: Add doxyfile and fix formatting of comments. Current output is available at samba.org/~jelmer/util-api/

16 years agor13745: remove some code I was experimenting with and forgot was there when I
Andrew Tridgell [Tue, 28 Feb 2006 05:48:21 +0000 (05:48 +0000)]
r13745: remove some code I was experimenting with and forgot was there when I
committed

that will teach me to run svn diff before committing ....

16 years agor13744: Make ldb_ldap async
Simo Sorce [Tue, 28 Feb 2006 04:38:53 +0000 (04:38 +0000)]
r13744: Make ldb_ldap async

16 years agor13743: Generic fixes and improvements
Simo Sorce [Tue, 28 Feb 2006 04:37:47 +0000 (04:37 +0000)]
r13743: Generic fixes and improvements

16 years agor13742: Fix tests to work better with ldap
Simo Sorce [Tue, 28 Feb 2006 04:36:29 +0000 (04:36 +0000)]
r13742: Fix tests to work better with ldap

16 years agor13741: make the pointer type in pidl handle any size pointer, just in case we
Andrew Tridgell [Tue, 28 Feb 2006 04:02:26 +0000 (04:02 +0000)]
r13741: make the pointer type in pidl handle any size pointer, just in case we
have a 128 bit machine out there somewhere

16 years agor13740: the BASE-DELETE test now passes, and is a quick test
Andrew Tridgell [Tue, 28 Feb 2006 03:49:13 +0000 (03:49 +0000)]
r13740: the BASE-DELETE test now passes, and is a quick test

16 years agor13739: a fairly major overhaul of the opendb code to allow the BASE-DELETE
Andrew Tridgell [Tue, 28 Feb 2006 03:47:02 +0000 (03:47 +0000)]
r13739: a fairly major overhaul of the opendb code to allow the BASE-DELETE
test to pass. To try to make the code a bit more understandable, I
moved to using an IDL description of the opendb tdb record format.

One of the larger changes was to make directory opens and creates go
via the opendb code, so directory operations now obey all the share
mode restrictions, as well as delete on close semantics. I also
changed the period over which the opendb locks are held, to try to
minimise races due to two open operations happening at the same time.

16 years agor13738: added support for a "pointer" type in pidl. This will be used in the
Andrew Tridgell [Tue, 28 Feb 2006 03:42:19 +0000 (03:42 +0000)]
r13738: added support for a "pointer" type in pidl. This will be used in the
opendb work that will be committed shortly.

The pointer type assumes that pointers fit in 64 bits, which is
probably OK on all our supported architectures.

16 years agor13735: Add summary of changes since the first TP so far. Please let me know
Jelmer Vernooij [Tue, 28 Feb 2006 00:01:04 +0000 (00:01 +0000)]
r13735: Add summary of changes since the first TP so far. Please let me know
if I've gotten details wrong or if there's something missing.

16 years agor13726: Fix indentation.
Rafal Szczesniak [Mon, 27 Feb 2006 19:55:21 +0000 (19:55 +0000)]
r13726: Fix indentation.

rafal

16 years agor13710: fix compiler warnings
Stefan Metzmacher [Mon, 27 Feb 2006 10:23:59 +0000 (10:23 +0000)]
r13710: fix compiler warnings

metze

16 years agor13709: fix compiler warnings
Stefan Metzmacher [Mon, 27 Feb 2006 10:14:11 +0000 (10:14 +0000)]
r13709: fix compiler warnings

metze

16 years agor13708: fix compiler warnings
Stefan Metzmacher [Mon, 27 Feb 2006 09:57:14 +0000 (09:57 +0000)]
r13708: fix compiler warnings

metze

16 years agor13707: expanded the delete on close test some more, and make it easier to
Andrew Tridgell [Mon, 27 Feb 2006 03:23:28 +0000 (03:23 +0000)]
r13707: expanded the delete on close test some more, and make it easier to
track down where a error is happening. The semantics sure are strange!

16 years agor13701: removed some unnecessary casts
Andrew Tridgell [Mon, 27 Feb 2006 01:03:21 +0000 (01:03 +0000)]
r13701: removed some unnecessary casts

16 years agor13700: added highestCommittedUSN, uSNChanged and uSNCreated support, using
Andrew Tridgell [Mon, 27 Feb 2006 00:39:26 +0000 (00:39 +0000)]
r13700: added highestCommittedUSN, uSNChanged and uSNCreated support, using
the @BASEINFO sequenceNumber

(simo, I changed the function pointer to a structure element as you
preferred)

16 years agor13699: restore the system/select.h include, as otherwise we don't detect
Andrew Tridgell [Mon, 27 Feb 2006 00:36:08 +0000 (00:36 +0000)]
r13699: restore the system/select.h include, as otherwise we don't detect
epoll support

16 years agor13662: Typo fix, add more public headers
Jelmer Vernooij [Thu, 23 Feb 2006 20:56:10 +0000 (20:56 +0000)]
r13662: Typo fix, add more public headers

16 years agor13658: More moving around of files:
Jelmer Vernooij [Thu, 23 Feb 2006 15:52:24 +0000 (15:52 +0000)]
r13658: More moving around of files:
 - Collect the generic utility functions into a lib/util/ (a la GLib is
for the GNOME folks)
 - Remove even more files from include/

16 years agor13655: Use new name of build header
Jelmer Vernooij [Thu, 23 Feb 2006 12:48:13 +0000 (12:48 +0000)]
r13655: Use new name of build header

16 years agor13654: Move some more stuff out of include/
Jelmer Vernooij [Thu, 23 Feb 2006 12:44:21 +0000 (12:44 +0000)]
r13654: Move some more stuff out of include/

16 years agor13653: Copy headers from the right place
Jelmer Vernooij [Thu, 23 Feb 2006 11:52:55 +0000 (11:52 +0000)]
r13653: Copy headers from the right place

16 years agor13652: Move some more stuff out off include/
Jelmer Vernooij [Thu, 23 Feb 2006 11:29:01 +0000 (11:29 +0000)]
r13652: Move some more stuff out off include/

16 years agor13651: Always make sure pkgconfig directory exists
Jelmer Vernooij [Thu, 23 Feb 2006 09:58:24 +0000 (09:58 +0000)]
r13651: Always make sure pkgconfig directory exists

16 years agor13650: Install manpages when building standalone
Jelmer Vernooij [Thu, 23 Feb 2006 09:55:50 +0000 (09:55 +0000)]
r13650: Install manpages when building standalone

16 years agor13649: Move the general introduction to Samba4 to README and
Jelmer Vernooij [Thu, 23 Feb 2006 09:33:44 +0000 (09:33 +0000)]
r13649: Move the general introduction to Samba4 to README and
prepare WHATSNEW.txt for release notes (similar as we do for Samba3).

16 years agor13637: Adding more netr_UserFlags.
Günther Deschner [Wed, 22 Feb 2006 16:25:31 +0000 (16:25 +0000)]
r13637: Adding more netr_UserFlags.

Guenther