1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-17 04:23:50 +03:00
Commit Graph

38 Commits

Author SHA1 Message Date
Jeremy Allison
b7dee71f26 r11799: Added OpenSSH fix for "%.*s" format crash. From Darren Tucker
<dtucker@zip.com.au>
Jeremy.
2007-10-10 11:05:28 -05:00
Vance Lankhaar
1a33999cf0 r1656: Patch from James Peach:
> This patch is (probably) needed for all systems that don't have a
> C99/UNIX98 compliant vsnprintf by default. The builtin sm_*printf
> were no being called, causing things like talloc_init to fail, with
> predictable results.

The should fix 6 (solaris/hpux/irix) builds on the build farm.

Vance
2007-10-10 10:52:17 -05:00
Jelmer Vernooij
9f1c978088 r1111: Rename vsnprintf to smb_vsnprintf so we don't get duplicate symbol errors
when linking against an app that does have vsnprintf() (bug #478)
2007-10-10 10:51:55 -05:00
Richard Sharpe
8b592740b6 Some spelling mistakes in aclocal.m4 and the va_copy fixups in configure.in
and lib/snprintf. Check for va_copy first, and then look for __va_copy.
-
Tim Potter
13840704f5 Ensure a prototype is generated for smb_snprintf()
Final bit for bug 187.
-
Tim Potter
b019658233 A fix for bug 174. I'm pushing this to the tree to test it on one of
the build farm machines that I don't have direct access to (hpntc9I).
-
Gerald Carter
998586e652 *****LDAP schema changes*****
New objectclass named sambaSamAccount which uses attribute
prefaced with the phrase 'samba' to prevent future name clashes.

Change in functionality of the 'ldap filter' parameter.  This always
defaults to "(uid=%u)" now and is and'd with the approriate objectclass
depending on whether you are using ldapsam_compat or ldapsam

conversion script for migrating from sambaAccount to
sambaSamAccount will come next.
-
Tim Potter
4836c0c0fc Move some #ifdefs and function prototypes around to avoid a compiler
warning when we have a working version of snprintf()
-
Simo Sorce
0e58085978 And finally IDMAP in 3_0
We really need idmap_ldap to have a good solution with ldapsam, porting
it from the prvious code is beeing made, the code is really simple to do
so I am confident it is not a problem to commit this code in.

Not committing it would have been worst.
I really would have been able to finish also the group code, maybe we can
put it into a followin release after 3.0.0 even if it may be an upgrade
problem.

The code has been tested and seem to work right, more testing is needed for
corner cases.

Currently winbind pdc (working only for users and not for groups) is
disabled as I was not able to make a complete group code replacement that
works somewhat in a week (I have a complete patch, but there are bugs)

Simo.
-
Tim Potter
4fccc1f16d Fixed typo introduced in reverted patch from version 1.12.4.5 -
Martin Pool
25a01e3247 Merge from HEAD 1.36. -
Herb Lewis
077c515ee9 merge from 2.2
actually print args for %g and %e
-
Andrew Tridgell
03ac082dcb updated the 3.0 branch from the head branch - ready for alpha18 -
Simo Sorce
6b123adda9 fixes (asprintf) from 2.2 -
Andrew Tridgell
da353bc539 fixed a typo in vsyslog() -
Jeremy Allison
ab2e55cdb3 Added AC_CHECK_FUNCS(syslog vsyslog).
nsswitch code uses vsyslog without checking for it.
Provide replacement for vsyslog in lib/snprintf if not found by configure.
Jeremy.
-
Martin Pool
a4cc69d945 Explain why snprintf has to be overridden in this way. -
Tim Potter
62dfda654b Typo spotting. -
Andrew Tridgell
91bc14f430 allow printing of NULL pointers with internal snprintf -
Andrew Tridgell
96224fe2d4 reverted incorrect patch -
Jeremy Allison
57b8e6d742 Added || -> && fix from "Orwig, Paul" <PORWIG@PacificLife.com>.
Jeremy.
-
Andrew Tridgell
79c0d24a30 replace modf so we don't need the math library -
Andrew Tridgell
c7aeb2254d - added test for vasprintf
- cleaned up GNUC printf attribute macros
- added enum handling in mkproto
- removed non-vararg code
- made slprintf and vslprintf just macros for snprintf and vsnprintf
- don't need slprintf code any more
-
Andrew Tridgell
531ab09170 got asprintf defn right -
Andrew Tridgell
10327ad11f added much better snprintf code, plus new function asprintf -
Jeremy Allison
d938ad6963 Excise snprintf -> slprintf.
srv_samr.c: duplicate gid fix.
srv_spoolss_nt.c: Merge of JF's work.
uid.c: Fix for returning names when a PDC.
Jeremy.
-
Tim Potter
873774e36d Bracked unbracketed macro arguments while looking for another bug. -
Jeremy Allison
89aa4d8ca9 Fix for crash bug from Paul Tyler <pct@ansto.gov.au>.
Jeremy.
-
Jeremy Allison
6b61f2fe66 Fix problems with broken libc fvct returns.
Jeremy.
-
Andrew Tridgell
453a822a76 first pass at updating head branch to be to be the same as the SAMBA_2_0 branch -
Alexandre Oliva
29581f8486 * client/client.c (dir_total): use SMB_BIG_UINT
* client/clitar.c (ttarf): ditto
* * lib/snprintf.c: support long longs; adapted from Cloyce D. Spradling's
patch <cloyce@headgear.org>
-
Andrew Tridgell
42d2509c9f global change from samba.anu.edu.au to samba.org -
Andrew Tridgell
d398ae487a added copyright notice from Patrick Powell -
Jeremy Allison
9cade656e2 Fixes to allow this to pass SGI compiler in -fullwarn mode (with one
annoying exception I'm still looking at :-).
Jeremy.
-
Andrew Tridgell
99430ce899 fixed problem with snprintf.c and mkproto -
Andrew Tridgell
177b7b6b19 fixed handling of %.0f in replacement snprintf.c -
Andrew Tridgell
ae1888529b add ifdef for "long double" -
Andrew Tridgell
e2cb50af45 added a vsnprintf() implementation from cvslock. See the notes on the
license at the top of lib/snprintf.c

I've always been slightly uneasy about our half-baked vslprintf()
implementation and the risks on platforms that don't have vsnprintf()
so when I saw this code in another GPLd package I wanted it for Samba.
-