1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

49330 Commits

Author SHA1 Message Date
Günther Deschner
fea323bdf3 s4-smbtorture: add PNP_GetDeviceRegProp test for ntsvcs testsuite.
Guenther
2008-11-17 13:13:20 +01:00
Günther Deschner
7d5f3f51b0 ntsvcs: remove todo from PNP_GetDeviceList.
Guenther
2008-11-17 13:13:01 +01:00
Günther Deschner
f09231254e pam_winbind: rerun genmsg after Bo Yang's fixes.
Guenther
2008-11-17 13:07:50 +01:00
Stefan Metzmacher
327d2be452 s4:dsdb/samdb: don't allow objects without objectClass
We're using @ROOTDSE instead of CN=ROOTDSE.

metze
2008-11-17 11:37:58 +01:00
Bo Yang
29f2ca8ff2 Fix broken msgids in ntstatus_errors
Signed-off-by: Günther Deschner <gd@samba.org>
2008-11-17 11:27:33 +01:00
Andreas Schneider
806a45c3c7 Improve the Gemand pam_winbind translation.
Signed-off-by: Andreas Schneider <anschneider@suse.de>
2008-11-17 11:17:17 +01:00
Kai Blin
5e5ccab372 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.
2008-11-17 08:58:25 +01:00
Andrew Bartlett
a19df19501 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
2008-11-17 13:59:51 +11:00
Andrew Bartlett
3d0a3c1078 Add helpful function for comparison of DATA_BLOB elements 2008-11-17 10:12:13 +11:00
Andrew Bartlett
16a3a2da78 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
2008-11-17 10:07:24 +11:00
Andrew Bartlett
cf5c919c74 Improve debug when SASL search fails 2008-11-17 10:07:09 +11:00
Andrew Bartlett
5b796adb12 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
2008-11-17 10:06:58 +11:00
Andrew Bartlett
00b6343406 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
2008-11-17 10:06:37 +11:00
Andrew Bartlett
8e1934a384 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
2008-11-17 10:06:27 +11:00
Andrew Bartlett
109719de03 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
2008-11-17 10:06:18 +11:00
Andrew Bartlett
9abd45979e Always validate a DN when constructing from a string in python 2008-11-17 10:05:37 +11:00
Stefan Metzmacher
1d9c88b388 s4:dsdb/schema_fsmo: provide "extendedAttributeInfo" and "extendedClassInfo"
metze
2008-11-16 16:37:28 +01:00
Stefan Metzmacher
a1f76f7afe s4:dsdb/schema: add a function to generate the "extendedClassInfo" values
metze
2008-11-16 16:37:28 +01:00
Stefan Metzmacher
3c0f03ade2 s4:dsdb/schema: add a function to generate the "extendedAttributeInfo" values
metze
2008-11-16 16:37:27 +01:00
Stefan Metzmacher
203544e690 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
2008-11-16 16:37:27 +01:00
Stefan Metzmacher
6770fd12cc s4:dsdb/schema: we don't need to use find_syntax_map_by_ad_oid() as the syntax is already known
metze
2008-11-16 16:37:27 +01:00
Stefan Metzmacher
2cff27cefd librpc/ndr: add GUID_hexstring()
metze
2008-11-16 16:37:22 +01:00
Stefan Metzmacher
69af236e77 librpc/ndr: let GUID_from_data_blob() accept a ndr blob or a hex string too
metze
2008-11-16 16:24:34 +01:00
Stefan Metzmacher
1290b1d3d3 s4:librpc/ndr: integrate NDR_MISC into LIBNDR
metze
2008-11-16 16:24:34 +01:00
Stefan Metzmacher
64b6d2d3e3 lib/util: hex_encode_talloc(): fix error path and set talloc name
metze
2008-11-16 16:24:33 +01:00
Andrew Bartlett
536de25fae 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
2008-11-16 16:24:33 +01:00
Stefan Metzmacher
8c2c62c5ea 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
2008-11-16 16:22:08 +01:00
Stefan Metzmacher
45cf68ce8f s4:torture: fix the build with auto dependencies
metze
2008-11-16 16:21:25 +01:00
TAKAHASHI Motonobu
e711d76157 Fix bug 5901: Default for streams_depot location 2008-11-16 13:18:56 +01:00
Jelmer Vernooij
0e553a06ce Remove unused init function in subunit code. 2008-11-16 01:36:17 +01:00
Jelmer Vernooij
12f64285ee Fix merged build. 2008-11-16 01:35:46 +01:00
Jelmer Vernooij
8beecd42f2 Move torture directory to top-level. 2008-11-16 00:58:08 +01:00
Jelmer Vernooij
badfac4412 Move libtorture to top-level. 2008-11-16 00:55:35 +01:00
Günther Deschner
caf0c17e24 s3-spoolss: fix enumports segfault (another malloc vs. talloc candidate).
Guenther
2008-11-15 02:25:17 +01:00
Volker Lendecke
df21095ce8 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
2008-11-15 00:50:33 +01:00
Günther Deschner
216c788b0c pidl: skip generation of noopnum functions in generated s3 server.
Guenther
2008-11-15 00:32:55 +01:00
Günther Deschner
cf06b75f0a pidl: do not generate cli_ functions for noopnum flaged functions.
Guenther
2008-11-15 00:32:55 +01:00
Volker Lendecke
3c98d5bd98 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)
2008-11-14 20:27:46 +01:00
Volker Lendecke
f50ad76750 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)
2008-11-14 20:07:29 +01:00
Volker Lendecke
5a210cc552 Rename some variables in getpwnam_alloc() for clarity 2008-11-14 13:26:40 +01:00
Volker Lendecke
1b41f670fc sys_pwnam doesn't return talloced memory, so don't mix up the returned struct.
(cherry picked from commit eb99923991960e53bd150ac8f1d818cb746101b4)
2008-11-14 12:57:18 +01:00
Jeremy Allison
4c7033df5d Move v2 from timestamp to 16-byte hash. Got the change in before on disk format is fixed.
Jeremy.
2008-11-13 17:18:41 -08:00
Günther Deschner
e76e77c32d s3-svctl-server: fix remote rpc service management (bug #5888).
Don't TALLOC_FREE a non-talloced [ref] pointer.

Guenther
2008-11-13 20:49:38 +01:00
Volker Lendecke
b0107f74a2 fix typo 2008-11-13 17:46:36 +01:00
Günther Deschner
9f1ee827d5 pam_winbind: add german de.po file.
germans, please have a look if this can actually be understood by germans.

Guenther
2008-11-13 17:34:39 +01:00
Günther Deschner
6a61580617 s3-winbindd: workaround for samr_ChangePasswordUser3 to User2 fallback for w2k dcs.
Guenther
2008-11-13 17:33:18 +01:00
Günther Deschner
85dec69171 pam_winbind: do not add empty blob.
Guenther
2008-11-13 17:33:10 +01:00
Günther Deschner
540b2df874 pam_winbind: translate some more string.
boyang, please check.

Guenther
2008-11-13 17:32:18 +01:00
Bo Yang
a8722a190b i18n/l10n pam_winbind
Signed-off-by: Günther Deschner <gd@samba.org>
2008-11-13 12:43:58 +01:00
Tim Prouty
5e25f5f4f2 Fix build break 2008-11-12 21:24:00 -08:00