Günther Deschner
2f36ef7225
s3-passdb: add passdb.h where needed.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
b0773aa61a
s3-passdb: move mapping.h into passdb.h, its needed here.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
35c2d8ec1e
s3-passdb: move passdb headers to passdb/proto.h.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
bb04a70c0b
s3-groupdb: move groupdb headers to groupdb/proto.h.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
03e6082e3c
s3: create_builtin_users/administrators belongs to passdb not auth.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
9bd06f6bc7
s3-build: only include transfer_file.h where needed.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
0a250f4946
registry: create and use shared libcli/registry/util_reg.h header.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
49ccae1c20
s3-includes: no point in including all security headers globally.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
1d7b7ce42e
s3-includes: remove EILSEQ check, this is handled by
...
../lib/replace/system/iconv.h already.
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
0e771263ee
s3-includes: only include system/filesys.h when needed.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
64422d9735
s3-includes: remove global include of "system/network.h"
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
49fcf653b1
s3-includes: only include system/passwd.h when needed.
...
Guenther
2011-03-30 01:13:07 +02:00
Günther Deschner
7369ef1f1c
s3-includes: only include system/shmem.h when needed.
...
Guenther
2011-03-30 01:13:06 +02:00
Günther Deschner
fd8b5389f6
s3-includes: remove global include of "system/select.h".
...
Guenther
2011-03-30 01:13:06 +02:00
Günther Deschner
55f9579110
s3-includes: only include system/terminal.h when needed.
...
Guenther
2011-03-30 01:13:06 +02:00
Günther Deschner
21a78b88cc
s3-includes: only include system/capability.h when needed.
...
Guenther
2011-03-30 01:13:06 +02:00
Günther Deschner
739ca0e7db
s3-includes: only include system/glob.h when needed.
...
Guenther
2011-03-30 01:13:06 +02:00
Günther Deschner
310d268527
s3-includes: only include system/iconv.h when needed.
...
Guenther
2011-03-30 01:13:06 +02:00
Günther Deschner
89ca4875cd
s3-includes: only include system/syslog.h when needed.
...
Guenther
2011-03-30 01:13:06 +02:00
Günther Deschner
99f4a64543
s3-trans2: only include trans2.h where needed.
...
Guenther
2011-03-30 01:13:06 +02:00
Günther Deschner
d85f140826
s3-winbind: remove global inclusion of libwbclient.
...
Guenther
2011-03-30 01:13:06 +02:00
Günther Deschner
96487959e9
lib/util/util_pw: share more code between lib/util/util_pw.c and source3/lib/username.c
...
Guenther
2011-03-30 01:13:06 +02:00
Günther Deschner
64421129b6
lib/util/util_pw: share sys_get{pw,gr} group of calls.
...
Guenther
2011-03-30 01:13:06 +02:00
Günther Deschner
f4868ab646
lib/util/util_pw: temporary rename of getpwnam_alloc and getpwuid_alloc.
...
Guenther
2011-03-30 01:13:06 +02:00
Jeremy Allison
0c5214e2eb
Ensure convert_string_XXX is always called with a valid converted_size pointer.
...
Preparation for cleaning up this API.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Mar 29 21:01:49 CEST 2011 on sn-devel-104
2011-03-29 21:01:49 +02:00
Volker Lendecke
1e50f9a5c2
charconv: Fix the slow-path character conversions
...
This reverts a part of 0189087e25
. That one might have fixed the fast path,
but it broke the slow path. convert_string_internal returns 0/-1 despite the
size_t result type and the misleading comment. If you follow the path to
smb_iconv and for example iconv_copy(), you will see that this routine returns
0 even after it copied something.
How to check: Use German locale, and do an smbclient "allinfo" on a file
modified in march (März in German). Notice the "ä". Before 0189087
this printed
correctly, after 0189087
it cut off the fields after the M for März.
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Mar 29 19:17:41 CEST 2011 on sn-devel-104
2011-03-29 19:17:41 +02:00
Günther Deschner
52ff0dde37
s3-libsmb: remove duplicate NTSTATUS variable.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Mar 29 17:00:26 CEST 2011 on sn-devel-104
2011-03-29 17:00:26 +02:00
Günther Deschner
6a27928ced
s3-waf: fix spoolssd compile.
...
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29 16:03:54 +02:00
Andreas Schneider
2cb797456a
s3-rpc_server: Fixed rpc_pipe_open_internal documentation.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29 16:03:54 +02:00
Andreas Schneider
8dc5805738
s3-rpc_server: Only allow embedded, daemon and external server type.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29 16:03:53 +02:00
Andreas Schneider
991fa3a5fe
s3-spoolssd: Start the spoolss service correctly.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29 16:03:53 +02:00
Andreas Schneider
28b2046015
s3-spoolssd: Register spoolssd endpoints.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29 16:03:53 +02:00
Andreas Schneider
8c635b669c
s3-epmap: Make rpc_ep_setup_register an internal function.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29 16:03:52 +02:00
Andreas Schneider
80fe8fa8d0
s3-spoolssd: Fixed logfile creation.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29 16:03:52 +02:00
Andreas Schneider
a956c57cf9
s3-spoolssd: Added missing include.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29 16:03:52 +02:00
Andreas Schneider
c1b7c0c2b7
s3-spoolssd: Pass down event and messanging context.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29 16:03:52 +02:00
Andreas Schneider
851f95b121
s3-spoolssd: Fixed reopening of logs.
...
Everytime the log was reopened a .spoolssd has been appended which
resulted in long file names.
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29 16:03:51 +02:00
Simo Sorce
fe0e079bc1
s3:spoolssd Start spoolss from smbd
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29 16:03:51 +02:00
Simo Sorce
043942720c
s3:spoolssd Initialize the spoolss rpc interfaces
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29 16:03:51 +02:00
Simo Sorce
0c130105f5
s3:spoolssd Add spoolss own signal handlers
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29 16:03:50 +02:00
Simo Sorce
0b7b8414dd
s3:spoolssd handle smb.conf reloads directly
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29 16:03:50 +02:00
Simo Sorce
2d333ae8bc
s3:spoolssd Create our own log file
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29 16:03:50 +02:00
Simo Sorce
99941eb92b
s3:spoolssd Add skeleton for spoolss daemon
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29 16:03:50 +02:00
Simo Sorce
1d33474dad
s3:printing Make print_queue_receive public
...
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-29 16:03:49 +02:00
Andrew Tridgell
bd9b2727ef
ldb: detect eof on ldif files
...
use feof() to detect parsing errors in ldif files
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Mar 29 08:24:04 CEST 2011 on sn-devel-104
2011-03-29 08:24:03 +02:00
Andrew Tridgell
daeb6a02ea
s4-dsdb: allow modification of linked attribute targets with relax
...
this is used to help recover a corrupt database.
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29 07:37:04 +02:00
Andrew Tridgell
af31bf6bf5
debug: ignore debug_set_logfile() with a blank string
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Mar 29 07:03:58 CEST 2011 on sn-devel-104
2011-03-29 07:03:58 +02:00
Andrew Tridgell
3351897924
s4-cmdline: moved loadparm init after fault setup
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29 06:17:03 +02:00
Andrew Tridgell
77cc1610e0
s4-param: set a default logfile
...
setup a logfile for when one is not specified in smb.conf
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29 06:17:03 +02:00
Andrew Tridgell
8d2d0ef0eb
lib: removed a spurios declaration of 'logfile'
...
we don't have a global logfile variable any more
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29 06:17:03 +02:00