ira/wip.git
16 years agor14079: I just found the setproctitle library from alt linux:-)
Stefan Metzmacher [Thu, 9 Mar 2006 17:48:41 +0000 (17:48 +0000)]
r14079: I just found the setproctitle library from alt linux:-)

- add set_title hook to the process models
- use setproctitle library in process_model standard if available
- the the title for the task servers and on connections

metze

16 years agor14078: move ldb_global_init() to the main smbd code,
Stefan Metzmacher [Thu, 9 Mar 2006 17:39:24 +0000 (17:39 +0000)]
r14078: move ldb_global_init() to the main smbd code,
to fix the process_model standard

metze

16 years agor14072: - only add the 'lib' prefix to libraries not modules
Stefan Metzmacher [Thu, 9 Mar 2006 14:39:36 +0000 (14:39 +0000)]
r14072: - only add the 'lib' prefix to libraries not modules
- fix installation of plugins (and make it a bit more verbose
- get rid of the '#define libfoo_module_init init_module'
  and genereated a wrapper function in bin/libfoo_module_init_module.c
- change the standard visibility for modules to hidden
- a few make clean fixes

metze

16 years agor14071: fix the build
Stefan Metzmacher [Thu, 9 Mar 2006 13:42:13 +0000 (13:42 +0000)]
r14071: fix the build

metze

16 years agor14070: this functions need to be exported,
Stefan Metzmacher [Thu, 9 Mar 2006 13:39:07 +0000 (13:39 +0000)]
r14070: this functions need to be exported,
it's ugly, but they're used in torture tests

I hope to find a better solution for this later...

metze

16 years agor14067: give more usefull errors
Stefan Metzmacher [Thu, 9 Mar 2006 13:28:54 +0000 (13:28 +0000)]
r14067: give more usefull errors

metze

16 years agor14066: fix whitespaces
Stefan Metzmacher [Thu, 9 Mar 2006 12:46:27 +0000 (12:46 +0000)]
r14066: fix whitespaces

metze

16 years agor14065: build gensec_schannel always static as libnet needs functions from it
Stefan Metzmacher [Thu, 9 Mar 2006 12:45:21 +0000 (12:45 +0000)]
r14065: build gensec_schannel always static as libnet needs functions from it

metze

16 years agor14064: - split out MSRPC_PARSE into a speperate subsystem
Stefan Metzmacher [Thu, 9 Mar 2006 12:42:45 +0000 (12:42 +0000)]
r14064: - split out MSRPC_PARSE into a speperate subsystem
- build gensec_ntlmssp always static for now, because torture/auth/ntlmssp.c
  needs to access functions from it

metze

16 years agor14063: libnet depends on dcerpc
Stefan Metzmacher [Thu, 9 Mar 2006 12:28:47 +0000 (12:28 +0000)]
r14063: libnet depends on dcerpc

metze

16 years agor14059: change notify is quite a bit more complex than we thought. These tests
Andrew Tridgell [Thu, 9 Mar 2006 03:52:10 +0000 (03:52 +0000)]
r14059: change notify is quite a bit more complex than we thought. These tests
show that w2k3 buffers notifies on directories where you have used
notify previously, thus giving you notifications on events that happen
even when you do not have a current notify call outstanding. This
makes it much easier for clients to avoid race conditions, which is
probably why it is done. It also means that associating change
notifies in Samba with outstanding change notify requests won't work -
instead we have to associate them with buffers on open directories.

16 years agor14058: Try to make the continuation on the list of password set mechs clearer.
Andrew Bartlett [Thu, 9 Mar 2006 00:59:54 +0000 (00:59 +0000)]
r14058: Try to make the continuation on the list of password set mechs clearer.

Andrew Bartlett

16 years agor14055: merge from samba3. add ACB_NO_AUTH_DATA_REQD, this has been verified
Günther Deschner [Wed, 8 Mar 2006 21:36:20 +0000 (21:36 +0000)]
r14055: merge from samba3. add ACB_NO_AUTH_DATA_REQD, this has been verified
although not automatically tested in smbtorture right now.

Guenther

16 years agor14054: merge from samba3, fillout more userAccountControl bits.
Günther Deschner [Wed, 8 Mar 2006 21:33:06 +0000 (21:33 +0000)]
r14054: merge from samba3, fillout more userAccountControl bits.

Guenther

16 years agor14041: be a bit less verbose
Stefan Metzmacher [Wed, 8 Mar 2006 15:14:59 +0000 (15:14 +0000)]
r14041: be a bit less verbose

metze

16 years agor14040: report errors better
Stefan Metzmacher [Wed, 8 Mar 2006 15:02:04 +0000 (15:02 +0000)]
r14040: report errors better

metze

16 years agor14039: as samba4 drops the connection on multiple negprot requests
Stefan Metzmacher [Wed, 8 Mar 2006 14:58:57 +0000 (14:58 +0000)]
r14039: as samba4 drops the connection on multiple negprot requests
make the BASE-NEGNOWAIT tests more robust.

was it correct that the important thing to test in this
test is that the 2nd connection works fine?

metze

16 years agor14038: reopen log files after a SIGHUP
Stefan Metzmacher [Wed, 8 Mar 2006 12:31:57 +0000 (12:31 +0000)]
r14038: reopen log files after a SIGHUP

metze

16 years agor14037: add ntvfs_next_notify()
Stefan Metzmacher [Wed, 8 Mar 2006 11:13:13 +0000 (11:13 +0000)]
r14037: add ntvfs_next_notify()

metze

16 years agor14029: Fix resource leak in error codepath. Coverity CID #64.
Jeremy Allison [Wed, 8 Mar 2006 07:20:10 +0000 (07:20 +0000)]
r14029: Fix resource leak in error codepath. Coverity CID #64.
Jeremy.

16 years agor14016: use type safe talloc when constructing operation structures in smb server
Andrew Tridgell [Wed, 8 Mar 2006 06:28:08 +0000 (06:28 +0000)]
r14016: use type safe talloc when constructing operation structures in smb server

16 years agor14013: added construction of the notify reply buffer in the nttrans server
Andrew Tridgell [Wed, 8 Mar 2006 05:47:51 +0000 (05:47 +0000)]
r14013: added construction of the notify reply buffer in the nttrans server
code

the RAW-NOTIFY test now passes against the CIFS backend

16 years agor14012: added support for the SMBntcancel operation in the cifs ntvfs
Andrew Tridgell [Wed, 8 Mar 2006 05:46:09 +0000 (05:46 +0000)]
r14012: added support for the SMBntcancel operation in the cifs ntvfs
backend. This requires keeping a list of outstanding requests so the
MID can be matched. Use a talloc destructor to manage the list.

16 years agor14011: - added a ntvfs_notify op to allow backends to support change notify
Andrew Tridgell [Wed, 8 Mar 2006 03:54:24 +0000 (03:54 +0000)]
r14011: - added a ntvfs_notify op to allow backends to support change notify
- converted the nttrans server side code to be async (needed for change notify)

This is the start of some work on supporting change notify via a new
approach. More soon.

16 years agor13998: From now on ldb_request() will require an alloced request
Simo Sorce [Wed, 8 Mar 2006 01:01:14 +0000 (01:01 +0000)]
r13998: From now on ldb_request() will require an alloced request
By freeing the request you will be sure everything down the path get freed.

this also means you have to steal the results if you want to keep them :)

simo.

16 years agor13996: simplify ldb_async_wait() some more
Simo Sorce [Tue, 7 Mar 2006 21:16:35 +0000 (21:16 +0000)]
r13996: simplify ldb_async_wait() some more

16 years agor13993: First prototype of how an async module should be built.
Simo Sorce [Tue, 7 Mar 2006 21:09:53 +0000 (21:09 +0000)]
r13993: First prototype of how an async module should be built.
This is NOT tested yet, just compiles.
Committing to share the code and gather comments

16 years agor13992: change the way ldb_async_wait() works.
Simo Sorce [Tue, 7 Mar 2006 21:08:09 +0000 (21:08 +0000)]
r13992: change the way ldb_async_wait() works.

I think I should change the name of this function
to ldb_async_process(), any opinions ?

16 years agor13990: Fix issues with function renaming.
Jelmer Vernooij [Tue, 7 Mar 2006 21:02:11 +0000 (21:02 +0000)]
r13990: Fix issues with function renaming.

16 years agor13986: minor fixes
Simo Sorce [Tue, 7 Mar 2006 20:43:40 +0000 (20:43 +0000)]
r13986: minor fixes

16 years agor13985: Slowly start swig_ldb
Simo Sorce [Tue, 7 Mar 2006 20:42:47 +0000 (20:42 +0000)]
r13985: Slowly start swig_ldb

dcerpc still need fixing, the produced shared library misses some symbols.
Jelmer, can you look at it while you are playing with the build system ?

16 years agor13982: Add support for prototypes spread across multiple lines. Try to keep line
Jelmer Vernooij [Tue, 7 Mar 2006 20:22:26 +0000 (20:22 +0000)]
r13982: Add support for prototypes spread across multiple lines. Try to keep line
empty after inserting new prototypes.

16 years agor13976: Add simple script for updating existing prototypes in a header file
Jelmer Vernooij [Tue, 7 Mar 2006 19:15:05 +0000 (19:15 +0000)]
r13976: Add simple script for updating existing prototypes in a header file

16 years agor13973: fix the build
Stefan Metzmacher [Tue, 7 Mar 2006 18:39:52 +0000 (18:39 +0000)]
r13973: fix the build

metze

16 years agor13972: fix the build, jelmer can you please take a look at what's going wrong here
Stefan Metzmacher [Tue, 7 Mar 2006 18:16:59 +0000 (18:16 +0000)]
r13972: fix the build, jelmer can you please take a look at what's going wrong here

metze

16 years agor13969: Make these names lowercase as well (just like they are now in the buildsystem)
Jelmer Vernooij [Tue, 7 Mar 2006 17:53:28 +0000 (17:53 +0000)]
r13969: Make these names lowercase as well (just like they are now in the buildsystem)

16 years agor13967: change the standard visibility to "default" public again
Stefan Metzmacher [Tue, 7 Mar 2006 17:15:18 +0000 (17:15 +0000)]
r13967: change the standard visibility to "default" public again
for modules, libraries and subsystems

metze

16 years agor13964: make lp_* functions public
Stefan Metzmacher [Tue, 7 Mar 2006 16:51:56 +0000 (16:51 +0000)]
r13964: make lp_* functions public

metze

16 years agor13963: make symbols public
Stefan Metzmacher [Tue, 7 Mar 2006 16:50:51 +0000 (16:50 +0000)]
r13963: make symbols public

metze

16 years agor13962: make functions public
Stefan Metzmacher [Tue, 7 Mar 2006 16:50:07 +0000 (16:50 +0000)]
r13962: make functions public

metze

16 years agor13961: make function public
Stefan Metzmacher [Tue, 7 Mar 2006 16:49:35 +0000 (16:49 +0000)]
r13961: make function public

metze

16 years agor13960: Generate makefile rules for installing/removing shared modules.
Jelmer Vernooij [Tue, 7 Mar 2006 16:41:04 +0000 (16:41 +0000)]
r13960: Generate makefile rules for installing/removing shared modules.

16 years agor13959: make more functions public
Stefan Metzmacher [Tue, 7 Mar 2006 16:37:35 +0000 (16:37 +0000)]
r13959: make more functions public

metze

16 years agor13956: make more functions public
Stefan Metzmacher [Tue, 7 Mar 2006 16:28:39 +0000 (16:28 +0000)]
r13956: make more functions public

metze

16 years agor13954: Add --enable-dso flag to ./configure that simplifies the ability to
Jelmer Vernooij [Tue, 7 Mar 2006 16:27:01 +0000 (16:27 +0000)]
r13954: Add --enable-dso flag to ./configure that simplifies the ability to
do shared library-enabled builds.

16 years agor13953: make more functions public
Stefan Metzmacher [Tue, 7 Mar 2006 16:25:28 +0000 (16:25 +0000)]
r13953: make more functions public

metze

16 years agor13944: Yet another round of splitups.
Jelmer Vernooij [Tue, 7 Mar 2006 14:34:32 +0000 (14:34 +0000)]
r13944: Yet another round of splitups.

16 years agor13943: the -rpath-link should be only used for binaries,
Stefan Metzmacher [Tue, 7 Mar 2006 14:22:13 +0000 (14:22 +0000)]
r13943: the -rpath-link should be only used for binaries,
otherwise application linking to the installed lib would look
at the builddir for searching other libs

metze

16 years agor13942: fix dependencies
Stefan Metzmacher [Tue, 7 Mar 2006 14:14:24 +0000 (14:14 +0000)]
r13942: fix dependencies

metze

16 years agor13941: fix the build
Stefan Metzmacher [Tue, 7 Mar 2006 14:13:38 +0000 (14:13 +0000)]
r13941: fix the build

metze

16 years agor13940: use the local vs. install linkerflag trick for shared libs too
Stefan Metzmacher [Tue, 7 Mar 2006 14:00:57 +0000 (14:00 +0000)]
r13940: use the local vs. install linkerflag trick for shared libs too

metze

16 years agor13939: Fix bin/.dummy issues, add more ignores
Jelmer Vernooij [Tue, 7 Mar 2006 13:47:34 +0000 (13:47 +0000)]
r13939: Fix bin/.dummy issues, add more ignores

16 years agor13938: Around round of splitups
Jelmer Vernooij [Tue, 7 Mar 2006 13:36:26 +0000 (13:36 +0000)]
r13938: Around round of splitups

16 years agor13937: fix the build
Stefan Metzmacher [Tue, 7 Mar 2006 13:22:00 +0000 (13:22 +0000)]
r13937: fix the build

metze

16 years agor13936: fix dependecy
Stefan Metzmacher [Tue, 7 Mar 2006 13:14:30 +0000 (13:14 +0000)]
r13936: fix dependecy

metze

16 years agor13935: add dependecies
Stefan Metzmacher [Tue, 7 Mar 2006 13:06:59 +0000 (13:06 +0000)]
r13935: add dependecies

metze

16 years agor13934: these are only needed for a standalone build
Stefan Metzmacher [Tue, 7 Mar 2006 12:58:21 +0000 (12:58 +0000)]
r13934: these are only needed for a standalone build

metze

16 years agor13933: fix dependency and make it possible to build as shared_library
Stefan Metzmacher [Tue, 7 Mar 2006 12:57:23 +0000 (12:57 +0000)]
r13933: fix dependency and make it possible to build as shared_library

metze

16 years agor13932: fix dependency
Stefan Metzmacher [Tue, 7 Mar 2006 12:41:57 +0000 (12:41 +0000)]
r13932: fix dependency

metze

16 years agor13931: fix dependencies
Stefan Metzmacher [Tue, 7 Mar 2006 12:40:34 +0000 (12:40 +0000)]
r13931: fix dependencies

metze

16 years agor13930: this tools are currently just oneliners, which depend on printf()
Stefan Metzmacher [Tue, 7 Mar 2006 12:38:36 +0000 (12:38 +0000)]
r13930: this tools are currently just oneliners, which depend on printf()

metze

16 years agor13929: fix dependencies
Stefan Metzmacher [Tue, 7 Mar 2006 12:37:47 +0000 (12:37 +0000)]
r13929: fix dependencies

metze

16 years agor13928: fix dependency
Stefan Metzmacher [Tue, 7 Mar 2006 12:27:20 +0000 (12:27 +0000)]
r13928: fix dependency

metze

16 years agor13927: fix dependency
Stefan Metzmacher [Tue, 7 Mar 2006 12:26:38 +0000 (12:26 +0000)]
r13927: fix dependency

metze

16 years agor13926: More header splitups.
Jelmer Vernooij [Tue, 7 Mar 2006 12:08:58 +0000 (12:08 +0000)]
r13926: More header splitups.

16 years agor13925: fix dependencies
Stefan Metzmacher [Tue, 7 Mar 2006 12:00:17 +0000 (12:00 +0000)]
r13925: fix dependencies

metze

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