Jelmer Vernooij [Wed, 19 Nov 2008 15:24:04 +0000 (16:24 +0100)]
Fix path for torture.h.
Karolin Seeger [Wed, 19 Nov 2008 12:08:41 +0000 (13:08 +0100)]
manpages: Document new wbinfo idmapping options.
--set-uid/gid-mapping
--remove-uid/gid-mapping
Karolin
(cherry picked from commit
c9965d544f615fea1ba3609d7348407130ab1ec9)
Karolin Seeger [Wed, 19 Nov 2008 12:16:38 +0000 (13:16 +0100)]
build-docs: Use 'git clean' instead of 'git-clean'.
Karolin
Tim Prouty [Wed, 19 Nov 2008 00:52:58 +0000 (16:52 -0800)]
s3/s4 build: Fix execinfo and sasl build error when the libs/headers are in non-standard locations.
These configure checks have the correct flags at configure time, so
let's pass them through so they are used at compile time.
Tim Prouty [Wed, 19 Nov 2008 00:47:23 +0000 (16:47 -0800)]
s3/s4 build: Fix makefile expression to work on more systems
Steven Danneman [Tue, 28 Oct 2008 06:36:36 +0000 (23:36 -0700)]
Clean-up various trailing space and >80 column lines.
Steven Danneman [Tue, 28 Oct 2008 06:37:55 +0000 (23:37 -0700)]
Added ability to remove id mappings in wbinfo and libwbclient.
The idmap_tdb backend already provides an interface to remove existing id
mappings. This commit plumbs that ability up through, winbindd, libwbclient,
and wbinfo.
Added new winbindd command:
WINBINDD_REMOVE_MAPPING
Added new libwbclient interfaces:
wbcRemoveUidMapping() and wbcRemoveGidMapping()
Added new wbinfo options:
--remove-uid-mapping
--remove-gid-mapping
Increased libwbclient version to 0.2
Increased winbind interface version to 20
Steven Danneman [Tue, 28 Oct 2008 06:46:44 +0000 (23:46 -0700)]
Added ability to set id mappings in wbinfo.
The two new parameters are:
--set-uid-mapping
--set-gid-mapping
These allow wbinfo to create new, or override existing id mappings in the
idmap backend. These expose the exisiting ability of libwbclient
and winbindd to do this, up through a command line utility.
Jelmer Vernooij [Tue, 18 Nov 2008 23:10:15 +0000 (00:10 +0100)]
Move wireshark conformance file to top-level.
Steven Danneman [Sat, 15 Nov 2008 21:07:15 +0000 (13:07 -0800)]
Fix extended DN parse error when AD object does not have a SID.
Some AD objects, like Exchange Public Folders, can be members of Security
Groups but do not have a SID attribute. This patch adds more granular return
errors to ads_get_sid_from_extended_dn(). Callers can now determine if a parse
error occured because of bad input, or the DN was valid but contained no SID.
I updated all callers to ignore SIDless objects when appropriate.
Also did some cleanup to the out paths of lookup_usergroups_memberof()
Steven Danneman [Sat, 15 Nov 2008 03:16:12 +0000 (19:16 -0800)]
Whitespace and >80 column cleanups.
Dina Fine [Tue, 18 Nov 2008 20:45:42 +0000 (12:45 -0800)]
Fix bug #5908 - Samba 3.0.32 - internal change notify on share directory fails"
Kai Blin [Tue, 18 Nov 2008 19:25:14 +0000 (11:25 -0800)]
libsmb: Fix up pointer passed to cli_send_trans in cli_link_internal
Jeremy Allison [Tue, 18 Nov 2008 18:57:54 +0000 (10:57 -0800)]
Re-structure Volker's patch to "Fix trans2findfirst for the large directory optimization". Makes the change clearer.
Jeremy.
Volker Lendecke [Tue, 18 Nov 2008 16:03:38 +0000 (17:03 +0100)]
Fix trans2findfirst for the large directory optimization
With
case sensitive = yes
preserve case = no
short preserve case = no
default case = upper
a "dir FOO.txt" would not find "FOO.TXT" because FOO.txt ends up unconverted in
the mask for mask_match.
Jeremy, please check!
Volker
Günther Deschner [Tue, 18 Nov 2008 08:52:35 +0000 (09:52 +0100)]
s3-libnet-samsync: store samsync sequence number state in keytab.
Guenther
Günther Deschner [Tue, 18 Nov 2008 08:49:37 +0000 (09:49 +0100)]
s3-libnet-samsync: refactor libnet_samsync.
Guenther
Günther Deschner [Tue, 18 Nov 2008 08:42:59 +0000 (09:42 +0100)]
s3-libnet-samsync: pass back sequence number from fetch_sam_entries_keytab.
Guenther
Günther Deschner [Tue, 18 Nov 2008 02:45:38 +0000 (03:45 +0100)]
s3-libnet-samsync: use netr_DatabaseDeltas unless full replication enforced.
Guenther
Günther Deschner [Tue, 18 Nov 2008 01:01:03 +0000 (02:01 +0100)]
s3-libnet-samsync: pass sequence number pointer to process routine.
Guenther
Günther Deschner [Mon, 17 Nov 2008 18:34:56 +0000 (19:34 +0100)]
s3-libnet-samsync: move all modules to startup,process,finish callbacks.
Guenther
Günther Deschner [Mon, 17 Nov 2008 16:14:19 +0000 (17:14 +0100)]
s3-libnet-samsync: call init and close ops function where appropriate.
Guenther
Günther Deschner [Mon, 17 Nov 2008 15:31:59 +0000 (16:31 +0100)]
s3-libnet-samsync: use samsync_ops.
Guenther
Günther Deschner [Mon, 17 Nov 2008 15:29:11 +0000 (16:29 +0100)]
s3-libnet-samsync: add samsync_ops to all samsync modules.
Guenther
Günther Deschner [Mon, 17 Nov 2008 15:28:34 +0000 (16:28 +0100)]
s3-libnet-samsync: add samsync_ops.
Guenther
Günther Deschner [Tue, 18 Nov 2008 00:16:53 +0000 (01:16 +0100)]
s3-libnet: move add_to_keytab_entries to libnet_keytab.
Guenther
Günther Deschner [Tue, 18 Nov 2008 12:25:50 +0000 (13:25 +0100)]
s3-net: add "net rpc vampire passdb" that allows to take arguments.
Guenther
Günther Deschner [Tue, 11 Nov 2008 18:00:26 +0000 (19:00 +0100)]
s3-net: use net_scan_dc in net rpc vampire keytab.
Guenther
Günther Deschner [Tue, 11 Nov 2008 17:59:57 +0000 (18:59 +0100)]
s3-net: add net_scan_dc function.
Guenther
Günther Deschner [Tue, 11 Nov 2008 17:59:21 +0000 (18:59 +0100)]
s3-net: add net_dc_info struct.
Guenther
Günther Deschner [Tue, 4 Nov 2008 15:25:40 +0000 (16:25 +0100)]
s3-net-vampire: add support for partial replication (individual deltas).
Guenther
Günther Deschner [Tue, 4 Nov 2008 14:49:27 +0000 (15:49 +0100)]
s3-libnet-samsync: add support for partial replication.
Guenther
Jelmer Vernooij [Tue, 18 Nov 2008 00:36:02 +0000 (01:36 +0100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Tue, 18 Nov 2008 00:35:10 +0000 (01:35 +0100)]
Explicitly include samba4 includes.h to fix the build.
Davide Sfriso [Mon, 17 Nov 2008 23:38:56 +0000 (15:38 -0800)]
Fix bug #5906 when running winbindd on a Samba PDC. Winbindd crash on 'getent group'
Jeremy.
Jeremy Allison [Mon, 17 Nov 2008 22:13:20 +0000 (14:13 -0800)]
Fix bug #5900 reported by monyo@samba.gr.jp - vfs_readonly.so does not work.
Jeremy.
Günther Deschner [Mon, 17 Nov 2008 17:25:01 +0000 (18:25 +0100)]
s3-libnet-samsync: use enctype 23 for vampired keytab entries.
Guenther
Tim Prouty [Mon, 17 Nov 2008 18:21:29 +0000 (10:21 -0800)]
Fix build warning introduced by making SERVICE_CONTROL an enum
Karolin Seeger [Mon, 17 Nov 2008 14:23:34 +0000 (15:23 +0100)]
s3 create-tarball.sh: Remove dashes in git commands.
Newer git versions (e.g. 1.6.0.2) do not provide the 'git-' commands
any longer.
Karolin
Günther Deschner [Fri, 14 Nov 2008 10:54:46 +0000 (11:54 +0100)]
s3-build: re-run make samba3-idl.
Guenther
Günther Deschner [Fri, 14 Nov 2008 10:54:16 +0000 (11:54 +0100)]
svcctl: fill in SERVICE_CONTROL from s3.
Guenther
Günther Deschner [Fri, 14 Nov 2008 10:41:40 +0000 (11:41 +0100)]
svcctl: fix idl for svcctl_EnumServicesStatusW.
Guenther
Günther Deschner [Fri, 14 Nov 2008 10:36:47 +0000 (11:36 +0100)]
s4-smbtorture: add test for svcctl_QueryServiceConfig2W.
Guenther
Günther Deschner [Fri, 14 Nov 2008 10:29:03 +0000 (11:29 +0100)]
svcctl: fix idl for svcctl_QueryServiceConfig2W.
Guenther
Günther Deschner [Fri, 14 Nov 2008 10:26:25 +0000 (11:26 +0100)]
svcctl: fix idl for EnumServicesStatusExW.
Guenther
Günther Deschner [Fri, 14 Nov 2008 10:25:30 +0000 (11:25 +0100)]
s4-smbtorture: fix test for svcctl_EnumServicesStatusW.
Guenther
Günther Deschner [Fri, 14 Nov 2008 10:24:52 +0000 (11:24 +0100)]
s4-smbtorture: add test for svcctl_QueryServiceStatusEx.
Guenther
Günther Deschner [Fri, 14 Nov 2008 10:24:10 +0000 (11:24 +0100)]
svcctl: fix idl for svcctl_QueryServiceStatusEx.
Guenther
Günther Deschner [Fri, 14 Nov 2008 09:18:35 +0000 (10:18 +0100)]
s4-smbtorture: pure reformatting of svcctl test.
Guenther
Günther Deschner [Thu, 13 Nov 2008 23:52:50 +0000 (00:52 +0100)]
s3-rpcclient: fill in unknowns in cmd_ntsvcs_get_hw_prof_info.
Guenther
Günther Deschner [Thu, 13 Nov 2008 23:30:11 +0000 (00:30 +0100)]
s4-smbtorture: add PNP_GetDeviceRegProp test for ntsvcs testsuite.
Guenther
Günther Deschner [Fri, 14 Nov 2008 08:48:56 +0000 (09:48 +0100)]
ntsvcs: remove todo from PNP_GetDeviceList.
Guenther
Günther Deschner [Mon, 17 Nov 2008 12:06:42 +0000 (13:06 +0100)]
pam_winbind: rerun genmsg after Bo Yang's fixes.
Guenther
Stefan Metzmacher [Mon, 17 Nov 2008 09:51:39 +0000 (10:51 +0100)]
s4:dsdb/samdb: don't allow objects without objectClass
We're using @ROOTDSE instead of CN=ROOTDSE.
metze
Bo Yang [Sun, 16 Nov 2008 08:31:31 +0000 (16:31 +0800)]
Fix broken msgids in ntstatus_errors
Signed-off-by: Günther Deschner <gd@samba.org>
Andreas Schneider [Mon, 17 Nov 2008 10:01:15 +0000 (11:01 +0100)]
Improve the Gemand pam_winbind translation.
Signed-off-by: Andreas Schneider <anschneider@suse.de>
Kai Blin [Mon, 17 Nov 2008 07:37:21 +0000 (08:37 +0100)]
net: Fix net rap printq info documentation (bug #5892)
Carsten Dumke <carsten@cdumke.de> reported and provided a patch
for v3.0 and v3.2. (See
0a7fb721cdc)
This fixes the same issue in v3.3 and also changes the auto-generated usage
information to give better help about net rap printq info.
Andrew Bartlett [Fri, 24 Oct 2008 02:59:01 +0000 (13:59 +1100)]
Run the original operation before we update linked attrs
This causes the linked attribute modifies to occour after the original
operation is entered in the transaction (any failure still fails the
lot). This means (I hope) that we can have another module search the
originating record when the backlink is created, filling in the GUID
and SID for the extended DN.
Andrew Bartlett
Andrew Bartlett [Wed, 5 Nov 2008 01:00:44 +0000 (12:00 +1100)]
Add helpful function for comparison of DATA_BLOB elements
Andrew Bartlett [Thu, 13 Nov 2008 03:07:29 +0000 (14:07 +1100)]
Remove timeout event once we are calling the callback.
(Even if the callback takes some time, this isn't a ldb_tdb timeout
any more)
Andrew Bartlett
Andrew Bartlett [Thu, 13 Nov 2008 04:58:12 +0000 (15:58 +1100)]
Improve debug when SASL search fails
Andrew Bartlett [Thu, 13 Nov 2008 22:40:02 +0000 (09:40 +1100)]
Print unconvertable ldb element values as base64.
If an LDB element cannot be converted into a printable form, we should
still print it, just with safety applied.
Andrew Bartlett
Andrew Bartlett [Fri, 14 Nov 2008 02:26:02 +0000 (13:26 +1100)]
The samba3sam test does not really need the extended_dn module
(This module has been split up into extended_dn_in, extended_dn_out
and extended_dn_store).
Andrew Bartlett
Andrew Bartlett [Fri, 14 Nov 2008 02:24:54 +0000 (13:24 +1100)]
Use new GUID_from_data_blob
This avoid the problem that GUID_from_string now strictly requires no
trailing data after the string-form GUID.
Andrew Bartlett
Andrew Bartlett [Fri, 14 Nov 2008 05:34:59 +0000 (16:34 +1100)]
Remove restrictions on number of DN components in LDAP server
There is no reason for these restrictions to be in the LDAP server -
they belong in the LDB layer. When accepting 'extended' or
'alternate' DNs we can't tell anyway.
Andrew Bartlett
Andrew Bartlett [Fri, 14 Nov 2008 06:16:39 +0000 (17:16 +1100)]
Always validate a DN when constructing from a string in python
Stefan Metzmacher [Fri, 14 Nov 2008 08:33:08 +0000 (09:33 +0100)]
s4:dsdb/schema_fsmo: provide "extendedAttributeInfo" and "extendedClassInfo"
metze
Stefan Metzmacher [Fri, 14 Nov 2008 07:51:59 +0000 (08:51 +0100)]
s4:dsdb/schema: add a function to generate the "extendedClassInfo" values
metze
Stefan Metzmacher [Fri, 14 Nov 2008 07:49:06 +0000 (08:49 +0100)]
s4:dsdb/schema: add a function to generate the "extendedAttributeInfo" values
metze
Stefan Metzmacher [Thu, 13 Nov 2008 20:32:04 +0000 (21:32 +0100)]
s4:dsdb/schema: use pointers for rangeLower and rangeUpper.
This makes clear there's an value stored in the schema,
as they can be '0'.
metze
Stefan Metzmacher [Thu, 13 Nov 2008 20:31:03 +0000 (21:31 +0100)]
s4:dsdb/schema: we don't need to use find_syntax_map_by_ad_oid() as the syntax is already known
metze
Stefan Metzmacher [Thu, 13 Nov 2008 20:28:02 +0000 (21:28 +0100)]
librpc/ndr: add GUID_hexstring()
metze
Stefan Metzmacher [Thu, 13 Nov 2008 20:27:10 +0000 (21:27 +0100)]
librpc/ndr: let GUID_from_data_blob() accept a ndr blob or a hex string too
metze
Stefan Metzmacher [Fri, 14 Nov 2008 15:02:06 +0000 (16:02 +0100)]
s4:librpc/ndr: integrate NDR_MISC into LIBNDR
metze
Stefan Metzmacher [Thu, 13 Nov 2008 20:26:03 +0000 (21:26 +0100)]
lib/util: hex_encode_talloc(): fix error path and set talloc name
metze
Andrew Bartlett [Mon, 10 Nov 2008 00:40:31 +0000 (11:40 +1100)]
Add a new function to parse a DATA_BLOB into a GUID
The reason for this new function is to ensure the length is not
discarded when the input is a ldb_val (aka DATA_BLOB) in ldb.
Andrew Bartlett
Stefan Metzmacher [Mon, 6 Oct 2008 07:18:50 +0000 (09:18 +0200)]
s4:libcli/resolve: don't ignore SIGCHLD anymore
This broke ldbedit against a LDAP server,
as the editor is called by "system()" which relies
on getting something useful out of waitpid().
TODO: we should create a generic infrastructure to
handle temporary forks and integrate the signal
handling with signal events there.
metze
Stefan Metzmacher [Sun, 16 Nov 2008 15:19:58 +0000 (16:19 +0100)]
s4:torture: fix the build with auto dependencies
metze
TAKAHASHI Motonobu [Sun, 16 Nov 2008 12:17:16 +0000 (13:17 +0100)]
Fix bug 5901: Default for streams_depot location
Jelmer Vernooij [Sun, 16 Nov 2008 00:36:17 +0000 (01:36 +0100)]
Remove unused init function in subunit code.
Jelmer Vernooij [Sun, 16 Nov 2008 00:35:46 +0000 (01:35 +0100)]
Fix merged build.
Jelmer Vernooij [Sat, 15 Nov 2008 23:58:08 +0000 (00:58 +0100)]
Move torture directory to top-level.
Jelmer Vernooij [Sat, 15 Nov 2008 23:55:35 +0000 (00:55 +0100)]
Move libtorture to top-level.
Günther Deschner [Sat, 15 Nov 2008 01:23:31 +0000 (02:23 +0100)]
s3-spoolss: fix enumports segfault (another malloc vs. talloc candidate).
Guenther
Volker Lendecke [Fri, 14 Nov 2008 23:50:33 +0000 (00:50 +0100)]
Attempt to fix the build
I have no idea how this could have happened. Probably done a make and make
test in a different tree than the one I have done the push from. Sorry.
Volker
Günther Deschner [Fri, 14 Nov 2008 22:28:07 +0000 (23:28 +0100)]
pidl: skip generation of noopnum functions in generated s3 server.
Guenther
Günther Deschner [Fri, 14 Nov 2008 21:15:30 +0000 (22:15 +0100)]
pidl: do not generate cli_ functions for noopnum flaged functions.
Guenther
Volker Lendecke [Fri, 14 Nov 2008 12:42:54 +0000 (13:42 +0100)]
Make memcache_add_talloc NULL out the source pointer
This is an orthogonality measure to make clear this pointer now belongs to the
cache.
(cherry picked from commit
e6080c6e87d6fe3995b121a772bf3f6343fa666f)
Volker Lendecke [Thu, 13 Nov 2008 22:50:19 +0000 (23:50 +0100)]
Actually finish memcache_add_talloc
This fixes a memleak found by Martin Zielinski <mz@seh.de>. Thanks for
looking closely!
Volker
(cherry picked from commit
a31a84a078100819809e6d40dbc3df207a50a0b2)
Volker Lendecke [Fri, 14 Nov 2008 12:13:40 +0000 (13:13 +0100)]
Rename some variables in getpwnam_alloc() for clarity
Volker Lendecke [Fri, 14 Nov 2008 11:49:18 +0000 (12:49 +0100)]
sys_pwnam doesn't return talloced memory, so don't mix up the returned struct.
(cherry picked from commit
eb99923991960e53bd150ac8f1d818cb746101b4)
Jeremy Allison [Fri, 14 Nov 2008 01:18:41 +0000 (17:18 -0800)]
Move v2 from timestamp to 16-byte hash. Got the change in before on disk format is fixed.
Jeremy.
Günther Deschner [Thu, 13 Nov 2008 18:42:13 +0000 (19:42 +0100)]
s3-svctl-server: fix remote rpc service management (bug #5888).
Don't TALLOC_FREE a non-talloced [ref] pointer.
Guenther
Volker Lendecke [Thu, 13 Nov 2008 16:46:36 +0000 (17:46 +0100)]
fix typo
Günther Deschner [Thu, 13 Nov 2008 15:44:28 +0000 (16:44 +0100)]
pam_winbind: add german de.po file.
germans, please have a look if this can actually be understood by germans.
Guenther
Günther Deschner [Thu, 13 Nov 2008 16:19:11 +0000 (17:19 +0100)]
s3-winbindd: workaround for samr_ChangePasswordUser3 to User2 fallback for w2k dcs.
Guenther
Günther Deschner [Thu, 13 Nov 2008 15:45:42 +0000 (16:45 +0100)]
pam_winbind: do not add empty blob.
Guenther
Günther Deschner [Thu, 13 Nov 2008 13:44:14 +0000 (14:44 +0100)]
pam_winbind: translate some more string.
boyang, please check.
Guenther
Bo Yang [Thu, 30 Oct 2008 09:53:52 +0000 (17:53 +0800)]
i18n/l10n pam_winbind
Signed-off-by: Günther Deschner <gd@samba.org>
Tim Prouty [Thu, 13 Nov 2008 05:24:00 +0000 (21:24 -0800)]
Fix build break