summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-11-21Allocate a talloc_stackframe() in main() for wbinfo.Gerald (Jerry) Carter1-1/+3
(This used to be commit 30c9e3557bf4ca0b85e15bd7cc883391aec42f1f)
2007-11-21Fix unresolved symbols in smbumount from addition of talloc_stackframe().Gerald (Jerry) Carter1-2/+3
(This used to be commit 6b62b7dbab559ffc0047790c7ec68c1b30f0eff0)
2007-11-20Add talloc stackframe for ntlm_auth.cJeremy Allison1-0/+2
Jeremy. (This used to be commit 6f9c2910bdda605f90967e0aa6a84b8094f3a197)
2007-11-20Remove pstrcpy I missed.Jeremy Allison1-1/+0
Jeremy. (This used to be commit f5701756154e4e113414d8dd6c850685a2594801)
2007-11-20More pstring removal....Jeremy Allison3-69/+120
Jeremy. (This used to be commit 809f5ab4c595740b28425e1667e395a6058b76a8)
2007-11-20Remove pstring from services/*.cJeremy Allison2-148/+211
Jeremy. (This used to be commit 33aa866195e232f878230bc62e97e1484996afcc)
2007-11-20Ensure we have a talloc stackframe (found by Kukks).Jeremy Allison2-6/+10
Jeremy. (This used to be commit b409f1c3356a72216136411234b345666159c88b)
2007-11-20More pstring elimination.Jeremy Allison10-136/+257
Jeremy. (This used to be commit 15074de938539e7a9c527d9a6d81792adc2ac3d0)
2007-11-20More trivial pstring removal.Jeremy Allison6-59/+136
Jeremy. (This used to be commit bac3bb2f6e9e15b3a9a6a6511c484f8509918ca1)
2007-11-20Paranoia check that space_remaining never goes -ve.Jeremy Allison1-2/+10
Jeremy. (This used to be commit 76f9c0b2dccffbff7cbf98aa63f50b48ad7cb9cb)
2007-11-20Prevent segv in winbindd running on a DC using the "idmap backend" syntax.Gerald (Jerry) Carter1-7/+8
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)
2007-11-19Remove more pstring. Unify talloc_sub functions to makeJeremy Allison3-121/+98
them a better match for replacing string_sub. Remove more unused code. Jeremy. (This used to be commit ae7885711f504f1442335f09088cbe149a7e00f9)
2007-11-19Start to remove some of the pstring functions we'reJeremy Allison2-34/+23
no longer using. Jeremy. (This used to be commit c21e9bdc1059268adbd14207e74097349676439e)
2007-11-19Always check return from push_ascii.Jeremy Allison2-1/+12
Jeremy. (This used to be commit 9c3d10521e691169cfbb8b728f123911c3c970ae)
2007-11-19Add stackframes to public libsmbclient functionsVolker Lendecke1-64/+245
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)
2007-11-19Remove pstring from nmbd.Jeremy Allison11-123/+188
Jeremy. (This used to be commit a317f70c229f7730279eaa323f7ebfd499257f76)
2007-11-19Add error message to net rap file and net rap file userKarolin Seeger1-0/+8
(This used to be commit 759d6bcbec07434667ab8dd9a09f37fbe243c208)
2007-11-18Add a commentVolker Lendecke1-1/+7
(This used to be commit 144014096a41de293ce7ec15f82681a469dd3aa1)
2007-11-18Fix a valgrind errorVolker Lendecke1-3/+4
(This used to be commit b82120f9b7f5aad83d8b4ece0261e9693eedca0c)
2007-11-18Detect Heimdal Kerberos on OpenBSD 4.2.James Peach1-0/+17
Patch from Sean McCreary <samba-technical@mcwest.org>. (This used to be commit 8b0bee7c7688a966777f502c97922d7ad40d841c)
2007-11-16Remove pstring from modules directory.Jeremy Allison5-310/+589
Jeremy. (This used to be commit 977dc3accb3d440e5fd19591c425da7dc3718d94)
2007-11-16Ensure we use PATH_MAX for symlinks.Jeremy Allison1-2/+2
Jeremy. (This used to be commit a90ef69350c5efcf8dcf95d4853cbe3c662d1ba3)
2007-11-16Fix bug #4393 smbclient does not store files with zero filesize in tar-archivesJeremy Allison1-4/+3
from tometzky@batory.org.pl. Jeremy. (This used to be commit f3bd5e828af04f33178a66f9f332199f7d395b7b)
2007-11-16Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison2-1/+8
v3-2-test (This used to be commit 01e85f146b32d3ec91f2affb070bfd3516a28333)
2007-11-16Fix for bug #4781: allow cleaning of /etc/mtab by canonicalizing mountpoint.Michael Adam1-0/+7
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)
2007-11-16Fix an implicit cast warning.Michael Adam1-1/+1
Michael (This used to be commit d2c7417393e58de12b5747b9d6c19aea3c343ea5)
2007-11-16Match the 3.0.27a version of this function.Jeremy Allison1-14/+4
Jeremy. (This used to be commit 629406cbe77a5d56a258ac414ab47f3e89183e52)
2007-11-15Add MAX_DNS_NAME_LENGTH, remove more pstrings.Jeremy Allison10-33/+55
Jeremy. (This used to be commit a1725f4ff7ed375808c78ac661b539557748d0a5)
2007-11-15Fix bug noticed by kukks <linux@kukkukk.com> whereJeremy Allison1-1/+9
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)
2007-11-16Fix the build on RHEL5, when libcap-devel is installed.Michael Adam2-0/+21
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)
2007-11-16Fix an implicit cast warning.Michael Adam1-1/+1
Michael (This used to be commit 4ab3b23a630e822e3fdf1ab4d08330625b0e4fb6)
2007-11-15More pstring removal. This one was tricky. I had to addJeremy Allison24-316/+623
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)
2007-11-15alpha_strcpy includes the space for the terminating nul.Jeremy Allison1-3/+6
Jeremy. (This used to be commit b3ed3f7e4e40c4f78d4c347411c75de81979455f)
2007-11-15Fix for CVE-2007-5398.Gerald (Jerry) Carter1-0/+6
== 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)
2007-11-15Fix bug #5083 (and duplicate bug #5084).Michael Adam1-1/+1
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)
2007-11-14Remove smbldap_get_single_pstring() and all pstringsJeremy Allison4-474/+825
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)
2007-11-14Remove pstring from auth/*Jeremy Allison2-16/+43
Jeremy. (This used to be commit 72c19d114b40ee307bbe45d9828667165a26d7a3)
2007-11-13Remove pstring from param/Jeremy Allison2-98/+156
This was a little tricky..... I'll watch the build farm. Jeremy. (This used to be commit d6e2519c67fd015e1089021769de04085fd90894)
2007-11-13Remove all pstring from groupdb/Jeremy Allison3-86/+189
Jeremy. (This used to be commit 6959c5c7e3e95604c66788b86d5789757e18cc36)
2007-11-13Fix potential orphaned open files.Michael Adam1-2/+4
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)
2007-11-13Remove last pstring from smbd/*.cJeremy Allison5-241/+311
Jeremy. (This used to be commit f1680bada913af4eaf5c0d686983018d6c8b3e5f)
2007-11-13Fix build of the zfs_acl module.Michael Adam1-1/+3
There was one caller of smb_get_nt_acl_nfs4() forgotten in the change of return value. Michael (This used to be commit 4d3e84a3b3a39d3d2c9b86affa16c8124b1496e5)
2007-11-13Fix the build: correct prototype.Michael Adam1-1/+1
Adapt prototype of smb_get_nt_acl_nfs4() in the header file, too. Michael (This used to be commit a2949fd7a567ba3357024c9e4a8429733009dde4)
2007-11-13Make [f]get_nt_acl return NTSTATUSVolker Lendecke14-87/+112
(This used to be commit dcbe1bf942d017a3cd5084c6ef605a13912f795b)
2007-11-12More pstring removal from smbd/*.cJeremy Allison1-11/+17
Jeremy. (This used to be commit 01663c2312467ceebeb2e2fb1aa432ad96c626e5)
2007-11-12Remove pstrings from lanman.cJeremy Allison1-54/+148
Jeremy. (This used to be commit 7bfd25c75602e25da73710261a54da8e0feea133)
2007-11-12Remove all pstrings from smbd/chgpasswd.c.Jeremy Allison4-124/+191
Jeremy. (This used to be commit eaf14c701b08e9eff5b94bf57af68cb29142d7fc)
2007-11-12Fix bug #5073. Allow "delete readonly = yes" to correctlyJeremy Allison1-1/+2
override deletion of a file. Fix from David Shaw <dshaw@jabberwocky.com> Jeremy. (This used to be commit 5d1d650d192d4782421b5c3c2be1b632d4318279)
2007-11-11Three more pstring removals.Jeremy Allison3-8/+17
Jeremy. (This used to be commit c15819b75751a1e15cfed2ef94dae10ee72d769c)
2007-11-11Remove a pstring.Jeremy Allison1-4/+11
Jeremy. (This used to be commit c0412b5d13546f388b615a073e82e7730e01d731)