1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

213 Commits

Author SHA1 Message Date
Michael Adam
fc8be9d710 Remove now unneeded talloc ctx parameter from do_unjoin_modify_vals_config().
Michael
(This used to be commit 4f7375a110)
2007-12-25 03:38:06 +01:00
Michael Adam
44631bfd4d Remove talloc context parameter from libnet_smbconf_delparm().
Make use of talloc stackframe internally.
This removes talloc contxt from net_conf_delparm.

Michael
(This used to be commit 16f1373938)
2007-12-25 03:34:04 +01:00
Michael Adam
f3b0469b4a Remove talloc context parameter from libnet_smbconf_setparm().
Make use of talloc stackframe internally.
This removes talloc contxt from net_conf_setparm.

Michael
(This used to be commit efaffefc43)
2007-12-25 03:29:05 +01:00
Michael Adam
88a424a4d3 Remove occurrences of registry_key from libnet_join.c
Replace duplicated logic by calls of libnet_smbconf_set_global_param()
from libnet_conf.c, pushing logic from do_JoinConfig() and do_UnjoinConfig()
to do_join_modify_vals_config() and do_unjoin_modify_vals_config()
respectively.

Only the net_conf api functions should be exported by libnet_conf.c, not
the lower level registry access functions.

Michael
(This used to be commit 81b9f1301d)
2007-12-23 04:10:31 +01:00
Michael Adam
bd2b8f0f7b Replace direct deletion of registry value by use of libnet_smbconf_delparm().
Michael
(This used to be commit 415fc0a526)
2007-12-23 04:10:31 +01:00
Günther Deschner
30a788bd20 Fix uninitialized error code in do_unjoin_modify_vals_config().
Guenther
(This used to be commit c890ebc3ca)
2007-12-22 00:13:24 +01:00
Günther Deschner
3f5d5bc300 Until we better understand the WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT make sure we are
not joining as a DC.

Guenther
(This used to be commit bf3ffbb5d2)
2007-12-21 23:05:10 +01:00
Günther Deschner
3537af86c4 Fix typo.
Guenther
(This used to be commit b95801db59)
2007-12-21 15:29:11 +01:00
Günther Deschner
41467ffc6d Add libnet_Unjoin(), libnet_UnjoinCtx and friends.
Guenther
(This used to be commit 89e8abb116)
2007-12-21 15:29:11 +01:00
Günther Deschner
f3476faa36 In libnet join code, try lsa query with level 12 first.
Guenther
(This used to be commit f0e8d744c9)
2007-12-21 15:29:10 +01:00
Günther Deschner
b6347c0693 Making do_DomainJoin return NTSTATUS again.
Guenther
(This used to be commit 91b8849898)
2007-12-21 15:29:10 +01:00
Günther Deschner
c5a84374b6 Make sure we also support non-domain join.
Guenther
(This used to be commit c818f5505a)
2007-12-21 15:29:10 +01:00
Günther Deschner
5bf7319ac4 Add libnet_Join().
Heavily based on existing code in net_ads_join().

Guenther
(This used to be commit fb6315b68b)
2007-12-21 15:29:10 +01:00