samba.git
13 years agos3-waf: add two more REGF based subsystems.
Günther Deschner [Mon, 27 Sep 2010 01:31:19 +0000 (03:31 +0200)]
s3-waf: add two more REGF based subsystems.

Guenther

13 years agotdb: fix non-WAF build, commit 1.2.6 ABI file.
Rusty Russell [Mon, 27 Sep 2010 01:36:51 +0000 (11:06 +0930)]
tdb: fix non-WAF build, commit 1.2.6 ABI file.

Sorry Jeremy.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
13 years agotdb: TDB_INCOMPATIBLE_HASH, to allow safe changing of default hash.
Rusty Russell [Fri, 24 Sep 2010 06:15:11 +0000 (15:45 +0930)]
tdb: TDB_INCOMPATIBLE_HASH, to allow safe changing of default hash.

This flag to tdb_open/tdb_open_ex effects creation of a new database:
1) Uses the Jenkins lookup3 hash instead of the old gdbm hash if none is
   specified,
2) Places a non-zero field in header->rwlocks, so older versions of TDB will
   refuse to open it.

This means that the caller (ie Samba) can set this flag to safely
change the hash function.  Versions of TDB from this one on will either
use the correct hash or refuse to open (if a different hash is specified).
Older TDB versions will see the nonzero rwlocks field and refuse to open
it under any conditions.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
13 years agotdb: automatically identify Jenkins hash tdbs
Rusty Russell [Fri, 24 Sep 2010 06:09:43 +0000 (15:39 +0930)]
tdb: automatically identify Jenkins hash tdbs

If the caller to tdb_open_ex() doesn't specify a hash, and tdb_old_hash
doesn't match, try tdb_jenkins_hash.

This was Metze's idea: it makes life simpler, especially with the upcoming
TDB_INCOMPATIBLE_HASH flag.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
13 years agotdb: add Bob Jenkins lookup3 hash as helper hash.
Rusty Russell [Fri, 24 Sep 2010 06:04:06 +0000 (15:34 +0930)]
tdb: add Bob Jenkins lookup3 hash as helper hash.

This is a better hash than the default: shipping it with tdb makes it easy
for callers to use it as the hash by passing it to tdb_open_ex().

This version taken from CCAN and modified, which took it from
http://www.burtleburtle.net/bob/c/lookup3.c.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
13 years agos3-waf: rework static and shared list handling a little.
Günther Deschner [Sun, 26 Sep 2010 22:24:47 +0000 (00:24 +0200)]
s3-waf: rework static and shared list handling a little.

Guenther

13 years agowaf: add delimiter argument to TO_LIST.
Günther Deschner [Sun, 26 Sep 2010 22:24:04 +0000 (00:24 +0200)]
waf: add delimiter argument to TO_LIST.

Guenther

13 years agos3-waf: add missing IDMAP modules.
Günther Deschner [Sun, 26 Sep 2010 21:38:36 +0000 (23:38 +0200)]
s3-waf: add missing IDMAP modules.

Guenther

13 years agos3-waf: rework CLDAP and LIBCLI_LDAP subsystems.
Günther Deschner [Sun, 26 Sep 2010 19:58:58 +0000 (21:58 +0200)]
s3-waf: rework CLDAP and LIBCLI_LDAP subsystems.

Guenther

13 years agos3-waf: move gpext subsystem to libgpo/gpext/wscript_build.
Günther Deschner [Sun, 26 Sep 2010 18:30:36 +0000 (20:30 +0200)]
s3-waf: move gpext subsystem to libgpo/gpext/wscript_build.

Guenther

13 years agos3-waf: move perfcount subsystem to modules/wscript_build.
Günther Deschner [Sun, 26 Sep 2010 18:10:49 +0000 (20:10 +0200)]
s3-waf: move perfcount subsystem to modules/wscript_build.

Guenther

13 years agos3-waf: move charset subsystem to modules/wscript_build.
Günther Deschner [Sun, 26 Sep 2010 18:07:03 +0000 (20:07 +0200)]
s3-waf: move charset subsystem to modules/wscript_build.

Guenther

13 years agos3-waf: move idmap subsystem to winbindd/wscript_build.
Günther Deschner [Sun, 26 Sep 2010 17:59:18 +0000 (19:59 +0200)]
s3-waf: move idmap subsystem to winbindd/wscript_build.

Guenther

13 years agos3-waf: move pdb subsystem to pdb/wscript_build.
Günther Deschner [Sun, 26 Sep 2010 17:51:40 +0000 (19:51 +0200)]
s3-waf: move pdb subsystem to pdb/wscript_build.

Guenther

13 years agos3-waf: move auth subsystem to auth/wscript_build.
Günther Deschner [Sun, 26 Sep 2010 17:43:43 +0000 (19:43 +0200)]
s3-waf: move auth subsystem to auth/wscript_build.

Guenther

13 years agos3-waf: support --with-acl-support, at least for posix acls.
Günther Deschner [Sun, 26 Sep 2010 08:56:09 +0000 (10:56 +0200)]
s3-waf: support --with-acl-support, at least for posix acls.

Guenther

13 years agos3-waf: move VFS subsystem to modules/wscript_build.
Günther Deschner [Sun, 26 Sep 2010 01:11:01 +0000 (03:11 +0200)]
s3-waf: move VFS subsystem to modules/wscript_build.

Guenther

13 years agos3-waf: add some module specific functions for s3 waf build.
Günther Deschner [Sun, 26 Sep 2010 08:44:27 +0000 (10:44 +0200)]
s3-waf: add some module specific functions for s3 waf build.

Thanks to Kai.

Guenther

13 years agos3-waf: convert VFS into a subsystem.
Günther Deschner [Sun, 26 Sep 2010 19:28:36 +0000 (21:28 +0200)]
s3-waf: convert VFS into a subsystem.

Guenther

13 years agos3-waf: convert GPEXT into a subsystem.
Günther Deschner [Sun, 26 Sep 2010 19:27:22 +0000 (21:27 +0200)]
s3-waf: convert GPEXT into a subsystem.

Guenther

13 years agos3-waf: convert PERFCOUNT into a subsystem.
Günther Deschner [Sun, 26 Sep 2010 19:26:23 +0000 (21:26 +0200)]
s3-waf: convert PERFCOUNT into a subsystem.

Guenther

13 years agos3-waf: convert CHARSET into a subsystem.
Günther Deschner [Sun, 26 Sep 2010 19:25:16 +0000 (21:25 +0200)]
s3-waf: convert CHARSET into a subsystem.

Guenther

13 years agos3-waf: convert IDMAP into subsystem.
Günther Deschner [Sun, 26 Sep 2010 19:23:40 +0000 (21:23 +0200)]
s3-waf: convert IDMAP into subsystem.

Guenther

13 years agos3-waf: convert PDB into subsystem.
Günther Deschner [Sun, 26 Sep 2010 19:22:02 +0000 (21:22 +0200)]
s3-waf: convert PDB into subsystem.

Guenther

13 years agos3-waf: convert AUTH into subsystem.
Günther Deschner [Sun, 26 Sep 2010 19:21:38 +0000 (21:21 +0200)]
s3-waf: convert AUTH into subsystem.

Guenther

13 years agos4-ldbmodules: Added new module aclread to handle access checks on LDAP search
Nadezhda Ivanova [Sun, 26 Sep 2010 18:47:47 +0000 (11:47 -0700)]
s4-ldbmodules: Added new module aclread to handle access checks on LDAP search

It is currently enabled only if the request comes from the LDAP server, and is
disabled  by default. Use acl:search=true in smb.conf to enable it.
It filters out all objects the user is not allowed to see, and all attributes
the user does not have RP on. Extended access not supported yet.

13 years agos4-tests: Added tests for search checks on attributes
Nadezhda Ivanova [Sun, 26 Sep 2010 18:39:36 +0000 (11:39 -0700)]
s4-tests: Added tests for search checks on attributes

The ACL reach tests are in the knowfail because aclread module is not
enabled by default

13 years agos4-tests: Removed search tests with anonymous credentials as they fail againts Windows
Nadezhda Ivanova [Sun, 26 Sep 2010 18:37:00 +0000 (11:37 -0700)]
s4-tests: Removed search tests with anonymous credentials as they fail againts Windows

These tests will fail in make test as well if the acl_read module is enabled.

13 years agos4-dsdb: Added a function to check access on a particular object by its guid
Nadezhda Ivanova [Sun, 26 Sep 2010 18:32:22 +0000 (11:32 -0700)]
s4-dsdb: Added a function to check access on a particular object by its guid

Similar to dsdb_check_access_on_dn, only it searches by guid.

13 years agos4-dsdb: A helper to determine if an attribute is part of the search filter
Nadezhda Ivanova [Wed, 22 Sep 2010 19:50:51 +0000 (12:50 -0700)]
s4-dsdb: A helper to determine if an attribute is part of the search filter

13 years agos4-dsdb: Moved some helper functions to a separate file
Nadezhda Ivanova [Wed, 22 Sep 2010 19:41:44 +0000 (12:41 -0700)]
s4-dsdb: Moved some helper functions to a separate file

We need these to be accessible to the aclread module as well.

13 years agos4-ldap: Added a control to apply the access checks on read via LDAP
Nadezhda Ivanova [Tue, 14 Sep 2010 07:51:14 +0000 (10:51 +0300)]
s4-ldap: Added a control to apply the access checks on read via LDAP

13 years agoautobuild: use killbysubdir if available
Andrew Tridgell [Sun, 26 Sep 2010 19:50:06 +0000 (12:50 -0700)]
autobuild: use killbysubdir if available

this will reduce the spurious test output while processes are being
killed

13 years agoautobuild: exit immediately if no changes from master
Andrew Tridgell [Sun, 26 Sep 2010 18:46:01 +0000 (11:46 -0700)]
autobuild: exit immediately if no changes from master

we don't need to test master in autobuild

13 years agos3-waf: convert LIBGPO into a subsystem.
Günther Deschner [Sun, 26 Sep 2010 18:25:15 +0000 (20:25 +0200)]
s3-waf: convert LIBGPO into a subsystem.

Guenther

13 years agos3-waf: convert PLAINTEXT_AUTH, SLCACHE and DCUTIL into subsystems.
Günther Deschner [Sun, 26 Sep 2010 17:44:53 +0000 (19:44 +0200)]
s3-waf: convert PLAINTEXT_AUTH, SLCACHE and DCUTIL into subsystems.

Guenther

13 years agos3-vfs: fix the build of nfs4_acls.c
Günther Deschner [Sun, 26 Sep 2010 19:04:39 +0000 (21:04 +0200)]
s3-vfs: fix the build of nfs4_acls.c

Guenther

13 years agos3-waf: Link smbd against RPCECHO.
Andreas Schneider [Sun, 26 Sep 2010 17:28:07 +0000 (19:28 +0200)]
s3-waf: Link smbd against RPCECHO.

13 years agos3: Remove talloc_autofree_context() from nametouid()
Volker Lendecke [Sun, 26 Sep 2010 02:21:56 +0000 (19:21 -0700)]
s3: Remove talloc_autofree_context() from nametouid()

pass is freed a few lines down

13 years agos3: Remove talloc_autofree_context() from guest_user_info()
Volker Lendecke [Sun, 26 Sep 2010 02:18:46 +0000 (19:18 -0700)]
s3: Remove talloc_autofree_context() from guest_user_info()

pwd is freed a few lines down

13 years agos3: Remove talloc_autofree_context() from getpwnam_alloc()
Volker Lendecke [Sun, 26 Sep 2010 02:16:53 +0000 (19:16 -0700)]
s3: Remove talloc_autofree_context() from getpwnam_alloc()

This is given to the memcache a few lines down

13 years agos3: Remove talloc_autofree_context() from notify_internal_parent_init()
Volker Lendecke [Sun, 26 Sep 2010 01:34:03 +0000 (18:34 -0700)]
s3: Remove talloc_autofree_context() from notify_internal_parent_init()

13 years agoFix bug #7698 - Assert causes smbd to panic on invalid NetBIOS session request.
Jeremy Allison [Sun, 26 Sep 2010 09:59:32 +0000 (02:59 -0700)]
Fix bug #7698 - Assert causes smbd to panic on invalid NetBIOS session request.

Found by the CodeNomicon test suites at the SNIA plugfest.

http://www.codenomicon.com/

If an invalid NetBIOS session request is received the code in name_len() in
libsmb/nmblib.c can hit an assert.

Re-write name_len() and name_extract() to use "buf/len" pairs and
always limit reads.

Jeremy.

13 years agos4:schannel: handle move flag combinations in the server
Stefan Metzmacher [Wed, 22 Sep 2010 04:23:17 +0000 (06:23 +0200)]
s4:schannel: handle move flag combinations in the server

This fixes some testsuites in the CIFS plugfest.

metze

13 years agos4-auth: fixed the SID list for DCs in the PAC
Andrew Tridgell [Sun, 26 Sep 2010 02:14:42 +0000 (19:14 -0700)]
s4-auth: fixed the SID list for DCs in the PAC

the S-1-5-9 SID is added in the PAC by the KDC, not on the server that
receives the PAC

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Sun Sep 26 07:09:08 UTC 2010 on sn-devel-104

13 years agoautobuild: fixed detection of master changes
Andrew Tridgell [Sun, 26 Sep 2010 02:43:13 +0000 (19:43 -0700)]
autobuild: fixed detection of master changes

13 years agos3-selftest: added samba3.posix_s3.rap.printing as a knownfail
Andrew Tridgell [Sun, 26 Sep 2010 02:23:02 +0000 (19:23 -0700)]
s3-selftest: added samba3.posix_s3.rap.printing as a knownfail

this fails intermittently on sn-devel, Günther suggests adding this to
knownfail for now

13 years agoidl-pac: add a decoder for the pac info ctr
Andrew Tridgell [Sun, 26 Sep 2010 02:13:28 +0000 (19:13 -0700)]
idl-pac: add a decoder for the pac info ctr

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agos4-drs: use the system sam_ctx for updaterefs
Andrew Tridgell [Sun, 26 Sep 2010 00:53:14 +0000 (17:53 -0700)]
s4-drs: use the system sam_ctx for updaterefs

this is needed for RODC clients calling updaterefs

13 years agos4-spn: don't try to do SPN updates as a RODC
Andrew Tridgell [Sun, 26 Sep 2010 00:52:43 +0000 (17:52 -0700)]
s4-spn: don't try to do SPN updates as a RODC

we don't have the permissions to do it

13 years agolibcli/ldap: let ldap_full_packet() use asn1_peek_tag_needed_size()
Stefan Metzmacher [Fri, 24 Sep 2010 03:09:15 +0000 (05:09 +0200)]
libcli/ldap: let ldap_full_packet() use asn1_peek_tag_needed_size()

This allows us to read a full packet without read byte after byte
or possible read to much.

metze

13 years agolib/util/asn1: add asn1_peek_tag_needed_size() and asn1_peek_full_tag()
Stefan Metzmacher [Thu, 23 Sep 2010 16:10:28 +0000 (18:10 +0200)]
lib/util/asn1: add asn1_peek_tag_needed_size() and asn1_peek_full_tag()

We need a way to ask for the length of a tag without having the full
buffer yet.

metze

13 years agolibcli/util: let tstream_read_pdu_blob_* cope with variable length headers
Stefan Metzmacher [Wed, 22 Sep 2010 18:31:06 +0000 (20:31 +0200)]
libcli/util: let tstream_read_pdu_blob_* cope with variable length headers

metze

13 years agos4-kerberos Don't segfault if the password isn't specified in keytab generation
Andrew Bartlett [Sun, 26 Sep 2010 02:34:58 +0000 (12:34 +1000)]
s4-kerberos Don't segfault if the password isn't specified in keytab generation

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Sun Sep 26 03:29:34 UTC 2010 on sn-devel-104

13 years agoupgradeprovision: fix a typo
Matthieu Patou [Sun, 26 Sep 2010 00:58:37 +0000 (04:58 +0400)]
upgradeprovision: fix a typo

13 years agoupgradeprovision: Fix a bug with renamed entries
Matthieu Patou [Sun, 26 Sep 2010 00:57:04 +0000 (04:57 +0400)]
upgradeprovision: Fix a bug with renamed entries

The SD was not refetched for renamed entries, resulting with a try to
add an additional SD when there was already one.

13 years agoupgradeprovision: fix a bug with not updated links
Matthieu Patou [Sat, 25 Sep 2010 03:36:12 +0000 (07:36 +0400)]
upgradeprovision: fix a bug with not updated links

13 years agos4 provision: start with gpo of version 0 and be consistent between different policies
Matthieu Patou [Tue, 7 Sep 2010 13:57:52 +0000 (17:57 +0400)]
s4 provision: start with gpo of version 0 and be consistent between different policies

13 years agos4 upgradeprovision: fix a bug with empty reference objects
Matthieu Patou [Sat, 18 Sep 2010 04:15:36 +0000 (08:15 +0400)]
s4 upgradeprovision: fix a bug with empty reference objects

Thanks to lukas@eecs.qmul.ac.uk for poiting it to me

13 years agos4 upgradeprovision: Copy versionNumber if not present it helps to make gpo valid
Matthieu Patou [Tue, 7 Sep 2010 13:50:39 +0000 (17:50 +0400)]
s4 upgradeprovision: Copy versionNumber if not present it helps to make gpo valid

13 years agos4 provision: Make GPO folder group writable
Matthieu Patou [Tue, 7 Sep 2010 13:45:55 +0000 (17:45 +0400)]
s4 provision: Make GPO folder group writable

The group of this folder is domain administrator and it seems sensible
that all domain administrators have the right to modify the gpo (they
have it at the NT ACLs level ...)

13 years agos3: Remove talloc_autofree_context() from change_to_guest()
Volker Lendecke [Sat, 25 Sep 2010 23:31:18 +0000 (16:31 -0700)]
s3: Remove talloc_autofree_context() from change_to_guest()

pass is freed at the exit of this routine

13 years agos3: Remove talloc_autofree_context() from swat
Volker Lendecke [Sat, 25 Sep 2010 23:30:06 +0000 (16:30 -0700)]
s3: Remove talloc_autofree_context() from swat

In both cases, pass is freed immediately

13 years agos3: Remove talloc_autofree_context() from smbpasswd
Volker Lendecke [Sat, 25 Sep 2010 23:28:21 +0000 (16:28 -0700)]
s3: Remove talloc_autofree_context() from smbpasswd

In both cases, pwd is freed immediately

13 years agos3: Remove talloc_autofree_context() from net_sam_provision()
Volker Lendecke [Sat, 25 Sep 2010 23:27:04 +0000 (16:27 -0700)]
s3: Remove talloc_autofree_context() from net_sam_provision()

13 years agos3: Remove talloc_autofree_context() from lookup_unix_user_name()
Volker Lendecke [Sat, 25 Sep 2010 23:24:16 +0000 (16:24 -0700)]
s3: Remove talloc_autofree_context() from lookup_unix_user_name()

pwd is freed in this routine immediately

13 years agos3: Remove talloc_autofree_context() from pdb_init_ads()
Volker Lendecke [Sat, 25 Sep 2010 23:23:11 +0000 (16:23 -0700)]
s3: Remove talloc_autofree_context() from pdb_init_ads()

13 years agos3: Remove two talloc_autofree_context() calls
Volker Lendecke [Sat, 25 Sep 2010 23:20:11 +0000 (16:20 -0700)]
s3: Remove two talloc_autofree_context() calls

Both allocated blobs are freed in their routines

13 years agos3: Remove talloc_autofree_context() from serverid_db()
Volker Lendecke [Sat, 25 Sep 2010 23:02:04 +0000 (16:02 -0700)]
s3: Remove talloc_autofree_context() from serverid_db()

If we needed an explicit tdb_close() in the destructor, we'd be hosed
long ago.

13 years agos3: Remove talloc_autofree_context() from serverid_parent_init()
Volker Lendecke [Sat, 25 Sep 2010 22:59:06 +0000 (15:59 -0700)]
s3: Remove talloc_autofree_context() from serverid_parent_init()

13 years agos3: Remove talloc_autofree_context() from messaging_tdb_parent_init()
Volker Lendecke [Sat, 25 Sep 2010 22:56:33 +0000 (15:56 -0700)]
s3: Remove talloc_autofree_context() from messaging_tdb_parent_init()

13 years agos3: Remove talloc_autofree_context() from ctdb_read_req()
Volker Lendecke [Sat, 25 Sep 2010 22:50:33 +0000 (15:50 -0700)]
s3: Remove talloc_autofree_context() from ctdb_read_req()

13 years agos3: Remove talloc_autofree_context() from get_root_nt_token()
Volker Lendecke [Sat, 25 Sep 2010 22:46:36 +0000 (15:46 -0700)]
s3: Remove talloc_autofree_context() from get_root_nt_token()

The memcache_add_talloc() later on steals it anyway

13 years agoupgradeprovision: use the same case for hostname in reference provision as in the...
Matthieu Patou [Sat, 25 Sep 2010 17:13:07 +0000 (21:13 +0400)]
upgradeprovision: use the same case for hostname in reference provision as in the current provision

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Sun Sep 26 01:21:52 UTC 2010 on sn-devel-104

13 years agoautobuild: added --retry option
Andrew Tridgell [Sun, 26 Sep 2010 00:35:55 +0000 (17:35 -0700)]
autobuild: added --retry option

this allows the build to auto retry if master changes

13 years agos4-dns: the DNS/${HOSTNAME} SPN should be on the DNS account only
Andrew Tridgell [Sat, 25 Sep 2010 07:07:57 +0000 (00:07 -0700)]
s4-dns: the DNS/${HOSTNAME} SPN should be on the DNS account only

13 years agos4-provision: switch to dns-HOSTNAME instead of dns
Andrew Tridgell [Sat, 25 Sep 2010 06:25:49 +0000 (23:25 -0700)]
s4-provision: switch to dns-HOSTNAME instead of dns

We now use a host specific account name for the DNS account, which is
the account used for dynamic DNS updates. We also setup the
servicePrincipalName for automatic update, and add both DNS/${DNSDOMAIN}
and DNS/${DNSNAME} for compatibility with both the old and new SPNs

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

13 years agoautobuild: enable ccache
Andrew Tridgell [Sat, 25 Sep 2010 23:32:55 +0000 (16:32 -0700)]
autobuild: enable ccache

13 years agoautobuild: added --fix-whitespace option
Andrew Tridgell [Sat, 25 Sep 2010 23:18:00 +0000 (16:18 -0700)]
autobuild: added --fix-whitespace option

13 years agoautobuild: added --rebase-master and --push-master
Andrew Tridgell [Sat, 25 Sep 2010 22:53:32 +0000 (15:53 -0700)]
autobuild: added --rebase-master and --push-master

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

13 years agoautobuild: added a EDITOR script to mark successful autobuilds
Andrew Tridgell [Sat, 25 Sep 2010 22:30:13 +0000 (15:30 -0700)]
autobuild: added a EDITOR script to mark successful autobuilds

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

13 years agoautobuild: added --rebase option
Andrew Tridgell [Sat, 25 Sep 2010 21:09:11 +0000 (14:09 -0700)]
autobuild: added --rebase option

this allows you to rebase on a URL before starting

13 years agoscript: added autobuild.py automatic build test script
Andrew Tridgell [Sat, 25 Sep 2010 19:51:51 +0000 (12:51 -0700)]
script: added autobuild.py automatic build test script

this can be used to run all tests in parallel, in free git clones

13 years agos4-possibleinferiors.py: Fix usage of 'paged_search' module for remote LDB connections
Kamen Mazdrashki [Sat, 25 Sep 2010 23:13:39 +0000 (02:13 +0300)]
s4-possibleinferiors.py: Fix usage of 'paged_search' module for remote LDB connections

13 years agos4-fsmo.py: Fix usage of 'paged_search' module for remote LDB connections
Kamen Mazdrashki [Sat, 25 Sep 2010 21:21:19 +0000 (00:21 +0300)]
s4-fsmo.py: Fix usage of 'paged_search' module for remote LDB connections

13 years agos4-delete_object.py: Fix usage of 'paged_search' module for remote LDB connections
Kamen Mazdrashki [Sat, 25 Sep 2010 21:20:20 +0000 (00:20 +0300)]
s4-delete_object.py: Fix usage of 'paged_search' module for remote LDB connections

13 years agos4-sec_descriptor.py: Fix usage of 'paged_search' module for remote LDB connections
Kamen Mazdrashki [Sat, 25 Sep 2010 21:18:35 +0000 (00:18 +0300)]
s4-sec_descriptor.py: Fix usage of 'paged_search' module for remote LDB connections

13 years agos4-ldap_schema.py: Remove unused LDB connection to GC port
Kamen Mazdrashki [Sat, 25 Sep 2010 21:13:39 +0000 (00:13 +0300)]
s4-ldap_schema.py: Remove unused LDB connection to GC port

13 years agos4-dsdb_schema_info.py: Fix usage of 'paged_search' module for remote LDB connections
Kamen Mazdrashki [Sat, 25 Sep 2010 21:11:08 +0000 (00:11 +0300)]
s4-dsdb_schema_info.py: Fix usage of 'paged_search' module for remote LDB connections

13 years agos4-ldapcmp: Fix usage of 'paged_search' module for remote LDB connections
Kamen Mazdrashki [Sat, 25 Sep 2010 21:10:24 +0000 (00:10 +0300)]
s4-ldapcmp: Fix usage of 'paged_search' module for remote LDB connections

13 years agos4-ldapcmp: Extend ldapcmp to be able to compare more than one context at a time
Kamen Mazdrashki [Sat, 25 Sep 2010 23:25:03 +0000 (02:25 +0300)]
s4-ldapcmp: Extend ldapcmp to be able to compare more than one context at a time

If no arguments given, ldapcmp will compare all NCs

13 years agos3: Avoid an explicit ZERO_STRUCT
Volker Lendecke [Sat, 25 Sep 2010 22:40:54 +0000 (15:40 -0700)]
s3: Avoid an explicit ZERO_STRUCT

13 years agos3: Lift talloc_autofree_context() from make_auth_context_fixed()
Volker Lendecke [Sat, 25 Sep 2010 22:35:44 +0000 (15:35 -0700)]
s3: Lift talloc_autofree_context() from make_auth_context_fixed()

13 years agos3: Lift talloc_autofree_context() from make_auth_context_subsystem()
Volker Lendecke [Sat, 25 Sep 2010 22:31:29 +0000 (15:31 -0700)]
s3: Lift talloc_autofree_context() from make_auth_context_subsystem()

13 years agos3: Lift talloc_autofree_context() from make_auth_context_text_list()
Volker Lendecke [Sat, 25 Sep 2010 21:51:45 +0000 (14:51 -0700)]
s3: Lift talloc_autofree_context() from make_auth_context_text_list()

13 years agos3: Lift talloc_autofree_context() from make_auth_context()
Volker Lendecke [Sat, 25 Sep 2010 21:50:46 +0000 (14:50 -0700)]
s3: Lift talloc_autofree_context() from make_auth_context()

13 years agos3: Fix a memleak in make_new_server_info_system()
Volker Lendecke [Sat, 25 Sep 2010 21:47:42 +0000 (14:47 -0700)]
s3: Fix a memleak in make_new_server_info_system()

13 years agos3: Remove talloc_autofree_context() from init_system_info()
Volker Lendecke [Sat, 25 Sep 2010 21:47:31 +0000 (14:47 -0700)]
s3: Remove talloc_autofree_context() from init_system_info()

13 years agos3: Fix a typo
Volker Lendecke [Sat, 25 Sep 2010 22:44:55 +0000 (15:44 -0700)]
s3: Fix a typo

13 years agos3: Fix some 64-bit warnings
Volker Lendecke [Sat, 25 Sep 2010 21:59:42 +0000 (14:59 -0700)]
s3: Fix some 64-bit warnings