Age | Commit message (Collapse) | Author | Files | Lines |
|
(This used to be commit 7101026061c470ed962267b43ac0aa67cc761a64)
|
|
(This used to be commit fd34ce437057bb34cdc37f4b066e424000d36789)
|
|
In pstring removal 4ae4b23586, the behaviour of tab_depth was
changed to create an extra debug header (by using the DEBUGLVL
macro).
This extracts the debug level check from DEBUGLVL into
a macro CHECK_DEBUGLVL without the debug header creation
and uses this instead of DEBUGLVL in tab_depth.
Michael
(This used to be commit cbc7d921fa696e6c3c5197ad9f87442ba679df82)
|
|
This is right now only used there, and in version.c it gave linker errors
because some binaries (e.g. smbmnt) don't link in time.o
(This used to be commit 1f0eaaa5911f893c822465a26fe49ab65afb0730)
|
|
(This used to be commit 85123aacdb13e97c3f44aeded1c80e13af53d83d)
|
|
On Jan 21 16:18, Danilo Almeida wrote:
> Corina wrote:
>
> > + time_t samba_gitcommitdate;
>
> And:
>
> > + SIVAL(pdata,28,extended_info.samba_gitcommitdate);
> > + memcpy(pdata+32,extended_info.samba_version_string,32);
>
> Note that you are dropping bits on a system w/64-bit time_t, and that this has the 2038 problem.
Right. I changed samba_gitcommitdate from time_t to NTTIME and shortened
samba_version_string to 28 bytes. New patch below.
Thanks,
Corinna
(This used to be commit 28aa1c199d3a22cda34afcaab49c0561eeb0abcb)
|
|
metze
(This used to be commit 2f460915111066d79f5dc9b4ae4d003918d06852)
|
|
Fix a bug in my bugfix. Thanks to vl for spotting that one.
(This used to be commit 24f68b90cca111256a7b03f7062cb57c2b08a0d6)
|
|
get_mydnsfullname relied on memcache_add(); memcache_lookup() working.
When run from ntlm_auth, the global_cache variable in memcache is NULL, so
the add and lookup both fail. In that case, just return the result of the
getaddrinfo call.
Jeremy, please check.
(This used to be commit 1db41ff52565e9f336a22fb9ffd80d51677e023b)
|
|
This actually is a counterpart to reg_init_full, in that is does
open and initialize the registry too, but only registeres the backends
necessary to access the SMBCONF key.
Michael
(This used to be commit 01bda3ab359fb3868c1dc849044f613bf2bc563e)
|
|
(This used to be commit 4a6dadc5178f4861e9c032321939db3b639734b5)
|
|
(This used to be commit 2cac1d3919a96c480f34c93d8b9b07782d46ed23)
|
|
(This used to be commit d813bd9e02d9baf916eb96c478be89f0c435e07c)
|
|
(This used to be commit 9f0d778490415b05224f36287df999672ee16928)
|
|
(This used to be commit 999647329028147d7c29a3348202641b3e03430e)
|
|
Hi,
while implementing the extra_info version stuff, it occured to me that
samba_version_string() potentially allocates memory which is unused but
never free'd.
If SAMBA_VERSION_VENDOR_PATCH is defined, a second call to asprintf
takes place. The result is stored in tmp_version. Afterwards,
samba_version is set to tmp_version without free'ing samba_version
first. Looks like a simple free(samba_version) is missing. Patch
against 3.2-test below.
Ok, this only happens once over the lifetime of the application, so it's
no big deal, but I though it doesn't hurt to mention it.
Corinna
* lib/version.c (samba_version_string): Free samba_version
before setting to tmp_version.
(This used to be commit 373a23d48f2dd24e65dbf814ea58b4add2322128)
|
|
Thanks to vl for pointing this out.
(This used to be commit 76cf5a979bf3014b1de660520e538546b3676b23)
|
|
(This used to be commit ab0ee6e9a6a9eee317228f0c2bde254ad9a59b85)
|
|
sockaddr_storage"
This reverts commit e33286f4a68352e55df081d06307f64f190773b3.
393bab185e0e9f02aac5740becc2aba2762133c8 is the v4-0-test fix
for the same problem.
metze
(This used to be commit b8a57a24c390355c4950ca499c1d96aff80abad7)
|
|
(cherry picked from commit df36c78549b40ee5e47d5cc79de2eb79f58c567a)
(This used to be commit 174a45ec18fff064d89f6a12b044973ab3c10c54)
|
|
by perl in the build system.
(cherry picked from commit bba8914af56cb161c275fbbdea2479d6f8bd703c)
(This used to be commit a0e663ff2c6548e48c9710e3fb314f3bbabb59d0)
|
|
metze
(cherry picked from commit 11bdc9bed80b9842ac1ab8f22509a5d191cddc91)
(This used to be commit c11122afda52ce787dd1d3357bd85b6ce36b8ca4)
|
|
metze
(cherry picked from commit 1ecb4ec01b0506c95a5f90a62040329e7a39ee93)
(This used to be commit ff8a001f0d3f2655efafed41f2f0b14552a5c7e7)
|
|
- Only use _XOPEN_SOURCE=600 on Tru64
- _OSF_SOURCE is also Tru64 specific
metze
(cherry picked from commit d19ab62081ce4ee4273ff752ad0443782a994826)
(This used to be commit dbff70b2ebe7cc09f7fbe5a0319f978dfcfa1da9)
|
|
On Tru64 this brings in socklen_t and some other socket stuff
metze
(cherry picked from commit d42f2e5759332f1f0c6c1269bd29ac62ddb11016)
(This used to be commit af3772e22f5e6e0158783086e9791ffc95ee5368)
|
|
metze
(cherry picked from commit 05b4619c5beff474488d1abe5e647acd94a3e20c)
(This used to be commit 58932ca791024bd9a543ff5e21bc26970ceed477)
|
|
metze
(cherry picked from commit a07c983fde52607806745914bb41039afb5618cc)
(This used to be commit 3db37038b3e5a59a9baa85f6bcd32ac6e5ec2da1)
|
|
Guenther
(This used to be commit 645f2376d40fabdc787902ac7506ad7234616619)
|
|
Guenther
(This used to be commit f297ea259d58f7a12924b7111ab79818188cff46)
|
|
(This used to be commit 8c89d60924b0380231da834cd3c097b4f8cdc369)
|
|
Guenther
(This used to be commit 8858e403e1940c362d307b4d4125f977abb0b96a)
|
|
Guenther
(This used to be commit 4ca33928512bd71268bafd41d2b608e814a7295f)
|
|
Guenther
(This used to be commit d4c5b323229c6f43c824e3559084c98e370730a5)
|
|
Guenther
(This used to be commit 30458116b389889cad845eb96b54c3edc833e722)
|
|
Guenther
(This used to be commit 96f645553ae5c75aabfe588e1a67f3d4bfacb5cb)
|
|
Guenther
(This used to be commit 733e07a06ce3c903ff5837df6a5119f6d6e3eccb)
|
|
for a name '[<ipv6 addr>'.
Jeremy.
(This used to be commit f2aa921505e49f894bfed4e5e2f9fc01918b1bb0)
|
|
Tridge, Jeremy, please check!
Thanks,
Volker
(This used to be commit e4f46d527411c54e8f26c05033b744c751810c32)
|
|
(This used to be commit 4f95c58040f46f343f55f9a5db2655a5e3b62c00)
|
|
(This used to be commit 625241c4773ae5c80dd0cb0c07a86aff633c1ede)
|
|
(This used to be commit 871cee04f26da97756804b38acfd366b6011dc9e)
|
|
Make registry based configs more fool-proof.
Michael
(This used to be commit 2ea55c03b25eb5e98be3449e12004a7246319acd)
|
|
Michael
(This used to be commit c5a7d421c512a6221b0300549d7b5de0368d252e)
|
|
(http://samba.org/~tridge/3_0-ctdb)
Signed-off-by: Alexander Bokovoy <ab@samba.org>(This used to be commit 0c8e23afbbb2d081fc23908bafcad04650bfacea)
|
|
minor fix to transaction_write_existing: tridge.
Jeremy.
(This used to be commit 874425c8f680fb2f737b46a3177b239e69302af5)
|
|
names is a 'const char **names' here, passed from upper level. Passing
'names' as a talloc context will break things as 'names' is usually
likely is a local variable, not a talloc'd. And we want to have array
elements on a context of the array anyway.
Jeremy.
(This used to be commit 22a4129fabf70e01cc638c2f7347c28201838830)
|
|
(This used to be commit 9f002eeff9bcf33a00e5641cb14338e866a17afe)
|
|
(This used to be commit c91e9c785b5bf4b0c479edf8eb33da22bf615387)
|
|
(This used to be commit 4aaf4e7e73a5c7fa97ef730fbff5c7cb12df2d6c)
|
|
The libnet_conf_ctx stores the information necessary to interoperate
with the configuration. It is created by calling libnet_conf_open()
and destroyed by calling libnet_conf_close(). The context is passed
to all the libnet_conf functions. It currently stores the token to
access the registry. Later, it could store more data, e.g. the server
to connect to, credentials, and so on. For support of other backends
than registry or support of remote configuration, only the open
function will have to be changed.
In net_conf, the calls to the actual net_conf functions is wrapped
into a function that calls libnet_conf_open()/_close(). Thus an
individual variant of net_conf_runfunction2() and functable2 is
used to cope with functions being called by the wrapper with the
additional libnet_conf_ctx argument.
Michael
(This used to be commit c2a9346faa26e79af5948197a1b322e545f0ed09)
|