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

28769 Commits

Author SHA1 Message Date
Günther Deschner
3e67dfcf87 re-run make idl.
Guenther
(This used to be commit bad8b5e010adcd9df85c4b3a58678112d328e6b7)
2008-06-03 01:27:39 +02:00
Günther Deschner
93baa93208 idl: add NetGroupAdd() to libnetapi.
Guenther
(This used to be commit 7d1ca6f73407d9752402c84da4b41e224a434181)
2008-06-03 01:27:39 +02:00
Jeremy Allison
11ef7d202a Fix by Bo Yang <boyang@novell.com> for bug with winbindd trusted domain child
not keeping primary domain online status up to date.
Jeremy.
(This used to be commit 0621c7c8161b7b94cc9249ab3e71855d3030b6fb)
2008-06-02 15:26:37 -07:00
Volker Lendecke
9a6502a96b Fix location of smbldap-tools
Thanks to Miguel Medalha <miguelmedalha@sapo.pt> for pointing this out
(This used to be commit 359b8d53d839bbf503915004c52bce9f09e6d785)
2008-06-02 10:55:32 +02:00
Jeremy Allison
346dbc62b8 Split the winbindd_passdb backend into a 'builtin' and a 'sam'
backend. This allows winbindd when running on a Samba PDC to
correctly answer wbinfo -u lists and other queries.
Jeremy.
(This used to be commit e61ad0c1586733ae1d3518ce56d95094d1ac5ef9)
2008-05-30 23:49:36 -07:00
Chere Zhou
70b37891f9 minor memory leak fix
(This used to be commit 0c61631f345436bf88e93219c139af8cfbeea18b)
2008-05-30 17:55:14 -07:00
Jeremy Allison
4408fdaf29 Fix valgrind bug in debug statement. Don't reference uninitialized memory.
Jeremy.
(This used to be commit 25e76a19f22cdf726928d6c4b165745de9e455d6)
2008-05-30 17:53:16 -07:00
Jeremy Allison
908812e98d Fix bug #5504. winbindd children and parent were handing SIGTERM in the same way - deleting the socket!
Jeremy.
(This used to be commit 3ab5a3883e33eba159152aa02544d71f047c7e45)
2008-05-30 17:52:54 -07:00
Jeremy Allison
a991c5a7c3 Merge branch 'v3-3-test' of ssh://jra@git.samba.org/data/git/samba into v3-3-test
(This used to be commit 3d01248f63d0d476c16236453983ffe759d0b2c2)
2008-05-30 10:09:22 -07:00
Jeremy Allison
2e9136e085 From Michael R Sweet <mike@easysw.com>.
All,

Noticed that smbspool.c still has my Easy Software Products copyright
on it.  The following patch fixes it to match the other code I've
contributed over the years...

Jeremy.
(This used to be commit 9f5897e28dfa0d0563cd2568b4bedc601681e41b)
2008-05-30 10:08:27 -07:00
Derrell Lipman
3e20aeb18e Working on bug #5475
- Add code to test whether smbc_stat() munges future smbc_getxattr() results.

Derrell
(This used to be commit 5f6b301f92e9e9d5ee1dab9ef8eca2cc77e12941)
2008-05-30 10:38:35 -04:00
Derrell Lipman
cf4b2f4d24 Update libsmbclient examples to match new libraries
- talloc and tdb have been moved to separate libraries.  Link with those.

Derrell
(This used to be commit e4060ad864ec9d4e9092a832c3c664ee31b6125a)
2008-05-30 10:24:55 -04:00
Volker Lendecke
4f0626ee09 Fix security=server, bug 5502
This has brown paper bag quality and is definitely needed for 3.2.0.

Thanks to Orion Poplawski for reporting this!

Volker
(This used to be commit 3b31f8cce3703645a57778bc752bc9b9e853df5d)
2008-05-30 11:46:34 +02:00
Marc VanHeyningen
ad00ecd358 Tiny memory leak
(This used to be commit e7f76a0c65085dd1e7b50ea3537e11922e7d9ecd)
2008-05-29 14:26:50 -07:00
Jeremy Allison
433a05c1ab Fix winbindd on a PDC by reverting : 83b04c60fac76ccd2d5aecb14f8896a07d488b1f..6e66512d5beb256a44c6703cdb8c7fa7e0fd8537.
We still need to address https://bugzilla.redhat.com/show_bug.cgi?id=429024, but this
will come later.
Jeremy.
(This used to be commit 41e20becf3b976656f60aaec9175df329803b012)
2008-05-29 10:37:52 -07:00
Jeremy Allison
d36434f312 Security fix for CVE-2008-1105: Boundary failure when parsing SMB responses
can result in a buffer overrun.
Jeremy.
(This used to be commit 23b825e9d2c74c5b940cf4d3aa56c18692259972)
2008-05-28 09:31:42 -07:00
Günther Deschner
611072fc1c Fix Bug #5285. (libcap header mismatch)
Can someone with gpfs available test this ? The only codepath using this
function is the modules/gpfs.c module. The fix resolves at least the build
issues Samba has with recent kernel / libcap versions by using the portable
cap_get_proc()/cap_set_proc() interface (instead of using capget/capset).

Guenther
(This used to be commit 177955141247a4eb56ba0d82dc1add7f52175c40)
2008-05-28 13:22:52 +02:00
Michael Adam
87c15f5a57 lib/events: use mem_context given to event_context_init().
Michael
(This used to be commit f872a1f4428ed64bcfd832d981eea6446f05339e)
2008-05-28 01:10:55 +02:00
Michael Adam
af6e91e0b3 fix build: add missing prototype of msg_close_file()
Michael
(This used to be commit 1a6f91755c412ab683c09f54e8ce76a66ed2bd19)
2008-05-28 01:10:54 +02:00
Michael Adam
22174515e1 fix the build after prototype change.
Michael
(This used to be commit d96634d037c76c36519bc9cac14dfa29c37a3213)
2008-05-28 01:10:54 +02:00
Günther Deschner
95d873ac1f build: Fix the build after prototype change.
Guenther
(This used to be commit 68327e577dd12c157b0d7581b38c7a8dc06e08c7)
2008-05-28 00:53:04 +02:00
Jeremy Allison
5e4d4c8ace A few cleanups from Chere Zhou <chere.zhou@isilon.com>.
Jeremy.

Conflicts:

	source/utils/net_rap.c
	source/utils/net_rpc.c
(This used to be commit ac0c2fb6e8c3d1b14a6e7490857a414a5fac6bb5)
2008-05-27 13:56:55 -07:00
Jeremy Allison
d5d4a9511d Memory leak fixes from Chere Zhou <czhou@isilon.com>.
Jeremy.
(This used to be commit 201bcc8ed291b51be6f4508c6aa1cb17ce6dcbe3)
2008-05-27 12:27:57 -07:00
Jeremy Allison
6811dc3fc2 Allow server manager to close open files selected by id.
Jeremy.
(This used to be commit 7eeed8bb41059ec2bddedb6a71deddeec7f33af2)
2008-05-27 11:25:46 -07:00
Gerald (Jerry) Carter
7df9e11f15 Remove autogenerated html file form using_samba
(This used to be commit 94090f196a400651314530324e86c374f5a05657)
2008-05-27 12:33:02 -05:00
Gerald (Jerry) Carter
e1cf19b2d8 Adding initial copy of "Using Samba (3rd ed)"
(This used to be commit b77c46a36366d25dcdbc476963fbf43aaa4b9801)
2008-05-27 12:02:43 -05:00
Gerald (Jerry) Carter
9acd33131c Add simple script to build docs
(This used to be commit 0865f4615d3ee91673dd6d02c6537765f34b3129)
2008-05-27 12:02:41 -05:00
Jelmer Vernooij
5f6d0078d4 Depend on latexfigures files directly as using a rule in between causes problems.
(This used to be commit bf3c2773f94c1db29a8a3e5935ff587f16f9a905)
2008-05-27 18:40:14 +02:00
Gerald (Jerry) Carter
55da8e64e5 Work around iconv conversion failure from generated smb.conf.5 on Ubuntu 8.04.
Have no idea why the previous sequence of characters was causing
iconv to choke on my Ubuntu 8.04.  Reword the entry some
for clarity and to advoid this failure.
(cherry picked from commit b0b4bd2466658deacb1de3d58154bcc8d198d675)
(This used to be commit 4d89c39f267a5623f7050ff8db94bcdd191fca23)
2008-05-27 10:51:24 -05:00
Günther Deschner
b7f745b200 wbinfo: prompt for password when none has been given.
Guenther
(This used to be commit 7c1f36d84a4c5779ea86923be69e209d0c9c0943)
2008-05-27 16:48:03 +02:00
Günther Deschner
7cc9b5c5a1 drsuapi: fix data_blob_free() caller (this call is quite different in s3 and 4).
Guenther
(This used to be commit 895036829c137558f7c03c31a8747a51fd290d18)
2008-05-27 16:47:42 +02:00
Günther Deschner
b7ef085072 libwbclient: fix typo.
Guenther
(This used to be commit 83c4a278dfefcef14a9640d319ddf5c7392cd16e)
2008-05-27 16:47:06 +02:00
Günther Deschner
c73cc63e92 dsgetdcname: use family (instead of sa_family).
Guenther
(This used to be commit 355fb81e9e42e507717f33a11793258db9169199)
2008-05-27 11:40:50 +02:00
Günther Deschner
861bb16dba re-run make idl.
Guenther
(This used to be commit b2cdf0f5d04c241791c1462d1b86c587156ac0c7)
2008-05-27 11:40:32 +02:00
Günther Deschner
329d770b3b idl: avoid sa_family as it its a macro on IRIX.
Guenther
(This used to be commit 64815c08558c73bbffeb2fdfc0d5850c4ebf8405)
2008-05-27 11:38:53 +02:00
Günther Deschner
372a6c0360 doserr: add WERR_REVISION_MISMATCH.
Guenther
(This used to be commit 017ad275e51ff2d9ddfb4390979f16868f3e6a3f)
2008-05-27 11:01:30 +02:00
Michael Adam
2f446d9e55 loadparm: fix process_registry_shares() when there is only [global] in registry.
This fixes testparm printing "Error loading services." when there is only
the global section in registry and no other service definition.

Michael
(This used to be commit 28d197220038b9a47af177b88a8587f865e45de5)
2008-05-27 11:00:30 +02:00
Jeremy Allison
ae51353107 Re-enable the evil "aio write behind" parameter.
Jeremy.
(This used to be commit 5d22ca00bcdf49dcb35468400ac8cc3c57808d0d)
2008-05-26 21:13:05 -07:00
Michael Adam
6cebad5b67 Remove unused function is_trusted_domain_situation().
This combined check has been replaced by is_dc_trusted_domain_situation()
which does not check for lp_allow_trusted_domains().

Michael
(This used to be commit 0a24c038b7bc6edef0021eb121a072cc7e8f9165)
2008-05-26 16:42:25 +02:00
Michael Adam
c5a030a38a winbind: correctly omit check for trusted domain support in cm_prepare_connection
when checking for a trusted domain situation.
This is how it was meant to be:

Otherwise, with a dc-trusted-domain situation but trusted domains disabled,
we would attempt to do a session setup and fail (wouldn't even get a trust
password).

Michael
(This used to be commit a5a51ca8e5971992d9b060d66201b808bd2b7a53)
2008-05-26 16:42:25 +02:00
Michael Adam
6efce4738f passdb: check for is_dc_trusted_domain_situation() in get_trust_pw_hash().
Before fetching legacy password hash, check for trusted domain situation,
but also fail if trusted domain support is not enabled.

Michael
(This used to be commit aa1b8287f44f47f23bd4158112d0a132df04426c)
2008-05-26 16:42:24 +02:00
Michael Adam
48026d814b passdb: add comment explaining logic in get_trust_pw_clear().
Michael
(This used to be commit 5f197c659e9c8a573ba5032c7f90c816df45770c)
2008-05-26 16:42:24 +02:00
Michael Adam
a186e598c4 passdb: in get_trust_pw_clear() correctly fail if trusted domains not supported
(but trusted domain situation was found)

This completes the fix for bugs #5425 and #5451 by Steven Dannemann,
in that now no special cases are left uncovered.

Michael
(This used to be commit 0b26bcd3becb869319bca48bbf244c18b6e8e3dd)
2008-05-26 16:42:24 +02:00
Michael Adam
4de01a909a Add function is_dc_trusted_domain_situation().
This is like is_trusted_domain_situation() except that it does not
check for lp_allow_trusted_domains().

Michael
(This used to be commit a284c8843528972904d142b573f1170a08c97751)
2008-05-26 16:42:24 +02:00
Günther Deschner
09f55d0ef6 rpcclient: add drsuapi dsgetdcinfo call.
Guenther
(This used to be commit 1e883c88cb667a1485de8e8bbaebb43542f43065)
2008-05-26 12:21:11 +02:00
Günther Deschner
6db0efbea0 rpcclient: call drsuapi_DsUnbind() when finished with DsCrackNames call.
Guenther
(This used to be commit d70376fc4faaf9a55337c57035e42afa6a007d1a)
2008-05-26 12:21:11 +02:00
Günther Deschner
db940dbbbb re-run make idl.
Guenther
(This used to be commit d68dcc99c715f9fc1a39f280d76ba21a1fd24e88)
2008-05-26 12:21:11 +02:00
Günther Deschner
51912e551e idl: add drsuapi_DsGetDCInfoCtr3 used by w2k8.
Guenther
(This used to be commit 0e77e71ec3bf6115fa2b6ea74502bdc02b037ab6)
2008-05-26 12:21:11 +02:00
Günther Deschner
b83131a16f rpcclient: simplify drsuapi dscracknames call slightly.
Guenther
(This used to be commit 5611cf42530072bc244a7bed258d3ac959bd0b65)
2008-05-26 12:21:11 +02:00
Michael Adam
33f632b8b5 loadarm: fix testparm with "config backend = registry".
Set the iServiceIndex to "-1" for starup with either config
backend (originally only for text backend). Otherwise,
process_registry_shares() will fail.

Currently, the only user of lp_load_with_registry_shares() is testparm.

Michael
(This used to be commit 5e2b925367241c41793b2eb7a628e9fc9f3ac8ff)
2008-05-26 12:00:13 +02:00