| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
krb5_auth_con_set_req_cksumtype().
Jeremy.
(cherry picked from commit 02862653724355b32e0c6e38e0ebcbb1a9954759)
|
|
|
|
|
|
| |
work by me and advice by Love.
Jeremy.
(cherry picked from commit 5f419135ba1acae6bc37692fa77ae1162b62e0e3)
|
|
|
|
|
|
| |
subroutine in lib/replace/replace.c
(cherry picked from commit 6d6b205e444154e1bd2993d964eff4cf532bacd8)
|
|
|
|
|
|
| |
as proposed by James Peach.
Jeremy.
(cherry picked from commit 1ee1e8306f3578c19fe015145eb8da1013f7b820)
|
|
|
|
|
|
| |
auth_errors array initialization in client/smbspool.c
(cherry picked from commit f6ffc95a363d3ed8aa480ac25e440d2472551891)
|
|
|
|
|
| |
(cherry picked from commit 123fc3980a83d956bffaa689f3af81bbf81ce1c1)
(cherry picked from commit 61274204b63cf077a826671a9e0d807bd17dfec3)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in winbind
When a w2k3 DC is rebooted the 139/445 ports come up before the
udp/389 cldap port. During this brief period, winbind manages to
connect to 139/445 but not to udp 389. It then enters a tight loop
where it leaks one fd each time. In a couple of seconds it runs out of
file descriptors, and leaves winbind crippled after the DC does
finally come up
(cherry picked from commit 57187cafbcc053e75bb54750494df9feabe3a738)
(cherry picked from commit 892e41d60469e1e8adccd2b1ff860210db58dcb0)
|
|
|
|
|
|
| |
Michael
(cherry picked from commit f8f21c8e3922806230e240cb54205fc2db7a3619)
(cherry picked from commit 0bdab793c1da9b56790d37ac7d064b67ec51e3a4)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a regression introduced by the change to dbwrap.
The replacement dbwrap_change_int32_atomic() does not
correctly mimic the behaviour of tdb_change_int32_atomic():
The intended behaviour is to use *oldval as an initial
value when the entry does not yet exist in the db and to
return the old value in *oldval.
The effect was that:
1. get_rand_seed() always returns sys_getpid() in *new_seed
instead of the incremented seed from the secrets.tdb.
2. the seed stored in the tdb is always starting at 0 instead
of sys_getpid() + 1 and incremented in subsequent calls.
In principle this is a security issue, but i think the danger is
low, since this is only used as a fallback when there is no useable
/dev/urandom, and this is at most called on startup or via
reinit_after_fork.
Michael
(cherry picked from commit bfc5d34a196f667276ce1e173821db478d01258b)
(cherry picked from commit c0e764d3878120e9612bbd847e581c6fd6c79532)
|
|
|
|
|
|
| |
Michael
(cherry picked from commit 7edfb54c865ddcfd5cdcc8c2184b96aaac2d2ec0)
(cherry picked from commit c601ad0d1c5b7f3568fef7592e501b8f6be9c469)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The race is a regression introduced by the change to dbwrap.
It might have led to two concurrent processes returning the same id.
This fix is achieved by changing dbwrap_change_uint32_atomic() to
match the original behaviour of tdb_change_uint32_atomic(), which
is the following: *oldval is used as initial value when
the value does not yet exist and that the old value should be
returned in *oldval.
dbwrap_change_uint32_atomic() is used (only) in idmap_tdb2.c,
to get new ids.
Michael
(cherry picked from commit 72bd83fea7572a6202027b200d192c05023aa633)
(cherry picked from commit f3cdf9e646180837a470e90f8a17d933f07b60c3)
|
|
|
|
|
|
|
|
|
|
|
| |
This test fails if GCC emits any warnings (presumably to detect the
function propertly), but unless we include this message then free()
fail. Why we need to call free in a configure test is probably
something to blame on valgrind...
Andrew Bartlett
(cherry picked from commit d013f6fadc3e80fabb4a1784207dabc84f9b7dc2)
(cherry picked from commit 91c17ecfd7b07ff948874c3eb7013eb79c5b66ab)
|
|
|
|
|
| |
Karolin
(cherry picked from commit c6d2845fddb6eefc78435356f2d004e4dc95d803)
|
|
|
|
| |
(cherry picked from commit afe139e3272b324df2dec2d4066b351b03792dc8)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit 5fb17b866642a9f971cce6d9f228b4d52618e42b)
|
|
|
|
|
|
|
|
| |
wrapper.
Guenther
(cherry picked from commit fef58091408cce0d7870c86f28f78cf9400cf2b6)
(cherry picked from commit 4f62fa50c7d542db4a2b8976d85da590194203f0)
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit 0c1efc6c89b1a51a94d10971bf0fc515416709b3)
(cherry picked from commit 4f5255d1e5025c4c9ebb0b1f22d800e26bcdfb7f)
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit 09fed085bea9dae5bb8aacd986deed3d458e3574)
(cherry picked from commit fba8506112938bf714c06da08e0e0725a7eecf3a)
|
|
|
|
|
| |
We were calculating the session key but did not return it to the caller...
(cherry picked from commit 8ab79b1d009d53e414b90e4a0ab8fc7a4889b6df)
|
|
|
|
| |
(cherry picked from commit 3282f7289b7b33beeaa1ca649651cca6537a69af)
|
|
|
|
|
|
|
|
|
|
| |
case files. Reported by Daniel Johnson <Progman2000@usa.net>.
The smb_set_file_time() call to set the filetimes is failing
because it's using the unmodified name passed in by the
client, not the modified name (matching case on the
disk) that comes out from create_file().
Jeremy.
(cherry picked from commit d54fe83b16c187847a975df373e73d56111d7f21)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When SIGCHLD handling is delayed for some reason, sending a request to a child
can fail early because the child has died already. In this case
async_main_request_sent() directly called the continuation function without
properly removing the malfunctioning child process and the requests in the
queue. The next request would then crash in the DLIST_ADD_END() in
async_request() because the request pending for the child had been
talloc_free()'ed and yet still was referenced in the list.
This one is *old*...
Volker
(cherry picked from commit 8691709626b0d461de91b8fc9d10c730d1f183dd)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes BUG #5635.
Finished print jobs were not removed from the $PRINTER.tdb file if
"printing=cups".
In print_queue_update, talloc_string_sub2 is used to assemble the
"lprm command". In the case of using "printing=cups", the default
"lprm command" is an empty string. talloc_string_sub2 is called with
this empty string and returns NULL which leads to exiting
print_queue_update without doing the actual print queue update.
Signed-off by Michael Adam <obnox@samba.org>
(cherry picked from commit 03d66554d1bbd9d6c72a3dd5203e5305343c76b8)
(cherry picked from commit c6ca0f7d462c51122ccb1068306410ccdbee7b00)
|
|
|
|
|
|
|
| |
then don't allow create_file() to call down to
create_file_unixpath() with a stream name.
Jeremy.
(cherry picked from commit 7f749a10eff0bb469e6eb50b02cb60fd65c23f9e)
|
|
|
|
|
| |
Signed-off-by: Andreas Schneider <anschneider@suse.de>
(cherry picked from commit cdf10e6ee9faff42693bb39ede535cc6611a8fc9)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit 2518197d7f3833b5d85fe42b05b51d89fa69eb75)
|
|
|
|
| |
(cherry picked from commit 2b5425efddfccb1010d082e6133cfdd79d72729e)
|
|
|
|
|
| |
(cherry picked from commit 9b863a10da8762f715c16f147d6cd1e79422d248)
(cherry picked from commit 1c3187fd250e5219197206cb7c7345ea9d649e74)
|
|
|
|
|
|
| |
Michael
(cherry picked from commit 25cd227aaecf91dfa3114ae0fd2b47c783434aad)
(cherry picked from commit 90f33570e45159193d9336c742bf53d51573849b)
|
|
|
|
|
|
| |
Michael
(cherry picked from commit 486b1bc5b5021565ec443fd463c8287c02c686b3)
(cherry picked from commit 4038363b72eb852d462234a1ec85c3cc68765f0d)
|
|
|
|
|
|
|
|
| |
Pointed out by Björn Jacke <bj@sernet.de>.
Michael
(cherry picked from commit 63e7d9adb7a51b3790eb431615cb6e450391a894)
(cherry picked from commit 0dbb8def6b9647bb01f4544361cb87bafdfb3fc8)
|
|
|
|
| |
(cherry picked from commit b83beeda44e1c8d485c2ad6bb8ee539cdcbe8bda)
|
|
|
|
|
|
| |
This is not built by default and not documented in 3.2.0, so I doubt this will
break any setups :-)
(cherry picked from commit ca2dfb372cfd9096407fca67a6b65bceda6f72b6)
|
|
|
|
|
|
|
|
|
| |
In reloading the smb.conf, if a "log file" is specified in smb.conf,
winbind children will overwrite the logfile name to be the same as the
parent.
Jeremy.
(cherry picked from commit 147dc45cfb0da3677e381bec3873b9645b320f60)
|
|
|
|
|
| |
from string representation.
(cherry picked from commit eaee722ca74af274e628cbd868753800bddc3e97)
|
|
|
|
| |
(cherry picked from commit 11a8f5161184914bec031c741c57bbce19998d2c)
|
|
|
|
|
|
| |
Karolin
(cherry picked from commit 6e9e85b897431d7378396aada2c32ae470af0edd)
(cherry picked from commit 1e6ae16bce110e282400026c9af8e1b3d9f2e6b4)
|
|
|
|
|
| |
(cherry picked from commit 8a455b012827cfb917473a160c5710a90490451a)
(cherry picked from commit 857e9d2b27eb6824a8056490076fa020fd185a6d)
|
|
|
|
|
| |
Signed-off-by: Andreas Schneider <anschneider@suse.de>
(cherry picked from commit 88c9cf2fdc8f3d704f7f27c25ef6dc6940d451d3)
|
|
|
|
|
|
| |
function more like POSIX and allow NULL arg. Help vfs developers.
Jeremy.
(cherry picked from commit a034ad5b28dc22b76ef91901306d5c4f9102178f)
|
|
|
|
|
| |
Jeremy
(cherry picked from commit 1036bd6f8adcff316d2d86201b1a7097b4b9fe0c)
|
|
|
|
|
|
|
|
| |
Just to enhance clearness of the code.
Michael
(cherry picked from commit cd5d13dec0153c64d541e85bd13138b738cf50af)
(cherry picked from commit 01b1aff4ac884b91d95d89ac7e53cb0e1a748787)
|
|
|
|
|
|
| |
Michael
(cherry picked from commit 6cafee7e6ae02a32a9f2ddf313d2a20224fa22fe)
(cherry picked from commit 3b8524957561911ae7943172fe775200fc98f75a)
|
|
|
|
|
|
|
|
|
|
|
| |
as suggested by Karolin.
That is what it really means. And per-share logic tests will be
disabled by the same switch, too...
Michael
(cherry picked from commit 5b8a4c33482917a1ef7071df224957ba831d853a)
(cherry picked from commit 04cdfbba747b928c3133e29446c0fe91c39a41f2)
|
|
|
|
|
|
| |
Michael
(cherry picked from commit 32f4b1443af12026c419684be45a7d8b96ccfaac)
(cherry picked from commit 87c4f1fc67df146585a6e0862b701b6e6193f0f0)
|
|
|
|
|
|
|
|
|
|
| |
This allows for successfully calling testparm without the need
to "make install" before. Without this, testparm fails with
the message that the lock directory does not exist...
Michael
(cherry picked from commit eeb018fad65c19804a4e96ea949fc2c64883439e)
(cherry picked from commit 1f245e41fa41d2b67eaa7cc85c29da3384697275)
|
|
|
|
|
|
| |
%u. Make this the same as other uses.
Jeremy.
(cherry picked from commit 56d8ed48a94b558ad442e38c3d1925c4810dc508)
|
|
|
|
|
|
|
|
|
| |
rules.
Eliminate more potential traps for picky makes.
Michael
(cherry picked from commit 9a2870e936a967b82a100b1e26200d3665311f85)
|
|
|
|
|
|
|
| |
Eliminate more potential traps for picky makes.
Michael
(cherry picked from commit 1aad6661adc5800243969b761c653b57ff280f69)
|
|
|
|
|
|
|
|
|
| |
rules.
Eliminate more potential traps for picky makes.
Michael
(cherry picked from commit 7420f409c2fbfd5f90d45a4a435489fe31016581)
|