1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

57473 Commits

Author SHA1 Message Date
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
Michael Adam
30edbb8660 packaging(RHEL-CTDB): The former release number has basically moved into VERSION
Michael
2009-11-13 16:19:32 +01:00
Michael Adam
1e3c4b381a s3:smbd: also fill the memcache with sid<->id mappings in ldapsam_sid_to_id()
not only the persistent idmap cache.

Michael
2009-11-13 16:19:32 +01:00
Michael Adam
d2673253e3 s3:smbd: make idmap cache persistent for "ldapsam:trusted".
This stores the mappings found in the idmap cache (which lives
inside gencache). This cache is already read in sid_to_Xid()
and Xid_to_sid() for ldapsam:trusted, this fills the opposite
direction, massively reducing the number of ldap roundtrips
across smbd restarts.

Michael
2009-11-13 16:19:31 +01:00
Kamen Mazdrashki
5b75201dbb util: str_list_unique() bugfix
j is actually the index of the last element in the list
size of the list though is j+1 <- to make room for the
terminating NULL element
2009-11-13 23:19:06 +11:00
Kamen Mazdrashki
b7839b73b1 util: str_list_unique_2() test implementation
Difference with previous test for str_list_unique() is
that this test allows number of elements and number
of duplicates to be supplied on command line using
--option="list_unique:count=47"
--option="list_unique:dups=7"
2009-11-13 23:19:06 +11:00
Andrew Bartlett
ca12e7bc8f s4:heimdal Import generated files from heimdal tree
We should be able to rebuild these, but a cp is easier :-)
2009-11-13 23:19:06 +11:00
Andrew Bartlett
4f8ba5ad6a s4:heimdal: import lorikeet-heimdal-200911122202 (commit 9291fd2d101f3eecec550178634faa94ead3e9a1) 2009-11-13 23:19:05 +11:00
Andrew Bartlett
5bc87c14a1 s4:heimdal: import lorikeet-heimdal-200909210500 (commit 290db8d23647a27c39b97c189a0b2ef6ec21ca69) 2009-11-13 23:19:05 +11:00
Volker Lendecke
1220534716 Fix large paged search
Signed-off-by: Michael Adam <obnox@samba.org>
2009-11-13 11:36:06 +01:00
Volker Lendecke
92a16b91e8 fix bogus "out of memory" winbind msg
Signed-off-by: Michael Adam <obnox@samba.org>
2009-11-13 11:36:06 +01:00
Andrew Tridgell
c8884e1cf2 s4-ldb: changed the DN checks for \n to warnings
a \n is sometimes allowed in AD (eg in deleted DNs). Until we know
when is really is allowed, treat it as a warning only.
2009-11-13 19:32:47 +11:00
Andrew Tridgell
dbae29de1c s4-ldb: make DN escaping/unescaping consistent
The DN escape function was using the form \c where c is any
character. The unescape function was using \XX where XX is a 2 digit
hex number. The asymmetry led to quite a few problems when we start to
deal with DNs containing escape chars, such as CN=foo\0ADEL:XXX. The
result was a DN that was not accessible.

This patch changes the escaping to follow RFC2253 much more
closely. We accept either type of escape, and produce the two types of
escape, depending on the character being escaped
2009-11-13 19:32:46 +11:00
Volker Lendecke
f9ad5cd133 s3: Convert cli_unix_extensions_version to async 2009-11-13 09:30:30 +01:00
Günther Deschner
3732798008 s3-rpcclient: use the parsed binding string flags for auth choice.
This allows rpcclient to be called like this:

rpcclient ncacn_ip_tcp:w2k8r2[sign,seal] -U administrator%secret -c "dscracknames gd"

Guenther
2009-11-13 01:13:06 +01:00
Jeremy Allison
d2a9f4a272 Remove unused variable warning.
Jeremy.
2009-11-12 14:09:25 -08:00
Jeremy Allison
0363713031 Remove erroneous 'presult = NULL' changes. Now presult only gets set
if NTSTATUS == OK.
Jeremy.
2009-11-12 13:59:25 -08:00