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
Jeremy Allison [Thu, 13 Nov 2008 03:27:50 +0000 (19:27 -0800)]
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jeremy Allison [Thu, 13 Nov 2008 03:27:17 +0000 (19:27 -0800)]
Pretty print out SD's on get/set.
Jeremy.
Tim Prouty [Mon, 10 Nov 2008 06:23:46 +0000 (22:23 -0800)]
s3/s4 build: Add additional LDFLAGS in check_python.m4 to allow it to pass on more systems
I tested on a few different flavors of linux and FreeBSD. I'll keep
an eye on the build machine to see if anything breaks.
Jeremy Allison [Wed, 12 Nov 2008 22:06:47 +0000 (14:06 -0800)]
Fix memory leak in error path, spotted by Martin Zielinski <mz@seh.de>.
Jeremy.
Tim Prouty [Wed, 5 Nov 2008 21:40:03 +0000 (13:40 -0800)]
s3: Add support for storing dos attributes as st_flags in the stat struct.
Some filesystems have support for storing dos attributes directly in
the inode's st_flags and accessing them through the stat struct. This
patch:
- Adds a configure check to see if the special flags are available.
- Implements getting and setting dos attributes in the stat struct and
inode, respectively.
This will not change the existing functionality of any system that
doesn't have the special flags available.
Günther Deschner [Wed, 12 Nov 2008 13:27:51 +0000 (14:27 +0100)]
pam_winbind: fix what data we put into the blobs.
Guenther
Günther Deschner [Tue, 11 Nov 2008 11:36:07 +0000 (12:36 +0100)]
s4-smbtorture: add very basic RPC-NTSVCS test.
Guenther
Günther Deschner [Wed, 12 Nov 2008 08:30:46 +0000 (09:30 +0100)]
s3-build: re-run make samba3-idl.
Guenther
Günther Deschner [Tue, 11 Nov 2008 00:31:48 +0000 (01:31 +0100)]
ntsvcs: fill in some more formerly unknowns in PNP_GetHwProfInfo.
Guenther
Günther Deschner [Wed, 12 Nov 2008 08:21:53 +0000 (09:21 +0100)]
ntsvcs: use both named-pipe endpoints.
Guenther
Günther Deschner [Wed, 12 Nov 2008 08:28:05 +0000 (09:28 +0100)]
s3-rpcclient: correct some former unknonws in cmd_ntsvcs_hw_prof_flags command.
Guenther
Günther Deschner [Wed, 12 Nov 2008 08:36:08 +0000 (09:36 +0100)]
s3-build: re-run make samba3-idl.
Guenther
Günther Deschner [Tue, 11 Nov 2008 00:31:01 +0000 (01:31 +0100)]
ntsvcs: fill in more unknowns in PNP_HwProfFlags IDL.
Guenther
Günther Deschner [Wed, 12 Nov 2008 08:18:55 +0000 (09:18 +0100)]
s3-build: re-run make samba3-idl.
Guenther
Günther Deschner [Wed, 12 Nov 2008 08:23:38 +0000 (09:23 +0100)]
s3-rpcclient: some corrections for the PNP_GetDeviceRegProp client.
Guenther
Günther Deschner [Mon, 10 Nov 2008 23:59:35 +0000 (00:59 +0100)]
ntsvcs: some corrections for the PNP_GetDeviceRegProp IDL.
Guenther
Günther Deschner [Mon, 10 Nov 2008 23:50:35 +0000 (00:50 +0100)]
s3-rpcclient: add ntsvcs_getdevlist command.
Guenther
Günther Deschner [Mon, 10 Nov 2008 23:06:07 +0000 (00:06 +0100)]
s3-rpcclient: add ntsvcs_getdevlistsize command.
Guenther
Günther Deschner [Wed, 12 Nov 2008 08:06:36 +0000 (09:06 +0100)]
errors: add WERR_CM_BUFFER_SMALL.
Guenther
Tim Prouty [Wed, 12 Nov 2008 02:46:21 +0000 (18:46 -0800)]
s3: Add support for make test to use a share dir outside of the prefix dir
Some systems need to have the tdbs (and other files required for samba
to run) on a different filesystem than the share directory that samba
is exporting.
This patch:
- Adds an optional "shrdir" argument to selftest.sh
- If shrdir is specified it will be used, otherwise the default
will be used: "<prefix>/tmp"
- Adds a new configure option: --with-selftest-shrdir
- Plumbs shrdir through Makefile.in and configure.in
Jeremy Allison [Tue, 11 Nov 2008 22:38:59 +0000 (14:38 -0800)]
Fix bug 5891] : smbd crashed when viewing the eventlog exported by "eventlog list"
Don't mix TALLOC and SAFE_FREE().
Jeremy.
Jeremy Allison [Tue, 11 Nov 2008 22:21:09 +0000 (14:21 -0800)]
Fix bug 5889. "delete veto files = no" seems to break.
Jeremy.
Jeremy Allison [Tue, 11 Nov 2008 18:20:24 +0000 (10:20 -0800)]
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jelmer Vernooij [Tue, 11 Nov 2008 16:22:16 +0000 (17:22 +0100)]
Regenerate SWIG output.
Jelmer Vernooij [Tue, 11 Nov 2008 16:11:57 +0000 (17:11 +0100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Tue, 11 Nov 2008 16:10:24 +0000 (17:10 +0100)]
Remove unused variable, fix return.
Michael Adam [Tue, 11 Nov 2008 09:28:40 +0000 (10:28 +0100)]
[s3]vfs_acl_tdb: fix the build.
ndr_push_struct_blob has a different signature in master as well.
Michael
Jeremy Allison [Tue, 11 Nov 2008 04:18:01 +0000 (20:18 -0800)]
Fix the build (ndr_pull_struct_blob has a different signature in master).
Jeremy.
Jeremy Allison [Tue, 11 Nov 2008 01:57:22 +0000 (17:57 -0800)]
Added vfs_acl_tdb.c module to do ACLs completely in userspace. Passes all of RAW-ACLS except for the last test which uses a non-POSIX chown. More testing/documentation to follow.
Jeremy.
Michael Adam [Mon, 10 Nov 2008 08:51:39 +0000 (09:51 +0100)]
[s3]make keytab filename argument mandatory to "net rpc vampire keytab"
This prevents unintended overwriting of the default path /etc/krb5.keytab (e.g.).
Michael
Andrew Bartlett [Mon, 10 Nov 2008 22:45:40 +0000 (09:45 +1100)]
It is not valid to talloc_free() ldb_dn_get_linearized()
Günther Deschner [Mon, 10 Nov 2008 15:08:43 +0000 (16:08 +0100)]
s3-build: re-run make samba3-idl (rid2sid).
Guenther
Günther Deschner [Mon, 10 Nov 2008 14:55:09 +0000 (15:55 +0100)]
s3-samr: remove old samr.idl file.
Guenther
Günther Deschner [Mon, 10 Nov 2008 13:42:27 +0000 (14:42 +0100)]
s4-samr: merge samr_QueryUserInfo{2} from s3 idl. (fixme: python)
Guenther
Günther Deschner [Mon, 10 Nov 2008 13:15:33 +0000 (14:15 +0100)]
s4-samr: merge samr_QueryGroupInfo from s3 idl. (fixme python)
Guenther
Günther Deschner [Mon, 10 Nov 2008 13:09:06 +0000 (14:09 +0100)]
s4-samr: merge samr_QueryAliasInfo from s3 idl. (fixme: python)
Guenther
Günther Deschner [Fri, 7 Nov 2008 13:51:21 +0000 (14:51 +0100)]
s4-samr: merge samr_EnumDomainGroups from s3 idl. (fixme: python)
Guenther
Günther Deschner [Fri, 7 Nov 2008 10:25:01 +0000 (11:25 +0100)]
s4-samr: merge samr_EnumDomainUsers from s3 idl. (fixme: python)
Guenther
Günther Deschner [Fri, 7 Nov 2008 01:57:58 +0000 (02:57 +0100)]
s4-samr: merge samr_EnumDomains from s3 idl. (fixme: python)
Guenther
Günther Deschner [Fri, 7 Nov 2008 01:42:45 +0000 (02:42 +0100)]
s4-samr: merge samr_LookupDomain from s3 idl. (fixme: python)
Guenther
Günther Deschner [Wed, 5 Nov 2008 13:28:17 +0000 (14:28 +0100)]
s4-samr: merge samr_LookupNames from s3 idl. (fixme: python)
Guenther
Günther Deschner [Wed, 5 Nov 2008 12:37:49 +0000 (13:37 +0100)]
s4-samr: merge samr_EnumDomainAliases from s3 idl. (fixme: python)
Guenther
Günther Deschner [Wed, 5 Nov 2008 11:32:24 +0000 (12:32 +0100)]
s4-samr: merge samr_QueryDisplayInfo from s3 idl. (fixme: python)
Guenther
Günther Deschner [Wed, 5 Nov 2008 10:17:22 +0000 (11:17 +0100)]
s4-samr: merge samr_QueryDisplayInfo2 from s3 idl. (fixme: python)
Guenther
Günther Deschner [Wed, 5 Nov 2008 10:15:08 +0000 (11:15 +0100)]
s4-samr: merge samr_QueryDisplayInfo3 from s3 idl. (fixme: python)
Guenther
Günther Deschner [Wed, 5 Nov 2008 09:58:35 +0000 (10:58 +0100)]
s4-samr: merge samr_GetGroupsForUser from s3 idl. (fixme: python)
Guenther
Günther Deschner [Wed, 5 Nov 2008 02:02:37 +0000 (03:02 +0100)]
s4-samr: merge samr_QueryDomainInfo2 from s3 idl. (fixme: python)
Guenther