Günther Deschner [Fri, 30 Nov 2007 13:34:33 +0000 (14:34 +0100)]
Make encode_wkssvc_join_password_buffer() non-static.
Guenther
(This used to be commit
258ef17a266548bc02bed1870fd4ef5a272300b3)
Günther Deschner [Fri, 30 Nov 2007 13:05:53 +0000 (14:05 +0100)]
Merge encode_wkssvc_join_password_buffer() from samba4.
Guenther
(This used to be commit
b1d36cdb86978cb31d470fccf2dc24d366835c36)
Jeremy Allison [Fri, 30 Nov 2007 21:09:04 +0000 (13:09 -0800)]
Add talloc versions of all the next_token() functions.
Now I can really start removing fixed length strings...
Jeremy.
(This used to be commit
0ae61e26547e594e94037d4474a008221e5df8cf)
Jeremy Allison [Fri, 30 Nov 2007 01:47:31 +0000 (17:47 -0800)]
Remove pstrings from clifile.c.
Jeremy.
(This used to be commit
d5658914c2d6ec878d9a11f8a1fa57f1697362e3)
Jeremy Allison [Fri, 30 Nov 2007 01:25:41 +0000 (17:25 -0800)]
Remove PSTRING_LEN from smbd/ nmbd/.
Remove pstring from libsmb/clidfs.c except for a nasty
hack (that will be removed when pstrings are gone from
client/).
Jeremy.
(This used to be commit
cc257b71d13daa47e6f2315d0f07a60eb4aaeca6)
Günther Deschner [Fri, 30 Nov 2007 01:16:46 +0000 (02:16 +0100)]
Fix _reg_perfcount_get_instance_info()
Guenther
(This used to be commit
20c1ba23f2e2902ef7c2237c63addfef2ae75eac)
Günther Deschner [Fri, 30 Nov 2007 00:44:44 +0000 (01:44 +0100)]
Merge recent wkssvc changes from samba4.
Guenther
(This used to be commit
7539fb4c840a9b4429f347cebbda9c631746267a)
Günther Deschner [Tue, 27 Nov 2007 17:09:50 +0000 (18:09 +0100)]
Fix build warning.
Guenther
(This used to be commit
bf4881d7774681e22f270697c7623bde33c30fe0)
Jeremy Allison [Fri, 30 Nov 2007 00:30:18 +0000 (16:30 -0800)]
Fix memleak.
Jeremy.
(This used to be commit
ccacd170472869391bd1e5bc850b1467492b8fa3)
Jeremy Allison [Thu, 29 Nov 2007 21:24:54 +0000 (13:24 -0800)]
Remove the explicit TALLOC_CTX * from cli_struct.
Make us very explicit about how long a talloc ctx
should last.
Jeremy.
(This used to be commit
ba9e2be2b5a59684e854609f9d82ea1633448c62)
Jeremy Allison [Thu, 29 Nov 2007 21:24:14 +0000 (13:24 -0800)]
Remove pstrings. Ensure we validate offsets.
Jeremy.
(This used to be commit
ff06cc34e66a18ba71dd54f6c78b05a45b9f2d85)
Jeremy Allison [Thu, 29 Nov 2007 17:48:33 +0000 (09:48 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit
aff5a52136b85fe82c4acb08d12009187d1fe6c7)
Michael Adam [Thu, 29 Nov 2007 14:16:06 +0000 (15:16 +0100)]
Allow calling "net rpc join" and "net rpc trustdom" without specifying server IP.
This was a logic bug (typo) in a call to get_pdc_ip() in net_find_server().
Michael
(This used to be commit
988c5ff3f47b7508b229464bbed2ca1948d6e27c)
Jeremy Allison [Wed, 28 Nov 2007 22:08:49 +0000 (14:08 -0800)]
Remove unused code (and pstring).
Jeremy.
(This used to be commit
a261a61226248b41be22dd4f2873b5ed82bc2a24)
Volker Lendecke [Wed, 28 Nov 2007 12:43:31 +0000 (13:43 +0100)]
Add a warning for a potential bug I've run into
(This used to be commit
223352e32372f1b055298cfc6f2770043a845e3d)
Michael Adam [Wed, 28 Nov 2007 14:24:18 +0000 (15:24 +0100)]
Give rpcclient a talloc stackframe.
Michael
(This used to be commit
3330394d2d5d58576d9ddb52f60a3e27f31d5198)
Jeremy Allison [Wed, 28 Nov 2007 07:40:54 +0000 (23:40 -0800)]
Remove pstrings from asn1.c.
Jeremy.
(This used to be commit
82f393e60378eb42ddcc740241902eee495719d3)
Jeremy Allison [Wed, 28 Nov 2007 07:10:20 +0000 (23:10 -0800)]
Remove pstrings from namequery.c.
Jeremy.
(This used to be commit
71ccd0c42e0ae66172ca5797be3d3a01f4a67a69)
Jeremy Allison [Wed, 28 Nov 2007 07:00:11 +0000 (23:00 -0800)]
Fixed obvious typo.
Jeremy.
(This used to be commit
9755c5311416f17bac0a848d027cafb3fd487618)
Jeremy Allison [Wed, 28 Nov 2007 06:22:35 +0000 (22:22 -0800)]
Remove unused prototype for smbldap_get_single_pstring().
Don't use pstr_sprintf() on an fstring - change to talloc.
Jeremy.
(This used to be commit
6cae4b5fa1bcb848cb2a28daaafeefd6bcd08274)
Jeremy Allison [Wed, 28 Nov 2007 03:12:42 +0000 (19:12 -0800)]
Save one extra strdup per lp_string. Use talloc_sub_basic()
directly.
Jeremy.
(This used to be commit
f1e401ef5c89ecf12921b7adb228da438521a693)
Jeremy Allison [Wed, 28 Nov 2007 03:05:08 +0000 (19:05 -0800)]
Remove pstring from srv_spoolss_nt.c. All gone from rpc_server/*.c
Jeremy.
(This used to be commit
b5a2a1e3f82a0d319fc9a1d76f5166150680f4d4)
Jeremy Allison [Wed, 28 Nov 2007 01:50:39 +0000 (17:50 -0800)]
Fix old cut-and-paste bug where the wrong field was being written to.
Jerry please check.
Jeremy.
(This used to be commit
6a556fd73ac8c247c15df664f7910f8688abfdbc)
Jeremy Allison [Wed, 28 Nov 2007 01:48:59 +0000 (17:48 -0800)]
Whitespace cleanup.
Jeremy.
(This used to be commit
3052172d2bfe9d787777525e90816394aac2dd54)
Jeremy Allison [Wed, 28 Nov 2007 01:48:44 +0000 (17:48 -0800)]
Make init_unistr2_from_unistr take an explicit talloc context.
Make init_unistr() re-use rpcstr_push_talloc().
Jeremy.
(This used to be commit
04aecde5cfdb00d5aa32f9675c797266aba83c0f)
Jeremy Allison [Tue, 27 Nov 2007 22:35:30 +0000 (14:35 -0800)]
Remove pstrings from everything except srv_spoolss_nt.c.
Jeremy.
(This used to be commit
0002a9e96b0ef78316295a6eb94ff29b64e2f988)
Guenther Deschner [Tue, 27 Nov 2007 20:53:41 +0000 (21:53 +0100)]
fix a obscure compiler warning
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Jeremy,
I have never seen this warning before:
"warning: comparison is always false due to limited range of data type".
Guenther
- --
Günther Deschner GPG-ID:
8EE11688
Red Hat gdeschner@redhat.com
Samba Team gd@samba.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iD8DBQFHTIOOSOk3aI7hFogRArxMAJwP0ktE96tHcwn9nXG6AOqonpeDgQCgm/zi
54B6HJZvx6zdUTMFFNWqUb0=
=kUJa
-----END PGP SIGNATURE-----
>From
6a4935ee455adc1251fce2759f97d35f303bd40e Mon Sep 17 00:00:00 2001
From: =?utf-8?q?G=C3=BCnther=20Deschner?= <gd@samba.org>
Date: Tue, 27 Nov 2007 21:48:39 +0100
Subject: [PATCH] Getting rid of "comparison is always false due to limited range of data type"
warning.
Guenther
(This used to be commit
951202913956e113841585f7372e8db8f9aeb76a)
Jeremy Allison [Tue, 27 Nov 2007 19:22:58 +0000 (11:22 -0800)]
Remove pstring from everything in rpc_server except
srv_spoolss_nt.c and srv_srvsvc_nt.c.
They're next :-).
Jeremy.
(This used to be commit
55b4f9d003b036af69085f7b64e0df08c5ba440d)
Günther Deschner [Tue, 27 Nov 2007 17:01:56 +0000 (18:01 +0100)]
Unless talloc has some new magic there is a ctx missing here.
Guenther
(This used to be commit
172f7ce96dc12cfc7d2209d8ed56aeebefd6207b)
Michael Adam [Tue, 27 Nov 2007 15:36:06 +0000 (16:36 +0100)]
Use the proper boolean constants - the type has been
changed from BOOL to bool.
Michael
(This used to be commit
03673f2cd614526e7720275a5ba0869c68429f4d)
Volker Lendecke [Sun, 25 Nov 2007 09:10:52 +0000 (10:10 +0100)]
Remove some statics
(This used to be commit
1fab16ffb888cd4ec18e52d9da33976a67a5d104)
Jeremy Allison [Tue, 27 Nov 2007 01:24:56 +0000 (17:24 -0800)]
Remove pstrings from nsswitch/ and registry/
Jeremy.
(This used to be commit
331c0d6216e1a1607a49ed7eb4078e10138ec16a)
Volker Lendecke [Sat, 24 Nov 2007 16:27:19 +0000 (17:27 +0100)]
Remove a global
(This used to be commit
3088bc76f1ceffecaa5aea039be79973c9876f0c)
Volker Lendecke [Mon, 26 Nov 2007 14:28:13 +0000 (15:28 +0100)]
Volker Lendecke [Mon, 26 Nov 2007 13:30:50 +0000 (14:30 +0100)]
Improve debug message
Fix bug 5056, thanks to debian package maintainer
(This used to be commit
5b4ba4bfc54e2fa468abe15383e5b33eb5bd1324)
Volker Lendecke [Mon, 26 Nov 2007 10:55:55 +0000 (11:55 +0100)]
Fix a C++ warning
(This used to be commit
9bf5ead4b2be57fa84e5b3137bfa0305a916f10f)
Tomoki AONO [Sat, 24 Nov 2007 16:59:40 +0000 (01:59 +0900)]
1. lib/system.c (xattr code for Solaris) could not be
built against c90 compilers. (declaration after
statement.) Sample patch attached.
(This used to be commit
102a247df99967f25dbaf40c9be2d48a8e15c64c)
Volker Lendecke [Sun, 25 Nov 2007 11:54:52 +0000 (12:54 +0100)]
In libsmbclient, map NT_STATUS_OBJECT_PATH_NOT_FOUND to ENOENT
Thanks to SATOH Fumiyasu!
This fixes bug 4974
(This used to be commit
41e07682dc1fa535ddaf405efa26fabb33c8bbf9)
Volker Lendecke [Sat, 24 Nov 2007 15:32:38 +0000 (16:32 +0100)]
Remove a static
(This used to be commit
85a84f72ffc440fb71744cb72de2dba07793123c)
Volker Lendecke [Fri, 23 Nov 2007 11:04:35 +0000 (12:04 +0100)]
Make remote_password_change return malloced error strings
This fixes a segfault in smbpasswd -r
(This used to be commit
49949f0b85007c7c2b3c340c12f3d18909862135)
Volker Lendecke [Fri, 23 Nov 2007 13:34:13 +0000 (14:34 +0100)]
add talloc_stackframe() to eventlogadm
Thanks to Günther Kukkukk for noticing
(This used to be commit
9751cc222c70fd669a1cc1ad61ffb4e2e8444019)
Stefan Metzmacher [Fri, 23 Nov 2007 10:51:33 +0000 (11:51 +0100)]
printing: fix default printing subsystem detection
"system/printing.h" includes an outdated copy of
the stuff in samba3's includes.h, so we should not use it.
metze
(This used to be commit
0a7338abfabaf31c2cbd81fb4ac8f1ce45735bed)
Stefan Metzmacher [Wed, 21 Nov 2007 15:41:12 +0000 (16:41 +0100)]
smbd: close_stat() should be static
metze
(This used to be commit
e186b60afacfb609968b581a6d32757e1885a319)
Volker Lendecke [Thu, 22 Nov 2007 14:48:47 +0000 (15:48 +0100)]
Do not link in SOCKET_WRAPPER_OBJ twice
(This used to be commit
99b3289aa44c94c16f5330eba841fd9c21c6303b)
Volker Lendecke [Wed, 7 Nov 2007 19:18:38 +0000 (20:18 +0100)]
Volker Lendecke [Tue, 13 Nov 2007 10:43:48 +0000 (11:43 +0100)]
Add a missing prototype
(This used to be commit
89e2984a84951373d0e93fe06d0c69c8a62bc777)
Volker Lendecke [Mon, 12 Nov 2007 16:36:34 +0000 (17:36 +0100)]
Fix an uninitialized variable
(This used to be commit
e8b866ad87476ef69c06993d255269ce9fba3121)
Volker Lendecke [Fri, 16 Nov 2007 13:48:26 +0000 (14:48 +0100)]
Fix a type-punned warning
(This used to be commit
4c992e4340eda31e686a2d2a8db6364aaa456c11)
James Peach [Thu, 22 Nov 2007 02:31:35 +0000 (18:31 -0800)]
Merge ssh://git.samba.org/data/git/samba into v3-2-test
(This used to be commit
660ea443364e949ed06c28b00f0e1c3757f0da27)
Jeremy Allison [Thu, 22 Nov 2007 01:42:52 +0000 (17:42 -0800)]
Remove pstrings from pam_smbpass - make local_password_change
return malloced strings.
Jeremy.
(This used to be commit
f652fe2bdb7a3a36e83dcf4b08347543fdffb9f0)
Jeremy Allison [Wed, 21 Nov 2007 21:56:36 +0000 (13:56 -0800)]
Remove pstring from printing/*.c except for the
tdb_unpack requirement (I'll be making that an
allocating interface later).
Jeremy.
(This used to be commit
d2ee75326ac291ab4f1860075ba35f58703c7d9d)
Jeremy Allison [Wed, 21 Nov 2007 18:31:18 +0000 (10:31 -0800)]
Doh ! Don't use #else when #endif is needed.
Jeremy.
(This used to be commit
a04e916b89c901911ffc0a62e57a3ec87fe7ac28)
Jeremy Allison [Wed, 21 Nov 2007 18:10:52 +0000 (10:10 -0800)]
Add set_sockaddr_port function for winbindd.
Jeremy.
(This used to be commit
4b47052694285a1d1d313dfd61bd17011d62948d)
Gerald (Jerry) Carter [Wed, 21 Nov 2007 16:27:22 +0000 (10:27 -0600)]
Allocate a talloc_stackframe() in main() for wbinfo.
(This used to be commit
30c9e3557bf4ca0b85e15bd7cc883391aec42f1f)
Gerald (Jerry) Carter [Wed, 21 Nov 2007 16:27:01 +0000 (10:27 -0600)]
Fix unresolved symbols in smbumount from addition of talloc_stackframe().
(This used to be commit
6b62b7dbab559ffc0047790c7ec68c1b30f0eff0)
Jeremy Allison [Wed, 21 Nov 2007 03:17:47 +0000 (19:17 -0800)]
Add talloc stackframe for ntlm_auth.c
Jeremy.
(This used to be commit
6f9c2910bdda605f90967e0aa6a84b8094f3a197)
Jeremy Allison [Wed, 21 Nov 2007 03:05:30 +0000 (19:05 -0800)]
Remove pstrcpy I missed.
Jeremy.
(This used to be commit
f5701756154e4e113414d8dd6c850685a2594801)
Jeremy Allison [Wed, 21 Nov 2007 02:55:36 +0000 (18:55 -0800)]
More pstring removal....
Jeremy.
(This used to be commit
809f5ab4c595740b28425e1667e395a6058b76a8)
Jeremy Allison [Wed, 21 Nov 2007 01:57:47 +0000 (17:57 -0800)]
Remove pstring from services/*.c
Jeremy.
(This used to be commit
33aa866195e232f878230bc62e97e1484996afcc)
Jeremy Allison [Wed, 21 Nov 2007 01:54:01 +0000 (17:54 -0800)]
Ensure we have a talloc stackframe (found by Kukks).
Jeremy.
(This used to be commit
b409f1c3356a72216136411234b345666159c88b)
Jeremy Allison [Wed, 21 Nov 2007 01:18:16 +0000 (17:18 -0800)]
More pstring elimination.
Jeremy.
(This used to be commit
15074de938539e7a9c527d9a6d81792adc2ac3d0)
David Losada Carballo [Wed, 21 Nov 2007 00:45:33 +0000 (16:45 -0800)]
Extend commit module to help with NFS quotas.
Add "commit on eof" and "commit past eof" modes. Patch from David
Losada Carballo with some modifications during the merge.
(This used to be commit
12eee4f7fe27bb4ca376301b959dbfb918b7ba2d)
Jeremy Allison [Tue, 20 Nov 2007 23:31:37 +0000 (15:31 -0800)]
More trivial pstring removal.
Jeremy.
(This used to be commit
bac3bb2f6e9e15b3a9a6a6511c484f8509918ca1)
Jeremy Allison [Tue, 20 Nov 2007 23:31:18 +0000 (15:31 -0800)]
Paranoia check that space_remaining never goes -ve.
Jeremy.
(This used to be commit
76f9c0b2dccffbff7cbf98aa63f50b48ad7cb9cb)
Gerald (Jerry) Carter [Tue, 20 Nov 2007 19:24:03 +0000 (13:24 -0600)]
Prevent segv in winbindd running on a DC using the "idmap backend" syntax.
The number of domains should be counted as they are added and not assumed
to match the loop counter.
manually cherry-picked
8ad2826c48a0d4d26abc3bb209860c776f55822f
(This used to be commit
99b75cada2c4caaec5d30c8351080f0a41e44bd1)
Jeremy Allison [Tue, 20 Nov 2007 02:56:22 +0000 (18:56 -0800)]
Remove more pstring. Unify talloc_sub functions to make
them a better match for replacing string_sub. Remove
more unused code.
Jeremy.
(This used to be commit
ae7885711f504f1442335f09088cbe149a7e00f9)
Jeremy Allison [Tue, 20 Nov 2007 01:51:21 +0000 (17:51 -0800)]
Start to remove some of the pstring functions we're
no longer using.
Jeremy.
(This used to be commit
c21e9bdc1059268adbd14207e74097349676439e)
Jeremy Allison [Tue, 20 Nov 2007 01:43:28 +0000 (17:43 -0800)]
Always check return from push_ascii.
Jeremy.
(This used to be commit
9c3d10521e691169cfbb8b728f123911c3c970ae)
Volker Lendecke [Mon, 19 Nov 2007 11:36:16 +0000 (12:36 +0100)]
Add stackframes to public libsmbclient functions
As we use talloc_tos() in inner libsmbclient/ functions more and more, we need
to make sure not to create memleaks by not free'ing talloc stackframes. This
patch wraps all calls in libsmbclient.c that are publically exported into a
talloc_stackframe()/talloc_free() pair.
Jeremy, Derrell, can you check this?
Thanks,
Volker
(This used to be commit
db9fa472a89eb78a7b1f7cabcf195331c3b448d9)
Jeremy Allison [Mon, 19 Nov 2007 23:15:09 +0000 (15:15 -0800)]
Remove pstring from nmbd.
Jeremy.
(This used to be commit
a317f70c229f7730279eaa323f7ebfd499257f76)
Karolin Seeger [Mon, 22 Oct 2007 11:10:55 +0000 (13:10 +0200)]
Add error message to net rap file and net rap file user
(This used to be commit
759d6bcbec07434667ab8dd9a09f37fbe243c208)
Volker Lendecke [Sun, 18 Nov 2007 13:45:19 +0000 (14:45 +0100)]
Volker Lendecke [Sun, 18 Nov 2007 13:24:54 +0000 (14:24 +0100)]
Fix a valgrind error
(This used to be commit
b82120f9b7f5aad83d8b4ece0261e9693eedca0c)
James Peach [Sun, 18 Nov 2007 21:56:19 +0000 (13:56 -0800)]
Detect Heimdal Kerberos on OpenBSD 4.2.
Patch from Sean McCreary <samba-technical@mcwest.org>.
(This used to be commit
8b0bee7c7688a966777f502c97922d7ad40d841c)
Jeremy Allison [Sat, 17 Nov 2007 01:07:11 +0000 (17:07 -0800)]
Remove pstring from modules directory.
Jeremy.
(This used to be commit
977dc3accb3d440e5fd19591c425da7dc3718d94)
Jeremy Allison [Sat, 17 Nov 2007 01:06:57 +0000 (17:06 -0800)]
Ensure we use PATH_MAX for symlinks.
Jeremy.
(This used to be commit
a90ef69350c5efcf8dcf95d4853cbe3c662d1ba3)
Jeremy Allison [Sat, 17 Nov 2007 01:06:36 +0000 (17:06 -0800)]
Fix bug #4393 smbclient does not store files with zero filesize in tar-archives
from tometzky@batory.org.pl.
Jeremy.
(This used to be commit
f3bd5e828af04f33178a66f9f332199f7d395b7b)
Jeremy Allison [Fri, 16 Nov 2007 21:29:42 +0000 (13:29 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit
01e85f146b32d3ec91f2affb070bfd3516a28333)
Michael Adam [Fri, 16 Nov 2007 21:26:26 +0000 (22:26 +0100)]
Fix for bug #4781: allow cleaning of /etc/mtab by canonicalizing mountpoint.
Canonicalize mountpoint by trimming trailing slashes before unmounting.
This allows for correct cleanup of /etc/mtab after unmounting.
Thanks to Steve Langasek <vorlon@debian.org>.
Michael
(This used to be commit
118fd6213d5f6419f654e9226a41d527c04346f7)
Michael Adam [Fri, 16 Nov 2007 21:22:05 +0000 (22:22 +0100)]
Fix an implicit cast warning.
Michael
(This used to be commit
d2c7417393e58de12b5747b9d6c19aea3c343ea5)
Jeremy Allison [Fri, 16 Nov 2007 21:14:24 +0000 (13:14 -0800)]
Match the 3.0.27a version of this function.
Jeremy.
(This used to be commit
629406cbe77a5d56a258ac414ab47f3e89183e52)
Jeremy Allison [Fri, 16 Nov 2007 02:27:26 +0000 (18:27 -0800)]
Add MAX_DNS_NAME_LENGTH, remove more pstrings.
Jeremy.
(This used to be commit
a1725f4ff7ed375808c78ac661b539557748d0a5)
Jeremy Allison [Fri, 16 Nov 2007 01:59:12 +0000 (17:59 -0800)]
Fix bug noticed by kukks <linux@kukkukk.com> where
ip list didn't match namelist added to subnetdb.
Could cause bogus IP addresses to be reported for
the __SAMBA__ name.
Jeremy.
(This used to be commit
ad9f14b6dcb05e8fa68b51ff26ff40fc445a4631)
Michael Adam [Thu, 15 Nov 2007 23:45:44 +0000 (00:45 +0100)]
Fix the build on RHEL5, when libcap-devel is installed.
The /usr/include/sys/capability.h defines _LINUX_TYPES_H
which prevents /usr/include/linux/types.h from being parsed
(when included afterwards). Thus certain types are undefined
that are for instance needed in /usr/include/linux/dqblk_xfs.h.
This breaks the build of lib/sysquotas_xfs.c.
This commit adds a configure check and a workaround for this.
Michael
(This used to be commit
11bcdf780e164659b89a66e24edc27e89da7619a)
Michael Adam [Thu, 15 Nov 2007 23:34:37 +0000 (00:34 +0100)]
Fix an implicit cast warning.
Michael
(This used to be commit
4ab3b23a630e822e3fdf1ab4d08330625b0e4fb6)
Jeremy Allison [Thu, 15 Nov 2007 22:19:52 +0000 (14:19 -0800)]
More pstring removal. This one was tricky. I had to add
one horror (pstring_clean_name()) which will have to
remain until I've removed all pstrings from the client code.
Jeremy.
(This used to be commit
1ea3ac80146b83c2522b69e7747c823366a2b47d)
Jeremy Allison [Thu, 15 Nov 2007 21:18:42 +0000 (13:18 -0800)]
alpha_strcpy includes the space for the terminating nul.
Jeremy.
(This used to be commit
b3ed3f7e4e40c4f78d4c347411c75de81979455f)
Gerald (Jerry) Carter [Thu, 15 Nov 2007 02:51:14 +0000 (20:51 -0600)]
Fix for CVE-2007-5398.
== Subject: Remote code execution in Samba's WINS
== server daemon (nmbd) when processing name
== registration followed name query requests.
==
== CVE ID#: CVE-2007-5398
==
== Versions: Samba 3.0.0 - 3.0.26a (inclusive)
...
Secunia Research reported a vulnerability that allows for
the execution of arbitrary code in nmbd. This defect may
only be exploited when the "wins support" parameter has
been enabled in smb.conf.
(This used to be commit
e40c372e0ddf631dd9162c1fdfaaa49c29915f23)
Michael Adam [Thu, 15 Nov 2007 10:08:53 +0000 (11:08 +0100)]
Fix bug #5083 (and duplicate bug #5084).
Make solarisacl_sys_acl_get_fd() return a result
when there is one (thereby fixing a memleak).
Thanks to Markus Zell for reporting this.
Michael
(This used to be commit
242fc0099cc81877d8e9630b46dfb8d4a3265d94)
Jeremy Allison [Thu, 15 Nov 2007 00:05:42 +0000 (16:05 -0800)]
Remove smbldap_get_single_pstring() and all pstrings
from pdb_ldap.c. I don't have an LDAP passdb setup here,
so I'm going to need some help on testing this.
Jeremy.
(This used to be commit
00760451b6c2b65f3a8a9187789ca4f270b622a2)
Jeremy Allison [Wed, 14 Nov 2007 18:37:18 +0000 (10:37 -0800)]
Remove pstring from auth/*
Jeremy.
(This used to be commit
72c19d114b40ee307bbe45d9828667165a26d7a3)
Jeremy Allison [Wed, 14 Nov 2007 02:42:42 +0000 (18:42 -0800)]
Remove pstring from param/
This was a little tricky..... I'll watch the
build farm.
Jeremy.
(This used to be commit
d6e2519c67fd015e1089021769de04085fd90894)
Jeremy Allison [Tue, 13 Nov 2007 23:00:48 +0000 (15:00 -0800)]
Remove all pstring from groupdb/
Jeremy.
(This used to be commit
6959c5c7e3e95604c66788b86d5789757e18cc36)
Michael Adam [Tue, 13 Nov 2007 22:26:38 +0000 (23:26 +0100)]
Fix potential orphaned open files.
Calling can_access_file could lead to orphaned open files
when SMB_VFS_GET_NT_ACL returned ENOSYS (not implemented).
Michael
(This used to be commit
f4f700cf0c1657c36e801fab20fe7b1a4efcb714)
Jeremy Allison [Tue, 13 Nov 2007 20:51:31 +0000 (12:51 -0800)]
Remove last pstring from smbd/*.c
Jeremy.
(This used to be commit
f1680bada913af4eaf5c0d686983018d6c8b3e5f)
Michael Adam [Mon, 12 Nov 2007 11:49:40 +0000 (12:49 +0100)]
Fix build of the zfs_acl module.
There was one caller of smb_get_nt_acl_nfs4() forgotten
in the change of return value.
Michael
(This used to be commit
4d3e84a3b3a39d3d2c9b86affa16c8124b1496e5)
Michael Adam [Mon, 12 Nov 2007 11:48:29 +0000 (12:48 +0100)]
Fix the build: correct prototype.
Adapt prototype of smb_get_nt_acl_nfs4() in the header file, too.
Michael
(This used to be commit
a2949fd7a567ba3357024c9e4a8429733009dde4)
Volker Lendecke [Sat, 13 Oct 2007 19:06:49 +0000 (21:06 +0200)]
Make [f]get_nt_acl return NTSTATUS
(This used to be commit
dcbe1bf942d017a3cd5084c6ef605a13912f795b)
Jeremy Allison [Tue, 13 Nov 2007 02:12:26 +0000 (18:12 -0800)]
More pstring removal from smbd/*.c
Jeremy.
(This used to be commit
01663c2312467ceebeb2e2fb1aa432ad96c626e5)
Jeremy Allison [Tue, 13 Nov 2007 01:59:18 +0000 (17:59 -0800)]
Remove pstrings from lanman.c
Jeremy.
(This used to be commit
7bfd25c75602e25da73710261a54da8e0feea133)