1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-05 09:18:06 +03:00
Commit Graph

57589 Commits

Author SHA1 Message Date
Wilco Baan Hofman
5a7d48f82b Fix writing corrupt REG_SZ to the registry.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-11-15 19:26:50 +01:00
Wilco Baan Hofman
45bb24e939 Fix trailing garbage in the hbin block.
This specifically fixes a problem showing extra bytes of garbage in list and
print in regshell, even though the vk.data_length has the correct size.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-11-15 19:26:50 +01:00
Zahari Zahariev
1e984e6630 Added tests for descriptor inheritance on ldap modify.
Fixed some expected owners and groups.

Signed-off-by: Nadezhda Ivanova <nadezhda.ivanova@postpath.com>
2009-11-15 19:26:02 +02:00
Matthias Dieter Wallnöfer
cc080742bd ldb:python bindings - add a context on "py_ldb_delete"
So the converted DN will be freed after usage.
2009-11-15 14:26:41 +01:00
Matthias Dieter Wallnöfer
6cf43db7fc s4:ldap.py - enhance schema addition test
Don't add only a new objectclass but also a new attribute. Plus let now the
server itself calculate the "lDAPDisplayName" attribute and compare the result.
2009-11-15 14:26:41 +01:00
Matthias Dieter Wallnöfer
df95d5c292 s4:dsdb/repl/replicated_objects - Applicate also here the new "lDAPDisplayName" generator
Also here we've to be sure to generate the attribute correctly if it doesn't
exist yet.
2009-11-15 14:26:41 +01:00
Andrew Bartlett
2c7294bd8f s4:SAMLDB module - Add support for required and generated schema attributes
This missing support found by Microsoft test suite at AD interop event.

Patch by Andrew Bartlett
Enhancements by Matthias Dieter Wallnöfer
2009-11-15 14:26:40 +01:00
Matthias Dieter Wallnöfer
da3d471d10 s4:samdb util - add a call for generating a correct "lDAPDisplayName"
This is needed for the SAMLDB module enhancement regarding schema objects.
The algorithm in pseudo code is located in MS-ADTS 3.1.1.2.3.4.
2009-11-15 14:26:40 +01:00
Volker Lendecke
bf4e8ba048 s3: Fix a memleak in sys_popen
Found with "dfree command" set
2009-11-15 12:49:47 +01:00
Matthias Dieter Wallnöfer
8e320aea71 s4:ldap.py - Deactivates some at the moment pointless test parts
I think those parts should be deactivated since they're result set checks for
lookups which are commented out already.
2009-11-15 10:38:30 +01:00
Volker Lendecke
8e2bbb8a33 Mention typedef struct in README.Coding 2009-11-14 12:56:30 +01:00
Volker Lendecke
f4cf1c56a2 s3: Add min_setup, min_param and min_data to cli_trans_recv
Every caller that expects to receive something needs to check if enough was
sent. Make this check mandatory for everyone.

Yes, this makes the parameter list for cli_trans a bit silly, but that's just
the way it is: A silly protocol request :-)

While there, convert some _done functions to tevent_req_simple_finish_ntstatus.
2009-11-14 12:20:12 +01:00
Volker Lendecke
4a777ec4d7 Attempt to fix the s4 build -- we can not use map_nt_error_from_unix in lib/ 2009-11-14 11:32:38 +01:00
Volker Lendecke
f668e4104f s3: Convert cli_set_unix_extensions_capabilities_send to async 2009-11-14 11:03:28 +01:00
Volker Lendecke
f38edcd61a Introduce tevent_req_poll_ntstatus 2009-11-14 11:03:28 +01:00
Volker Lendecke
c254349261 Introduce tevent_req_simple_finish_ntstatus 2009-11-14 11:03:28 +01:00
Volker Lendecke
6133ab6055 s3: Tiny logic simplification 2009-11-14 11:03:28 +01:00
Erick Nascimento
a3632f22ec s4-drs: DsExecuteKCC() implementation
I implemented the DsExecuteKCC() handling code on kccsrv_execute_kcc().

Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-11-14 12:11:02 +11:00
Björn Jacke
5377d5f894 pam_winbind: fix a printf type mismatch warning 2009-11-14 01:54:53 +01:00
Michael Adam
0ac3c1693c s3:fix a comment typo
Michael
2009-11-14 01:28:58 +01:00
Michael Adam
2e3d9abeaf s3:is_trusted_domain: shortcut if domain name == global_sam_name
A domain can't have a trust with itself.
This saves some roundtrips to the ldap server for ldapsam.

Michael
2009-11-14 01:28:57 +01:00
Michael Adam
144c23893e s3:is_trusted_domain: shortcut if domain name is NULL or empty
This saves some roundtrips to LDAP in an ldapsm setup.

Michael
2009-11-14 01:28:57 +01:00
Michael Adam
7e418bf736 s3:passdb: bump interface VERSION 18->19 (removed uid_to_rid)
Michael
2009-11-14 01:28:57 +01:00
Michael Adam
30ab3a762e s3:passdb: remove the uid_to_rid method - we only need uid_to_sid
Michael
2009-11-14 01:28:50 +01:00
Michael Adam
3b7448de14 s3:pdb_default_uid_to_sid: fix some debug statements.
Michael
2009-11-14 01:27:45 +01:00
Björn Jacke
ec49f28a52 s3/pam: move variable declaration into belonging ifdef section
This fixes a unused variable 'addr' warning on some platforms
2009-11-13 23:32:04 +01:00
Christian Ambach
6540804f40 add e2fsprogs-devel as build dependency this is needed for AD because it contains libcom/libcom_err files and headers
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
Signed-off-by: Michael Adam <obnox@samba.org>
2009-11-13 16:19:41 +01:00
Michael Adam
27f988c234 packaging(RHEL-CTDB): add the current githash to the rpm release number by default
Disable this (to build a release-rpm) by calling

USE_GITHASH=no makerpms.sh

Michael
2009-11-13 16:19:40 +01:00
Michael Adam
05ba2ee810 packaging(RHEL-CTDB): enable parallel build
Michael
2009-11-13 16:19:40 +01:00
Michael Adam
609a600e15 packaging(RHEL-CTDB): fix packaging of pam_winbind.mo file
Michael
2009-11-13 16:19:40 +01:00
Michael Adam
ee7c04e748 packaging(RHEL-CTDB): move the idmap and nss_info modules to the common package
In this layout, this is the package that contains winbindd related stuff.

Michael
2009-11-13 16:19:39 +01:00
Michael Adam
0abe1a3742 packaging(RHEL-CTDB): package the winbind_krb5_locator.so plugin
Michael
2009-11-13 16:19:39 +01:00
Michael Adam
f763886249 packaging(RHEL-CTDB): package the manpage of the winbind_krb5_locator plugin
Michael
2009-11-13 16:19:39 +01:00
Michael Adam
5a0c47df98 packaging(RHEL-CTDB): package the manpage of "ldbrename"
Michael
2009-11-13 16:19:38 +01:00
Michael Adam
c30bd08302 packaging(RHEL-CTDB): package the manpage of "sharesec"
Michael
2009-11-13 16:19:38 +01:00
Michael Adam
bf674dfa09 packaging(RHEL-CTDB): pam_winbindd man page has moved from section 7 to 8
This due to updating the docs tarball to the 3.4 docs.

Michael
2009-11-13 16:19:38 +01:00
Michael Adam
48fa8e4463 packaging(RHEL-CTDB): disable the merged build.
Michael
2009-11-13 16:19:37 +01:00
Michael Adam
a72714e67b packaging(RHEL-CTDB): also pack libwbcient in winbind-32bit package
Michael

Signed-off-by: Michael Adam <obnox@samba.org>
2009-11-13 16:19:37 +01:00
Michael Adam
c7106a6250 packaging(RHEL-CTDB): add new pam_winbind.mo to the common package
Michael

Signed-off-by: Michael Adam <obnox@samba.org>
2009-11-13 16:19:37 +01:00
Michael Adam
0247c2cd41 packaging(RHEL-CTDB): add new binary sharesec to the client package.
Michael

Signed-off-by: Michael Adam <obnox@samba.org>
2009-11-13 16:19:36 +01:00
Michael Adam
837487f1d0 packaging(RHEL-CTDB): add new binary ldbrename to the common rpm
Michael

Signed-off-by: Michael Adam <obnox@samba.org>
2009-11-13 16:19:36 +01:00
Michael Adam
c53de39623 packaging(RHEL-CTDB): fix location of nsswitch/ directory for install
This has been moved to the top level directory in 3.4.

Michael
2009-11-13 16:19:35 +01:00
Michael Adam
2869772e73 packaging(RHEL-CTDB): don't pass CFLAGS to make.
This breaks the build since 3.3 since it overwrites the CFLAGS
set by configure.

Michael
2009-11-13 16:19:35 +01:00
Michael Adam
de3b633983 packaging(RHEL-CTDB): don't "make proto" any more.
This has become unnecessary in 3.3

Michael
2009-11-13 16:19:35 +01:00
Michael Adam
af2c5f2985 packaging(RHEL-CTDB):makerpms.sh: replace source/ by source3/
Michael
2009-11-13 16:19:34 +01:00
Michael Adam
728b01fc03 packaging(RHEL-CTDB):makespec.sh: fix detection of version
Michael
2009-11-13 16:19:34 +01:00
Michael Adam
91cd20a8f4 packaging(RHEL-CTDB): makeversion.sh: v3-4-test uses source3 instead of source
Michael
2009-11-13 16:19:34 +01:00
Michael Adam
b43a09f2a0 packaging(RHEL-CTDB): makerpms.sh: build winbind-32bit libs in the 64bit build
Michael
(cherry picked from commit a9a506b6640986548e2ae8540b7ae93960d6ece5)
2009-11-13 16:19:33 +01:00
Michael Adam
233a05fb93 packaging(RHEL-CTDB): Build winbind-32bit package in the 64bit build
Michael
(cherry picked from commit f5cd88a25f360e6609dc5abe24247fab78af6854)
2009-11-13 16:19:33 +01:00
Michael Adam
0037b31b2f packaging(RHEL-CTDB): extend makespec.sh to extract VENDOR_PATCH from version.h
Michael
(cherry picked from commit fc122aa276bce379b492e5bdf52ab3e03bc3737f)
2009-11-13 16:19:32 +01:00