1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-14 01:57:53 +03:00

19477 Commits

Author SHA1 Message Date
Günther Deschner
1ea5dfae04 r23380: netr_getdcname returns WERROR not NTSTATUS.
Guenther
(This used to be commit 5e75ea7f2b568d76c8ced5f43171741532cc97c2)
2007-10-10 12:23:12 -05:00
Michael Adam
774ceeea50 r23379: Whitespace cosmetics, to reduce irritating diffs...
Michael
(This used to be commit df30f8d5c2999590aabe1e87f92fbdbafa7052aa)
2007-10-10 12:23:11 -05:00
Gerald Carter
544b376d1a r23377: Patch from Bjoern Jacke <bjoern@j3e.de> to deal
with non-GNU implementations of tr in autogen.sh
(This used to be commit ccc466c56a93906ef5dfa1079796b1a8a44b43c0)
2007-10-10 12:23:11 -05:00
Volker Lendecke
423dfd6707 r23376: More warnings
(This used to be commit a8ec53f022ff66053231818d4a60568675079ede)
2007-10-10 12:23:11 -05:00
Volker Lendecke
075a5dfdc4 r23375: Fix a 64-bit warning
(This used to be commit c592b562fa793c9fb3bd0d84074d4ffaa8f63b64)
2007-10-10 12:23:11 -05:00
Jeremy Allison
713ee9242a r23372: Remove restriction on string length for rpcclient commands.
Jeremy.
(This used to be commit a2cf87f58a0a1dbc468a78347880a2f07443b1d8)
2007-10-10 12:23:11 -05:00
Jeremy Allison
5b11268609 r23371: Fix the misleading comment I added - it really *should*
say "locks chain and returned record", not
"and returns record"
Jeremy.
(This used to be commit bf951e3d7f0310cc624abab11a7fb04c50770425)
2007-10-10 12:23:11 -05:00
Jeremy Allison
68f2b1d9f6 r23370: Traverse in tdb wasn't consistently using the
travlocks.lock_rw for lock read/write types, it
was sometimes using it (tdb_next_lock) and
sometimes explicitly using F_WRLCK instead.
Change this to consistently use travlocks.lock_rw
only.
I'm pretty sure about this fix (else I woudn't
be checking this in :-) but tridge and Volker
please review.
Jeremy.
(This used to be commit d0b64567630ec02eb437aa713847bb23a8be8a60)
2007-10-10 12:23:10 -05:00
Volker Lendecke
4a99ee0236 r23368: Make "winbind:rpc only" a full blown parameter. Thanks to Karolin for
the patch :-)
(This used to be commit 07b71a02aef15b75d281cabeb7140db1bc0bb283)
2007-10-10 12:23:10 -05:00
Andrew Tridgell
422722aad2 r23367: check the "use mmap" option for ldb too
(This used to be commit 15345bbc73b28d07c069fde33d3d4c1f21f107d3)
2007-10-10 12:23:10 -05:00
Michael Adam
c9e21d8770 r23363: Activate rep_pread and rep_pwrite in lib/replace/replace.h.
This fixes the build on a SuSE 6.1. :-)
I guess this had been merely forgotten.

But beware: The implementations of rep_pread and rep_pwrite are
not thread safe.

Michael
(This used to be commit 5f5b93149216eb57872e4291336685b96948681e)
2007-10-10 12:23:10 -05:00
Volker Lendecke
cc2b76b644 r23362: Respect "use mmap" in tdb_wrap_open(). Tridge, you might want to merge
this in your tree.
(This used to be commit c0f40eb5846f617d9c421136b0e1ea593c8d8458)
2007-10-10 12:23:10 -05:00
Jeremy Allison
86d628147c r23359: Fix bug #4537, fix from jens.nissen@gmx.net.
Jeremy.
(This used to be commit 6ea7127f8e592f989a6263e360e809dcfdf98ef0)
2007-10-10 12:23:10 -05:00
Jeremy Allison
55ac16ba74 r23358: Fix from Justin Maggard <jmaggard@infrant.com> - ensure we don't
expire a password if it's explicitly set as ACB_PWNOTREQ.
Jeremy.
(This used to be commit 2ea5a6bd334e31201aa6f93f5c51e42924d36ebd)
2007-10-10 12:23:09 -05:00
Jeremy Allison
51ea3a2d00 r23357: timespec_current() was returning the wrong ns time
(multiplying tv_sec, not tv_usec).
Jeremy.
(This used to be commit bafd3b93f9ce74d7a8e2d6b36735f0977a22882c)
2007-10-10 12:23:09 -05:00
Simo Sorce
34bc0e1883 r23356: We missed to add the 'c' character to the list of valid ones for
shell escaping.

I hate this kind of bugs more than how Jeremy hates off by ones :(

Simo.
(This used to be commit 42d846ff870f93b7eaca316f04c12104330bbca8)
2007-10-10 12:23:09 -05:00
Günther Deschner
454de808a2 r23355: Fix some more build warnings.
Guenther
(This used to be commit 23e25bba8fafb31492b517d63f0a00c5ec07d5da)
2007-10-10 12:23:09 -05:00
Günther Deschner
3e3e359d12 r23354: Fix build warning.
Guenther
(This used to be commit 4ad456e988f0b9b65890b4cf6a4f1b63ef1585b8)
2007-10-10 12:23:09 -05:00
James Peach
a3d1d85a19 r23352: Don't generate stamp-h. AFAICT it is never used.
(This used to be commit d47d1a44e74b3cd02cddf1cf2f22460987102b66)
2007-10-10 12:23:09 -05:00
Jeremy Allison
0ff54fb41d r23349: Fix from Steve Langasek <vorlon@debian.org> to
allow SIGTERM to cause nmbd to exit on awaiting
an interface to come up. Debian bug #168079
Jeremy.
(This used to be commit 9ee310f3d68426da552f084ebcffef6b8ebbf612)
2007-10-10 12:23:08 -05:00
Jeremy Allison
cff8d01a41 r23348: Fix connection reporting on SIGUSR2 (noticed by
Herb).
Jeremy.
(This used to be commit dcb617e550c98de8a4bdcb9b1f7f78ba008fc138)
2007-10-10 12:23:08 -05:00
Jeremy Allison
902daae1c7 r23347: Fix Coverity 363. Dead code elimination.
Jeremy.
(This used to be commit 4524ee2dbcd5c1c66085032de67c6d083f91cb8a)
2007-10-10 12:23:08 -05:00
Jeremy Allison
72e76cb90b r23346: Fix offline caching with XP/Vista. It was an off-by-one
in storing the access mask. I shouldn't have made this
mistake. Damn. Fixes bug #4673.
Jeremy
(This used to be commit 84801d4e83786b9de3d0875a317ca9ed8ff5b3e4)
2007-10-10 12:23:08 -05:00
Jeremy Allison
45dc5e1b92 r23345: Stop Coverity from getting confused.
Jeremy.
(This used to be commit 8e83e4267260201777c753c4e3849d65fd20ae8f)
2007-10-10 12:23:08 -05:00
Volker Lendecke
3f0f678154 r23344: Better error message
(This used to be commit 4042d2cdd2797e2f675ddeb0d288327ca55d9f5b)
2007-10-10 12:23:08 -05:00
Volker Lendecke
f96193a2cb r23343: Fix error return
(This used to be commit 0014ee44b87a4a109c897ffec5f9c38eea442571)
2007-10-10 12:23:07 -05:00
Jeremy Allison
227ba79af9 r23342: Stop Coverity from getting confused.
Jeremy.
(This used to be commit 34144c63ad0d776c0b01f6bd3ce378921f2d31cd)
2007-10-10 12:23:07 -05:00
Jeremy Allison
feb4e7fe4d r23341: pdb interfaces should be versioned. As SAMBA_3_0 and SAMBA_3_0_26
are now identical, use the same version number (16) for both.
Jeremy.
(This used to be commit f2ac311ed408e1f17f468945b34289d4c6b915cc)
2007-10-10 12:23:07 -05:00
Michael Adam
c8883bed7f r23340: Fix typo in debug ouput. Found by Karolin Seeger <ks@sernet.de>.
Michael
(This used to be commit 81c7d152b2cb8fafa3d510c3d35fb86bae1e0856)
2007-10-10 12:23:07 -05:00
Stefan Metzmacher
9bf4687932 r23337: fix a crash bug...I wonder why only HP-UX 11.00 ans 11.11 noticed
it via a SIGBUS...

I missed to remove the samba3 specifc code path to tdb_open_ex()
when I synced lib/tdb/ with samba4. The explicit cast in on tdb_open_ex()
dropped the compiler warning :-(

metze
(This used to be commit 815d2101715d6646fc15ac9f2853cf727cf7fcd8)
2007-10-10 12:23:07 -05:00
Stefan Metzmacher
9d71e20363 r23335: as not all source files include replace.h/config.h
before unistd.h we need to pass -D_FILE_OFFSET_BITS=64
together with -Dpread=pread64 -Dpwrite=pwrite64

metze
(This used to be commit 1716613cc7ab8dec739adadeadbf18937682cd5c)
2007-10-10 12:23:07 -05:00
Stefan Metzmacher
3ae5b71629 r23330: always include "winbind_client.h" as first header
as it brings in "replace.h" this will bring in "config.h"

metze
(This used to be commit d0b7b77fc437288d2e14099209bfd435bd7f1da4)
2007-10-10 12:23:06 -05:00
Stefan Metzmacher
a02badcd4e r23328: don't typedef ber_tag_t when it's already done by openldap
headers on HP-UX (lber_types.h defines _LBER_TYPES_H).

metze
(This used to be commit bd1b28dd3e47c2f244baba4a239b0d6dca57f2d2)
2007-10-10 12:23:06 -05:00
Andrew Tridgell
248a82c0f2 r23323: merged ldb changes from 3.0.26
(This used to be commit 7c9a5c2a3f012a06e9550dc0de7df460c2fd943b)
2007-10-10 12:23:06 -05:00
Gerald Carter
c48b95d497 r23321: remove unused variable (due to mad merge from Centeris patches)
(This used to be commit 1b68302e344df1e35becd26c1959ab0f94d8b3bc)
2007-10-10 12:23:06 -05:00
Michael Adam
706dfe6dca r23317: Fix the build: r23315 was a little overeager in removing the
INIPARSER_OBJ from the bin/net target altogether. I re-add it
in the guise of @BUILD_INIPARSER@ (to NET_OBJ). This also
eliminates the need to have @BUILD_INIPARSER@ in the deps for
the bin/net target.
Same procedure for the pam_winbindd module.

Michael
(This used to be commit 114a80dd2e1ddc577ae6ab336878f48317ce3e98)
2007-10-10 12:23:06 -05:00
Volker Lendecke
86f0e0b3de r23316: Ouch... This would not have run in production without cluster code
anyway.
(This used to be commit ca1d0ff03d038372d5886ff1aa409494721142f4)
2007-10-10 12:23:06 -05:00
Stefan Metzmacher
5ddcf95651 r23315: - don't use the builtin and -liniparser together in bin/net
- unify handling on @BUILD_INIPARSER@

btw: nsswitch/pam_winbind.c doesn't compile anymore on SuSE 10.2!
     I think we should build pam modules by default to notice things
     like this in the build-farm...

metze
(This used to be commit 1f30ac2905989cb27daffcf864cf931c1cf76b67)
2007-10-10 12:23:05 -05:00
Stefan Metzmacher
82e4680b2d r23314: For some systems it's needed to inject replace.h into
the iniparser source code, I do it in a way we can still have
a unmodified copy of iniparser in source/iniparser/
and have the wrapper stuff in source/iniparser_build/.

If the build-farm is happy with this I'll merge it to 3_0_26
tomorrow...

metze
(This used to be commit 43d390d1863e7d8c1cb7c47f2272ee78661c352a)
2007-10-10 12:23:05 -05:00
Volker Lendecke
37569f60f3 r23313: Janitor for tridge:
we need to use tdb_wrap_open in both these backends to allow for
multiple opens.  This is done for notify.tdb. Otherwise we die when a
2nd share with notify is setup
(This used to be commit 40dcccfcf91737ba658fd9e733a431001649d255)
2007-10-10 12:23:05 -05:00
James Peach
4a76fa88b4 r23312: As per Volker, rename the "windbind:ads" parameter "winbind:rpc only".
(This used to be commit cbd083efb9a00db68be24cde10b96da06390d970)
2007-10-10 12:23:05 -05:00
Stefan Metzmacher
e893d7f021 r23309: sync lib/replace with SAMBA_4_0
metze
(This used to be commit 20965d800fcac0c55853fb12cdd36b5836fc7e56)
2007-10-10 12:23:05 -05:00
Stefan Metzmacher
b25bebb960 r23307: move readahead stuff out of libreplace and make it samba3 specific
as we can't replace this function in libreplace and we do
the some stuff for other function in the same way.

metze
(This used to be commit 5e9b84326b4c65799e6fa6550de870d9a7ebba85)
2007-10-10 12:23:05 -05:00
Stefan Metzmacher
dd11ed64aa r23305: merge from samba4:
fix large file support on HP-UX 11.00 and 11.11

metze
(This used to be commit 85a07e24f0c9ea7062b7f8d02279e994bc1b5dc5)
2007-10-10 12:23:04 -05:00
Alexander Bokovoy
ea7f6e7afa r23302: Refactor vfs_gpfs module, fix problems with chmod Tridge has found during ctdb tests
(This used to be commit e150e42ac59494a1da12bb5c9da8c9c935780924)
2007-10-10 12:23:04 -05:00
James Peach
1f8cdb2f2e r23300: AFAICT these are not needed. Jerry, can you please review and revert
if this is not correct.
(This used to be commit 7aa40efd28edcd4d6a5a3a2d790df0af1f5f3fea)
2007-10-10 12:23:04 -05:00
James Peach
7d48db6a62 r23299: Fix the build for !WITH_SENDFILE.
(This used to be commit 87b92e7ebda018f1d6a588748e282dc1a2c50613)
2007-10-10 12:23:04 -05:00
Volker Lendecke
a7efef4d09 r23297: This introduces the winbind:ads parameter which defaults to True. Setting it
to False makes winbind use RPC and not LDAP methods to connect to the DCs,
even when it figured out they are AD.
(This used to be commit 1c1f710e3e2e222c9d91a5650844c1db5ebd5a3a)
2007-10-10 12:23:03 -05:00
James Peach
aded048160 r23295: Apply proto_exists and bin/.dummy dependencies consistently for all
binaries.  Fix vfs_zfsacl build rule in SAMBA_3_0.
(This used to be commit 07fa76c6c7f54a95889415e27ce6d7c199a6a12c)
2007-10-10 12:23:03 -05:00
Michael Adam
0fbe25656c r23291: Undo the somewhat naive change of r23279:
The clear text presentaion of the sid in the ldap expression
does work with w2k3 but not with w2k....

Thanks to Guenther for advising me of this issue.

Michael
(This used to be commit 7e6b0c19f816b52cca257c2837680e70f1af8594)
2007-10-10 12:23:03 -05:00