1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

18846 Commits

Author SHA1 Message Date
Jeremy Allison
d86ebaf198 r12885: Oops. Missed last part of correct patch for #3348.
Caught by Samba4 oplock torture tester.
Jeremy.
(This used to be commit c2476b2f75f6521700107a46028f54110083aa52)
2007-10-10 11:06:05 -05:00
James Peach
92092cbcdc r12878: Don't use non-static array initialisers.
(This used to be commit 95b231f0285c65bcdc62cd453cea634f9f5e7f91)
2007-10-10 11:06:05 -05:00
Jeremy Allison
3317484799 r12877: Stop passing structs around in smb messages, instead
always linearize into little-endian. Should fix all
Solaris issues with this, plus provide a cleaner base
moving forward for cluster-aware Samba where smbd's
can communicate across different compilers/architectures
(eventually these message will have to go cross-machine).
Jeremy.
(This used to be commit d01824b78576a034428e1cef73868d1169057991)
2007-10-10 11:06:05 -05:00
Lars Müller
80f2848260 r12871: Merge Volkers rev 12667 from trunk as his analysis hit the nail on the
head.

Volker: Thanks for poking me last week.
(This used to be commit 9a8e1c8b4c302a8e8a4a39b8ec8df2536acfebe2)
2007-10-10 11:06:05 -05:00
Gerald Carter
10b182fe73 r12870: fixing net rpc registry enumerate from overwritnig the open subkey handle
(This used to be commit cc2e7052bd05a15f43268ce87dc29506bb5bb5bf)
2007-10-10 11:06:05 -05:00
Jeremy Allison
e03a68ff7e r12855: Remove erroneous commenting out of valgrind fix.
Jeremy.
(This used to be commit b76c7b613282dc89c54faf3e7cef98f7651c5a9d)
2007-10-10 11:06:05 -05:00
Günther Deschner
54b1c585bb r12853: Fix segfault in "net rpc vampire|samdump" (Bugzilla #3390).
The session key, after beeing set, was zeroed later on by the prs_init
in the CLI_DO_RPC macro.

Guenther
(This used to be commit eaaeaa767e86151886964dcdd9f3186f0b31ed53)
2007-10-10 11:06:04 -05:00
Derrell Lipman
673c356488 r12852: r12150@cabra: derrell | 2006-01-11 13:21:14 -0500
Although RTLD_NEXT was not working properly a number of years ago, it seems to be now.  Replace dlopen(/lib/libc...) with direct use of RTLD_NEXT
(This used to be commit 2b4866500640891fcb1ca7b24997df17f1b077cc)
2007-10-10 11:06:04 -05:00
Volker Lendecke
19563e6744 r12840: Add -W to smbpasswd. Thanks to William Jojo <jojowil@hvcc.edu>.
Volker
(This used to be commit 2942f3594ba39748dca0238f1e1a5c744a7afffb)
2007-10-10 11:06:04 -05:00
Volker Lendecke
933a8ec57e r12839: - apply changes from svn r4963 also for VFS configure - KRB5_CONFIG should not
be used - rename it to KRB5CONFIG

Thanks to Björn Jacke <bj@sernet.de>

Volker
(This used to be commit 9c44fef5bec76d383d25b73ecc01dc1fc25b3f20)
2007-10-10 11:06:04 -05:00
Volker Lendecke
5bad6e3a4a r12837: - configure check for Tru64 EA functions (not yet implemented)
- find Tru64 AIO lib in configure

Thanks to Björn Jacke <bj@sernet.de>

Volker
(This used to be commit 044dc331739d4a1678bbf6347df9725f709f5be3)
2007-10-10 11:06:04 -05:00
Tim Potter
0b192df2ea r12802: Fix for bugzilla #3389 from William Jojo. This fixes failures on AIX in
linking smbd when the symbol table for ld exceeds 65536 bytes.
(This used to be commit 679fc459357d3ddfac1786726e4d2ccdada0b05f)
2007-10-10 11:06:04 -05:00
Gerald Carter
fbbe89ea30 r12794: BUG 3340: patch from William JoJo <jojowil@hvcc.edu> to fix automatic inclusion of aio support on AIX
(This used to be commit f19f7961eef9d9fe345279c5ab35d18dff14e5ea)
2007-10-10 11:06:03 -05:00
Günther Deschner
1e9d8d4857 r12788: Since we have agreed on the case of winbindd names, we can store a
sid_to_name lookup result already after doing a sucessfull name_to_sid
lookup.

Guenther
(This used to be commit 2456832a6d9ad2590dc02e147cc2c2e87d5a3a7a)
2007-10-10 11:06:03 -05:00
Günther Deschner
7745148580 r12787: Revert last commit that removed our logic of memorizing negative
name_to_sid lookups in the cache.

Guenther
(This used to be commit 348d309688260d17d9cdbf11fc54ad30829ceae5)
2007-10-10 11:06:03 -05:00
Volker Lendecke
263cbe122a r12781: Support the level parameter for lsa_lookupsids.
Simplify the interfaces to domain trusts a bit: Nothing outside secrets.c
needs to know we're storing stuff in ucs2.

Volker
(This used to be commit a01fa43ed2d43f79940795b70a330c6a9ddf1b45)
2007-10-10 11:06:03 -05:00
Volker Lendecke
cc58924179 r12771: Apply patch from bug 3374, attempt to fix build on tru64.
Thanks to "The Written Word" -- whoever that is :-)

Volker
(This used to be commit 7d0956f0bd28728fbb8b4c24c4ed3cdcc04e2daf)
2007-10-10 11:06:03 -05:00
Volker Lendecke
92e85d325f r12760: Fix bug 3384
(This used to be commit 9d366da172a13fe9fd6e940f95d58dac534f3b31)
2007-10-10 11:06:03 -05:00
Derrell Lipman
96d0d186db r12759: r12128@cabra: derrell | 2006-01-07 15:34:01 -0500
Incorporate a number of changes suggested by David Collier-Brown  Thanks, David!
(This used to be commit 0ae65b9af566e02eece9bb7865047c037468d470)
2007-10-10 11:06:03 -05:00
Derrell Lipman
f396e2248a r12758: r12127@cabra: derrell | 2006-01-03 15:22:18 -0500
remove old superfluous comment and ifdef
(This used to be commit ee7fcb43ad456929f1f005f47c52a4b4d46c5087)
2007-10-10 11:06:02 -05:00
Derrell Lipman
9a8ca1901c r12757: r12126@cabra: derrell | 2006-01-03 15:21:36 -0500
added flag to not request authentication information
(This used to be commit 8396c4b26c9911887ed1c1ce17c31af462ee6883)
2007-10-10 11:06:02 -05:00
Günther Deschner
850b7c4e87 r12742: Don't write null sid mappings into the winbindd_cache.tdb.
Guenther
(This used to be commit 1e0124efc54810125bbfae6dce536b2c4fff62c1)
2007-10-10 11:06:02 -05:00
Volker Lendecke
4d1d826be4 r12735: After talking to Tridge and Jeremy... This needs to be made more generic
before it goes in.

Volker
(This used to be commit 2c3d5c029a31111e1fe84ddc13c1bfc183d8bfde)
2007-10-10 11:06:02 -05:00
Volker Lendecke
a189257c15 r12721: GPFS 2.4 on Linux will contain some windows semantics, ie share modes and
oplocks across the cluster. Adapt Samba to it.

The gpfs API is called via libgpfs.so. This code is written with dlopen(), so
that you can compile on a system with gpfs installed and later on run on
systems without gpfs available.

So to actually make Samba call gpfs share mode calls you need to compile with
gpfs.h and libgpfs.so around and set 'gpfs share = yes' on the shares you
export from GPFS.

Volker
(This used to be commit 2253b17a1a88555291b59d52c826c81c2b8f7e7f)
2007-10-10 11:06:01 -05:00
Günther Deschner
c3a2101da0 r12714: Fix segfault in pdb_nds.c.
Guenther
(This used to be commit f78c7f8abea4cb598eca78fa3beacee8a3caee20)
2007-10-10 11:06:01 -05:00
Jeremy Allison
2b509f470d r12713: Remove use of uint8_t -> uint8.
Jeremy.
(This used to be commit 4473ac4ef9c86574fc49b1e67089b59b14b6d10d)
2007-10-10 11:06:01 -05:00
Volker Lendecke
d64db1c509 r12678: One more
(This used to be commit f80fe785bcecd1a27df650e3fdbfd01621b9cc58)
2007-10-10 11:06:01 -05:00
Volker Lendecke
3c50ec20fb r12663: Fix a memleak
(This used to be commit 3ee6b732f4210e6de6716364ec166f44f29f4463)
2007-10-10 11:06:01 -05:00
Stefan Metzmacher
1c77c6f7ca r12660: Happy New Year!
metze
(This used to be commit 5cef2c320b22a865f32a25412ce506442e255fc3)
2007-10-10 11:06:01 -05:00
Jeremy Allison
7a1cf83dec r12653: Patch from SATOH Fumiyasu <fumiyas@miraclelinux.com>
for bug #3348. Don't assume owning sticky bit
directory means write access allowed.
Jeremy.
(This used to be commit 1032aa890f53097f87fa97689cb21d908b32093c)
2007-10-10 11:06:00 -05:00
Volker Lendecke
e0c989c949 r12645: Fix some memleaks. This will also be in the trunk checkin that comes next.
Volker
(This used to be commit dc167037b0f3bada390dfdb820cb84ed9a4cfdcf)
2007-10-10 11:06:00 -05:00
Volker Lendecke
1de83ea53b r12603: NO, I'm not claiming maintainership of this.
Fix bug 3351.

Volker
(This used to be commit 082763988d9b1ba1f543452aae47ad3e3be047ef)
2007-10-10 11:06:00 -05:00
Gerald Carter
a74bc28e15 r12593: packaging fixes missed from the 3.0.21 build
(This used to be commit 86952f680af613ec22691ec9a30714d18ff68479)
2007-10-10 11:06:00 -05:00
Volker Lendecke
7773676c1d r12581: And another one :-)
(This used to be commit 3247a4cfc1df27c23806f196257bd8c68cb63176)
2007-10-10 11:06:00 -05:00
Derrell Lipman
cbc97b4e5a r12579: r12122@cabra: derrell | 2005-12-29 12:03:00 -0500
allow for arbitrary option value types
(This used to be commit 64c8e32b6382e48bce5c1f18179e66ca765a70af)
2007-10-10 11:06:00 -05:00
Derrell Lipman
e13d0cb3ec r12576: r12115@cabra: derrell | 2005-12-29 11:16:03 -0500
bug (enhancement) #2651: add option to log debug messages to stderr instead of stdout
(This used to be commit 4182eb99af5b343291a661a87d08edd91fd09a7a)
2007-10-10 11:05:59 -05:00
Derrell Lipman
7919fd0ec8 r12570: r12084@cabra: derrell | 2005-12-29 10:05:16 -0500
do not open connection when only looking for cached connection; also, fix crash caused by missing initialization following recent locale changes
(This used to be commit 0070d816ab53eba047c009604d02f7e088290978)
2007-10-10 11:05:59 -05:00
Derrell Lipman
1d49a2956d r12569: r12083@cabra: derrell | 2005-12-29 09:39:45 -0500
fix line length and make formatting/indentation more consistent
(This used to be commit 3d45023368e651315ff5620345c755c103c91065)
2007-10-10 11:05:59 -05:00
Jeremy Allison
496b678882 r12564: Ensure load_case_tables is always done first.
Jeremy.
(This used to be commit addb5095292d6b201cc85f6acab5ec8e6f8f4404)
2007-10-10 11:05:59 -05:00
Jeremy Allison
c8f28c92a7 r12555: Fix more load_case_table swegfaults. Arggg.
What I'd give for a global constructor...
Jeremy.
(This used to be commit c970d7d0a5ba225465dfb0980989b8817b17c643)
2007-10-10 11:05:59 -05:00
Volker Lendecke
608aa3f41e r12544: Fix segfaults in winbind, smbpasswd and net
(This used to be commit 9ca8edc26e66887d6333943bc6a9776352c657fc)
2007-10-10 11:05:59 -05:00
Gerald Carter
1d5add005d r12541: patch from Oliver Schulze L. <oliver@samera.com.py> to check for rpm v4.3 (CentOS)
(This used to be commit f49f2322d129e9e9270c8bb805bb42c7afbdfb1c)
2007-10-10 11:05:58 -05:00
Jeremy Allison
5a4881bf39 r12522: Try and fix bug #2926 by removing setlocale(LC_ALL, "C")
and replace calls to isupper/islower/toupper/tolower with
ASCII equivalents (mapping into _w variants).
Jeremy.
(This used to be commit c2752347eb2deeb2798c580ec7fc751a847717e9)
2007-10-10 11:05:58 -05:00
Simo Sorce
d186ff5072 r12497: add a simplex option
better usage message
(This used to be commit c007f20c955f224c6a8deeb0b1f82e8432f1b9ab)
2007-10-10 11:05:58 -05:00
Simo Sorce
b7eec4e856 r12495: Crackcheck utility enhancement based on patch sent by Tom Geissler
(This used to be commit aa34304f61bd10cb1f80b4c0c27dd3834dc47fa3)
2007-10-10 11:05:58 -05:00
Jeremy Allison
c4ccc8f37e r12491: End profile fixes from SATOH Fumiyasu <fumiya@samba.gr.jp>.
Jeremy.
(This used to be commit 2187502732e41690bf266f229312bb9c7177cf22)
2007-10-10 11:05:58 -05:00
Derrell Lipman
44db82065a r12485: r12044@cabra: derrell | 2005-12-25 16:46:47 -0500
When enumerating what could be a server name or a workgroup name, first
 check for an existing server structure.  If none exists, then go through
 the previous determination of whether it's a serrver or a workgroup.  This
 should avoid doing a NetBIOS name query each time, if we've already
 connected to the specified server.  (While we're at it, clean up indenting
 and line length in this area of code.)
(This used to be commit 85e4cab1d949f1ab9ce04b96de0b8d1c8113df67)
2007-10-10 11:05:58 -05:00
Volker Lendecke
bd08ae25dc r12477: Remove a gcc -O6 warning
(This used to be commit dd39a37f8e6ab7dad46b180959636f5e402c136d)
2007-10-10 11:05:57 -05:00
Volker Lendecke
a0d2029339 r12476: Apply some const
(This used to be commit a3f102f6c3ada10e74d72944e767b9b263fe83dd)
2007-10-10 11:05:57 -05:00
Volker Lendecke
964feef945 r12475: Actually configure with profile support this time ...
(This used to be commit 9cd4b894ea1e5c0ccfd50f8d2f84180c702d97ee)
2007-10-10 11:05:57 -05:00