1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00
Commit Graph

57497 Commits

Author SHA1 Message Date
Stefan Metzmacher
6c6c8e91ef README.Coding: fix error in "good example"
metze
2009-11-16 10:51:31 +01:00
Stefan Metzmacher
0762893c48 s3:libsmb: avoid passing a function call as function parameter
Using a helper variable makes it easier to "step" into the desired function
within gdb.

metze
2009-11-16 10:13:05 +01:00
Andrew Bartlett
8880170978 s4:dsdb LDB attribute lists must always be a static const char **.
(If they are not, then due to the async code, they will cause a segfault as they reference a reclaimed portion of the stack).

Andrew Bartlett
2009-11-16 10:19:42 +11:00
Endi S. Dewata
8e5f5e3f05 s4:provision - Removed dependency on full Samba 3 schema from FDS 2009-11-16 07:57:40 +11:00
Nadezhda Ivanova
55d2cec640 Fixed some major bugs in inheritance and access checks.
Fixed sd creation not working on LDAP modify.
Fixed incorrect replacement of CO and CG.
Fixed incorrect access check on modify for SD modification.
Fixed failing sec_descriptor test and enabled it.
Fixed failing sd add test in ldap.python
2009-11-15 22:31:44 +02:00
Jelmer Vernooij
7248ff6d8f s3: Remove two more DFSG-nonfree text documents at release time. (Debian bug 2009-11-15 20:52:11 +01:00
Wilco Baan Hofman
df3451aec0 Fix writing corrupt registries because of hardcoded version string in IDL.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-11-15 19:26:51 +01:00
Wilco Baan Hofman
c319b965a1 Fix NULL pointer dereference in libgpo when listing Local Policy which has no security descriptor.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-11-15 19:26:50 +01:00
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