Simo Sorce [Sun, 29 Jan 2006 18:22:39 +0000 (18:22 +0000)]
r13222: Never assume mode_t is of type int.
We were trashing the stack on machines that define mode_t as uint16_t
(This used to be commit
6c15af31bcee1e82578b61cae10423b37c285f10)
Derrell Lipman [Sun, 29 Jan 2006 04:57:42 +0000 (04:57 +0000)]
r13216: r12422@cabra: derrell | 2006-01-28 23:57:35 -0500
Fix cli_setpathinfo() to actually do what it's supposed to.
Also, get rid of some apparently drug-induced code to deal with create time
which isn't being manipulated anyway.
(This used to be commit
aa25dc1248b15e8e1b39cf8a98496e5aba475c4a)
Derrell Lipman [Sun, 29 Jan 2006 00:11:34 +0000 (00:11 +0000)]
r13214: r12420@cabra: derrell | 2006-01-28 19:10:58 -0500
This should fix bug #3446.
- The authentication domain provided an an SMB URL was being ignored. This
patch fixes that.
- There were a number of places where string copies were not being confirmed to
be properly null-terminated. Now, all string copies in libsmbclient.c are
properly null-terminated.
(This used to be commit
5fbc2fbb461f02ad6c889de2ce9929c605a44e24)
Derrell Lipman [Sat, 28 Jan 2006 22:53:04 +0000 (22:53 +0000)]
r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500
lp_load() could not be called multiple times to modify parameter settings based
on reading from multiple configuration settings. Each time, it initialized all
of the settings back to their defaults before reading the specified
configuration file.
This patch adds a parameter to lp_load() specifying whether the settings should
be initialized. It does, however, still force the settings to be initialized
the first time, even if the request was to not initialize them. (Not doing so
could wreak havoc due to uninitialized values.)
(This used to be commit
f2a24de769d1b2266e576597c57a8e3b1e2a2b51)
Volker Lendecke [Sat, 28 Jan 2006 22:49:25 +0000 (22:49 +0000)]
r13211: Fix remote password changing if password must change is set
The problem was that the ntlmssp bind silently failed in that case, we have to
do it anonymously. Or does anybody have a better idea?
Give a better error message if something else is wrong with the account.
Volker
(This used to be commit
0e24c701ce3755d71de7fdccb9f4564b381bf996)
Volker Lendecke [Sat, 28 Jan 2006 17:08:24 +0000 (17:08 +0000)]
r13209: Make smbpasswd -a work again if passdb did not exist.
Volker
(This used to be commit
e747ea7250b3ff19aee49072a2cf95840ff50b85)
Volker Lendecke [Sat, 28 Jan 2006 11:30:43 +0000 (11:30 +0000)]
r13202: Fix the build for --with-aio-support. Sorry.
Jeremy, configure.in decides whether aio support works quite early in the
sequence of checks. Wouldn't it be better to only use aio support if really
all necessary functions actually are around?
Volker
(This used to be commit
246b5b43566f15732091ec9a775b864399f9418d)
Jeremy Allison [Fri, 27 Jan 2006 23:30:30 +0000 (23:30 +0000)]
r13198: Fix issues exposed by Jerry's testing on 64-bit Solaris
(I hope). Separate 3.0.21b patch sent to Jerry.
Jeremy.
(This used to be commit
837e7ea7e40cedc6b01e023445feb4a90c4bf8b9)
Lars Müller [Fri, 27 Jan 2006 21:49:01 +0000 (21:49 +0000)]
r13197: Add -k switch to dump the data of a single key.
(This used to be commit
23503ff45f2a377728bc5ebb1e6db2755bb5ca2b)
Jeremy Allison [Fri, 27 Jan 2006 19:59:48 +0000 (19:59 +0000)]
r13194: Don't do extra memcpy's unless we're asked to.
Jeremy.
(This used to be commit
f93e1e75563679dc07958168b283dfc0eb2de5b0)
Jeremy Allison [Fri, 27 Jan 2006 19:54:39 +0000 (19:54 +0000)]
r13192: Fix up alignment issues when printing share mode
entries. Add paranioa to debug so we know when an
entry is unused.
Jeremy.
(This used to be commit
fa5fab313e3728ff49c00ca1097242039506f83e)
Jeremy Allison [Fri, 27 Jan 2006 19:24:37 +0000 (19:24 +0000)]
r13190: Fix #3458 from Andriy Gapon <avg@icyb.net.ua>. Don't
access free'd memory.
Jerry please pick up for 3.0.21b !
Jeremy.
(This used to be commit
c0ba64297a00d75cd537693425c6b544e70578c1)
Jim McDonough [Fri, 27 Jan 2006 15:14:55 +0000 (15:14 +0000)]
r13187: IBM Tivoli Directory Server schema updates from John Janosik
<jpjanosi@us.ibm.com>
(This used to be commit
d45cc5e4f38bd1aa69d5c3ae8d19e2ea98976fac)
Jeremy Allison [Fri, 27 Jan 2006 02:35:08 +0000 (02:35 +0000)]
r13176: Fix show-stopper bug for 3.0.21b where 4 leg NTLMSSP SPNEGO
auth was not generating the correct auth header on the 4th
packet. This may fix a lot of Windows client complaints and
is essential for release.
Jeremy.
(This used to be commit
48dd8c732b890e3fd3d8e80ace765487601cfb26)
Jeremy Allison [Fri, 27 Jan 2006 00:09:03 +0000 (00:09 +0000)]
r13175: Actually make adding a new user into an empty pdbtdb
file create the file.
Jeremy.
(This used to be commit
31b3201f537220ec82d6fecbb4c457bfe3dbb9c9)
Jeremy Allison [Thu, 26 Jan 2006 23:55:26 +0000 (23:55 +0000)]
r13172: Fix incorrect error message when new tdb not created correctly.
Jeremy.
(This used to be commit
e5f19ad5ac1b728de4ca5a6c37c0d79b0752f536)
Günther Deschner [Thu, 26 Jan 2006 12:04:43 +0000 (12:04 +0000)]
r13162: Allow to set the flags for a ds_enum_domain_trusts query in rpcclient.
Guenther
(This used to be commit
e52b77b0a4e29387d2333a340868e839683df729)
Simo Sorce [Thu, 26 Jan 2006 00:14:25 +0000 (00:14 +0000)]
r13148: Fix bug: #3413
Check that ldap admin dn is defined in smb.conf before
setting the ldap password in secrets.tdb
Based on patch by William Jojo <jojowil@hvcc.edu>
Simo.
(This used to be commit
c2c004a620ecbd895786dc6f16fb6a616f354a0a)
Jeremy Allison [Wed, 25 Jan 2006 23:00:07 +0000 (23:00 +0000)]
r13147: Raise creds_server_step fail log messages to debug level 2.
These can happen in normal operation (I think - not 100%
sure) and don't want to alarm admins. Jerry please add this
to 3.0.21b.
Jeremy.
(This used to be commit
47178b1b5ad06905f345a0f6b6267701d8aefddb)
Jeremy Allison [Wed, 25 Jan 2006 21:58:06 +0000 (21:58 +0000)]
r13140: Fix swat - make sure it can list running services (ensure loopback_ip)
is defined. Jerry - this needs to be in 3.0.21b.
Jeremy.
(This used to be commit
417ef5bffaefee698cbea4b06aff691f01ac56d1)
Simo Sorce [Wed, 25 Jan 2006 21:29:36 +0000 (21:29 +0000)]
r13138: old fix I forgot to commit
need to access info when using the ldap backend
(This used to be commit
80c0625667f28253e9b6f1ac1a5c88aa8261f9b0)
Simo Sorce [Wed, 25 Jan 2006 21:25:25 +0000 (21:25 +0000)]
r13137: make cleare where long ifdefs ends
(This used to be commit
58e48fef450f71ac15219f73897801c5a66a2c44)
Simo Sorce [Wed, 25 Jan 2006 21:24:51 +0000 (21:24 +0000)]
r13136: Fix handling user sid and user gid
(This used to be commit
65d5abda68fa0cacbff489ea1e4bfeffd58c83cb)
Gerald Carter [Wed, 25 Jan 2006 15:43:15 +0000 (15:43 +0000)]
r13133: patch from Makr Proehl <m.proehl@science-computing.de> for dumping server role when calling 'testparm -s' (BUG 1336)
(This used to be commit
a4c6eceaaeeeaa6f0af2ae0689631710d36dbd59)
Simo Sorce [Wed, 25 Jan 2006 15:12:18 +0000 (15:12 +0000)]
r13132: Old fix from Lars
tx
(This used to be commit
4488e1debb00f6e3b53c71826a91bae001250902)
Gerald Carter [Wed, 25 Jan 2006 05:27:23 +0000 (05:27 +0000)]
r13127: more spec file fixes for RHEL
(This used to be commit
8217809d86567fb4f8eb57a4d634b21c3a4c67e5)
Jeremy Allison [Wed, 25 Jan 2006 05:04:08 +0000 (05:04 +0000)]
r13125: Very well spotted crash bug fix for #3343 from
SATOH Fumiyasu <fumiyas@miraclelinux.com>
Jerry please pick this up for 3.0.21b.
Jeremy.
(This used to be commit
3f5860b8fb37e854ccf5d9a80848ef759154f88c)
Gerald Carter [Wed, 25 Jan 2006 04:56:32 +0000 (04:56 +0000)]
r13124: working on RHEL/Fedora packaging for 64-bit platforms and general cleanup
(This used to be commit
4a8e457846a49647c751ae09365539acb5c02ce2)
Jeremy Allison [Tue, 24 Jan 2006 20:15:08 +0000 (20:15 +0000)]
r13119: Fix for #1779 from William Jojo <jojowil@hvcc.edu>
Jeremy.
(This used to be commit
103cac7dd314117b15e27fd263a64beeb36ed6e6)
Gerald Carter [Tue, 24 Jan 2006 17:27:30 +0000 (17:27 +0000)]
r13110: remove an invalid debug message about call get_share_mode_lock() with a NULL service path and fname (we do it all the time internally)
(This used to be commit
e1f75ea63780f4a1661f19554d18bbd73b069c1b)
Jeremy Allison [Mon, 23 Jan 2006 23:19:31 +0000 (23:19 +0000)]
r13095: Fix warnings assigning int to a size_t.
Jeremy.
(This used to be commit
1ca4abffd04bcc46b61acdc12444f3e2aad0afed)
Gerald Carter [Mon, 23 Jan 2006 22:02:52 +0000 (22:02 +0000)]
r13093: adding vendor patch level string as announced on samba-technical ml
(This used to be commit
d40f06018b9197c35a10cc9ab284dd596244f47b)
Jeremy Allison [Mon, 23 Jan 2006 21:57:58 +0000 (21:57 +0000)]
r13091: Fix gcc warning about using '0' with %s.
Jeremy.
(This used to be commit
5f5f87584fec7fdeefeb54de0cb72ae5b1ac9dd4)
Gerald Carter [Mon, 23 Jan 2006 21:57:36 +0000 (21:57 +0000)]
r13089: quick fix to work around building ilbnss_winbind.so on SOlaris when --enable-developer is specified
(This used to be commit
1c7787e4a11c530cec93fa210c97fbe4b38f333a)
Gerald Carter [Mon, 23 Jan 2006 14:47:55 +0000 (14:47 +0000)]
r13086: hooking max connections into 'add share' as well (although the WinXP UI doesn't give you a way to set the value on add
(This used to be commit
e6afdf1df568921c82ce85fdce9456674c3a9a75)
Gerald Carter [Mon, 23 Jan 2006 14:34:26 +0000 (14:34 +0000)]
r13085: hook the max connections spin box in the share properties MMC plugin
dialog to the 'max connections' smb.conf parameter. Also added the max
uses int from the SHARE_INFO_2 structure to the 'modify share command'
(This used to be commit
af68748baae6d2e5ef850c16622d5424fd303ee7)
Gerald Carter [Mon, 23 Jan 2006 14:26:48 +0000 (14:26 +0000)]
r13083: patch suggested by Adam Nielsen for better smbstatus formatting
(This used to be commit
ef69cf96145516ddca44fdb4faddfead26591345)
Gerald Carter [Mon, 23 Jan 2006 14:04:40 +0000 (14:04 +0000)]
r13082: revert an accidentally commited patch (still in progress)
(This used to be commit
e43775fb3156bf29e4e412f01ad2d731aa866323)
Gerald Carter [Mon, 23 Jan 2006 14:02:17 +0000 (14:02 +0000)]
r13081: correct fix for the segv in nmbd caused by a double free on namerec.
(This used to be commit
c908dbc4b260bac72cbc6d25f4728359a6ec8259)
Deryck Hodge [Mon, 23 Jan 2006 00:19:45 +0000 (00:19 +0000)]
r13072: Fix segfault in vfstest and smbtorture.
deryck
(This used to be commit
0fdb062f35b4c4b19bf4122d48a0b4edacfe74ca)
Lars Müller [Fri, 20 Jan 2006 20:22:23 +0000 (20:22 +0000)]
r13058: Add %w macro for the winbind seperator which allows us for example
valid users = %S, %D%w%S
(This used to be commit
6ff25eb8402ed006ac5e081f64bd9e074fe22295)
Gerald Carter [Fri, 20 Jan 2006 01:11:26 +0000 (01:11 +0000)]
r13048: trying to fix the confusion over packaging platforms
(This used to be commit
b99ef469d1057a8e856f3818f5fd0f25db70d4ee)
Gerald Carter [Fri, 20 Jan 2006 01:09:44 +0000 (01:09 +0000)]
r13047: specfile updates from John T.
(This used to be commit
bec01ad3d689766df499ee489d4f4c2f8ba57fdd)
Jeremy Allison [Thu, 19 Jan 2006 22:26:26 +0000 (22:26 +0000)]
r13042: Fix for bug #3248 Stefan Burkei <stefan@burkei.de>.
When doing auth_crap authentication use the client
given workstation name not our own.
Jeremy.
(This used to be commit
a2bb2e3e819c56b710885fc8206632e22a6ec0ce)
Jeremy Allison [Thu, 19 Jan 2006 00:34:48 +0000 (00:34 +0000)]
r13028: Fix for #3419 - vfs_full_audit *never* worked
correctly. Static variables were used !
Jeremy.
(This used to be commit
2ab5aeca895476869f0b50e513a77c9f2558fc56)
James Peach [Thu, 19 Jan 2006 00:30:16 +0000 (00:30 +0000)]
r13027: Support file change notifications from FAM.
(This used to be commit
652b511ff24ce41c7745a0e00363e619e5027828)
Günther Deschner [Thu, 19 Jan 2006 00:03:07 +0000 (00:03 +0000)]
r13024: Add is_null_sid.
GUenther
(This used to be commit
3a6e41a0cb2872a656ea79c8d4fc4b8bce436492)
Jeremy Allison [Wed, 18 Jan 2006 23:42:29 +0000 (23:42 +0000)]
r13023: Ensure we notice if we exit due to guest user setup fail.
Jeremy.
(This used to be commit
f8d09d111ccd8c2805245662e01cd99dba1d9292)
Günther Deschner [Wed, 18 Jan 2006 22:40:00 +0000 (22:40 +0000)]
r13020: Prevent cli_krb5_get_ticket of getting into an infite loop. This whole
area of code needs to be reworked later on.
Guenther
(This used to be commit
088abfcdd1d6b28409d4b2917bc2aeb5d371f675)
Jeremy Allison [Wed, 18 Jan 2006 20:45:44 +0000 (20:45 +0000)]
r13015: Make logic much clearer. From jpeach.
Jeremy.
(This used to be commit
d9b6bdd84a16c8af44049748a0fc47844f597919)
Jeremy Allison [Wed, 18 Jan 2006 19:25:18 +0000 (19:25 +0000)]
r13012: Fix #3421 - it turns out krb5_kt_get_entry() on MIT
does an implicit open/read/close and blows away an
open keytab handle - so make sure we use a new
handle.
Wonderful analysis from Luke <ldeller@xplantechnology.com>
helped fix this.
Jeremy.
(This used to be commit
9d2f2385ad68cbe11bdfb82b5f2d016626f6e679)
Volker Lendecke [Wed, 18 Jan 2006 10:25:04 +0000 (10:25 +0000)]
r12994: Fix cut&paste error, thanks to Björn Jachke <bj@sernet.de>
(This used to be commit
8176f5a2821e897d8ff0b127450c918a2d82b70a)
Volker Lendecke [Wed, 18 Jan 2006 10:05:55 +0000 (10:05 +0000)]
r12993: Ouch...
(This used to be commit
de0347cd706c36a593dba9e46c9106b8215fe656)
Gerald Carter [Wed, 18 Jan 2006 04:56:28 +0000 (04:56 +0000)]
r12991: some fixes for BUG 3331 - solaris packaging
(This used to be commit
b334052108f58cc71898ec0b4b745da1f9d53bec)
Gerald Carter [Wed, 18 Jan 2006 04:44:59 +0000 (04:44 +0000)]
r12990: BUG 3329: patch from David May <mayd@cygnus.uwa.edu.au> for Solaris shell script portability issues in 'make test'
(This used to be commit
19339a9510467b4b2cf3889bc6a08563cdc940f4)
Lars Müller [Tue, 17 Jan 2006 21:22:00 +0000 (21:22 +0000)]
r12986: Use d_fprintf(stderr, ...) for any error message in net.
All 'usage' messages are still printed to stdout.
Fix some compiler warnings for system() calls where we didn't used the
return code. Add appropriate error messages and return with the error
code we got from system() or NT_STATUS_UNSUCCESSFUL.
(This used to be commit
f650e3bdafc4c6bcd7eb4bcf8b6b885b979919eb)
Gerald Carter [Mon, 16 Jan 2006 18:03:56 +0000 (18:03 +0000)]
r12967: BUG 1061: don't corrupt the file name when reading an lmhosts file (-H) in nmbd. Patch from Andrew Esh <Andrew_Esh@adaptec.com>
(This used to be commit
14160c496112e06e4ea0d0a5aa5bad2b58e90601)
Lars Müller [Mon, 16 Jan 2006 17:21:47 +0000 (17:21 +0000)]
r12964: Rewind rem_backend in the case we have to workaround the idmap_ prefix.
Else SAFE_FREE seg faults. Thanks to Günther for pointing me at this.
I've implemented in in this was as we should announce to remove the
idmap_ strip stuff after some time at all.
(This used to be commit
6a5bf399a59b4f07a1560d534629cb14e20b5d3f)
Jeremy Allison [Mon, 16 Jan 2006 05:47:39 +0000 (05:47 +0000)]
r12956: Fix for bug #3035 from SATOH Fumiyasu <fumiyas@miraclelinux.com>
On a Windows share, a file with read-only dosmode can be opened with
DELETE_ACCESS. But on a Samba share (delete readonly = no), it
fails with NT_STATUS_CANNOT_DELETE error.
This semantic causes a problem that a user can not
rename a file with read-only dosmode on a Samba share
from a Windows command prompt (i.e. cmd.exe, but can rename
from Windows Explorer).
Jeremy.
(This used to be commit
dd185c7aa8de156dab58b065bf73905b2a29f40d)
James Peach [Sun, 15 Jan 2006 23:13:47 +0000 (23:13 +0000)]
r12953: Support the TCP_FASTACK socket option if it is available. Note that this will
not acutally help, but it is good to be complete.
(This used to be commit
2163e4b6b453ebf1fefc64e74890300108bbf8f6)
James Peach [Sun, 15 Jan 2006 23:09:17 +0000 (23:09 +0000)]
r12951: Tell the MIPSPro compiler to push DEBUG calls out of line.
(This used to be commit
a346059912c05d2b4a27892571d6e89f44907d5c)
Gerald Carter [Sun, 15 Jan 2006 12:30:36 +0000 (12:30 +0000)]
r12946: fix a segfault in nmbd when 'wins support = yes' caused by double free
(This used to be commit
c11372f4ec49634e2ae2e6b9ddf4d2b72976f9c5)
Jeremy Allison [Sat, 14 Jan 2006 20:25:51 +0000 (20:25 +0000)]
r12938: Fix for #3408 (change password fails) from William Jojo <jojowil@hvcc.edu>.
Jeremy.
(This used to be commit
5fc0ef80876a666c285585f8b55e1909e8f2e0bf)
Lars Müller [Sat, 14 Jan 2006 15:25:33 +0000 (15:25 +0000)]
r12936: Fix bug #3264.
If we detect a leading 'idmap_' for the idmap backend setting we strip
this and inform about the deprecated config with DEBUG 0.
I'm not sure if we should set a TTL of one year or five additional
releases from now for this code.
This is required for the changes Günther made as the first step to solve
bug #3264. With this fix we can even run with an old config. This is
very important as we else will break existing configurations with an
update.
(This used to be commit
34c7d8c0694369760340843318f873e26546cb2e)
Alexander Bokovoy [Sat, 14 Jan 2006 12:37:25 +0000 (12:37 +0000)]
r12935: After discussion with Volker fix bug #3397 using a variant of the patch by Alex Deiter (tiamat@komi.mts.ru).
Introduces level 9 of getuserinfo and allows to successfully install MS SMS2003
on a member of a Samba domain. Also added support for this level in rpcclient.
The code for infolevel 9 is modelled upon Samba-TNG by Alex Deiter.
Jerry, we need this in 3.0.21b.
(This used to be commit
93461646ce2ad6e2f8b11d40ce98722d56a83b43)
Jeremy Allison [Fri, 13 Jan 2006 23:54:12 +0000 (23:54 +0000)]
r12922: Fix typo.
Jeremy.
(This used to be commit
1c32b352da270370e65d25939fdc56c2a415190f)
Jeremy Allison [Fri, 13 Jan 2006 23:23:09 +0000 (23:23 +0000)]
r12920: Fix for #3401 from Andrew Bartlett. Original fix from
Yau Lam Yiu <yiuext@cs.ust.hk>.
Jeremy.
(This used to be commit
4776101107923e425a153fe0457dbf61f4c99935)
Gerald Carter [Fri, 13 Jan 2006 21:22:25 +0000 (21:22 +0000)]
r12916: use rpcstr_pull() instead of unistr_to_ascii() when validating share names
(This used to be commit
c08bc30698eac2f3f5dd8257b4fd7c3e23e6de39)
Gerald Carter [Fri, 13 Jan 2006 20:26:59 +0000 (20:26 +0000)]
r12915: protect against changing the SCM security descriptor
(This used to be commit
5842da99681c15437c11e9925dec24c8c0e3708a)
Gerald Carter [Fri, 13 Jan 2006 20:24:50 +0000 (20:24 +0000)]
r12914: adding query/set ops for security descriptors on services.
(This used to be commit
cefd2d7cb6140b068d66e2383e9acfa4c3c4b4c7)
Gerald Carter [Fri, 13 Jan 2006 19:38:09 +0000 (19:38 +0000)]
r12913: missed merge to fix BUG 3391; ensure we can lookup account policies
(This used to be commit
77575c64e4e961f37ccf5b2dd17e41c74678ea45)
Gerald Carter [Fri, 13 Jan 2006 18:45:30 +0000 (18:45 +0000)]
r12912: patch from Tony Mountifield <tony@softins.co.uk> for BUG 3327 (fix bad access to gencache.tdb after fork() in smbmount
(This used to be commit
68399ce04ca4509d51950d2d7b1ed817e82bf17c)
Günther Deschner [Fri, 13 Jan 2006 14:55:08 +0000 (14:55 +0000)]
r12904: Fix #3264, allow to load idmap_ad with "idmap backend = ad".
Finally cleanup the way idmap modules are build and loaded, idmap_rid
now will have to be loaded without prefix, just "rid".
Guenther
(This used to be commit
a77e02177dcefaaccf863aa8d237ea35a2ec52d1)
Günther Deschner [Fri, 13 Jan 2006 11:19:59 +0000 (11:19 +0000)]
r12901: Fix netfileenum returning WERR_BUF_TOO_SMALL.
Guenther
(This used to be commit
b8ff07b04afe82bdce5d1f69513ce67ecde5b030)
Günther Deschner [Fri, 13 Jan 2006 11:11:23 +0000 (11:11 +0000)]
r12900: Merge from trunk:
Correctly handle the case where users logon with an expired password.
In that case pam_sm_authenticate has to return PAM_SUCESS instead of
PAM_NEW_AUTHTOK_REQD or PAM_AUTHTOK_EXPIRED and pam_sm_acct_mgmt has to
take care of requesting an immediate password change. (see the Linux PAM
documentation).
Fixes Bugzilla #1524, #3205. Tested with login, sshd, kdm and gdm on
Linux.
Thanks to Scott Barker <Scott_Barker@mtechIT.com>.
Guenther
(This used to be commit
4cb662ffd76dbe30003c618c94ccf6ebd4afb48c)
Gerald Carter [Fri, 13 Jan 2006 03:10:50 +0000 (03:10 +0000)]
r12889: BUG 3380: fix crash when changing printer drivers caused by accessing a previously freed pointer
(This used to be commit
bcce3b69f83f52deb308d8c2f5165000468bd552)
Jeremy Allison [Fri, 13 Jan 2006 02:54:46 +0000 (02:54 +0000)]
r12885: Oops. Missed last part of correct patch for #3348.
Caught by Samba4 oplock torture tester.
Jeremy.
(This used to be commit
c2476b2f75f6521700107a46028f54110083aa52)
James Peach [Fri, 13 Jan 2006 00:07:54 +0000 (00:07 +0000)]
r12878: Don't use non-static array initialisers.
(This used to be commit
95b231f0285c65bcdc62cd453cea634f9f5e7f91)
Jeremy Allison [Thu, 12 Jan 2006 22:17:54 +0000 (22:17 +0000)]
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)
Lars Müller [Thu, 12 Jan 2006 18:06:05 +0000 (18:06 +0000)]
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)
Gerald Carter [Thu, 12 Jan 2006 17:37:25 +0000 (17:37 +0000)]
r12870: fixing net rpc registry enumerate from overwritnig the open subkey handle
(This used to be commit
cc2e7052bd05a15f43268ce87dc29506bb5bb5bf)
Jeremy Allison [Wed, 11 Jan 2006 20:23:02 +0000 (20:23 +0000)]
r12855: Remove erroneous commenting out of valgrind fix.
Jeremy.
(This used to be commit
b76c7b613282dc89c54faf3e7cef98f7651c5a9d)
Günther Deschner [Wed, 11 Jan 2006 19:18:40 +0000 (19:18 +0000)]
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)
Derrell Lipman [Wed, 11 Jan 2006 18:22:06 +0000 (18:22 +0000)]
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)
Volker Lendecke [Wed, 11 Jan 2006 12:09:30 +0000 (12:09 +0000)]
r12840: Add -W to smbpasswd. Thanks to William Jojo <jojowil@hvcc.edu>.
Volker
(This used to be commit
2942f3594ba39748dca0238f1e1a5c744a7afffb)
Volker Lendecke [Wed, 11 Jan 2006 12:00:59 +0000 (12:00 +0000)]
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)
Volker Lendecke [Wed, 11 Jan 2006 10:21:23 +0000 (10:21 +0000)]
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)
Tim Potter [Mon, 9 Jan 2006 21:58:40 +0000 (21:58 +0000)]
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)
Gerald Carter [Mon, 9 Jan 2006 15:54:16 +0000 (15:54 +0000)]
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)
Günther Deschner [Mon, 9 Jan 2006 12:59:41 +0000 (12:59 +0000)]
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)
Günther Deschner [Mon, 9 Jan 2006 12:51:57 +0000 (12:51 +0000)]
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)
Volker Lendecke [Sun, 8 Jan 2006 22:00:01 +0000 (22:00 +0000)]
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)
Volker Lendecke [Sun, 8 Jan 2006 15:31:25 +0000 (15:31 +0000)]
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)
Volker Lendecke [Sat, 7 Jan 2006 22:11:30 +0000 (22:11 +0000)]
r12760: Fix bug 3384
(This used to be commit
9d366da172a13fe9fd6e940f95d58dac534f3b31)
Derrell Lipman [Sat, 7 Jan 2006 20:43:36 +0000 (20:43 +0000)]
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)
Derrell Lipman [Sat, 7 Jan 2006 20:43:31 +0000 (20:43 +0000)]
r12758: r12127@cabra: derrell | 2006-01-03 15:22:18 -0500
remove old superfluous comment and ifdef
(This used to be commit
ee7fcb43ad456929f1f005f47c52a4b4d46c5087)
Derrell Lipman [Sat, 7 Jan 2006 20:43:28 +0000 (20:43 +0000)]
r12757: r12126@cabra: derrell | 2006-01-03 15:21:36 -0500
added flag to not request authentication information
(This used to be commit
8396c4b26c9911887ed1c1ce17c31af462ee6883)
Günther Deschner [Fri, 6 Jan 2006 14:55:26 +0000 (14:55 +0000)]
r12742: Don't write null sid mappings into the winbindd_cache.tdb.
Guenther
(This used to be commit
1e0124efc54810125bbfae6dce536b2c4fff62c1)
Volker Lendecke [Fri, 6 Jan 2006 10:27:12 +0000 (10:27 +0000)]
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)
Volker Lendecke [Thu, 5 Jan 2006 11:35:29 +0000 (11:35 +0000)]
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)