summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-passdb: Make domain_sid argument optional for search_aliases methodAmitay Isaacs2011-08-261-5/+10
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-passdb: Return assigned number of hours and not MAX_HOURS_LENAmitay Isaacs2011-08-261-3/+4
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-passdb: Convert lm_pw and nt_pw to python string using lengthAmitay Isaacs2011-08-261-2/+2
| | | | | | | 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>
* s3-param: Add a dump() method to output parametersAmitay Isaacs2011-08-261-0/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3:dbwrap_tdb: correctly catch the error from the return code of tdb_parse ↵Michael Adam2011-08-251-1/+6
| | | | in db_tdb_fetch()
* s3:smbd: remove an unused variable in dptr_create()Michael Adam2011-08-251-1/+0
|
* s3:registry: fix the v2_to_v3 upgrade code so that it does not create value ↵Michael Adam2011-08-251-0/+6
| | | | list security records for the INFO/version key ...
* s3:registry: fix the v1_to_v2 upgrade code so that it does not normalize the ↵Michael Adam2011-08-251-0/+6
| | | | INFO/version key ...
* s3:registry: define a constant REGDB_VERSION_KEYNAME for the key ↵Michael Adam2011-08-251-7/+6
| | | | INFO/version (and use it)
* s3:registry: hand db context in to v2_to_v3 upgrade code via private_dataMichael Adam2011-08-251-4/+9
| | | | | This also fixes the earlier faulty handing in of a useless stackframe memory context via private_data.
* s3:registry: fix broken use of dbwrap store record in v1_to_v2 upgrade codeMichael Adam2011-08-251-8/+10
| | | | | 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.
* s3: Fix the build of vfs_aixacl2.cSATOH Fumiyasu2011-08-251-0/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Aug 25 23:06:12 CEST 2011 on sn-devel-104
* s3: Remove a bogus commentVolker Lendecke2011-08-251-4/+0
|
* s3: Pass smbd_server_connection to (unused) server_encryption_shutdownVolker Lendecke2011-08-252-2/+2
|
* s3: Pass smbd_server_connection to srv_encrypt_bufferVolker Lendecke2011-08-253-3/+5
|
* s3: Pass smbd_server_connection to srv_decrypt_bufferVolker Lendecke2011-08-253-4/+3
|
* s3: Pass smbd_server_connection to srv_free_enc_bufferVolker Lendecke2011-08-253-4/+4
|
* s3: Pass smbd_server_connection to is_encrypted_packetVolker Lendecke2011-08-254-8/+11
|
* s3: Pass sconn to valid_smb_headerVolker Lendecke2011-08-251-4/+5
|
* s3: Explicitly pass smb_srv_trans_enc_ctx to srv_enc_ctxVolker Lendecke2011-08-251-3/+3
|
* s3: Fix some nonempty blank linesVolker Lendecke2011-08-252-6/+6
|
* s3-waf: fix some unresolved symbols in idmap ad modules.Günther Deschner2011-08-251-0/+2
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Aug 25 15:15:57 CEST 2011 on sn-devel-104
* s3-registry: fix bug #8401 - registry/reg_format.c must include includes.h.Günther Deschner2011-08-251-0/+1
| | | | Guenther
* pdb-samba4: use ldb_get_default_basedn() instead of NULLAndrew Tridgell2011-08-251-3/+3
| | | | | | this makes pdb-samba4 safe for multi-domain setups Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3:winbindd fix a return code checkChristian Ambach2011-08-241-2/+2
| | | | | | | | | 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
* s3: Fix an uninitialized variableVolker Lendecke2011-08-241-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Aug 24 00:34:04 CEST 2011 on sn-devel-104
* s3: Fix the build on FreeBSDVolker Lendecke2011-08-231-0/+1
| | | | | lsasd.c uses basename(3), which according to susv3 requires libgen.h and without which the FreeBSD build breaks.
* s/event_context/tevent_context/ in smbsock_any_connectVolker Lendecke2011-08-231-2/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Aug 23 18:21:58 CEST 2011 on sn-devel-104
* s/event_context/tevent_context/ in smbsock_connectVolker Lendecke2011-08-231-2/+2
|
* scannedonly module: improve sleep behavior when reading a directory with ↵Olivier Sessink2011-08-231-14/+16
| | | | multiple non-scanned files
* s3: Slightly simplify serverid_existsVolker Lendecke2011-08-221-1/+1
| | | | | | | 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
* s3-net: Added documentation for net_rpc_conf functionsVicentiu Ciorbaru2011-08-221-1/+44
| | | | | | | | | | 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
* s3-test: Added net conf tests to tests.pyVicentiu Ciorbaru2011-08-221-0/+6
| | | | | | | | 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>
* s3-test: Added new testsuites for test net [rpc] confVicentiu Ciorbaru2011-08-221-0/+970
| | | | | | | | 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>
* s3-test: added samba3.blackbox.net.rpc.registry.roundtrip testsuiteVicentiu Ciorbaru2011-08-221-1/+4
| | | | | | | 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>
* s3-test: Enhanced the net registry roundtrip test scriptVicentiu Ciorbaru2011-08-221-13/+14
| | | | | | | 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>
* s3-net: Implemented net rpc conf import commandVicentiu Ciorbaru2011-08-221-3/+347
| | | | | | | | | | | 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>
* s3-net: Added net rpc conf import command to net rpc confVicentiu Ciorbaru2011-08-221-0/+16
| | | | | | | The function only appears in the commands list usage of net rpc conf. Signed-off-by: Michael Adam <obnox@samba.org>
* s3-net: Implemented net rpc conf addshare commandVicentiu Ciorbaru2011-08-221-2/+255
| | | | | | | | 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>
* s3-net: Added net rpc conf addshare command to net rpc confVicentiu Ciorbaru2011-08-221-0/+15
| | | | | | | The function only appears in the commands list usage of net rpc conf. Signed-off-by: Michael Adam <obnox@samba.org>
* s3-net: Implemented net rpc conf setincludes commandVicentiu Ciorbaru2011-08-221-2/+141
| | | | | | | | 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>
* s3-net: Added net rpc conf setincludes command to net rpc confVicentiu Ciorbaru2011-08-221-0/+16
| | | | | | | The function only appears in the commands list usage of net rpc conf. Signed-off-by: Michael Adam <obnox@samba.org>
* s3-net: Implemented net rpc conf setparm commandVicentiu Ciorbaru2011-08-221-2/+201
| | | | | | | | 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>
* s3-net: Added net rpc conf setparm command to net rpc confVicentiu Ciorbaru2011-08-221-0/+14
| | | | | | | The function only appears in the commands list usage of net rpc conf. Signed-off-by: Michael Adam <obnox@samba.org>
* s3-net: Implemented net rpc conf delparm commandVicentiu Ciorbaru2011-08-221-2/+77
| | | | | | | | 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>
* s3-net: Added net rpc conf delparm command to net rpc confVicentiu Ciorbaru2011-08-221-0/+14
| | | | | | | The function only appears in the commands list usage of net rpc conf. Signed-off-by: Michael Adam <obnox@samba.org>
* s3-net: Refactored part of rpc_conf_delincludes_internalVicentiu Ciorbaru2011-08-221-82/+8
| | | | | | | 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>
* s3-net: Created function net_rpc_conf_del_valueVicentiu Ciorbaru2011-08-221-0/+71
| | | | | | | | 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>
* s3-net: Implemented net rpc conf delincludes commandVicentiu Ciorbaru2011-08-221-2/+151
| | | | | | | | 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>
* s3-net: Added net rpc conf delincludes command to net rpc confVicentiu Ciorbaru2011-08-221-0/+14
| | | | | | | The function only appears in the commands list usage of net rpc conf. Signed-off-by: Michael Adam <obnox@samba.org>