metze/samba/wip.git
13 years agos3-ipasam: Disable old trustdom_pw calls
Sumit Bose [Thu, 15 Jul 2010 09:21:48 +0000 (11:21 +0200)]
s3-ipasam: Disable old trustdom_pw calls

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-passdb: Add minimal stub for IPA passdb backend
Sumit Bose [Wed, 14 Jul 2010 13:08:02 +0000 (15:08 +0200)]
s3-passdb: Add minimal stub for IPA passdb backend

Signed-off-by: Günther Deschner <gd@samba.org>
13 years agos3-auth Fix memory leak in security=share and force user =
Andrew Bartlett [Fri, 11 Feb 2011 00:34:56 +0000 (11:34 +1100)]
s3-auth Fix memory leak in security=share and force user =

In these cases, the server_info was not stolen onto a long term memory
context, and so remained on the NULL context where it was created.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Feb 16 01:08:19 CET 2011 on sn-devel-104

13 years agowaf Fix dependencies for .pc (pkg-config) files
Andrew Bartlett [Tue, 15 Feb 2011 23:18:12 +0000 (10:18 +1100)]
waf Fix dependencies for .pc (pkg-config) files

We used the wrong parameter for the dependency calculation.

thanks to Thomas Nagy for the fix!

Andrew Bartlett

13 years agos3-librpc: move server_id marshalling to own helper file.
Günther Deschner [Tue, 15 Feb 2011 16:37:03 +0000 (17:37 +0100)]
s3-librpc: move server_id marshalling to own helper file.

(in preparation of merging struct server_id).

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb 16 00:02:33 CET 2011 on sn-devel-104

13 years agos3: Support "codePage" in pdb_ads
Volker Lendecke [Tue, 15 Feb 2011 18:15:17 +0000 (19:15 +0100)]
s3: Support "codePage" in pdb_ads

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Feb 15 22:00:27 CET 2011 on sn-devel-104

13 years agos3: Pass "code_page" through samr
Volker Lendecke [Tue, 15 Feb 2011 18:13:52 +0000 (19:13 +0100)]
s3: Pass "code_page" through samr

13 years agos3: Add "code_page" to struct samu
Volker Lendecke [Tue, 15 Feb 2011 18:07:42 +0000 (19:07 +0100)]
s3: Add "code_page" to struct samu

13 years agos3: Support "country_code" in pdb_ads
Volker Lendecke [Tue, 15 Feb 2011 18:01:04 +0000 (19:01 +0100)]
s3: Support "country_code" in pdb_ads

13 years agos3: Pass "country_code" through samr
Volker Lendecke [Tue, 15 Feb 2011 18:09:51 +0000 (19:09 +0100)]
s3: Pass "country_code" through samr

13 years agos3: Add "country_code" to struct samu
Volker Lendecke [Tue, 15 Feb 2011 18:08:47 +0000 (19:08 +0100)]
s3: Add "country_code" to struct samu

13 years agos4: Fix a typo
Volker Lendecke [Tue, 15 Feb 2011 18:02:29 +0000 (19:02 +0100)]
s4: Fix a typo

13 years agos3: Add userWorkstations and userParameters to pdb_ads
Volker Lendecke [Tue, 15 Feb 2011 18:09:10 +0000 (19:09 +0100)]
s3: Add userWorkstations and userParameters to pdb_ads

13 years agos3-amend: Don't overwrite existing values
Volker Lendecke [Tue, 15 Feb 2011 17:16:43 +0000 (18:16 +0100)]
s3-amend: Don't overwrite existing values

This saves a ton of tdb transactions on smbd startup

Andreas, Günther, please check!

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Feb 15 19:11:25 CET 2011 on sn-devel-104

13 years agos4:torture/rpc/samr.c - fix up the "test_GroupList" suite regarding QueryDisplayInfo
Matthias Dieter Wallnöfer [Tue, 15 Feb 2011 09:24:51 +0000 (10:24 +0100)]
s4:torture/rpc/samr.c - fix up the "test_GroupList" suite regarding QueryDisplayInfo

This is needed to comply with the previous patch.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Feb 15 17:40:22 CET 2011 on sn-devel-104

13 years agos4:samr RPC server - QueryDisplayInfo returns always all domains users, aliases and...
Matthias Dieter Wallnöfer [Sat, 15 Jan 2011 11:30:16 +0000 (12:30 +0100)]
s4:samr RPC server - QueryDisplayInfo returns always all domains users, aliases and groups

That means when calling "QueryDisplayInfo" on the BUILTIN handle we
still get all related domain objects - for example all domain (global
+ universal) groups. This is contrary to the "EnumDomain..." calls which
do really only return the objects in the specified domain policy handle.

This has been observed against Windows Server 2008 and confirmed by
dochelp.

In the same occasion I've converted from a "gendb*"-oriented search call to "dsdb_search".

Patch-reviewed-by: Andrew Tridgell <tridge@samba.org>
13 years agos4-ldb_modules/operational: Make use of dsdb_module_reference_dn() function
Kamen Mazdrashki [Tue, 15 Feb 2011 14:09:37 +0000 (16:09 +0200)]
s4-ldb_modules/operational: Make use of dsdb_module_reference_dn() function

it does exactly what we need here

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Tue Feb 15 16:55:32 CET 2011 on sn-devel-104

13 years agos4:sam.py - add another "description" test case
Matthias Dieter Wallnöfer [Tue, 15 Feb 2011 13:47:28 +0000 (14:47 +0100)]
s4:sam.py - add another "description" test case

Exactly for the syntax which is needed by Volker in s3's "pdb_ads".

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Feb 15 16:10:15 CET 2011 on sn-devel-104

13 years agos3-waf: fix the build.
Günther Deschner [Tue, 15 Feb 2011 13:32:26 +0000 (14:32 +0100)]
s3-waf: fix the build.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 15 15:24:11 CET 2011 on sn-devel-104

13 years agos3-selftest: move all skipped test to skiplist.
Günther Deschner [Tue, 15 Feb 2011 10:15:19 +0000 (11:15 +0100)]
s3-selftest: move all skipped test to skiplist.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 15 12:52:22 CET 2011 on sn-devel-104

13 years agos3-waf: TLDAP is only needed by pdb_ads (and smbtorture).
Günther Deschner [Mon, 7 Feb 2011 13:27:55 +0000 (14:27 +0100)]
s3-waf: TLDAP is only needed by pdb_ads (and smbtorture).

Guenther

13 years agos3: no need to globally include intl.h.
Günther Deschner [Mon, 14 Feb 2011 11:02:00 +0000 (12:02 +0100)]
s3: no need to globally include intl.h.

Guenther

13 years agos3-selftest: when skipping tests, use the selftest/skip file.
Günther Deschner [Mon, 14 Feb 2011 10:29:00 +0000 (11:29 +0100)]
s3-selftest: when skipping tests, use the selftest/skip file.

Guenther

13 years agos4:acl LDB module - interpret "userAccountControl" as "uint32_t"
Matthias Dieter Wallnöfer [Fri, 11 Feb 2011 14:10:04 +0000 (15:10 +0100)]
s4:acl LDB module - interpret "userAccountControl" as "uint32_t"

This is the same way as it is done in the samldb LDB module.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Feb 15 12:08:26 CET 2011 on sn-devel-104

13 years agolibcli/security - fix two output format specifiers
Matthias Dieter Wallnöfer [Thu, 10 Feb 2011 09:17:33 +0000 (10:17 +0100)]
libcli/security - fix two output format specifiers

13 years agos4: Don't grant level II oplock to a file with byte-range locks.
Pavel Shilovsky [Mon, 31 Jan 2011 17:20:24 +0000 (20:20 +0300)]
s4: Don't grant level II oplock to a file with byte-range locks.

Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Feb 15 11:09:17 CET 2011 on sn-devel-104

13 years agos4:drsuapi/getncchanges: make sure we don't process filteres objects more than once
Stefan Metzmacher [Tue, 15 Feb 2011 07:41:23 +0000 (08:41 +0100)]
s4:drsuapi/getncchanges: make sure we don't process filteres objects more than once

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Feb 15 09:46:55 CET 2011 on sn-devel-104

13 years agoFix private libdir and codepages paths
Simo Sorce [Tue, 15 Feb 2011 00:46:42 +0000 (19:46 -0500)]
Fix private libdir and codepages paths

The private libraries need to be arch specific as well.

With --enable-fhs the codepages should go in /usr/share/samba and not
in /usr/lib{64}/samba as they are data files not libraries.

Autobuild-User: Simo Sorce <idra@samba.org>
Autobuild-Date: Tue Feb 15 04:22:37 CET 2011 on sn-devel-104

13 years agos3: Fix a C++ warning
Volker Lendecke [Mon, 14 Feb 2011 19:56:09 +0000 (20:56 +0100)]
s3: Fix a C++ warning

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Feb 14 21:44:55 CET 2011 on sn-devel-104

13 years agoIncrease minor version since a public header has changed
Simo Sorce [Mon, 14 Feb 2011 16:49:41 +0000 (11:49 -0500)]
Increase minor version since a public header has changed

Samba4 now depends on a new macro defined in the public ldb_modules.h header:
LDB_FLAG_INTERNAL_FORCE_SINGLE_VALUE_CHECK.

Bump up the minor release of ldb accordingly.

Autobuild-User: Simo Sorce <idra@samba.org>
Autobuild-Date: Mon Feb 14 19:39:31 CET 2011 on sn-devel-104

13 years agolibrpc: make NDR_KRB5PAC a shared library (libndr-krb5pac.so).
Günther Deschner [Mon, 14 Feb 2011 10:21:21 +0000 (11:21 +0100)]
librpc: make NDR_KRB5PAC a shared library (libndr-krb5pac.so).

Simo, please check.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Feb 14 18:54:38 CET 2011 on sn-devel-104

13 years agoReturn NULL if tevent_add_fd() is passed a negative fd
Stephen Gallagher [Mon, 14 Feb 2011 15:29:49 +0000 (10:29 -0500)]
Return NULL if tevent_add_fd() is passed a negative fd

Autobuild-User: Simo Sorce <idra@samba.org>
Autobuild-Date: Mon Feb 14 17:47:03 CET 2011 on sn-devel-104

13 years agos4:ldapcmp: cope with range retrivals of multivalued attributes
Stefan Metzmacher [Mon, 14 Feb 2011 13:18:14 +0000 (14:18 +0100)]
s4:ldapcmp: cope with range retrivals of multivalued attributes

A Windows Server returns a 'member;range=0-1499' attribute
with the first 1500 values of the 'member' attribute.

The client can do a BASE search on the given object
and ask for the 'member;range=1500-*' attribute.
It needs to loop until the high part of the returned
range is '*'.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Feb 14 16:26:46 CET 2011 on sn-devel-104

13 years agos4-readline: remove leftover from readline merge.
Günther Deschner [Mon, 14 Feb 2011 12:37:59 +0000 (13:37 +0100)]
s4-readline: remove leftover from readline merge.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Feb 14 14:26:12 CET 2011 on sn-devel-104

13 years agos3-waf: add UTIL_TEVENT subsystem (as in ../lib/util/wscript)
Günther Deschner [Tue, 8 Feb 2011 07:56:45 +0000 (08:56 +0100)]
s3-waf: add UTIL_TEVENT subsystem (as in ../lib/util/wscript)

Guenther

13 years agos4-ldb_modules/acl: Use ntds_guid for SPN check only we have a DC object
Kamen Mazdrashki [Mon, 14 Feb 2011 09:41:19 +0000 (11:41 +0200)]
s4-ldb_modules/acl: Use ntds_guid for SPN check only we have a DC object

ntds_guid is NULL otherwise as it doesn't make sense for
not a DC object

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Mon Feb 14 13:15:31 CET 2011 on sn-devel-104

13 years agos4-ldb_modules/acl: Get correct NTDSDSA objectGUID to check SPN for
Kamen Mazdrashki [Mon, 14 Feb 2011 09:35:48 +0000 (11:35 +0200)]
s4-ldb_modules/acl: Get correct NTDSDSA objectGUID to check SPN for

13 years agos4-ldb_modules/util: Implement dsdb_module_find_ntdsguid_for_computer()
Kamen Mazdrashki [Mon, 14 Feb 2011 09:34:32 +0000 (11:34 +0200)]
s4-ldb_modules/util: Implement dsdb_module_find_ntdsguid_for_computer()

as a counterpart for samdb_find_ntdsguid_for_computer()
to be used in LDB modules

13 years agos4/ldb_modules/acl.c: Fix calculation for samAccountName string len
Kamen Mazdrashki [Fri, 11 Feb 2011 03:42:28 +0000 (05:42 +0200)]
s4/ldb_modules/acl.c: Fix calculation for samAccountName string len

13 years agos3-librpc: no need to globally include endpointmapper headers.
Günther Deschner [Sat, 12 Feb 2011 02:09:41 +0000 (03:09 +0100)]
s3-librpc: no need to globally include endpointmapper headers.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Feb 14 12:31:56 CET 2011 on sn-devel-104

13 years agos3: move some defines to a better place.
Günther Deschner [Sat, 12 Feb 2011 01:51:19 +0000 (02:51 +0100)]
s3: move some defines to a better place.

Guenther

13 years agos3-proto: remove prototype for non-existing functions.
Günther Deschner [Sat, 12 Feb 2011 01:24:26 +0000 (02:24 +0100)]
s3-proto: remove prototype for non-existing functions.

Guenther

13 years agos3-librpc: remove duplicate prototypes.
Günther Deschner [Sat, 12 Feb 2011 01:23:57 +0000 (02:23 +0100)]
s3-librpc: remove duplicate prototypes.

Guenther

13 years agos3: Fix a typed-punned warning
Volker Lendecke [Mon, 7 Feb 2011 13:43:09 +0000 (14:43 +0100)]
s3: Fix a typed-punned warning

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Feb 14 11:46:50 CET 2011 on sn-devel-104

13 years agos4-dsdb: cope with broken exchange schema with single valued backlinks
Andrew Tridgell [Mon, 14 Feb 2011 02:22:27 +0000 (13:22 +1100)]
s4-dsdb: cope with broken exchange schema with single valued backlinks

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

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Mon Feb 14 08:45:51 CET 2011 on sn-devel-104

13 years agos4-ldb: fixed a uninitialised el->flags in ldb_tdb
Andrew Tridgell [Mon, 14 Feb 2011 02:08:44 +0000 (13:08 +1100)]
s4-ldb: fixed a uninitialised el->flags in ldb_tdb

this caused an intermittent failure in some tests

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

13 years agos4-dsdb: cleanups to the backupkey RPC server
Andrew Tridgell [Mon, 14 Feb 2011 01:03:21 +0000 (12:03 +1100)]
s4-dsdb: cleanups to the backupkey RPC server

- fixed some warnings
- change the debug levels to something more reasonable

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

13 years agos4-dsdb: fixed problem with constrained modification of description attribute
Andrew Tridgell [Sun, 13 Feb 2011 23:14:15 +0000 (10:14 +1100)]
s4-dsdb: fixed problem with constrained modification of description attribute

This approach just asks the tdb backend to handle the single valued
constraint for us

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

13 years agos4-ldb: added LDB_FLAG_INTERNAL_FORCE_SINGLE_VALUE_CHECK
Andrew Tridgell [Sun, 13 Feb 2011 23:08:24 +0000 (10:08 +1100)]
s4-ldb: added LDB_FLAG_INTERNAL_FORCE_SINGLE_VALUE_CHECK

this allows a ldb module to force an element as single valued

13 years agos4-ldb: use a helper function for single valued checking
Andrew Tridgell [Sun, 13 Feb 2011 23:07:21 +0000 (10:07 +1100)]
s4-ldb: use a helper function for single valued checking

this gives us a single piece of logic for single value checking in the
tdb backend

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

13 years agoldb-web: update mailing list info
Andrew Tridgell [Fri, 11 Feb 2011 05:15:17 +0000 (16:15 +1100)]
ldb-web: update mailing list info

13 years agoscript: sign library releases with Samba Library Distribution Key
Andrew Tridgell [Fri, 11 Feb 2011 05:05:47 +0000 (16:05 +1100)]
script: sign library releases with Samba Library Distribution Key

13 years agos4:selftest: add tests with seal and sign for backupkey
Matthieu Patou [Sun, 9 Jan 2011 12:55:24 +0000 (15:55 +0300)]
s4:selftest: add tests with seal and sign for backupkey

We need to specify sign and seal as the protocol operate really only on
sealed protected connections, in other case we are just checking that
the server returns something like unwilling to perform due to weak
security.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Feb 14 01:48:39 CET 2011 on sn-devel-104

13 years agos4: Renable samba4.rpc.backupkey
Stefan Metzmacher [Sat, 5 Feb 2011 11:15:14 +0000 (12:15 +0100)]
s4: Renable samba4.rpc.backupkey

This reverts commit 07fd397be7e30849f2c8452154edbee7dceccfe1.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
13 years agos4: load the backupkey endpoint
Matthieu Patou [Tue, 1 Feb 2011 21:31:32 +0000 (00:31 +0300)]
s4: load the backupkey endpoint

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
13 years agos4: Add server side implementation of backup key remote protocol
Matthieu Patou [Tue, 27 Jul 2010 20:03:49 +0000 (00:03 +0400)]
s4: Add server side implementation of backup key remote protocol

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
13 years agos3: Add "comment" and "description" to pdb_ads
Volker Lendecke [Sun, 13 Feb 2011 16:07:53 +0000 (17:07 +0100)]
s3: Add "comment" and "description" to pdb_ads

This is pending a change to samldb_description_check, we might have to modify
the description with a TLDAP_MOD_REPLACE operation.

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Feb 13 17:56:58 CET 2011 on sn-devel-104

13 years agos4/upgradeprovision: Fix help for --debugguess.
Michael Wood [Sat, 8 Jan 2011 13:09:57 +0000 (15:09 +0200)]
s4/upgradeprovision: Fix help for --debugguess.

Signed-off-by: Matthieu Patou <mat@matws.net>
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Feb 13 16:38:13 CET 2011 on sn-devel-104

13 years agos4/upgradeprovision: Typo and better word.
Michael Wood [Sat, 8 Jan 2011 13:08:47 +0000 (15:08 +0200)]
s4/upgradeprovision: Typo and better word.

Signed-off-by: Matthieu Patou <mat@matws.net>
13 years agos4: samba_backup: Fix typos.
Michael Wood [Fri, 7 Jan 2011 11:51:48 +0000 (13:51 +0200)]
s4: samba_backup: Fix typos.

Signed-off-by: Matthieu Patou <mat@matws.net>
13 years agos3: Make "net sam list [users|workstations]" list only the right things
Volker Lendecke [Sun, 13 Feb 2011 10:26:49 +0000 (11:26 +0100)]
s3: Make "net sam list [users|workstations]" list only the right things

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Feb 13 12:59:14 CET 2011 on sn-devel-104

13 years agos3: Use tlap_simple_recv in tldap_sasl_bind_recv
Volker Lendecke [Sat, 12 Feb 2011 22:49:26 +0000 (23:49 +0100)]
s3: Use tlap_simple_recv in tldap_sasl_bind_recv

13 years agos3: Add error checking to asn1_read_OctetString_talloc
Volker Lendecke [Sat, 12 Feb 2011 22:41:48 +0000 (23:41 +0100)]
s3: Add error checking to asn1_read_OctetString_talloc

13 years agos3: Remove an unneeded proto
Volker Lendecke [Sat, 12 Feb 2011 19:00:42 +0000 (20:00 +0100)]
s3: Remove an unneeded proto

13 years agoFix typos
Volker Lendecke [Sat, 12 Feb 2011 18:54:26 +0000 (19:54 +0100)]
Fix typos

13 years agos3: Fix some nonempty blank lines
Volker Lendecke [Sat, 12 Feb 2011 18:52:05 +0000 (19:52 +0100)]
s3: Fix some nonempty blank lines

13 years agos3: Convert tldap_entry_values args to "array, count"
Volker Lendecke [Sat, 12 Feb 2011 16:00:30 +0000 (17:00 +0100)]
s3: Convert tldap_entry_values args to "array, count"

13 years agos3: Add an explicit counter to tldap_add_mod_[blobs|str]
Volker Lendecke [Sat, 12 Feb 2011 15:58:10 +0000 (16:58 +0100)]
s3: Add an explicit counter to tldap_add_mod_[blobs|str]

13 years agos3: Convert tldap_make_mod_fmt args to "array, count"
Volker Lendecke [Sat, 12 Feb 2011 15:51:08 +0000 (16:51 +0100)]
s3: Convert tldap_make_mod_fmt args to "array, count"

13 years agos3: Convert tldap_make_mod_blob args to "array, count"
Volker Lendecke [Sat, 12 Feb 2011 15:46:59 +0000 (16:46 +0100)]
s3: Convert tldap_make_mod_blob args to "array, count"

13 years agos3: Convert tldap_make_mod_blob_int args to "array, count"
Volker Lendecke [Sat, 12 Feb 2011 15:42:37 +0000 (16:42 +0100)]
s3: Convert tldap_make_mod_blob_int args to "array, count"

13 years agos3: Convert tldap_add_blob_vals args to "array, count"
Volker Lendecke [Sat, 12 Feb 2011 15:37:02 +0000 (16:37 +0100)]
s3: Convert tldap_add_blob_vals args to "array, count"

13 years agos3: Convert tldap_add_mod_blobs args to "array, count"
Volker Lendecke [Sat, 12 Feb 2011 15:33:26 +0000 (16:33 +0100)]
s3: Convert tldap_add_mod_blobs args to "array, count"

13 years agoFix some nonempty blank lines
Volker Lendecke [Sat, 12 Feb 2011 11:18:16 +0000 (12:18 +0100)]
Fix some nonempty blank lines

13 years agos3: Align the args of pdb_ads_update_sam_account to tldap_modify
Volker Lendecke [Sat, 12 Feb 2011 10:39:16 +0000 (11:39 +0100)]
s3: Align the args of pdb_ads_update_sam_account to tldap_modify

13 years agopyldb: fix a bug in the unit test which prevented ldb.python to run all the tests...
Matthieu Patou [Wed, 9 Feb 2011 07:18:02 +0000 (10:18 +0300)]
pyldb: fix a bug in the unit test which prevented ldb.python to run all the tests in the testsuite

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Feb 13 00:14:24 CET 2011 on sn-devel-104

13 years agolibrpc: add bindings for dnsp in python
Matthieu Patou [Sat, 12 Feb 2011 20:18:29 +0000 (23:18 +0300)]
librpc: add bindings for dnsp in python

13 years agoldb: use the sizeof of the control variable as offset instead of hardcoded values...
Matthieu Patou [Mon, 7 Feb 2011 23:54:09 +0000 (02:54 +0300)]
ldb: use the sizeof of the control variable as offset instead of hardcoded values, helps to avoid bugs

13 years agoldb: remove "magic" string in ldb_controls, replace them with constants defined in...
Matthieu Patou [Thu, 10 Feb 2011 10:49:26 +0000 (13:49 +0300)]
ldb: remove "magic" string in ldb_controls, replace them with constants defined in ldb.h

Allow to have less magic value in the control code and will allow not to
duplicate names when doing a function that marshal a control to it's
string representation

13 years agotdb: Fix a C++ warning
Volker Lendecke [Sat, 12 Feb 2011 16:30:11 +0000 (17:30 +0100)]
tdb: Fix a C++ warning

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Feb 12 19:50:55 CET 2011 on sn-devel-104

13 years agos3: Make "smbpasswd <user>" work with pdb_ads
Volker Lendecke [Sat, 12 Feb 2011 13:28:40 +0000 (14:28 +0100)]
s3: Make "smbpasswd <user>" work with pdb_ads

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Feb 12 15:17:39 CET 2011 on sn-devel-104

13 years agos3-waf: try to fix the netbsd build and add -lintl to the 'net' binary.
Günther Deschner [Fri, 11 Feb 2011 22:48:26 +0000 (23:48 +0100)]
s3-waf: try to fix the netbsd build and add -lintl to the 'net' binary.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Sat Feb 12 00:48:11 CET 2011 on sn-devel-104

13 years agolibcli/auth: fix PAM_ERRORS subsystem build.
Günther Deschner [Fri, 11 Feb 2011 21:59:31 +0000 (22:59 +0100)]
libcli/auth: fix PAM_ERRORS subsystem build.

(waf-)god knows why, without this (fake) dependency, ./configure && make fails
while including replace.h while ./configure.developer && make succeeds...

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 23:50:40 CET 2011 on sn-devel-104

13 years agos3: Skip the CHAIN1 tests
Volker Lendecke [Fri, 11 Feb 2011 14:49:00 +0000 (15:49 +0100)]
s3: Skip the CHAIN1 tests

They are broken with signing. I'll fix that.

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Feb 11 17:42:09 CET 2011 on sn-devel-104

13 years agos3-waf: next attempt to fix cups and non-cups builds.
Günther Deschner [Fri, 11 Feb 2011 15:10:07 +0000 (16:10 +0100)]
s3-waf: next attempt to fix cups and non-cups builds.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 16:57:40 CET 2011 on sn-devel-104

13 years agos3-rpc_server: fix some buildwarnings in non-developer mode.
Günther Deschner [Fri, 11 Feb 2011 15:04:28 +0000 (16:04 +0100)]
s3-rpc_server: fix some buildwarnings in non-developer mode.

Guenther

13 years agos3-selftest: revamp selftest wscript with s4 one.
Günther Deschner [Fri, 11 Feb 2011 14:30:27 +0000 (15:30 +0100)]
s3-selftest: revamp selftest wscript with s4 one.

Guenther

13 years agos3-waf: try to deal with underlinked cups libraries.
Günther Deschner [Fri, 11 Feb 2011 13:37:13 +0000 (14:37 +0100)]
s3-waf: try to deal with underlinked cups libraries.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 15:28:32 CET 2011 on sn-devel-104

13 years agos3-waf: move all error mappings to errors subsystem.
Günther Deschner [Tue, 8 Feb 2011 21:37:09 +0000 (22:37 +0100)]
s3-waf: move all error mappings to errors subsystem.

Guenther

13 years agowaf: pure cosmetic reformatting of the two samba-util object lists (to ease comparing).
Günther Deschner [Tue, 8 Feb 2011 00:04:57 +0000 (01:04 +0100)]
waf: pure cosmetic reformatting of the two samba-util object lists (to ease comparing).

Guenther

13 years agos3-waf: use bld.env.HAVE_LDAP in some more places, hopefully fixes the builds w/o...
Günther Deschner [Fri, 11 Feb 2011 11:09:25 +0000 (12:09 +0100)]
s3-waf: use bld.env.HAVE_LDAP in some more places, hopefully fixes the builds w/o ldap.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 13:08:38 CET 2011 on sn-devel-104

13 years agos3-waf: rework the way SMBLDAP subsystem is built a little.
Günther Deschner [Fri, 11 Feb 2011 11:07:39 +0000 (12:07 +0100)]
s3-waf: rework the way SMBLDAP subsystem is built a little.

Guenther

13 years agowaf: substitute '/' in -D static defines as well.
Günther Deschner [Fri, 11 Feb 2011 11:05:10 +0000 (12:05 +0100)]
waf: substitute '/' in -D static defines as well.

Tridge, please check.

Guenther

13 years agos3-libsmb: fix ifdef check in ads_dc_name.
Günther Deschner [Fri, 11 Feb 2011 10:16:08 +0000 (11:16 +0100)]
s3-libsmb: fix ifdef check in ads_dc_name.

We are accessing an LDAP structure here, so we better check that LDAP support
was there as well as Kerberos support.

Guenther

13 years agos3-libnet: fix a WITH_ADS / HAVE_ADS mismatch.
Günther Deschner [Fri, 11 Feb 2011 10:14:57 +0000 (11:14 +0100)]
s3-libnet: fix a WITH_ADS / HAVE_ADS mismatch.

Guenther

13 years agos3-libads: make ads_guess_service_principal static.
Günther Deschner [Fri, 11 Feb 2011 10:14:27 +0000 (11:14 +0100)]
s3-libads: make ads_guess_service_principal static.

Guenther

13 years agos3: Avoid a select call per smb
Volker Lendecke [Fri, 11 Feb 2011 10:25:13 +0000 (11:25 +0100)]
s3: Avoid a select call per smb

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Feb 11 12:13:54 CET 2011 on sn-devel-104

13 years agos3: Add more checks and better fallback to addrchange
Volker Lendecke [Fri, 11 Feb 2011 07:44:36 +0000 (08:44 +0100)]
s3: Add more checks and better fallback to addrchange

From http://netsplit.com/2011/02/09/the-proc-connector-and-socket-filters/ I
learned a bit more about netlink...

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Feb 11 10:47:09 CET 2011 on sn-devel-104

13 years agos3-waf: try to deal with system w/o ldap; also move module processing to the end...
Günther Deschner [Fri, 11 Feb 2011 00:31:37 +0000 (01:31 +0100)]
s3-waf: try to deal with system w/o ldap; also move module processing to the end of wscript.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Feb 11 02:30:40 CET 2011 on sn-devel-104

13 years agos4-build: fixed export of krb5pac.h, needed by other public headers
Andrew Tridgell [Thu, 10 Feb 2011 23:39:37 +0000 (10:39 +1100)]
s4-build: fixed export of krb5pac.h, needed by other public headers

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

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Fri Feb 11 01:45:55 CET 2011 on sn-devel-104