1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00

24511 Commits

Author SHA1 Message Date
Günther Deschner
66a5cbaf8b netdomjoin-gui: enable NetGetJoinInformation() call after successfull joining.
Now that libnetjoin reloads configuration after joining, we can rely on the
NetGetJoinInformation() output and use it for displaying the new domain name and
type.

Guenther
(This used to be commit cc1b8de2632e87002cac86838f2a77ab9771ce2c)
2008-06-05 19:39:24 +02:00
Günther Deschner
de89de4b58 netdomjoin-gui: fix more gtk runtime warnings.
Guenther
(This used to be commit 521ea68719524eeef827875e018bb8cba2a92e87)
2008-06-05 19:39:17 +02:00
Günther Deschner
e3e1172979 libnetjoin: add libnet_join_rollback().
This is required now if the join verify failed and we already
modified the local configuration.

Guenther
(This used to be commit 2870fe50af5163e30330f5a3ef21d0b7eea85ee5)
2008-06-05 19:34:30 +02:00
Günther Deschner
387706a49d libnetjoin: First store configuration and then verify the join.
Jerry, this fixes the issues while joining with "config backend = registry".

Guenther
(This used to be commit b3d47f099286778252c6df6bf2c1fee0c4e26560)
2008-06-05 19:34:06 +02:00
Günther Deschner
21e759ef64 mailslot: always pull a command 25 type reply.
Guenther
(This used to be commit 1ce726b951621cb4b34069c31d1318fc04ad2389)
2008-06-05 19:09:30 +02:00
Günther Deschner
20ec11ac28 net: fix debuglevel handling.
Kai, that one actually needs to stay a global external variable in order to
support debuglevel definition only on the commandline for net.

Guenther
(This used to be commit f6ba7333ab31332198b59651b4252cb3f897b6aa)
2008-06-05 18:49:21 +02:00
Volker Lendecke
bde7cbf4a7 Fix a memleak caused by a crappy get_sorted_dc_list() API
(This used to be commit 2ea03a1e95a30e321e390bef9408a1215711de07)
2008-06-05 10:56:18 +02:00
Volker Lendecke
d261e16cfd Fix a memleak in ads_find_dc() in case get_sorted_dc_list() fails
This is really not a proper place to fix this, but as get_gc_list() and friends
are about to be replaced anyway, just work around the broken existing API
(This used to be commit df8d089bc63c2a52cbdf3504cded8df620a59902)
2008-06-05 10:56:18 +02:00
Günther Deschner
19e5ee0e09 netdomjoin-gui: disable annoying "reboot now" dialog.
Guenther
(This used to be commit 8f0c5f1bedaae7a86ca671cdb2ba798079ec1d84)
2008-06-05 01:11:23 +02:00
Günther Deschner
bb58d33b6d libnetjoin: correctly copy returned lsa policy sid.
Guenther
(This used to be commit f9e5450c9492b0f35bd90040739007963e765ab1)
2008-06-04 18:05:15 +02:00
Günther Deschner
7d35e4e294 netdomjoin-gui: some minor fixes + hunting down typecast bugs.
Guenther
(This used to be commit 0fa6c8c6a3efd026154e8af54ba73b3d3de1affa)
2008-06-04 18:00:54 +02:00
Günther Deschner
913a323623 net: fix popt context memleak.
Guenther
(This used to be commit 60bce925746590aabf489f0c771afd732c32f5a0)
2008-06-04 02:44:24 +02:00
Günther Deschner
dddc5725db libnetjoin: only close existing policy handles while unjoining.
Guenther
(This used to be commit 6dbed6e7b7300962e11fdce1a713e6f3ea2cb619)
2008-06-04 02:43:41 +02:00
Günther Deschner
aa8bfd39eb libnetjoin: delete possible "realm" leftover parameter.
Guenther
(This used to be commit d7ba98cc3f2d037ec01e079220a66da508b104b0)
2008-06-04 01:35:44 +02:00
Günther Deschner
d7772433bf net: print NBT_SERVER_X_SECRET_DOMAIN_6 flags in "net ads lookup".
Guenther
(This used to be commit 420390ba0ef6b45f18a8fd37974b1fbee0bd1502)
2008-06-04 01:35:43 +02:00
Günther Deschner
d4c5a1d504 util_str: add talloc_asprintf_strlower_m().
Guenther
(This used to be commit 7f8b0b4d151fa4d07758b6fd7b47b0b7c07dda17)
2008-06-04 01:35:43 +02:00
Günther Deschner
12281d02ae netapi: remove unrequired headers.
Guenther
(This used to be commit f8fec49ce10cbd663cb30ac94a543b4a76a8dc57)
2008-06-04 01:35:43 +02:00
Volker Lendecke
2cfacbaacb Always set "registry shares = yes" for "include = registry"
This fixes the case where "include = registry" is set in the smb.conf text file
and *only* shares (no [global] settings) are present in the registry.

Michael, please check!

Thanks,

Volker
(This used to be commit 6c80362e291d8c5e748b987a583e8e32acc36354)
2008-06-03 21:36:56 +02:00
Günther Deschner
dcdeab4d4e build: fix build warning.
Guenther
(This used to be commit 62fcad0c0548ab53e9c20cfd6301972c68172b95)
2008-06-03 20:41:55 +02:00
Günther Deschner
4f6ea219d6 build: fix the build (missing protoype for lp_ldap_connection_timeout()).
Guenther
(This used to be commit 06b597213a25c3370d3b7e29cf80ddd42fa35e0c)
2008-06-03 20:41:29 +02:00
Gerald W. Carter
dd7cf3464d winbindd_cm: Replace the use of lp_realm() with our_domain->alt_name.
Reduce the use of config parameters with run time information after discussion
with Guenther.
(This used to be commit 57d596395db287301eefd34e62c9aaf857c34c69)
2008-06-03 11:21:02 -05:00
Björn Jacke
d8b234648c Add ldap connection timeout for OpenLDAP and Netscape LDAP libs. This can be controlled via the ldap connection timeout parameter. This fixes fallbacks to secondary LDAP servers in multi LDAP server setups like in #4544
(This used to be commit 8e59a2fedc940b081222b0e8f90fe0c5a0981c06)
2008-06-03 16:32:31 +02:00
Andreas Schneider
8c7e21679b Fix empty input fields in SWAT; [#5515].
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit e1579c90fb27c07f95889dd8778daeef53e2ac16)
2008-06-03 15:35:41 +02:00
Andreas Schneider
0d556eabde Fix saving of the config file in SWAT; [#5516].
The strlen of the source string passed to convert_string_allocate was too
short :)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit ac3597ef8b7781499ab55f1039670ec82202e32c)
2008-06-03 15:35:41 +02:00
Jeremy Allison
1c0a9759b9 Fix bug reported by David Eisner <deisner@gmail.com>. When allocating cli
buffers for large read/write - make sure we take account of the large
read/write SMB headers as well as the buffer space.
Jeremy.
(This used to be commit 19519bca9b64b736d2fe0447b7cd495f00dba60a)
2008-06-02 18:37:16 -07:00
Günther Deschner
34413e4707 netapi: fix some build warnings.
Guenther
(This used to be commit 45cd78030f18a792d0761160bb96116d19801109)
2008-06-03 01:37:55 +02:00
Günther Deschner
dbb8e163af netapi: use libnetapi_samr_lookup_and_open_alias().
Guenther
(This used to be commit d8fad6bf442ac6f218c1c4572da9f1e9932c9cee)
2008-06-03 01:27:50 +02:00
Günther Deschner
4fd700ca07 netapi: add libnetapi_samr_lookup_and_open_alias().
Guenther
(This used to be commit 890d63f31c0ff3931b8efb627c3a375850a59a9a)
2008-06-03 01:27:50 +02:00
Günther Deschner
bd9d129e6a netapi: use libnetapi_samr_open_builtin_domain().
Guenther
(This used to be commit d1bf8c5ae6f4e3ade2000dd884c8384fb4b9f12c)
2008-06-03 01:27:50 +02:00
Günther Deschner
56bdfad87f netapi: add libnetapi_samr_open_builtin_domain().
Guenther
(This used to be commit f15a7f9ab1da88369185beda267f3e67a3b36191)
2008-06-03 01:27:50 +02:00
Günther Deschner
b652e5b475 netapi: let libnetapi_samr_open_domain return WERROR.
Guenther
(This used to be commit 3d037a07e015a3af75dde054cef4c0bb7795fbb5)
2008-06-03 01:27:49 +02:00
Günther Deschner
e46506866a netapi: add public header for NetLocalGroupSetInfo().
Guenther
(This used to be commit cb20271012e7713a28c302e199b676bdb821e5e4)
2008-06-03 01:27:49 +02:00
Günther Deschner
1ecf67a18c netapi: Implement NetLocalGroupSetInfo().
Guenther
(This used to be commit f991b4d58ed660e648f29c3f25195072f91643ba)
2008-06-03 01:27:49 +02:00
Günther Deschner
0ae3f8b926 netapi: add NetLocalGroupSetInfo() example code.
Guenther
(This used to be commit abd3f701340a31d9c3779cfe37c639f9105dfdb3)
2008-06-03 01:27:49 +02:00
Günther Deschner
bf225fc8e0 netapi: add NetLocalGroupSetInfo() skeleton.
Guenther
(This used to be commit 325f419636a69c40ee25c068787866384ef52279)
2008-06-03 01:27:49 +02:00
Günther Deschner
504fbb5b23 re-run make idl.
Guenther
(This used to be commit 68cad7322fe7a6bad7c9378f0d610a3b713b4b18)
2008-06-03 01:27:49 +02:00
Günther Deschner
b71ff71e02 netapi: add NetLocalGroupSetInfo() to IDL.
Guenther
(This used to be commit 0e02b40ae8a63a299f221dce82725b9151a7e499)
2008-06-03 01:27:48 +02:00
Günther Deschner
a3f1e2ee0a netapi: implement NetLocalGroupGetInfo().
Guenther
(This used to be commit d735ee79fa5b9b7ec409ea387e4ff10357e417e7)
2008-06-03 01:27:48 +02:00
Günther Deschner
bfef3bb3c6 netapi: add NetLocalGroupGetInfo() example code.
Guenther
(This used to be commit 591003b109d936b62cc80827971c201b3ea79e39)
2008-06-03 01:27:48 +02:00
Günther Deschner
d8fc64de76 netapi: add NetLocalGroupGetInfo() to public headers.
Guenther
(This used to be commit 4d40d8b51a5323c36ff78ccfc4d7405ac97dde6b)
2008-06-03 01:27:48 +02:00
Günther Deschner
45baadb31a netapi: add NetLocalGroupGetInfo() skeleton.
Guenther
(This used to be commit f70e37a7fe1915f557e194237a8bb26bcf9635d7)
2008-06-03 01:27:48 +02:00
Günther Deschner
cc49464133 re-run make idl.
Guenther
(This used to be commit 39e3a29cb9a57d5f79e503f7d4873b5c8a844976)
2008-06-03 01:27:48 +02:00
Günther Deschner
8216c60265 netapi: add NetLocalGroupGetInfo() to IDL.
Guenther
(This used to be commit c817c0c5bcf2578aa7f26403c0ce567281e4b019)
2008-06-03 01:27:47 +02:00
Günther Deschner
808c70340e netapi: add NetLocalGroupDel() example code.
Guenther
(This used to be commit 6ebd618cc768df142b035362cc648d8bc2c1bc89)
2008-06-03 01:27:47 +02:00
Günther Deschner
5800a52950 netapi: add NetLocalGroupDel() to public headers.
Guenther
(This used to be commit efd4a899f5d139b5e3e22660f5fb1c12f59525fc)
2008-06-03 01:27:47 +02:00
Günther Deschner
4d6e66a42e netapi: Implement NetLocalGroupDel().
Guenther
(This used to be commit d2426f53fabaf75d130fb99216b71299f4371253)
2008-06-03 01:27:47 +02:00
Günther Deschner
7773d79afd netapi: add NetLocalGroupDel() skeleton.
Guenther
(This used to be commit 4234c87c6c30434bc5bcfcc003fdaa0114e9d74a)
2008-06-03 01:27:47 +02:00
Günther Deschner
7019644a77 re-run make idl.
Guenther
(This used to be commit 929ecc693a44fbadadcbb9000220bce9dfa6904d)
2008-06-03 01:27:47 +02:00
Günther Deschner
2ead1503eb netapi: add NetLocalGroupDel() to IDL.
Guenther
(This used to be commit b4fafdeebf43a8bd65d5c99432de373594f36180)
2008-06-03 01:27:46 +02:00
Günther Deschner
5e0c89af5a netapi: add NetLocalGroupAdd() example.
Guenther
(This used to be commit ce60450d831ee2f4ab18c3ce09decee548ec4543)
2008-06-03 01:27:46 +02:00