Günther Deschner
686d8939d9
Merge data_blob_hex_string from Samba4.
...
Guenther
2008-04-29 20:22:01 +02:00
Volker Lendecke
4f4781c6d1
Fix CLEAR_IF_FIRST handling of messages.tdb
...
We now open messages.tdb even before we do the become_daemon. become_daemon()
involves a fork and an immediate exit of the parent, thus the
parent_is_longlived argument must be set to false in this case. The parent is
not really long lived :-)
2008-04-23 22:18:26 +02:00
Volker Lendecke
727127f1dc
Increase level of debug msg when a regkey is not found
...
This is a pretty normal situation if you have "include=registry" set but no
configuration options have been set there yet.
2008-04-23 11:12:25 +02:00
Michael Adam
dee57ad025
libsmbconf: remove unnecessary talloc success check from smbconf_txt.c
...
talloc_stackframe() panics on NOMEM.
Michael
2008-04-23 01:49:11 +02:00
Michael Adam
03fd30eef8
libsmbconf: remove unnecessary talloc success checks from smbconf_reg.c
...
talloc_stackframe panics on NOMEM.
Michael
2008-04-23 01:48:26 +02:00
Michael Adam
be4f8447cc
libsmbconf: remove unnecessary talloc success checks from smbconf.c
...
talloc_stackframe() panics on NOMEM.
Michael
2008-04-23 01:47:33 +02:00
Michael Adam
17415e2dc4
libsmbconf: rewrite API to use smbconf_service struct
...
instead of lists of strings and counters directly...
Michael
2008-04-23 01:43:31 +02:00
Michael Adam
8118a8348f
libsmbconf: add a struct smbconf_service to hold the parameter names + values.
...
Michael
2008-04-22 23:46:13 +02:00
Michael Adam
54c0461679
libsmbconf: fix comment headers in smbconf.h
...
Michael
2008-04-22 16:32:31 +02:00
Michael Adam
640b8ae7ad
libsmbconf: text backend remove comment references to "simple".
...
Michael
2008-04-22 16:11:38 +02:00
Michael Adam
3d1da73f66
libsmbconf: rename smbconf_init_txt_simple() to smbconf_init_txt().
...
...for consistency.
Michael
2008-04-22 16:11:37 +02:00
Michael Adam
dd9fe5aec4
libsmbconf: rename text backend smbconf_txt_simple to smbconf_txt.
...
Michael
2008-04-22 16:11:37 +02:00
Günther Deschner
a34801d677
libnetapi: Add Doxyfile.
...
Guenther
2008-04-20 23:20:21 +02:00
Günther Deschner
ba1d2e8761
netdomjoin-gui: Omit warning when unjoining a domain fails.
...
Guenther
2008-04-20 23:20:21 +02:00
Volker Lendecke
a30a26d471
Make convert_samr_dispinfo_to_NET_DISPLAY() static
2008-04-20 14:08:17 +02:00
Volker Lendecke
c56e1c08ce
Introduce rpc_pipe_np_smb_conn()
...
This abstracts away all references to rpc_pipe_client->cli, the only reference
is now in cli_pipe.c.
2008-04-20 14:08:16 +02:00
Volker Lendecke
4840febcd4
Remove the pipe_idx variable from rpc_pipe_client
2008-04-20 11:47:33 +02:00
Volker Lendecke
783afab9c8
Add "desthost" to rpc_pipe_client
...
This reduces the dependency on cli_state
2008-04-20 00:13:09 +02:00
Volker Lendecke
87d8a63ce4
Fix bug 5400
...
Thanks to Jason Mader!
Volker
2008-04-19 17:04:09 +02:00
Volker Lendecke
825f78d9f1
Fix an uninitialized variable
2008-04-19 17:03:09 +02:00
Stefan Metzmacher
5f6c3a4f6d
util: add reinit_after_fork() function
...
metze
2008-04-18 14:43:07 +02:00
Stefan Metzmacher
6f67c4ddf8
messages_ctdbd: autocreate a ctdb connection, this will fix segfaults in the client tools
...
metze
2008-04-18 14:43:07 +02:00
Stefan Metzmacher
259786980a
messages_ctdbd: make sure a ctdbd connection is only used in the process that created it
...
metze
2008-04-18 14:43:06 +02:00
Jeremy Allison
b496f13322
Janitor for tridge. Keep lib/replace in sync with the gcc4
...
changes.
Jeremy.
2008-04-18 00:30:50 -07:00
Günther Deschner
4ba98dd0cc
libnetapi: Disable talloc_enable_leak_report.
...
Guenther
2008-04-17 14:13:13 +02:00
Günther Deschner
e06a54aa7d
netdomjoin-gui: Fix label alignment showing up with lower screen-resolution.
...
Guenther
2008-04-17 14:13:13 +02:00
Michael Adam
518f4d4e66
libsmbconf: fix segfault in listing share names / config.
...
Discovered by Günther while giving a talk. - Sorry Günther!
Michael
2008-04-16 22:44:04 +02:00
Gerald W. Carter
359921acd4
Fix out of tree build. Remove the embedded srcdir path from talloc and tdb.
2008-04-16 15:48:00 +02:00
Günther Deschner
01bc4b6ac0
libnetapi: Add initial inline doxygen comments.
...
Guenther
2008-04-16 10:14:40 +02:00
Günther Deschner
9bbb6cea0b
libnetapi: Let NetUserAdd_l/NetUserDel_l talk to the local RPC server.
...
Guenther
2008-04-16 02:38:13 +02:00
Günther Deschner
143e2b5730
libnetapi: do not overwrite status in libnetapi_get_error_string().
...
Guenther
2008-04-16 00:15:39 +02:00
Günther Deschner
3fda711f25
libnetapi: Add missing headers.
...
Guenther
2008-04-15 22:30:06 +02:00
Michael Adam
6c1181fda2
libmsbconf: add handling of NULL share parameters to registry backend.
...
Michael
2008-04-15 17:40:28 +02:00
Michael Adam
aa167de825
libsmbconf: don't complain with WERR_ALREADY_EXISTS for NULL share in smbconf_create_share().
...
These are values stored inside the base key for registry.
This is not getting deleted.
Michael
2008-04-15 17:40:28 +02:00
Michael Adam
b50fdf321d
libsmbconf: make sure to always list the NULL section first in text backend.
...
Michael
2008-04-15 17:40:27 +02:00
Michael Adam
e1b98f1cbc
libsmbconf: default to the NULL section when a parameter is encountered w/o section
...
Michael
2008-04-15 17:40:27 +02:00
Michael Adam
cb23052b20
libsmbconf: allow NULL sharename in smbconf_share_exists().
...
Michael
2008-04-15 17:40:27 +02:00
Michael Adam
a5923bafe9
libsmbconf: add handling of NULL strings to smbconf_find_in_array().
...
Michael
2008-04-15 17:40:27 +02:00
Michael Adam
aba261a914
libsmbconf: add handling of "NULL" strings to smbconf_add_string_to_array()
...
Michael
2008-04-15 17:40:27 +02:00
Stefan Metzmacher
ccdebe97f8
lib/sharesec.c: fix the upgrade code, db_traverse returns the number of records!
...
metze
2008-04-15 00:25:27 +02:00
Volker Lendecke
61503f822b
Enable multiple fd events on a single file descriptor
...
Now we can have multiple events listen on a single fd. The order in which they
are called is naturally not defined, meaning that it is only deterministic if
exactly one event is readable or writeable.
2008-04-14 13:13:47 +02:00
Volker Lendecke
3b4a402bc5
Fix the build of db_open_trans with CLUSTER_SUPPORT enabled
...
Metze, you might want to check this.
2008-04-14 13:13:46 +02:00
Michael Adam
cc613a60eb
libsmbconf: add a smbconf init dispatcher smbconf_init().
...
The dispatcher takes a config source argument in the form
of "backend:path" where backend can (currently) be one of
"txt" (aka "file") or "reg" (aka "registry").
When the path is omitted, it is up to the backend to provide
a default path.
When there is no separator ":" and the string is not a recognized
backend, then file backend is assumed and the string is passed
in as the path argument.
Michael
2008-04-13 20:04:44 +02:00
Michael Adam
9efd7b5151
libsmbconf: move setting of verbatim variable into a more internal function.
...
Michael
2008-04-13 20:04:44 +02:00
Michael Adam
f76ec7d87e
libsmbconf: add a check for talloc failure to smbconf_txt_init().
...
Michael
2008-04-13 20:04:44 +02:00
Michael Adam
e8bafcfbf4
libsmbconf: remove the bool verbatim parameter from txt backend init function.
...
Always be verbatim for now. Backend config options may be added later
via some private data pointer.
Michael
2008-04-13 20:04:43 +02:00
Michael Adam
3fb95ab757
libsmbconf: rename smbconf_init() to smbconf_init_internal().
...
smbconf_init should be the name of the dispatcher (to be written)
Michael
2008-04-13 20:04:43 +02:00
Günther Deschner
15bef5ae41
libnetapi: add libnetapi_set_use_kerberos
...
Don't unconditionally set the kerberos flag for authentication.
Guenther
2008-04-13 19:25:59 +02:00
Günther Deschner
3c107934ac
libnetapi: Add NetQueryDisplayInformation header.
...
Guenther
2008-04-13 19:25:59 +02:00
Günther Deschner
5f9332cf1f
libnetapi: add NetQueryDisplayInformation example.
...
Guenther
2008-04-13 19:15:15 +02:00