1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

20743 Commits

Author SHA1 Message Date
Jeremy Allison
331c0d6216 Remove pstrings from nsswitch/ and registry/
Jeremy.
2007-11-26 17:24:56 -08:00
Volker Lendecke
3088bc76f1 Remove a global 2007-11-26 17:48:40 +01:00
Volker Lendecke
8bcd2df841 Fix bug 5055 2007-11-26 15:28:13 +01:00
Volker Lendecke
5b4ba4bfc5 Improve debug message
Fix bug 5056, thanks to debian package maintainer
2007-11-26 14:36:30 +01:00
Volker Lendecke
9bf5ead4b2 Fix a C++ warning 2007-11-26 14:36:29 +01:00
Tomoki AONO
102a247df9 1. lib/system.c (xattr code for Solaris) could not be
built against c90 compilers. (declaration after
statement.) Sample patch attached.
2007-11-26 09:00:33 +01:00
Volker Lendecke
41e07682dc In libsmbclient, map NT_STATUS_OBJECT_PATH_NOT_FOUND to ENOENT
Thanks to SATOH Fumiyasu!

This fixes bug 4974
2007-11-25 12:54:52 +01:00
Volker Lendecke
85a84f72ff Remove a static 2007-11-24 18:11:11 -08:00
Volker Lendecke
49949f0b85 Make remote_password_change return malloced error strings
This fixes a segfault in smbpasswd -r
2007-11-23 13:04:50 -08:00
Volker Lendecke
9751cc222c add talloc_stackframe() to eventlogadm
Thanks to Günther Kukkukk for noticing
2007-11-23 14:39:21 +01:00
Stefan Metzmacher
0a7338abfa 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
2007-11-23 11:51:33 +01:00
Stefan Metzmacher
e186b60afa smbd: close_stat() should be static
metze
2007-11-23 11:47:28 +01:00
Volker Lendecke
99b3289aa4 Do not link in SOCKET_WRAPPER_OBJ twice 2007-11-22 16:00:13 +01:00
Volker Lendecke
8d8cb8f9cc Cosmetic fix 2007-11-22 16:00:13 +01:00
Volker Lendecke
89e2984a84 Add a missing prototype 2007-11-22 16:00:13 +01:00
Volker Lendecke
e8b866ad87 Fix an uninitialized variable 2007-11-22 16:00:13 +01:00
Volker Lendecke
4c992e4340 Fix a type-punned warning 2007-11-22 16:00:13 +01:00
James Peach
660ea44336 Merge ssh://git.samba.org/data/git/samba into v3-2-test 2007-11-21 18:31:35 -08:00
Jeremy Allison
f652fe2bdb Remove pstrings from pam_smbpass - make local_password_change
return malloced strings.
Jeremy.
2007-11-21 17:42:52 -08:00
Jeremy Allison
d2ee75326a Remove pstring from printing/*.c except for the
tdb_unpack requirement (I'll be making that an
allocating interface later).
Jeremy.
2007-11-21 13:56:36 -08:00
Jeremy Allison
a04e916b89 Doh ! Don't use #else when #endif is needed.
Jeremy.
2007-11-21 10:31:18 -08:00
Jeremy Allison
4b47052694 Add set_sockaddr_port function for winbindd.
Jeremy.
2007-11-21 10:10:52 -08:00
Gerald (Jerry) Carter
30c9e3557b Allocate a talloc_stackframe() in main() for wbinfo. 2007-11-21 10:27:22 -06:00
Gerald (Jerry) Carter
6b62b7dbab Fix unresolved symbols in smbumount from addition of talloc_stackframe(). 2007-11-21 10:27:01 -06:00
Jeremy Allison
6f9c2910bd Add talloc stackframe for ntlm_auth.c
Jeremy.
2007-11-20 19:17:47 -08:00
Jeremy Allison
f570175615 Remove pstrcpy I missed.
Jeremy.
2007-11-20 19:05:30 -08:00
Jeremy Allison
809f5ab4c5 More pstring removal....
Jeremy.
2007-11-20 18:55:36 -08:00
Jeremy Allison
33aa866195 Remove pstring from services/*.c
Jeremy.
2007-11-20 17:57:47 -08:00
Jeremy Allison
b409f1c335 Ensure we have a talloc stackframe (found by Kukks).
Jeremy.
2007-11-20 17:54:01 -08:00
Jeremy Allison
15074de938 More pstring elimination.
Jeremy.
2007-11-20 17:18:16 -08:00
David Losada Carballo
12eee4f7fe 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.
2007-11-20 16:45:33 -08:00
Jeremy Allison
bac3bb2f6e More trivial pstring removal.
Jeremy.
2007-11-20 15:31:37 -08:00
Jeremy Allison
76f9c0b2dc Paranoia check that space_remaining never goes -ve.
Jeremy.
2007-11-20 15:31:18 -08:00
Gerald (Jerry) Carter
99b75cada2 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
2007-11-20 13:27:14 -06:00
Jeremy Allison
ae7885711f Remove more pstring. Unify talloc_sub functions to make
them a better match for replacing string_sub. Remove
more unused code.
Jeremy.
2007-11-19 18:56:22 -08:00
Jeremy Allison
c21e9bdc10 Start to remove some of the pstring functions we're
no longer using.
Jeremy.
2007-11-19 17:51:21 -08:00
Jeremy Allison
9c3d10521e Always check return from push_ascii.
Jeremy.
2007-11-19 17:43:28 -08:00
Volker Lendecke
db9fa472a8 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
2007-11-19 16:42:03 -08:00
Jeremy Allison
a317f70c22 Remove pstring from nmbd.
Jeremy.
2007-11-19 15:15:09 -08:00
Karolin Seeger
759d6bcbec Add error message to net rap file and net rap file user 2007-11-19 16:42:27 +01:00
Volker Lendecke
144014096a Add a comment 2007-11-18 15:08:54 -08:00
Volker Lendecke
b82120f9b7 Fix a valgrind error 2007-11-18 15:08:52 -08:00
James Peach
8b0bee7c76 Detect Heimdal Kerberos on OpenBSD 4.2.
Patch from Sean McCreary <samba-technical@mcwest.org>.
2007-11-18 13:56:19 -08:00
Jeremy Allison
977dc3accb Remove pstring from modules directory.
Jeremy.
2007-11-16 17:07:11 -08:00
Jeremy Allison
a90ef69350 Ensure we use PATH_MAX for symlinks.
Jeremy.
2007-11-16 17:06:57 -08:00
Jeremy Allison
f3bd5e828a Fix bug #4393 smbclient does not store files with zero filesize in tar-archives
from tometzky@batory.org.pl.
Jeremy.
2007-11-16 17:06:36 -08:00
Jeremy Allison
01e85f146b Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test 2007-11-16 13:29:42 -08:00
Michael Adam
118fd6213d 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
2007-11-16 22:26:26 +01:00
Michael Adam
d2c7417393 Fix an implicit cast warning.
Michael
2007-11-16 22:22:05 +01:00
Jeremy Allison
629406cbe7 Match the 3.0.27a version of this function.
Jeremy.
2007-11-16 13:14:24 -08:00