1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00

31 Commits

Author SHA1 Message Date
Tim Potter
f184074799 Move some #ifdefs and function prototypes around to avoid a compiler
warning when we have a working version of snprintf()
(This used to be commit 4836c0c0fcbf4be5f52bba60cc8843e8551b59b8)
2003-05-14 01:10:46 +00:00
Simo Sorce
c823b191ab 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.
(This used to be commit 0e58085978f984436815114a2ec347cf7899a89d)
2003-05-12 18:12:31 +00:00
Tim Potter
ea3d32fe9c Fixed typo introduced in reverted patch from version 1.12.4.5
(This used to be commit 4fccc1f16da74ac9e98bd58c7f11674c48c4dbac)
2003-05-05 03:31:50 +00:00
Martin Pool
1652670e79 Merge from HEAD 1.36.
(This used to be commit 25a01e3247ab8e52dc6c2d1f211ce10e09da5e70)
2003-04-14 07:36:19 +00:00
Herb Lewis
d81a04b410 merge from 2.2
actually print args for %g and %e
(This used to be commit 077c515ee9d9976a5306c9f99a7bf45c8fc49dc9)
2002-12-19 19:57:37 +00:00
Andrew Tridgell
e90b652848 updated the 3.0 branch from the head branch - ready for alpha18
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-07-15 10:35:28 +00:00
Simo Sorce
7019bfe546 fixes (asprintf) from 2.2
(This used to be commit 6b123adda901ff05b0271eeda060297448f64eec)
2002-01-19 17:29:32 +00:00
Andrew Tridgell
a237a8a296 fixed a typo in vsyslog()
(This used to be commit da353bc539db6e2f8d834275abdd9b5fb47b9db8)
2001-12-21 11:04:14 +00:00
Jeremy Allison
2fe6d5d5a1 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.
(This used to be commit ab2e55cdb376d6699c9a09fac243fba7d3840447)
2001-12-19 19:18:37 +00:00
Martin Pool
5788615e8d Explain why snprintf has to be overridden in this way.
(This used to be commit a4cc69d9459879c3fa5e782efd643d4e8cd334ba)
2001-12-10 04:35:01 +00:00
Tim Potter
ba57d9a136 Typo spotting.
(This used to be commit 62dfda654ba9a80aa4875ff73fd9170199c745ea)
2001-12-10 04:15:58 +00:00
Andrew Tridgell
ff033d062d allow printing of NULL pointers with internal snprintf
(This used to be commit 91bc14f430f798c6be3cb21cb5199ec56308d4f2)
2001-11-27 13:31:02 +00:00
Andrew Tridgell
3dddd416e8 reverted incorrect patch
(This used to be commit 96224fe2d40d0ce79d1215bb6f0d17291cace7b9)
2001-11-27 05:00:55 +00:00
Jeremy Allison
d0015fae10 Added || -> && fix from "Orwig, Paul" <PORWIG@PacificLife.com>.
Jeremy.
(This used to be commit 57b8e6d742addd9fa90da918ec4343d47562f0b7)
2001-10-24 23:52:29 +00:00
Andrew Tridgell
9074322761 replace modf so we don't need the math library
(This used to be commit 79c0d24a3092098d3d8e58ebe07cf61db7d898e5)
2001-05-06 15:19:25 +00:00
Andrew Tridgell
d095b5249c - 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
(This used to be commit c7aeb2254dfc3cd0aa0b6c0bdd426f9323be0ddf)
2001-04-28 13:49:34 +00:00
Andrew Tridgell
5671e632f8 got asprintf defn right
(This used to be commit 531ab0917004cc1dbbdc4a2b6b8d41f354dd2da7)
2001-04-28 12:27:37 +00:00
Andrew Tridgell
975f67c55a added much better snprintf code, plus new function asprintf
(This used to be commit 10327ad11f9a97bf536dc772c9577d8f6809c829)
2001-04-27 02:45:08 +00:00
Jeremy Allison
fd46817f0b 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.
(This used to be commit d938ad6963a2dd4eda930d508600ec1902dc2b16)
2001-02-16 19:21:18 +00:00
Tim Potter
8a72991abb Bracked unbracketed macro arguments while looking for another bug.
(This used to be commit 873774e36dfc877727133a86fbc2c2ddc2d563cd)
2000-07-06 01:30:41 +00:00
Jeremy Allison
ed95d8ed4f Fix for crash bug from Paul Tyler <pct@ansto.gov.au>.
Jeremy.
(This used to be commit 89aa4d8ca9cc9e8e6dd4566076c0cace8b82d838)
2000-02-21 18:47:21 +00:00
Jeremy Allison
50be4e1f34 Fix problems with broken libc fvct returns.
Jeremy.
(This used to be commit 6b61f2fe66a62082fdab998ec7bbb1184b9583d7)
2000-01-12 02:52:02 +00:00
Andrew Tridgell
3db52feb1f first pass at updating head branch to be to be the same as the SAMBA_2_0 branch
(This used to be commit 453a822a76780063dff23526c35408866d0c0154)
1999-12-13 13:27:58 +00:00
Alexandre Oliva
1db113b0a2 * 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>
(This used to be commit 29581f8486e221f41669c2ca268c282f36a496ce)
1999-03-25 20:21:01 +00:00
Andrew Tridgell
f120a81a72 global change from samba.anu.edu.au to samba.org
(This used to be commit 42d2509c9fab5c774fd33b9d4b5bd1ee125479c3)
1998-11-21 13:20:31 +00:00
Andrew Tridgell
c6759957bb added copyright notice from Patrick Powell
(This used to be commit d398ae487a3edbfefb980fe0abddca1e95f6f3d5)
1998-10-31 04:35:03 +00:00
Jeremy Allison
e3cfbdd88b Fixes to allow this to pass SGI compiler in -fullwarn mode (with one
annoying exception I'm still looking at :-).
Jeremy.
(This used to be commit 9cade656e2db743cb6ee67bbb8b0f50e8e4c39f9)
1998-10-28 18:26:04 +00:00
Andrew Tridgell
838c5c485f fixed problem with snprintf.c and mkproto
(This used to be commit 99430ce899c02b95ab3c577afff7f28c6d5c6c45)
1998-10-28 12:04:34 +00:00
Andrew Tridgell
c0addd11b8 fixed handling of %.0f in replacement snprintf.c
(This used to be commit 177b7b6b190c78ab59e19187d3221d23bb280911)
1998-10-28 04:07:51 +00:00
Andrew Tridgell
d3ced087a9 add ifdef for "long double"
(This used to be commit ae1888529b00f1a98d2b76fec7f19684efca90c7)
1998-10-27 00:07:06 +00:00
Andrew Tridgell
4586b8737a 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.
(This used to be commit e2cb50af45be6683d02ab48a6648816ee3d52ab1)
1998-10-26 23:40:33 +00:00