Michael Adam
747d4a8f04
libsmbconf: make sure to always list the NULL section first in text backend.
...
Michael
(This used to be commit b50fdf321d
)
2008-04-15 17:40:27 +02:00
Michael Adam
7624bab963
net conf: fix output of out-of-share parameters in test mode import
...
Michael
(This used to be commit 5424e07e7d
)
2008-04-15 17:40:27 +02:00
Michael Adam
34e8ec54ce
libsmbconf: default to the NULL section when a parameter is encountered w/o section
...
Michael
(This used to be commit e1b98f1cbc
)
2008-04-15 17:40:27 +02:00
Michael Adam
e700800720
libsmbconf: allow NULL sharename in smbconf_share_exists().
...
Michael
(This used to be commit cb23052b20
)
2008-04-15 17:40:27 +02:00
Michael Adam
0e7497936c
libsmbconf: add handling of NULL strings to smbconf_find_in_array().
...
Michael
(This used to be commit a5923bafe9
)
2008-04-15 17:40:27 +02:00
Michael Adam
b396ad07d1
libsmbconf: add handling of "NULL" strings to smbconf_add_string_to_array()
...
Michael
(This used to be commit aba261a914
)
2008-04-15 17:40:27 +02:00
Jelmer Vernooij
c05c5dba8a
Regenerate DCE/RPC client code after fixing memcpy() length bug in pidl.
...
(This used to be commit ac4c63d999
)
2008-04-15 16:11:10 +02:00
Stefan Metzmacher
5a2e212c0f
lib/sharesec.c: fix the upgrade code, db_traverse returns the number of records!
...
metze
(This used to be commit ccdebe97f8
)
2008-04-15 00:25:27 +02:00
Stefan Metzmacher
625f2d6c23
pdb_tdb: fix the upgrade code, db_traverse returns the number of records!
...
metze
(This used to be commit baaf571d54
)
2008-04-15 00:25:11 +02:00
Günther Deschner
ae1e1085a1
libnetjoin/net: Fix lp_config_backend_is_registry() handling.
...
Thanks obnox, now we can net ads join and net ads leave with zero
configuration changes if "config backend = registry".
Guenther
(This used to be commit 9003881773
)
2008-04-14 23:07:55 +02:00
Günther Deschner
4122dabbf9
net: abort when lp_realm is not set in net_ads_leave().
...
Guenther
(This used to be commit 53735edcbb
)
2008-04-14 22:58:38 +02:00
Günther Deschner
a31281a751
libnetjoin: delete the workgroup name when requested while unjoining.
...
Guenther
(This used to be commit 1782e89f33
)
2008-04-14 22:57:37 +02:00
Günther Deschner
c8d96d57f8
libnetjoin: separate out libnet_join_lookup_dc_rpc.
...
Guenther
(This used to be commit 8d3d1c094a
)
2008-04-14 22:56:12 +02:00
Günther Deschner
e27160183a
libgpo: fix build warning.
...
Thanks metze&vl.
Guenther
(This used to be commit cb3f1df7d8
)
2008-04-14 18:21:21 +02:00
Günther Deschner
113b94faf1
net: exit early in net_ads_join() if the domain is not set.
...
Guenther
(This used to be commit 8331fbe735
)
2008-04-14 16:16:25 +02:00
Günther Deschner
cbd07aa047
libnetjoin: Fix unjoining when no KRB5CCNAME is around.
...
Guenther
(This used to be commit 7fd237c545
)
2008-04-14 16:15:18 +02:00
Günther Deschner
bc65d96782
net: use WERROR for check_ads_config().
...
Guenther
(This used to be commit 9176057986
)
2008-04-14 16:13:52 +02:00
Günther Deschner
202e8cc57e
doserr: Add WERR_INVALID_DOMAIN_STATE and WERR_INVALID_DOMAIN_ROLE.
...
Guenther
(This used to be commit 91a55fc27d
)
2008-04-14 15:48:23 +02:00
Günther Deschner
fffb304fec
net: the success of secrets_init is checked by libnetjoin now.
...
Guenther
(This used to be commit 0a6a5d0824
)
2008-04-14 15:47:30 +02:00
Günther Deschner
e23911b0c3
WKSSVC: In _wkssvc_NetrJoinDomain2, do modify the local configuration if enabled.
...
Guenther
(This used to be commit 260efafb8f
)
2008-04-14 14:46:30 +02:00
Günther Deschner
a4e0f60c4e
libnetjoin: Remove machine account if we failed to set password.
...
Guenther
(This used to be commit db5e0ed186
)
2008-04-14 14:44:58 +02:00
Volker Lendecke
ae4159f0f7
Remove two pointless else branches
...
(This used to be commit ed343114cd
)
2008-04-14 14:37:39 +02:00
Volker Lendecke
13a60a4005
Remove namedpipe_transact fn pointer from smb_np_struct
...
(This used to be commit d1f82b7e67
)
2008-04-14 14:16:58 +02:00
Volker Lendecke
fe4930b7fa
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.
(This used to be commit 61503f822b
)
2008-04-14 13:13:47 +02:00
Volker Lendecke
a4c0812af0
Fix some "ignoring asprintf result" warnings
...
(This used to be commit 155d62ddfd
)
2008-04-14 13:13:46 +02:00
Volker Lendecke
394150d269
Make use of ZERO_STRUCT instead of memset in namequery.c
...
(This used to be commit 4f1d49615e
)
2008-04-14 13:13:46 +02:00
Volker Lendecke
313abd3ac2
Fix the build of db_open_trans with CLUSTER_SUPPORT enabled
...
Metze, you might want to check this.
(This used to be commit 3b4a402bc5
)
2008-04-14 13:13:46 +02:00
Günther Deschner
e33b13e826
libnetjoin: Fix joining when no KRB5CCNAME is around.
...
Guenther
(This used to be commit 512e6ca0a9
)
2008-04-14 12:33:10 +02:00
Alexander Bokovoy
09c5d89220
Use more error-prone form of testing dm_destroy_session() return code after discussing with Tridge
...
(This used to be commit 4abdbad52e
)
2008-04-14 13:56:36 +04:00
Michael Adam
9fd9060e53
loadparm: use the new smbconf_init() dispatcher for loading registry config.
...
Michael
(This used to be commit 78afb30f80
)
2008-04-13 20:04:44 +02:00
Michael Adam
d2d82394a4
net conf: use the new smbconf_init() dispatcher instead of explicit backend init.
...
Michael
(This used to be commit 281c9287a3
)
2008-04-13 20:04:44 +02:00
Michael Adam
4eab3d3cf0
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
(This used to be commit cc613a60eb
)
2008-04-13 20:04:44 +02:00
Michael Adam
09c6c38deb
libsmbconf: move setting of verbatim variable into a more internal function.
...
Michael
(This used to be commit 9efd7b5151
)
2008-04-13 20:04:44 +02:00
Michael Adam
935b99c84c
libsmbconf: add a check for talloc failure to smbconf_txt_init().
...
Michael
(This used to be commit f76ec7d87e
)
2008-04-13 20:04:44 +02:00
Michael Adam
35d6068f25
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
(This used to be commit e8bafcfbf4
)
2008-04-13 20:04:43 +02:00
Michael Adam
611b6bfa3b
libsmbconf: rename smbconf_init() to smbconf_init_internal().
...
smbconf_init should be the name of the dispatcher (to be written)
Michael
(This used to be commit 3fb95ab757
)
2008-04-13 20:04:43 +02:00
Günther Deschner
aea1a244ee
libnetapi: add libnetapi_set_use_kerberos
...
Don't unconditionally set the kerberos flag for authentication.
Guenther
(This used to be commit 15bef5ae41
)
2008-04-13 19:25:59 +02:00
Günther Deschner
6318088434
libnetapi: Add NetQueryDisplayInformation header.
...
Guenther
(This used to be commit 3c107934ac
)
2008-04-13 19:25:59 +02:00
Günther Deschner
d0acdc9038
libnetapi: add NetQueryDisplayInformation example.
...
Guenther
(This used to be commit 5f9332cf1f
)
2008-04-13 19:15:15 +02:00
Günther Deschner
b3367c9e35
libnetapi: fill in NetQueryDisplayInformation_r.
...
Guenther
(This used to be commit 7fb9991b4c
)
2008-04-13 19:12:31 +02:00
Günther Deschner
dcb9264edf
libnetapi: don't reset the error code in NetUserAdd_r if the operation failed.
...
Guenther
(This used to be commit 9edb067f62
)
2008-04-13 19:11:01 +02:00
Günther Deschner
5647deccb1
libnetapi: add NetQueryDisplayInformation skeleton.
...
Guenther
(This used to be commit 6ec4a62b6d
)
2008-04-13 19:04:18 +02:00
Günther Deschner
99e96fe5ca
Re-run make idl.
...
Guenther
(This used to be commit afd0e925dc
)
2008-04-13 19:00:53 +02:00
Günther Deschner
f34245238a
libnetapi: Add IDL for NetQueryDisplayInformation.
...
Guenther
(This used to be commit 1200eb474c
)
2008-04-13 18:59:42 +02:00
Günther Deschner
1c7e4e8a2a
Fix the build of eventlogadm.
...
Guenther
(This used to be commit 57a5628abf
)
2008-04-13 18:28:24 +02:00
Günther Deschner
de013be0b6
gpo: add scripts plugin.
...
Guenther
(This used to be commit cd6388f040
)
2008-04-13 17:52:11 +02:00
Günther Deschner
e39f02217a
libnetapi: don't to try to free NULL struct.
...
Guenther
(This used to be commit eb33d30d80
)
2008-04-13 17:39:29 +02:00
Günther Deschner
3cd8c1befa
gpo: make integer debug print more readable.
...
Guenther
(This used to be commit b2cf8010ae
)
2008-04-13 17:39:28 +02:00
Michael Adam
282c9ff8ae
registry: honour the WERROR that regsubkey_ctr_addkey gives us in reg_load_tree.
...
Michael
(This used to be commit c2d9baa29e
)
2008-04-13 15:45:33 +02:00
Michael Adam
86d189dad1
registry: honour the WERROR that regsubkey_ctr_addkey gives in regdb_fetch_keys.
...
Michael
(This used to be commit 7dd7471da7
)
2008-04-13 15:41:07 +02:00