summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s4-dsdb: fixed use of RMD flags in ldb search in dirsync moduleAndrew Tridgell2011-08-251-2/+2
| | | | | | | | | 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
* s4-dns: fixed dns_update_list for multi-domain forestsAndrew Tridgell2011-08-251-13/+28
| | | | | | this should now match the DNS entries of w2k8r2c Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* s4-dns: cope with duplicate entries in dns_update_listAndrew Tridgell2011-08-251-1/+5
| | | | | | this is needed for when DNSFOREST and DNSDOMAIN are the same Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* s4-dsdb: fixed newlines in DEBUG() calls in cracknamesAndrew Tridgell2011-08-251-14/+14
| | | | Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* s4-join: fixed DNS hostnameAndrew Tridgell2011-08-251-1/+1
| | | | we need the local hostname, not the remote name
* s4-drs: fixed msdcs DNS name in getncchangesAndrew Tridgell2011-08-251-3/+2
|
* s4-libnet: fixed forest DNS nameAndrew Tridgell2011-08-252-2/+3
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-acl: use dnsforest not dnsdomain for GC namesAndrew Tridgell2011-08-251-3/+3
|
* s4-join: setup DNS forest name on join contextAndrew Tridgell2011-08-251-4/+4
|
* s4-dns/spn: fixed DNS and SPN scripts to setup forest DNS nameAndrew Tridgell2011-08-252-5/+6
|
* s4-samdb: added host_dns_name(), domain_dns_name() and forest_dns_name()Andrew Tridgell2011-08-251-0/+15
| | | | | these will make it easier to get python code right for multi-domain support
* s4-repl: fixed _msdcs DNS nameAndrew Tridgell2011-08-253-14/+14
| | | | another multi-domain fix
* s4-kcc: fixed _msdcs DNS nameAndrew Tridgell2011-08-251-3/+1
| | | | | | | we need to base this DNS name on the forest DNS name for multi-domain support Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* s4-dsdb: added samdb_ntds_msdcs_dns_name()Andrew Tridgell2011-08-251-2/+37
| | | | | | this gets the DNS name for a NTDS GUID, based on the forest DNS name Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* s4-dns: fixed DNS and SPN update lists for multi-domain supportAndrew Tridgell2011-08-252-3/+3
| | | | | | fixed DNS to point at forest root Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
* s4-provision: pass the rootDN into guess_names()Andrew Tridgell2011-08-251-2/+2
| | | | | | this gets the correct forest DN during provision Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: fixed calls to ldb_val_string_cmp()Andrew Tridgell2011-08-251-2/+2
| | | | wrong order of arguments
* s4-dsdb: added samdb_dn_to_dns_domain()Andrew Tridgell2011-08-251-0/+36
| | | | | | | 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>
* s4-dsdb: assert that base DNs are used correctlyAndrew Tridgell2011-08-252-0/+8
| | | | | | this will catch future programmer errors with incorrect base DNs Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: enforce NULL DN validity in partition moduleAndrew Tridgell2011-08-251-0/+3
| | | | | | | | | 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>
* s4-dsdb: fixed basedn in extended_dn_in moduleAndrew Tridgell2011-08-251-6/+10
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* samba-tool: fixed use of base DNs in ldapcmpAndrew Tridgell2011-08-251-17/+13
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-spnupdate: fixed searches on domain NCAndrew Tridgell2011-08-251-2/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dns: fixed base search on domain NCAndrew Tridgell2011-08-251-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-samr: fixed subtree searchAndrew Tridgell2011-08-251-1/+1
| | | | | | this needs to be on the domain NC Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-kdc: fixed subtree search in KDCAndrew Tridgell2011-08-251-1/+3
| | | | | | use ldb_get_default_basedn() with a subtree search Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: cleanup use of NULL vs base DN in samldbAndrew Tridgell2011-08-251-7/+18
| | | | | | | 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>
* s4-dsdb: removed unused function in ACL moduleAndrew Tridgell2011-08-251-39/+0
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: fixed all partitions search in cracknamesAndrew Tridgell2011-08-251-1/+1
| | | | | | | 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>
* s4-dns: when searching all partitions the NULL basedn is OKAndrew Tridgell2011-08-251-8/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* 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>
* pyldb: fixed a warningAndrew Tridgell2011-08-251-2/+2
| | | | 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
* docs: Added documentation for net rpc conf.Vicentiu Ciorbaru2011-08-221-28/+29
| | | | | | | 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>
* 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>