1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-27 07:42:04 +03:00
Commit Graph

37 Commits

Author SHA1 Message Date
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
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
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.
-
13840704f5 Ensure a prototype is generated for smb_snprintf()
Final bit for bug 187.
-
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).
-
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.
-
4836c0c0fc Move some #ifdefs and function prototypes around to avoid a compiler
warning when we have a working version of snprintf()
-
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.
-
4fccc1f16d Fixed typo introduced in reverted patch from version 1.12.4.5 -
25a01e3247 Merge from HEAD 1.36. -
077c515ee9 merge from 2.2
actually print args for %g and %e
-
03ac082dcb updated the 3.0 branch from the head branch - ready for alpha18 -
6b123adda9 fixes (asprintf) from 2.2 -
da353bc539 fixed a typo in vsyslog() -
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.
-
a4cc69d945 Explain why snprintf has to be overridden in this way. -
62dfda654b Typo spotting. -
91bc14f430 allow printing of NULL pointers with internal snprintf -
96224fe2d4 reverted incorrect patch -
57b8e6d742 Added || -> && fix from "Orwig, Paul" <PORWIG@PacificLife.com>.
Jeremy.
-
79c0d24a30 replace modf so we don't need the math library -
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
-
531ab09170 got asprintf defn right -
10327ad11f added much better snprintf code, plus new function asprintf -
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.
-
873774e36d Bracked unbracketed macro arguments while looking for another bug. -
89aa4d8ca9 Fix for crash bug from Paul Tyler <pct@ansto.gov.au>.
Jeremy.
-
6b61f2fe66 Fix problems with broken libc fvct returns.
Jeremy.
-
453a822a76 first pass at updating head branch to be to be the same as the SAMBA_2_0 branch -
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>
-
42d2509c9f global change from samba.anu.edu.au to samba.org -
d398ae487a added copyright notice from Patrick Powell -
9cade656e2 Fixes to allow this to pass SGI compiler in -fullwarn mode (with one
annoying exception I'm still looking at :-).
Jeremy.
-
99430ce899 fixed problem with snprintf.c and mkproto -
177b7b6b19 fixed handling of %.0f in replacement snprintf.c -
ae1888529b add ifdef for "long double" -
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.
-