Amitay Isaacs [Thu, 25 Aug 2011 06:48:40 +0000 (16:48 +1000)]
s3-passdb: Convert lm_pw and nt_pw to python string using length
lm_pw and nt_pw are fixed length strings and convert them to python
strings as fixed length strings.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Amitay Isaacs [Wed, 24 Aug 2011 06:31:12 +0000 (16:31 +1000)]
script: Fix the name of the script in autogenerated header file
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Amitay Isaacs [Mon, 22 Aug 2011 06:32:03 +0000 (16:32 +1000)]
s4-param: Use s3 dump method if s3 context is defined
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Amitay Isaacs [Mon, 22 Aug 2011 06:26:13 +0000 (16:26 +1000)]
s3-param: Add a dump() method to output parameters
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Amitay Isaacs [Sun, 21 Aug 2011 23:43:20 +0000 (09:43 +1000)]
s3_upgrade: Let python generate backtrace for unknown exceptions
Catch known exceptions only.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Amitay Isaacs [Sun, 21 Aug 2011 23:42:13 +0000 (09:42 +1000)]
s3_upgrade: Add document strings for python methods
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Michael Adam [Wed, 24 Aug 2011 10:50:33 +0000 (12:50 +0200)]
werror: remove duplicate definition of WERR_INVALID_OWNER
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Fri Aug 26 01:23:52 CEST 2011 on sn-devel-104
Michael Adam [Thu, 25 Aug 2011 11:45:40 +0000 (13:45 +0200)]
s3:dbwrap_tdb: correctly catch the error from the return code of tdb_parse in db_tdb_fetch()
Michael Adam [Wed, 17 Aug 2011 08:19:58 +0000 (10:19 +0200)]
s3:smbd: remove an unused variable in dptr_create()
Michael Adam [Tue, 23 Aug 2011 23:14:22 +0000 (01:14 +0200)]
s3:registry: fix the v2_to_v3 upgrade code so that it does not create value list security records for the INFO/version key ...
Michael Adam [Tue, 23 Aug 2011 23:13:47 +0000 (01:13 +0200)]
s3:registry: fix the v1_to_v2 upgrade code so that it does not normalize the INFO/version key ...
Michael Adam [Tue, 23 Aug 2011 23:12:28 +0000 (01:12 +0200)]
s3:registry: define a constant REGDB_VERSION_KEYNAME for the key INFO/version (and use it)
Michael Adam [Thu, 25 Aug 2011 15:18:12 +0000 (17:18 +0200)]
s3:registry: hand db context in to v2_to_v3 upgrade code via private_data
This also fixes the earlier faulty handing in of a useless stackframe
memory context via private_data.
Michael Adam [Thu, 25 Aug 2011 15:12:33 +0000 (17:12 +0200)]
s3:registry: fix broken use of dbwrap store record in v1_to_v2 upgrade code
This also fixes broken private_data parameter for the traverse function
(making use of it): Originally a memory context was handed in but was not used.
SATOH Fumiyasu [Mon, 22 Aug 2011 04:48:40 +0000 (13:48 +0900)]
s3: Fix the build of vfs_aixacl2.c
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Thu Aug 25 23:06:12 CEST 2011 on sn-devel-104
Volker Lendecke [Thu, 25 Aug 2011 15:22:13 +0000 (17:22 +0200)]
s3: Remove a bogus comment
Volker Lendecke [Fri, 5 Aug 2011 15:02:22 +0000 (17:02 +0200)]
s3: Pass smbd_server_connection to (unused) server_encryption_shutdown
Volker Lendecke [Fri, 5 Aug 2011 15:00:42 +0000 (17:00 +0200)]
s3: Pass smbd_server_connection to srv_encrypt_buffer
Volker Lendecke [Fri, 5 Aug 2011 14:58:51 +0000 (16:58 +0200)]
s3: Pass smbd_server_connection to srv_decrypt_buffer
Volker Lendecke [Fri, 5 Aug 2011 14:52:25 +0000 (16:52 +0200)]
s3: Pass smbd_server_connection to srv_free_enc_buffer
Volker Lendecke [Fri, 5 Aug 2011 14:49:20 +0000 (16:49 +0200)]
s3: Pass smbd_server_connection to is_encrypted_packet
Volker Lendecke [Fri, 5 Aug 2011 14:44:01 +0000 (16:44 +0200)]
s3: Pass sconn to valid_smb_header
Volker Lendecke [Fri, 5 Aug 2011 14:22:48 +0000 (16:22 +0200)]
s3: Explicitly pass smb_srv_trans_enc_ctx to srv_enc_ctx
Volker Lendecke [Sat, 25 Jun 2011 13:14:25 +0000 (15:14 +0200)]
s3: Fix some nonempty blank lines
Volker Lendecke [Mon, 22 Aug 2011 12:16:26 +0000 (14:16 +0200)]
s3: Fix bug 8385
Poll and select behave differently regarding error handling. When doing the
connect(2), we can not rely on poll telling us both readability and writability
upon error. Just always try a second connect(2). At least on Linux it returns 0
when it succeeded.
Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Aug 25 19:39:12 CEST 2011 on sn-devel-104
Günther Deschner [Thu, 25 Aug 2011 11:40:08 +0000 (13:40 +0200)]
s3-waf: fix some unresolved symbols in idmap ad modules.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Aug 25 15:15:57 CEST 2011 on sn-devel-104
Günther Deschner [Thu, 25 Aug 2011 11:39:25 +0000 (13:39 +0200)]
s3-registry: fix bug #8401 - registry/reg_format.c must include includes.h.
Guenther
Andrew Tridgell [Wed, 24 Aug 2011 05:53:58 +0000 (15:53 +1000)]
s4-dsdb: fixed use of RMD flags in ldb search in dirsync module
I'm pretty sure a SHOW_DELETED was wanted here
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Aug 25 01:10:13 CEST 2011 on sn-devel-104
Andrew Tridgell [Wed, 24 Aug 2011 05:48:02 +0000 (15:48 +1000)]
s4-dns: fixed dns_update_list for multi-domain forests
this should now match the DNS entries of w2k8r2c
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
Andrew Tridgell [Wed, 24 Aug 2011 05:47:27 +0000 (15:47 +1000)]
s4-dns: cope with duplicate entries in dns_update_list
this is needed for when DNSFOREST and DNSDOMAIN are the same
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
Andrew Tridgell [Wed, 24 Aug 2011 05:46:53 +0000 (15:46 +1000)]
s4-dsdb: fixed newlines in DEBUG() calls in cracknames
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
Andrew Tridgell [Wed, 24 Aug 2011 03:52:09 +0000 (13:52 +1000)]
s4-join: fixed DNS hostname
we need the local hostname, not the remote name
Andrew Tridgell [Wed, 24 Aug 2011 03:51:49 +0000 (13:51 +1000)]
s4-drs: fixed msdcs DNS name in getncchanges
Andrew Tridgell [Wed, 24 Aug 2011 03:51:01 +0000 (13:51 +1000)]
s4-libnet: fixed forest DNS name
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Mon, 22 Aug 2011 07:43:56 +0000 (17:43 +1000)]
s4-acl: use dnsforest not dnsdomain for GC names
Andrew Tridgell [Mon, 22 Aug 2011 07:43:37 +0000 (17:43 +1000)]
s4-join: setup DNS forest name on join context
Andrew Tridgell [Mon, 22 Aug 2011 07:41:08 +0000 (17:41 +1000)]
s4-dns/spn: fixed DNS and SPN scripts to setup forest DNS name
Andrew Tridgell [Mon, 22 Aug 2011 07:40:45 +0000 (17:40 +1000)]
s4-samdb: added host_dns_name(), domain_dns_name() and forest_dns_name()
these will make it easier to get python code right for multi-domain
support
Andrew Tridgell [Mon, 22 Aug 2011 07:30:15 +0000 (17:30 +1000)]
s4-repl: fixed _msdcs DNS name
another multi-domain fix
Andrew Tridgell [Mon, 22 Aug 2011 07:29:54 +0000 (17:29 +1000)]
s4-kcc: fixed _msdcs DNS name
we need to base this DNS name on the forest DNS name for multi-domain
support
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
Andrew Tridgell [Mon, 22 Aug 2011 07:29:08 +0000 (17:29 +1000)]
s4-dsdb: added samdb_ntds_msdcs_dns_name()
this gets the DNS name for a NTDS GUID, based on the forest DNS name
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
Andrew Tridgell [Mon, 22 Aug 2011 07:28:29 +0000 (17:28 +1000)]
s4-dns: fixed DNS and SPN update lists for multi-domain support
fixed DNS to point at forest root
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
Andrew Tridgell [Mon, 22 Aug 2011 07:27:39 +0000 (17:27 +1000)]
s4-provision: pass the rootDN into guess_names()
this gets the correct forest DN during provision
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Mon, 22 Aug 2011 07:26:44 +0000 (17:26 +1000)]
s4-dsdb: fixed calls to ldb_val_string_cmp()
wrong order of arguments
Andrew Tridgell [Mon, 22 Aug 2011 07:00:54 +0000 (17:00 +1000)]
s4-dsdb: added samdb_dn_to_dns_domain()
this converts a DC into the equivalent DNS domain. It is used when
forming t_msdcs NTDS DNS names
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
Andrew Tridgell [Fri, 19 Aug 2011 07:36:22 +0000 (17:36 +1000)]
s4-dsdb: assert that base DNs are used correctly
this will catch future programmer errors with incorrect base DNs
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Fri, 19 Aug 2011 07:35:45 +0000 (17:35 +1000)]
s4-dsdb: enforce NULL DN validity in partition module
windows does not allow a search on the empty DN except for rootDSE
searches or for phantom_root searches (ie. with --cross-ncs). By
enforcing this in Samba we make it more likely that our tests and
utilities will work against windows
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Fri, 19 Aug 2011 07:34:12 +0000 (17:34 +1000)]
s4-dsdb: fixed basedn in extended_dn_in module
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Fri, 19 Aug 2011 07:33:06 +0000 (17:33 +1000)]
samba-tool: fixed use of base DNs in ldapcmp
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Fri, 19 Aug 2011 07:32:44 +0000 (17:32 +1000)]
s4-spnupdate: fixed searches on domain NC
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Fri, 19 Aug 2011 07:32:26 +0000 (17:32 +1000)]
s4-dns: fixed base search on domain NC
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Fri, 19 Aug 2011 07:31:43 +0000 (17:31 +1000)]
s4-samr: fixed subtree search
this needs to be on the domain NC
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Fri, 19 Aug 2011 07:31:13 +0000 (17:31 +1000)]
s4-kdc: fixed subtree search in KDC
use ldb_get_default_basedn() with a subtree search
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Fri, 19 Aug 2011 07:30:28 +0000 (17:30 +1000)]
s4-dsdb: cleanup use of NULL vs base DN in samldb
NULL should be used when doing all partition searches. The default
basedn should be used when wanting just the domain NC
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Fri, 19 Aug 2011 07:29:13 +0000 (17:29 +1000)]
s4-dsdb: removed unused function in ACL module
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Fri, 19 Aug 2011 07:28:49 +0000 (17:28 +1000)]
s4-dsdb: fixed all partitions search in cracknames
when searching all partitions we must use the NULL basedn, or we will
miss partitions in multi-domain setups
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Fri, 19 Aug 2011 07:27:55 +0000 (17:27 +1000)]
s4-dns: when searching all partitions the NULL basedn is OK
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Fri, 19 Aug 2011 07:27:14 +0000 (17:27 +1000)]
pdb-samba4: use ldb_get_default_basedn() instead of NULL
this makes pdb-samba4 safe for multi-domain setups
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Andrew Tridgell [Fri, 19 Aug 2011 07:26:33 +0000 (17:26 +1000)]
pyldb: fixed a warning
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Christian Ambach [Wed, 24 Aug 2011 14:21:37 +0000 (16:21 +0200)]
s3:winbindd fix a return code check
talloc_traverse_dict will return with -1 in case of an error and
might return positive values that indicate the count of found
entries
Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Wed Aug 24 18:09:11 CEST 2011 on sn-devel-104
Volker Lendecke [Tue, 23 Aug 2011 23:02:38 +0000 (01:02 +0200)]
s3: Fix an uninitialized variable
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Aug 24 00:34:04 CEST 2011 on sn-devel-104
Volker Lendecke [Tue, 23 Aug 2011 22:36:35 +0000 (00:36 +0200)]
s3: Fix the build on FreeBSD
lsasd.c uses basename(3), which according to susv3
requires libgen.h and without which the FreeBSD build breaks.
Volker Lendecke [Tue, 23 Aug 2011 14:50:32 +0000 (16:50 +0200)]
s/event_context/tevent_context/ in smbsock_any_connect
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Aug 23 18:21:58 CEST 2011 on sn-devel-104
Volker Lendecke [Tue, 23 Aug 2011 14:50:19 +0000 (16:50 +0200)]
s/event_context/tevent_context/ in smbsock_connect
Olivier Sessink [Tue, 9 Aug 2011 07:56:38 +0000 (09:56 +0200)]
scannedonly module: improve sleep behavior when reading a directory with multiple non-scanned files
Volker Lendecke [Mon, 22 Aug 2011 08:21:09 +0000 (10:21 +0200)]
s3: Slightly simplify serverid_exists
procid_is_me() works fine in the clustering case as well
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Aug 22 21:28:13 CEST 2011 on sn-devel-104
Vicentiu Ciorbaru [Sun, 21 Aug 2011 16:58:01 +0000 (19:58 +0300)]
s3-net: Added documentation for net_rpc_conf functions
Added comments to most functions of net rpc conf for easier
understanding of the code.
Signed-off-by: Michael Adam <obnox@samba.org>
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Mon Aug 22 17:08:15 CEST 2011 on sn-devel-104
Vicentiu Ciorbaru [Sun, 21 Aug 2011 14:42:33 +0000 (17:42 +0300)]
docs: Added documentation for net rpc conf.
Changed the manual page for net to also show the posibility
of remote configuration of a Samba server via net rpc conf.
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Wed, 17 Aug 2011 14:58:59 +0000 (17:58 +0300)]
s3-test: Added net conf tests to tests.py
The tests are added as blackbox tests and they can be called with
the wildcard source3.blackbox.net.*.conf with either 'local' or 'rpc'
instead of '*' .
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Thu, 11 Aug 2011 09:50:47 +0000 (12:50 +0300)]
s3-test: Added new testsuites for test net [rpc] conf
The script tests all commands present in the net conf tool.
It is also possible to provide a fourth command line parameter
'rpc' in order to run the tests with the use of rpc.
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Wed, 10 Aug 2011 09:05:50 +0000 (12:05 +0300)]
s3-test: added samba3.blackbox.net.rpc.registry.roundtrip testsuite
The testsuite makes use of the rpc mode from the registry roundtrip
script to test net rpc conf / net rpc registry
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Wed, 10 Aug 2011 08:58:25 +0000 (11:58 +0300)]
s3-test: Enhanced the net registry roundtrip test script
The script now supports an rpc mode, which is triggered by the
presence of a fourth command line parameter "rpc"
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Wed, 3 Aug 2011 20:19:21 +0000 (23:19 +0300)]
s3-net: Implemented net rpc conf import command
The function takes a local file in smb.conf format,
uses calls to smbconf to create smbconf_service structs,
which are then placed in the remote registry.
The function also provides a test module to only print
the changes that it would make.
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Wed, 3 Aug 2011 13:07:46 +0000 (16:07 +0300)]
s3-net: Added net rpc conf import command to net rpc conf
The function only appears in the commands list usage of net rpc
conf.
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Wed, 3 Aug 2011 13:01:38 +0000 (16:01 +0300)]
s3-net: Implemented net rpc conf addshare command
The function is mostly a wrapper around a series of setparm
commands. It can be used to quickly set up a share with simple
parameters.
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Wed, 3 Aug 2011 12:58:54 +0000 (15:58 +0300)]
s3-net: Added net rpc conf addshare command to net rpc conf
The function only appears in the commands list usage of net rpc
conf.
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Sat, 30 Jul 2011 14:10:19 +0000 (17:10 +0300)]
s3-net: Implemented net rpc conf setincludes command
The function creates the share key if it does not exist.
If the share key was present it deletes the previous includes.
After this the function sets the new includes accordingly.
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Sat, 30 Jul 2011 13:55:43 +0000 (16:55 +0300)]
s3-net: Added net rpc conf setincludes command to net rpc conf
The function only appears in the commands list usage of net rpc
conf.
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Sat, 30 Jul 2011 13:53:59 +0000 (16:53 +0300)]
s3-net: Implemented net rpc conf setparm command
The function creates the share key if it does not exist.
If the share key was present it deletes the previous value.
After this the function sets the new value accordingly.
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Sat, 30 Jul 2011 13:51:44 +0000 (16:51 +0300)]
s3-net: Added net rpc conf setparm command to net rpc conf
The function only appears in the commands list usage of net rpc
conf.
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Tue, 26 Jul 2011 10:48:34 +0000 (13:48 +0300)]
s3-net: Implemented net rpc conf delparm command
The function makes use of existing code from delincludes.
It has the same logic, except it uses the second argument
passed to determine which value to delete from the registry.
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Tue, 26 Jul 2011 10:36:23 +0000 (13:36 +0300)]
s3-net: Added net rpc conf delparm command to net rpc conf
The function only appears in the commands list usage of net rpc
conf.
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Tue, 26 Jul 2011 10:25:33 +0000 (13:25 +0300)]
s3-net: Refactored part of rpc_conf_delincludes_internal
The function now makes use of rpc_conf_del_value to delete
the includes of a given share.
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Tue, 26 Jul 2011 10:24:58 +0000 (13:24 +0300)]
s3-net: Created function net_rpc_conf_del_value
Function is used to refactor some of the code used in
delincludes and also to be used in the other key manipulating
functions.
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Tue, 26 Jul 2011 09:44:42 +0000 (12:44 +0300)]
s3-net: Implemented net rpc conf delincludes command
The function openes the key attached to the service passed as a
parameter to the command and it uses dcerpc_winreg_DeleteValue to
delete the includes value if it exists
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Tue, 26 Jul 2011 07:36:17 +0000 (10:36 +0300)]
s3-net: Added net rpc conf delincludes command to net rpc conf
The function only appears in the commands list usage of net rpc
conf.
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Mon, 25 Jul 2011 22:32:23 +0000 (01:32 +0300)]
s3-net: Implemented net rpc conf getincludes command
The function creates a smconf_service struct that holds the share
passed as the first argument to the command and searches in it for
"include" parameters. If any are found, they are displayed.
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Mon, 25 Jul 2011 22:16:45 +0000 (01:16 +0300)]
s3-net: Added net rpc conf getincludes command to net rpc conf
The function only appears in the commands list usage of net rpc
conf.
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Wed, 17 Aug 2011 14:01:30 +0000 (17:01 +0300)]
s3-net: Implemented net rpc conf getparm command
The function creates a smconf_service struct that holds the share
passed as the first argument to the command and searches in it for
the parameter passed as the second argument to the command
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Mon, 25 Jul 2011 15:20:01 +0000 (18:20 +0300)]
s3-net: Added net rpc conf getparm command to net rpc conf
The function only appears in the commands list usage of net rpc conf.
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Thu, 21 Jul 2011 21:19:58 +0000 (00:19 +0300)]
s3-net: Implemented net rpc conf delshare command
The function makes use of dcerpc_winreg_delete_subkeys_recursive
to clear the share.
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Fri, 15 Jul 2011 16:22:34 +0000 (19:22 +0300)]
s3-net: Added net rpc conf delshare command to net rpc conf
The function only appears in the commands list usage of net rpc conf.
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Wed, 13 Jul 2011 21:30:06 +0000 (00:30 +0300)]
s3-net: Implemented net rpc conf drop command
The function makes use of dcerpc_winreg_delete_subkeys_recursive
to clear the configuration.
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Wed, 13 Jul 2011 21:01:15 +0000 (00:01 +0300)]
s3-net: Added net rpc conf drop command to net rpc conf
The function only appears in the commands list usage of net rpc conf.
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Wed, 17 Aug 2011 13:42:48 +0000 (16:42 +0300)]
s3-net: Implemented net rpc conf showshare command
The function has the same logic as net rpc conf list, however it
only loads the specific share.
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Wed, 13 Jul 2011 20:18:00 +0000 (23:18 +0300)]
s3-net: Added net rpc conf showshare command to net rpc conf
The function only appears in the commands list usage of net rpc conf.
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Wed, 13 Jul 2011 20:04:18 +0000 (23:04 +0300)]
s3-net: Implemented net rpc conf listshares command.
The function prints the names of the remote shares found, one per line.
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Wed, 13 Jul 2011 20:01:35 +0000 (23:01 +0300)]
s3-net: Added net rpc conf listshares command to net rpc conf
The function only appears in the commands list usage of net rpc conf.
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Wed, 13 Jul 2011 19:57:08 +0000 (22:57 +0300)]
s3-net: rpc_conf_list now uses the wrapper rpc_conf_open_conf
Signed-off-by: Michael Adam <obnox@samba.org>
Vicentiu Ciorbaru [Wed, 13 Jul 2011 19:49:59 +0000 (22:49 +0300)]
s3-net: Added rpc_conf_open_conf function
The function is used as a wrapper to open the HKLM hive key and
the smbconf key.
Signed-off-by: Michael Adam <obnox@samba.org>