summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s4:objectclass LDB module - some more or less cosmetic return value macro ↵Matthias Dieter Wallnöfer2010-11-241-14/+22
| | | | | | changes Sometimes "ldb_module_oom" fits better than "ldb_operr" or "ldb_oom".
* s4-tests: Modified sec_descriptor to use samdb.newgroup instead of locally ↵Nadezhda Ivanova2010-11-241-48/+50
| | | | | | | defined method. Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Wed Nov 24 17:38:28 CET 2010 on sn-devel-104
* s4-dsdb: Extended samdb.newgroup to set the group's security descriptor.Nadezhda Ivanova2010-11-241-1/+5
|
* s3:winbind correct a copy&paste errorChristian Ambach2010-11-241-3/+3
| | | | | | | | | | | negative results of sid->gid lookups should be stored with idmap_cache_set_sid2gid instead of idmap_cache_set_sid2uid This seems to be a copy&paste error when similar logic from the sid2uid path was copied here in 84b88f4b. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Nov 24 16:53:01 CET 2010 on sn-devel-104
* s3: Correctly calculate the wbinfo -s resultVolker Lendecke2010-11-241-9/+25
|
* s3-test: try to avoid a problem of CFLAGS propogating to the torture buildAndrew Tridgell2010-11-241-2/+2
| | | | | | | | CFLAGS is set by s3 to include -D_SAMBA_BUILD_=3. We need to ensure this does not propogate to the smbtorture4 build Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 24 14:40:16 CET 2010 on sn-devel-104
* wintest: added an IPv6 address, and use fully qualified hostnameAndrew Tridgell2010-11-244-34/+53
| | | | | | | this also makes the resolv.conf handling more robust Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 24 11:34:30 CET 2010 on sn-devel-104
* s3-libnetapi Load case tables earlierAndrew Bartlett2010-11-241-2/+3
| | | | | | | | | | If we don't load the case tables as the 'first' thing we do, we will segfault on the first case insensitive string comparison. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Nov 24 09:21:05 CET 2010 on sn-devel-104
* s3-libnetapi Add function header commentsAndrew Bartlett2010-11-241-0/+3
| | | | Andrew Bartlett
* s3-netapi Add libnetapi_net_init(), don't double-init common Samba subsystemsAndrew Bartlett2010-11-246-19/+70
| | | | | | | | | | | | | The issue here is that libnet and net were both trying to load the smb.conf files, the case tables and set the debug levels. The set of the debug levels caused problems, because it would force the level to 0, not (say) 10 as requested on the command line. This regression was apparently introduced in cf4de8ec2c8df2ceabbe3d836d296b058e7b19fb when eliminating AllowDebugChange. Andrew Bartlett
* lib/debug Add clarifying commentsAndrew Bartlett2010-11-241-2/+2
|
* wintest Don't connect to localhost or unqualified hostname, bind interface onlyAndrew Bartlett2010-11-241-13/+13
| | | | | | | | | | | | | | | Instead, connect to ${INTERFACE_IP} and the fully qualified hostname, so that we talk to the the interface where Samba is (now) bound. Using 'bind interfaces only' means that the other Samba instances (properly configured) can still run while the tests progress. (killall operations that currently terminate other Samba instances still need work). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Nov 24 08:33:03 CET 2010 on sn-devel-104
* s4-setup correct the require BIND version for Dynamic DNSAndrew Bartlett2010-11-241-1/+1
|
* wintest: fixed cleanup of /etc/resolv.confAndrew Tridgell2010-11-241-1/+3
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 24 07:29:49 CET 2010 on sn-devel-104
* wintest: remove reliance on hostname in /etc/hostsAndrew Tridgell2010-11-242-35/+34
| | | | | | - don't setwinvars() in test code - use fully qualified names where possible - don't delete named and rndc config
* wintest: fixed interface handling and DNS forwardingAndrew Tridgell2010-11-244-65/+118
| | | | | | - allow for _IP vars on VMs - resolve IPs using nmblookup - forward DNS requests for windows domains
* Add in fsp->access_mask checks. Not required (underlying system does this)Jeremy Allison2010-11-242-2/+42
| | | | | | | | | but makes logic cleaner. Pointed out by Metze. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Nov 24 01:47:13 CET 2010 on sn-devel-104
* s4-devel: we don't need to override these scripts nowAndrew Tridgell2010-11-241-2/+0
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 24 01:02:43 CET 2010 on sn-devel-104
* s3-torture: remove the merged_build tests for building smbtorture4Andrew Tridgell2010-11-241-27/+6
| | | | | | s3 now builds smbtorture4 if the required packages (perl, python, ads) are available. This should ensure that smbtorture4 is built in the build farm when possible
* s4-dynconfig: override more paths when running from the build directoryAndrew Tridgell2010-11-244-9/+16
| | | | | this ensures consistency between binaries and scripts when testing as a developer
* s4-kcc: disable the NDR printing of DRS getinfo requestsAndrew Tridgell2010-11-241-0/+4
|
* Fix bug #7812 - vfs_acl_xattr/vfs_acl_tdb: ACL inheritance cannot be disabledJeremy Allison2010-11-241-0/+6
| | | | | | | | | | | We were losing the incoming security descriptor revision number and most importantly the "type" field as sent by the client. Ensure we correctly store these in the xattr object. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Nov 24 00:18:57 CET 2010 on sn-devel-104
* pyldb: Fix broken test.Jelmer Vernooij2010-11-232-1/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Nov 23 23:20:38 CET 2010 on sn-devel-104
* Make log level of the server configurable in make testMatthieu Patou2010-11-231-1/+1
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Tue Nov 23 22:36:37 CET 2010 on sn-devel-104
* s4-tests: Modified acl.py to use samdb.newgroup instead of custom methods.Nadezhda Ivanova2010-11-231-43/+15
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Tue Nov 23 21:46:07 CET 2010 on sn-devel-104
* s4-dsdb: Changed filter to find the account of a user by samAccountNameNadezhda Ivanova2010-11-231-2/+1
| | | | | | In newuser, a filter by dn was given to setpassword to find the account whose password is to be reset. It appears however that if given filter of type (dn=CN=smth) Windows fails to return the entry, and the tests that use newuser fail against it. Changed to use samAccountName instead.
* Fix bug #7785 - atime limit.Jeremy Allison2010-11-231-0/+25
| | | | | | | | | | | | | | On a 64-bit time_t system make MAX_TIME_T the max value that can be represented in a struct tm. This allows applications to set times in the future beyond the 32-bit time_t limit (2037). This is only in source3/configure.in, needs adding to the waf configure/build system (but I'll need help with that). Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Nov 23 21:00:14 CET 2010 on sn-devel-104
* s4-test/repl_schema: Refactor the test a little bit toKamen Mazdrashki2010-11-231-31/+59
| | | | | | | | | | | | | - Cleanup imports - make sure we have testtools and subunit imported - use dictionaries instead of LDIFs for schema modification so now callers for _make_class can easily add new attributes for created class - simplify a little bit classSchema creation - test attributeSchema replication Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Tue Nov 23 18:44:46 CET 2010 on sn-devel-104
* s4-tests: Make all DRS python tests to start with samba4.drs.* prefixKamen Mazdrashki2010-11-231-3/+3
|
* s4-pfm_verify: Explicitly pass LoadParm() instance to system_session() functionKamen Mazdrashki2010-11-231-1/+1
| | | | | | Otherwise system_session() creates a LoadParm() instance wich resets certain params to their defaults from smb.conf ("log level" for instance)
* s4-tests: Modified sec_descriptor.py to use samdb.newuser instead of custom ↵Nadezhda Ivanova2010-11-231-47/+22
| | | | | | | methods. Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Tue Nov 23 17:58:38 CET 2010 on sn-devel-104
* s4-tests: Modified acl.py to use samdb.newuser instead of custom methods.Nadezhda Ivanova2010-11-231-86/+68
|
* s4-dsdb: Extended samdb.newuser to accept security descriptor for the object ↵Nadezhda Ivanova2010-11-231-3/+9
| | | | | | | | | | and optionally skip password reset Sometimes for testing purposes we create users without any permissions on their objects and password reset cannot be performed at that point, and is not necessary. For this purpose we can now optionally skip this step. The default is still to reset the user password. Also, a security.descriptor object can be specified during the user creation to override using the default one. defaultSecurityDescriptor is still used by default.
* s3-docs: Update 3.2 features.Samba-JP oota2010-11-231-0/+96
|
* s4-tests: Modified sec_descriptor.py to use SamDB.create_ou()Nadezhda Ivanova2010-11-231-35/+20
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Tue Nov 23 14:19:34 CET 2010 on sn-devel-104
* s4-tests: Modified acl.py to use SamDB.create_ou()Nadezhda Ivanova2010-11-231-84/+70
|
* s4-dsdb: Added a python method to SamDB for creating organizationalUnitsNadezhda Ivanova2010-11-231-1/+29
|
* wintest: tidyups and new conf variablesAndrew Tridgell2010-11-234-20/+62
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Nov 23 13:01:10 CET 2010 on sn-devel-104
* s4-ldb: added an environment varibale LDB_WARN_UNINDEXEDAndrew Tridgell2010-11-236-10/+16
| | | | | | when LDB_WARN_UNINDEXED is set, we produce warnings about unindexed searches. This makes it easier to find performance problems caused by unindexed searches.
* s4-tests: Ldap tests now use the get_dsheuristics and set_dsheuristics from ↵Nadezhda Ivanova2010-11-231-25/+6
| | | | | | | SamDB. Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Tue Nov 23 11:08:37 CET 2010 on sn-devel-104
* s4-tests: Password tests now use the get_dsheuristics and set_dsheuristics ↵Nadezhda Ivanova2010-11-231-44/+9
| | | | from SamDB.
* s4-tests: Acl tests now use the get_dsheuristics and set_dsheuristics from ↵Nadezhda Ivanova2010-11-231-23/+7
| | | | SamDB.
* s4-dsdb: Added python helpers for getting and seting dSHeuristics to SamDBNadezhda Ivanova2010-11-231-0/+24
|
* wintest Evolve wintest to handle it's own BIND nameserverAndrew Bartlett2010-11-233-27/+132
| | | | | | | | | | | | | | | | | | | The changes here start our own copy of BIND, listening on a new interface that we create at the start of the script. The user must specify the IP address etc that this interface will have, and BIND and Samba will bind to that interface only. This means that we won't conflict with an existing BIND on the system, so long as it isn't configured to listen on all interfaces. We also auto-create the /etc/resolv.conf and restore it at the end of the script, using the existing server value from the script as a forwarder. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Nov 23 08:30:34 CET 2010 on sn-devel-104
* wintest Improve wintest's handling of IP addresses and add more auto-setupAndrew Bartlett2010-11-232-13/+62
| | | | | | | | | | | | | | | | | | | | | | | - Don't change the IP address if DHCP is not in use The main reason to 'fix' the IP is to get around Dynamic DNS issues caused by the DHCP server, if the VM is already on a fixed IP, it does not matter. - Set the maximum telnet connection limit to 1024 This ensures that we can always make a new connection, regardless of the existing configuration. We also catch more conditions when the server has restricted the number of connections, and try again. - Set the route after the connection drops out My WinXP box always wants to drop the default route - Set the DNS as a distinct step My WinXP box drops the connection when we set DNS servers Andrew Bartlett
* wintest Explian that this is my KVM/libvirt configurationAndrew Bartlett2010-11-231-1/+1
|
* wintest example configuration file for a KVM based wintestAndrew Bartlett2010-11-231-0/+59
| | | | Andrew Bartlett
* wintest Allow substitute to cope with objects like pexpect.EOFAndrew Bartlett2010-11-231-0/+3
| | | | | | | These are not strings, but may get passed into this function on the way to pexpect. Andrew Bartlett
* wintest Set the virtual machine IP to match it's dynamic IP, but don't use DHCPAndrew Bartlett2010-11-232-11/+78
| | | | | | | | | The idea here is that the virtual machine stays on the address allocated by DHCP, but is configured statically. This avoids the need to manually set the address on the host, but avoids the host being instructed by DHCP not to do Dynamic DNS. Andrew Bartlett
* wintest Force krb5.conf for BIND so we use the one generated for this testAndrew Bartlett2010-11-231-1/+1
| | | | | | | This avoids needing to set the krb5.conf for the whole host to match the test environment. Andrew Bartlett