samba.git
13 years agos3: Correctly calculate the wbinfo -s result
Volker Lendecke [Tue, 23 Nov 2010 13:28:45 +0000 (14:28 +0100)]
s3: Correctly calculate the wbinfo -s result

13 years agos3-test: try to avoid a problem of CFLAGS propogating to the torture build
Andrew Tridgell [Wed, 24 Nov 2010 12:53:38 +0000 (23:53 +1100)]
s3-test: try to avoid a problem of CFLAGS propogating to the torture build

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

13 years agowintest: added an IPv6 address, and use fully qualified hostname
Andrew Tridgell [Wed, 24 Nov 2010 06:48:39 +0000 (17:48 +1100)]
wintest: added an IPv6 address, and use fully qualified hostname

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

13 years agos3-libnetapi Load case tables earlier
Andrew Bartlett [Wed, 24 Nov 2010 07:04:02 +0000 (18:04 +1100)]
s3-libnetapi Load case tables earlier

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

13 years agos3-libnetapi Add function header comments
Andrew Bartlett [Wed, 24 Nov 2010 06:59:41 +0000 (17:59 +1100)]
s3-libnetapi Add function header comments

Andrew Bartlett

13 years agos3-netapi Add libnetapi_net_init(), don't double-init common Samba subsystems
Andrew Bartlett [Sun, 21 Nov 2010 09:40:50 +0000 (20:40 +1100)]
s3-netapi Add libnetapi_net_init(), don't double-init common Samba subsystems

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

13 years agolib/debug Add clarifying comments
Andrew Bartlett [Tue, 2 Nov 2010 20:09:45 +0000 (07:09 +1100)]
lib/debug Add clarifying comments

13 years agowintest Don't connect to localhost or unqualified hostname, bind interface only
Andrew Bartlett [Wed, 24 Nov 2010 02:46:22 +0000 (13:46 +1100)]
wintest Don't connect to localhost or unqualified hostname, bind interface only

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

13 years agos4-setup correct the require BIND version for Dynamic DNS
Andrew Bartlett [Wed, 24 Nov 2010 00:49:18 +0000 (11:49 +1100)]
s4-setup correct the require BIND version for Dynamic DNS

13 years agowintest: fixed cleanup of /etc/resolv.conf
Andrew Tridgell [Wed, 24 Nov 2010 05:42:43 +0000 (16:42 +1100)]
wintest: fixed cleanup of /etc/resolv.conf

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Nov 24 07:29:49 CET 2010 on sn-devel-104

13 years agowintest: remove reliance on hostname in /etc/hosts
Andrew Tridgell [Wed, 24 Nov 2010 03:16:35 +0000 (14:16 +1100)]
wintest: remove reliance on hostname in /etc/hosts

- don't setwinvars() in test code
- use fully qualified names where possible
- don't delete named and rndc config

13 years agowintest: fixed interface handling and DNS forwarding
Andrew Tridgell [Wed, 24 Nov 2010 02:36:21 +0000 (13:36 +1100)]
wintest: fixed interface handling and DNS forwarding

- allow for _IP vars on VMs
- resolve IPs using nmblookup
- forward DNS requests for windows domains

13 years agoAdd in fsp->access_mask checks. Not required (underlying system does this)
Jeremy Allison [Tue, 23 Nov 2010 23:59:33 +0000 (15:59 -0800)]
Add in fsp->access_mask checks. Not required (underlying system does this)
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

13 years agos4-devel: we don't need to override these scripts now
Andrew Tridgell [Tue, 23 Nov 2010 23:11:14 +0000 (10:11 +1100)]
s4-devel: we don't need to override these scripts now

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Nov 24 01:02:43 CET 2010 on sn-devel-104

13 years agos3-torture: remove the merged_build tests for building smbtorture4
Andrew Tridgell [Tue, 23 Nov 2010 23:06:38 +0000 (10:06 +1100)]
s3-torture: remove the merged_build tests for building smbtorture4

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

13 years agos4-dynconfig: override more paths when running from the build directory
Andrew Tridgell [Tue, 23 Nov 2010 11:44:53 +0000 (22:44 +1100)]
s4-dynconfig: override more paths when running from the build directory

this ensures consistency between binaries and scripts when testing as
a developer

13 years agos4-kcc: disable the NDR printing of DRS getinfo requests
Andrew Tridgell [Tue, 23 Nov 2010 11:43:33 +0000 (22:43 +1100)]
s4-kcc: disable the NDR printing of DRS getinfo requests

13 years agoFix bug #7812 - vfs_acl_xattr/vfs_acl_tdb: ACL inheritance cannot be disabled
Jeremy Allison [Tue, 23 Nov 2010 22:31:43 +0000 (14:31 -0800)]
Fix bug #7812 - vfs_acl_xattr/vfs_acl_tdb: ACL inheritance cannot be disabled

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

13 years agopyldb: Fix broken test.
Jelmer Vernooij [Tue, 23 Nov 2010 20:39:34 +0000 (21:39 +0100)]
pyldb: Fix broken test.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Nov 23 23:20:38 CET 2010 on sn-devel-104

13 years agoMake log level of the server configurable in make test
Matthieu Patou [Tue, 23 Nov 2010 20:47:36 +0000 (23:47 +0300)]
Make log level of the server configurable in make test

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Tue Nov 23 22:36:37 CET 2010 on sn-devel-104

13 years agos4-tests: Modified acl.py to use samdb.newgroup instead of custom methods.
Nadezhda Ivanova [Tue, 23 Nov 2010 19:59:39 +0000 (21:59 +0200)]
s4-tests: Modified acl.py to use samdb.newgroup instead of custom methods.

Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Tue Nov 23 21:46:07 CET 2010 on sn-devel-104

13 years agos4-dsdb: Changed filter to find the account of a user by samAccountName
Nadezhda Ivanova [Tue, 23 Nov 2010 19:54:09 +0000 (21:54 +0200)]
s4-dsdb: Changed filter to find the account of a user by samAccountName

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.

13 years agoFix bug #7785 - atime limit.
Jeremy Allison [Tue, 23 Nov 2010 19:12:17 +0000 (11:12 -0800)]
Fix bug #7785 - atime limit.

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

13 years agos4-test/repl_schema: Refactor the test a little bit to
Kamen Mazdrashki [Tue, 23 Nov 2010 15:15:21 +0000 (17:15 +0200)]
s4-test/repl_schema: Refactor the test a little bit to

- 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

13 years agos4-tests: Make all DRS python tests to start with samba4.drs.* prefix
Kamen Mazdrashki [Wed, 10 Nov 2010 04:15:19 +0000 (06:15 +0200)]
s4-tests: Make all DRS python tests to start with samba4.drs.* prefix

13 years agos4-pfm_verify: Explicitly pass LoadParm() instance to system_session() function
Kamen Mazdrashki [Tue, 23 Nov 2010 15:19:29 +0000 (17:19 +0200)]
s4-pfm_verify: Explicitly pass LoadParm() instance to system_session() function

Otherwise system_session() creates a LoadParm() instance
wich resets certain params to their defaults from smb.conf
("log level" for instance)

13 years agos4-tests: Modified sec_descriptor.py to use samdb.newuser instead of custom methods.
Nadezhda Ivanova [Tue, 23 Nov 2010 15:52:55 +0000 (17:52 +0200)]
s4-tests: Modified sec_descriptor.py to use samdb.newuser instead of custom methods.

Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Tue Nov 23 17:58:38 CET 2010 on sn-devel-104

13 years agos4-tests: Modified acl.py to use samdb.newuser instead of custom methods.
Nadezhda Ivanova [Tue, 23 Nov 2010 15:51:40 +0000 (17:51 +0200)]
s4-tests: Modified acl.py to use samdb.newuser instead of custom methods.

13 years agos4-dsdb: Extended samdb.newuser to accept security descriptor for the object and...
Nadezhda Ivanova [Tue, 23 Nov 2010 15:48:53 +0000 (17:48 +0200)]
s4-dsdb: Extended samdb.newuser to accept security descriptor for the object 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.

13 years agos3-docs: Update 3.2 features.
Samba-JP oota [Tue, 23 Nov 2010 16:06:48 +0000 (17:06 +0100)]
s3-docs: Update 3.2 features.

13 years agos4-tests: Modified sec_descriptor.py to use SamDB.create_ou()
Nadezhda Ivanova [Tue, 23 Nov 2010 12:33:11 +0000 (14:33 +0200)]
s4-tests: Modified sec_descriptor.py to use SamDB.create_ou()

Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Tue Nov 23 14:19:34 CET 2010 on sn-devel-104

13 years agos4-tests: Modified acl.py to use SamDB.create_ou()
Nadezhda Ivanova [Tue, 23 Nov 2010 12:32:42 +0000 (14:32 +0200)]
s4-tests: Modified acl.py to use SamDB.create_ou()

13 years agos4-dsdb: Added a python method to SamDB for creating organizationalUnits
Nadezhda Ivanova [Tue, 23 Nov 2010 12:31:34 +0000 (14:31 +0200)]
s4-dsdb: Added a python method to SamDB for creating organizationalUnits

13 years agowintest: tidyups and new conf variables
Andrew Tridgell [Tue, 23 Nov 2010 09:20:18 +0000 (20:20 +1100)]
wintest: tidyups and new conf variables

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Nov 23 13:01:10 CET 2010 on sn-devel-104

13 years agos4-ldb: added an environment varibale LDB_WARN_UNINDEXED
Andrew Tridgell [Tue, 23 Nov 2010 09:19:49 +0000 (20:19 +1100)]
s4-ldb: added an environment varibale LDB_WARN_UNINDEXED

when LDB_WARN_UNINDEXED is set, we produce warnings about unindexed
searches. This makes it easier to find performance problems caused by
unindexed searches.

13 years agos4-tests: Ldap tests now use the get_dsheuristics and set_dsheuristics from SamDB.
Nadezhda Ivanova [Tue, 23 Nov 2010 09:22:10 +0000 (11:22 +0200)]
s4-tests: Ldap tests now use the get_dsheuristics and set_dsheuristics from SamDB.

Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Tue Nov 23 11:08:37 CET 2010 on sn-devel-104

13 years agos4-tests: Password tests now use the get_dsheuristics and set_dsheuristics from SamDB.
Nadezhda Ivanova [Tue, 23 Nov 2010 09:21:47 +0000 (11:21 +0200)]
s4-tests: Password tests now use the get_dsheuristics and set_dsheuristics from SamDB.

13 years agos4-tests: Acl tests now use the get_dsheuristics and set_dsheuristics from SamDB.
Nadezhda Ivanova [Tue, 23 Nov 2010 09:21:22 +0000 (11:21 +0200)]
s4-tests: Acl tests now use the get_dsheuristics and set_dsheuristics from SamDB.

13 years agos4-dsdb: Added python helpers for getting and seting dSHeuristics to SamDB
Nadezhda Ivanova [Tue, 23 Nov 2010 09:20:12 +0000 (11:20 +0200)]
s4-dsdb: Added python helpers for getting and seting dSHeuristics to SamDB

13 years agowintest Evolve wintest to handle it's own BIND nameserver
Andrew Bartlett [Tue, 23 Nov 2010 06:38:31 +0000 (17:38 +1100)]
wintest Evolve wintest to handle it's own BIND nameserver

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

13 years agowintest Improve wintest's handling of IP addresses and add more auto-setup
Andrew Bartlett [Tue, 23 Nov 2010 04:04:31 +0000 (15:04 +1100)]
wintest Improve wintest's handling of IP addresses and add more auto-setup

 - 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

13 years agowintest Explian that this is my KVM/libvirt configuration
Andrew Bartlett [Tue, 23 Nov 2010 04:02:30 +0000 (15:02 +1100)]
wintest Explian that this is my KVM/libvirt configuration

13 years agowintest example configuration file for a KVM based wintest
Andrew Bartlett [Mon, 22 Nov 2010 10:26:13 +0000 (21:26 +1100)]
wintest example configuration file for a KVM based wintest

Andrew Bartlett

13 years agowintest Allow substitute to cope with objects like pexpect.EOF
Andrew Bartlett [Mon, 22 Nov 2010 10:24:56 +0000 (21:24 +1100)]
wintest Allow substitute to cope with objects like pexpect.EOF

These are not strings, but may get passed into this function on the
way to pexpect.

Andrew Bartlett

13 years agowintest Set the virtual machine IP to match it's dynamic IP, but don't use DHCP
Andrew Bartlett [Mon, 22 Nov 2010 10:23:38 +0000 (21:23 +1100)]
wintest Set the virtual machine IP to match it's dynamic IP, but don't use DHCP

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

13 years agowintest Force krb5.conf for BIND so we use the one generated for this test
Andrew Bartlett [Mon, 22 Nov 2010 10:21:57 +0000 (21:21 +1100)]
wintest Force krb5.conf for BIND so we use the one generated for this test

This avoids needing to set the krb5.conf for the whole host to match
the test environment.

Andrew Bartlett

13 years agos3: Add a word of warning about "winbind use default domain"
Volker Lendecke [Mon, 22 Nov 2010 21:39:45 +0000 (22:39 +0100)]
s3: Add a word of warning about "winbind use default domain"

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Nov 22 23:26:11 CET 2010 on sn-devel-104

13 years agos3: Fix some typos
Volker Lendecke [Mon, 22 Nov 2010 21:37:56 +0000 (22:37 +0100)]
s3: Fix some typos

13 years agos3: Use sid_check_is..
Volker Lendecke [Mon, 22 Nov 2010 21:22:32 +0000 (22:22 +0100)]
s3: Use sid_check_is..

13 years agoservice_ldap, service_smb: Lowercase output file names.
Jelmer Vernooij [Mon, 22 Nov 2010 18:42:47 +0000 (19:42 +0100)]
service_ldap, service_smb: Lowercase output file names.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Nov 22 20:28:14 CET 2010 on sn-devel-104

13 years agos4-tests: Adapted passwords.py to use set_minPwdAge from SamDB.
Nadezhda Ivanova [Mon, 22 Nov 2010 16:51:55 +0000 (18:51 +0200)]
s4-tests: Adapted passwords.py to use set_minPwdAge from SamDB.

Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Mon Nov 22 18:39:06 CET 2010 on sn-devel-104

13 years agos4-tests: Adapted acl.py to use set_minPwdAge from SamDB.
Nadezhda Ivanova [Mon, 22 Nov 2010 16:50:35 +0000 (18:50 +0200)]
s4-tests: Adapted acl.py to use set_minPwdAge from SamDB.

13 years agos4-dsdb: Added a helper to python SamDB for retrieving and setting minPwdAge.
Nadezhda Ivanova [Mon, 22 Nov 2010 16:34:18 +0000 (18:34 +0200)]
s4-dsdb: Added a helper to python SamDB for retrieving and setting minPwdAge.

13 years agos4-test/repl_schema: Remote global ldb connections
Kamen Mazdrashki [Mon, 22 Nov 2010 13:06:36 +0000 (15:06 +0200)]
s4-test/repl_schema: Remote global ldb connections

Although unlikely, Jelmer pointed out that using persistent
SamDB connections between test may interfere with tests
behaviour (and is not xUnit compliant anyway)

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Mon Nov 22 15:24:03 CET 2010 on sn-devel-104

13 years agos4-tests: Wrap connect_samdb() into a connect_samdb_ex() helper
Kamen Mazdrashki [Mon, 22 Nov 2010 13:03:59 +0000 (15:03 +0200)]
s4-tests: Wrap connect_samdb() into a connect_samdb_ex() helper

Thus caller will be able to connect to SamDB and fetch
RootDSE info in a single step

13 years agos4-samba.tests: Explicitly pass LoadParm() instance to system_session() function
Kamen Mazdrashki [Sun, 21 Nov 2010 22:28:45 +0000 (00:28 +0200)]
s4-samba.tests: Explicitly pass LoadParm() instance to system_session() function

Otherwise system_session() creates a LoadParm() instance
wich resets certain params to their defaults from smb.conf
("log level" for instance)

13 years agos4-pfm_verify: fix usage string
Kamen Mazdrashki [Sun, 21 Nov 2010 20:38:14 +0000 (22:38 +0200)]
s4-pfm_verify: fix usage string

Thanks Tridge!

13 years agos3-net: use dns_errstr() when dns commands fail.
Günther Deschner [Fri, 19 Nov 2010 12:36:22 +0000 (13:36 +0100)]
s3-net: use dns_errstr() when dns commands fail.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Nov 22 12:31:33 CET 2010 on sn-devel-104

13 years agolibaddns: add dns_errstr().
Günther Deschner [Fri, 19 Nov 2010 12:34:18 +0000 (13:34 +0100)]
libaddns: add dns_errstr().

Guenther

13 years agos3-waf: move build rules into libaddns directory.
Günther Deschner [Fri, 19 Nov 2010 12:33:06 +0000 (13:33 +0100)]
s3-waf: move build rules into libaddns directory.

Guenther

13 years agoAvoid the use of PyAPI_DATA, which is for internal Python API's.
Arnaud Faucher [Sun, 21 Nov 2010 23:07:21 +0000 (00:07 +0100)]
Avoid the use of PyAPI_DATA, which is for internal Python API's.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Nov 22 00:52:56 CET 2010 on sn-devel-104

13 years agoselftest: When running on the buildfarm, pipe everything through
Jelmer Vernooij [Sun, 21 Nov 2010 22:09:49 +0000 (23:09 +0100)]
selftest: When running on the buildfarm, pipe everything through
filter-subunit for the exit code.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Nov 21 23:56:23 CET 2010 on sn-devel-104

13 years agoselftest: Even if setting up an environment failed, the next tests may
Jelmer Vernooij [Sun, 21 Nov 2010 21:06:02 +0000 (22:06 +0100)]
selftest: Even if setting up an environment failed, the next tests may
still work.

13 years agosubunithelper: Exit with 1 if more than zero testsuites failed or
Jelmer Vernooij [Sun, 21 Nov 2010 19:26:59 +0000 (20:26 +0100)]
subunithelper: Exit with 1 if more than zero testsuites failed or
errorred.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Nov 21 21:13:00 CET 2010 on sn-devel-104

13 years agoselftest: fix tap2subunit detection on system with tap2subunit but not correct subuni...
Matthieu Patou [Sat, 20 Nov 2010 09:22:57 +0000 (12:22 +0300)]
selftest: fix tap2subunit detection on system with tap2subunit but not correct subunit libs

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Nov 21 16:21:54 CET 2010 on sn-devel-104

13 years agos4:provision_rootdse_add.ldif - add all possible LDAP policy values but outcommented...
Matthias Dieter Wallnöfer [Sun, 21 Nov 2010 12:31:19 +0000 (13:31 +0100)]
s4:provision_rootdse_add.ldif - add all possible LDAP policy values but outcommented for the moment

It would be nice if someone could activate them as needed.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sun Nov 21 14:41:53 CET 2010 on sn-devel-104

13 years agos4-ldb: fixed the build with a space in the ldb modules directory name
Andrew Tridgell [Sun, 21 Nov 2010 12:05:59 +0000 (23:05 +1100)]
s4-ldb: fixed the build with a space in the ldb modules directory name

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Sun Nov 21 13:57:14 CET 2010 on sn-devel-104

13 years agoheimdal: fixed the waf build with a space in the directory name
Andrew Tridgell [Sun, 21 Nov 2010 12:05:37 +0000 (23:05 +1100)]
heimdal: fixed the waf build with a space in the directory name

13 years agopidl: fixed call to cpp with a space in the directory name
Andrew Tridgell [Sun, 21 Nov 2010 12:05:07 +0000 (23:05 +1100)]
pidl: fixed call to cpp with a space in the directory name

13 years agowaf: fixed the build with a space in the source directory
Andrew Tridgell [Sun, 21 Nov 2010 12:04:43 +0000 (23:04 +1100)]
waf: fixed the build with a space in the source directory

13 years agos4-rpc: make rpc connect less verbose
Andrew Tridgell [Sat, 20 Nov 2010 06:57:54 +0000 (17:57 +1100)]
s4-rpc: make rpc connect less verbose

13 years agowaf:lib/util - add missing dependency on talloc
Matthias Dieter Wallnöfer [Sat, 20 Nov 2010 21:48:05 +0000 (22:48 +0100)]
waf:lib/util - add missing dependency on talloc

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Nov 20 23:35:48 CET 2010 on sn-devel-104

13 years agos4:repl_meta_data LDB module - fix a counter type
Matthias Dieter Wallnöfer [Sat, 20 Nov 2010 20:45:53 +0000 (21:45 +0100)]
s4:repl_meta_data LDB module - fix a counter type

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Nov 20 22:32:06 CET 2010 on sn-devel-104

13 years agos4:repl_meta_data LDB module - move the "objectGUID" checks a bit higher
Matthias Dieter Wallnöfer [Sat, 20 Nov 2010 20:37:31 +0000 (21:37 +0100)]
s4:repl_meta_data LDB module - move the "objectGUID" checks a bit higher

- they don't need the allocated "ac" context
- some small code cleanups

13 years agos4:objectclass_attrs LDB module - add more delete protected attributes
Matthias Dieter Wallnöfer [Sat, 20 Nov 2010 20:15:57 +0000 (21:15 +0100)]
s4:objectclass_attrs LDB module - add more delete protected attributes

And enhance the testsuite

13 years agos4:samldb LDB module - objectclass trigger - reorder template attributes
Matthias Dieter Wallnöfer [Sat, 20 Nov 2010 20:01:27 +0000 (21:01 +0100)]
s4:samldb LDB module - objectclass trigger - reorder template attributes

13 years agopyrpc: Build the samba.dcerpc.srvsvc module.
Ricardo Jorge [Sat, 20 Nov 2010 15:18:10 +0000 (16:18 +0100)]
pyrpc: Build the samba.dcerpc.srvsvc module.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Nov 20 19:52:36 CET 2010 on sn-devel-104

13 years agoheimdal: Don't depend on compile_asn1 and et_compile when using system versions.
Arnaud Faucher [Sat, 20 Nov 2010 14:58:30 +0000 (15:58 +0100)]
heimdal: Don't depend on compile_asn1 and et_compile when using system versions.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Nov 20 16:43:47 CET 2010 on sn-devel-104

13 years agos3: Remove a #define used just once
Volker Lendecke [Tue, 16 Nov 2010 18:46:12 +0000 (19:46 +0100)]
s3: Remove a #define used just once

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Nov 20 15:28:26 CET 2010 on sn-devel-104

13 years agos3: Remove unused ads_get_attrname_by_oid
Volker Lendecke [Tue, 16 Nov 2010 18:22:17 +0000 (19:22 +0100)]
s3: Remove unused ads_get_attrname_by_oid

13 years agos3: Make ads_get_attrnames_by_oids static
Volker Lendecke [Tue, 16 Nov 2010 18:20:43 +0000 (19:20 +0100)]
s3: Make ads_get_attrnames_by_oids static

13 years agos3: Make ads_ranged_search_internal static
Volker Lendecke [Tue, 16 Nov 2010 18:18:56 +0000 (19:18 +0100)]
s3: Make ads_ranged_search_internal static

13 years agos3: Fix some nonempty blank lines
Volker Lendecke [Tue, 16 Nov 2010 18:17:32 +0000 (19:17 +0100)]
s3: Fix some nonempty blank lines

13 years agos3: Remove unused ads_search_retry_extended_dn
Volker Lendecke [Tue, 16 Nov 2010 18:12:35 +0000 (19:12 +0100)]
s3: Remove unused ads_search_retry_extended_dn

13 years agos3: Make ads_do_search_retry_args() static
Volker Lendecke [Tue, 16 Nov 2010 18:10:50 +0000 (19:10 +0100)]
s3: Make ads_do_search_retry_args() static

13 years agos4:acl LDB module - it's more correct to count the password attributes using "unsigne...
Matthias Dieter Wallnöfer [Sat, 20 Nov 2010 09:42:01 +0000 (10:42 +0100)]
s4:acl LDB module - it's more correct to count the password attributes using "unsigned int"

Since these are derived from a LDB result.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Nov 20 11:29:07 CET 2010 on sn-devel-104

13 years agoswitch from mtime to ctime which is more reliable if files can be accessed outside...
olivier [Wed, 10 Nov 2010 16:48:06 +0000 (17:48 +0100)]
switch from mtime to ctime which is more reliable if files can be accessed outside samba as well

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Nov 20 03:07:04 CET 2010 on sn-devel-104

13 years agoMove the uglyness of #ifdef REALPATH_TAKES_NULL into the vfs_default
Jeremy Allison [Sat, 20 Nov 2010 00:29:26 +0000 (16:29 -0800)]
Move the uglyness of #ifdef REALPATH_TAKES_NULL into the vfs_default
module, change the signature of VFS_REALPATH to always return a
malloc'ed string.

Needed to make some privileges work I plan on doing shortly
easier to code.

Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Nov 20 02:15:50 CET 2010 on sn-devel-104

13 years agoldb:rdn_name LDB module - add more RDN name constraints
Matthias Dieter Wallnöfer [Thu, 11 Nov 2010 08:12:17 +0000 (09:12 +0100)]
ldb:rdn_name LDB module - add more RDN name constraints

And some small cleanups

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Nov 20 00:06:35 CET 2010 on sn-devel-104

13 years agoldb:ldb_rename on ldap backends - handle the case when the RDN value is empty
Matthias Dieter Wallnöfer [Fri, 19 Nov 2010 22:01:39 +0000 (23:01 +0100)]
ldb:ldb_rename on ldap backends - handle the case when the RDN value is empty

Otherwise we get "<RDN name>=(null),..."

13 years agos4:netlogon/LogonGetDomainInfo - handle a NULL "dns_hostname"
Matthias Dieter Wallnöfer [Thu, 18 Nov 2010 21:26:13 +0000 (22:26 +0100)]
s4:netlogon/LogonGetDomainInfo - handle a NULL "dns_hostname"

- Performs the short computer name check against the sam account name.
- Enhances the LogonGetDomainInfo testsuite which checks the NULL
  "dns_hostname" behaviour

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Fri Nov 19 12:50:33 CET 2010 on sn-devel-104

13 years agos4:torture/ldb/ldb.c - add a small test for a DN with an escaped comma
Matthias Dieter Wallnöfer [Thu, 18 Nov 2010 21:13:10 +0000 (22:13 +0100)]
s4:torture/ldb/ldb.c - add a small test for a DN with an escaped comma

13 years agos4:dsdb tests - use even more already defined pyldb functions to retrieve NCs
Matthias Dieter Wallnöfer [Fri, 19 Nov 2010 08:07:53 +0000 (09:07 +0100)]
s4:dsdb tests - use even more already defined pyldb functions to retrieve NCs

13 years agos3-spoolss: fix typo in debug message.
Günther Deschner [Thu, 18 Nov 2010 14:25:13 +0000 (15:25 +0100)]
s3-spoolss: fix typo in debug message.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Nov 19 12:05:10 CET 2010 on sn-devel-104

13 years agos3: Remove some unused code
Volker Lendecke [Fri, 19 Nov 2010 09:35:04 +0000 (10:35 +0100)]
s3: Remove some unused code

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Nov 19 11:21:00 CET 2010 on sn-devel-104

13 years agowintest: the start of a S3 testing script for wintest
Andrew Tridgell [Fri, 19 Nov 2010 03:08:56 +0000 (14:08 +1100)]
wintest: the start of a S3 testing script for wintest

this is just a skeleton at this stage.

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Fri Nov 19 06:03:55 CET 2010 on sn-devel-104

13 years agowintest: added del_files, write_file and casefold
Andrew Tridgell [Fri, 19 Nov 2010 03:08:18 +0000 (14:08 +1100)]
wintest: added del_files, write_file and casefold

13 years agowintest: move conf files to conf/
Andrew Tridgell [Fri, 19 Nov 2010 03:07:37 +0000 (14:07 +1100)]
wintest: move conf files to conf/

13 years agowintest: rename test-howto.py to test-s4-howto.py
Andrew Tridgell [Fri, 19 Nov 2010 01:07:02 +0000 (12:07 +1100)]
wintest: rename test-howto.py to test-s4-howto.py

ready for test-s3.py

13 years agowintest: moved to top level
Andrew Tridgell [Fri, 19 Nov 2010 01:06:02 +0000 (12:06 +1100)]
wintest: moved to top level

the plan is to expand wintest to test a lot more of Samba against
windows, including testing the Samba3 file server, winbind, nmbd etc