| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This patch picks the alphabetically smallest one of the multi-value attribute
"uid". This fixes a regression against 3.0 and also becomes deterministic.
(cherry picked from commit 47333fc8785457239a499a298536664f152b681d)
|
|
|
|
|
|
|
|
| |
Found by David Markey <admin@dmarkey.com>. Thanks!
Guenther
(cherry picked from commit ab4b8c9c0438bc5afca17e3ebf05dde6f98bc0aa)
(cherry picked from commit 242ae00e56ac553f9ac736b4c2a18b4610bdb6e9)
|
|
|
|
| |
(cherry picked from commit e5f0f6b7fb428e4cc8e5e782a0038a847d74edcc)
|
|
|
|
|
|
|
|
| |
What a difference a name makes... :-). Just because something is missnamed
SA_RIGHT_SAM_OPEN_DOMAIN, when it should actually be SA_RIGHT_SAM_LOOKUP_DOMAIN,
don't automatically use it for a security check in _samr_OpenDomain().
Jeremy.
(cherry picked from commit 8a985bcfe4aee7e602601fe78a94757dce645fcc)
|
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit ca3de0103b545c86c8507dfc7d042f1838d5dfb2)
(cherry picked from commit cb96e70a1d9112d9e4fff1fda4cf64abc7985347)
(cherry picked from commit 64c0c6cfc6d44a9bb8ea13e56ed6c3d1eee3861e)
|
|
|
|
|
|
|
| |
This used to be commit 6343cab3 in master.
Karolin
(cherry picked from commit 56e877662dd6da64b348803c24e85f60ee6b3d85)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit e0f3ed481137d83087c4c6da6526eae3b9265838)
|
|
|
|
|
|
|
|
|
|
|
| |
correctly. For the clustering case.
Clustered setups should have only ever used
the unsigned version of TDB_DATA in the
first place so they can't be in this mess :-).
Just do the normal upgrade in the clustered case.
Jeremy.
(cherry picked from commit 58d3ec1cb81d6086d65cd12acd16cd591cf0c71f)
|
|
|
|
|
|
|
| |
information.
Guenther
(cherry picked from commit fe102f53d1ac6f888bd559eaf52b6a166d5f78d3)
|
|
|
|
| |
(cherry picked from commit 57301725e1c92676d3dbb62c81a41507ed1adb7b)
|
|
|
|
| |
(cherry picked from commit cb18c1686b3cd20f0535458f8cee24a772560350)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 9bf3e129605d51483fd5ce47c90642f7e82ac102)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 3b0f612c52e992cd130f5176432722bada3c64e4)
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit d2e348b191ada5492538b7bdae1bb7cd3f639aba)
(cherry picked from commit 76c858c6fcb8111e3fd87a2a8aa2606ab06bb90a)
|
|
|
|
|
|
|
| |
We need a string version of this, or else version.c does not compile.
Michael
(cherry picked from commit f846e0fcdf62333b44a16e5a392930189b512f9b)
|
|
|
|
|
|
| |
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit a3d04991ef409591a7c8b9fbb01e024bd5aaa041)
(cherry picked from commit ddcf94787f59cf682c51010b87d3624bbdd6b4a3)
|
|
|
|
|
|
| |
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit e8aa7169a6672bd32af6c5580f6e8ec7e99511bc)
(cherry picked from commit 9baa0c3b119f41c7d65bc13f4f34c6e242ea1abc)
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is useful for wrapping higher level aggregate operations
in transactions. The text backend implementations just return
WERR_OK, the registry backend implementatoins use the
regdb_transaction_start|commit|cancel routines just added.
Michael
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 8dd46903944c48e171837729cbe937f54d9554b7)
|
|
|
|
|
| |
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit e5936d910cfc3590a3b015e627a5fa308861eaf4)
|
|
|
|
|
| |
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 68d4e25aad23b670e4ff735377de59ba396940cd)
|
|
|
|
|
|
|
| |
Michael
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit a470af9a18b328548f241dca4f744d25c7cdc13e)
|
|
|
|
|
|
|
| |
Michael
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 11ed4d41906084a604797e761ffd27caf5c67ac3)
|
|
|
|
|
|
|
| |
For 1000 shares this speeds up net conf list from .6 to .25 seconds on my box
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit f8fa246bbae0db96e16e8f3e327577920c6ecec5)
|
|
|
|
|
|
|
|
| |
With 1000 shares in the registry, this changed the time of "net conf list" from
1.1 seconds to .6 seconds.
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit c4a1fc734b70efa932df4d4f8d9c66ea4f83ad0b)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The SMB_MALLOC'ed rbt node data was not free'd on talloc free of
the db context. This is a quick fix using talloc instead of malloc
for allocation of the node data.
Since malloc was originally used for performance reasons, one
might want to reverse to malloc and create a talloc destructor
that walks the tree and frees all the node data if this talloc
approach proves to be too slow..
Michael
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 6facbbb4020369c18b4312115fab9b8d6eceaf80)
|
|
|
|
|
|
|
|
|
| |
Temporary results printfs should not contain reserved subunit words.
metze
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit d5750eca159e0bf1095b102545838d771f26a7f7)
|
|
|
|
|
|
|
| |
Michael
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 5887fa35156df68416b4da4a45ef0576d8b203c1)
|
|
|
|
|
|
|
| |
Michael
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 8589fa2cfe8fb549b013d2f15a598e43e28b64d7)
|
|
|
|
|
|
|
| |
Michael
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit dc0583613dfd8ce8f9209a8fb56e6c41a14efd0a)
|
|
|
|
|
|
|
| |
Michael
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 9dfc6c9de92e58173e73d67a6dd56b4b4336909b)
|
|
|
|
|
|
|
| |
Michael
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit a077a710b9d402ed7ac86ab98dc2a98776b8f9bc)
|
|
|
|
|
|
|
| |
Michael
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 9685cbd3ab0304c0439f668d7b4963ab264729b2)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
give the smbconf_init() dispatcher and the backends
(smbconf_reg and smbconf_txt) a header of their own each.
This allows to use the basic infrastructure and
single backends individually.
Michael
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit defb4430114091474dfef0114ebb176bfb5026ea)
|
|
|
|
|
| |
Michael
(cherry picked from commit 13521c9c1e0f93ea956c1d0b22f1979e7124c72e)
|
|
|
|
|
| |
Michael
(cherry picked from commit 4a6c0a234ddfa545f137f8842a7e92224e72bcad)
|
|
|
|
|
|
|
|
|
|
| |
Interpret the source string as a file name when it contains
a ':' sign but the initial part is not a known backend.
This might occur even implicitly when "%T" is used in an
include file name (even though this is not realistic..).
Michael
(cherry picked from commit 8dd78e82ef694f35604f5328378f2422dcd561f5)
|
|
|
|
|
| |
Michael
(cherry picked from commit e035a2d419cab20e8cd8efd532b8388d4cc364a6)
|
|
|
|
|
| |
Michael
(cherry picked from commit 85a90a26baaf916862b45ab2114edf9bf6f2e46d)
|
|
|
|
|
| |
Michael
(cherry picked from commit 7deb120bf22dc5857af9051eeba7b8dabe4016e5)
|
|
|
|
|
|
|
| |
This allows for per-config-source checking of write support.
Michael
(cherry picked from commit 9cb280f7d721c71c5cecc2fd56cc75ce4b4a7e5b)
|
|
|
|
|
|
|
|
| |
In a clustered environment, the registry backend needs messaging
to be set up since ctdb requires this.
Michael
(cherry picked from commit 5d2255e13cf2e468887a61fb9a7e99d2ba665333)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The change notify code registered a separate message handler for each
tree connect. This registration uses the global messaging context.
The messaging code would consider a 2nd registration for the same
messaging type as being an 'update' of the handler, rather than a new
handler. It also would only call the first handler in the linked list
for a given message type when dispatching messages.
This patch changes the messaging code to allow for multiple
registrations of the same message type, and allow for multiple calls
to different messaging handler for one incoming message.
This fixes the problem with the test_notify_tcon() test that I
recently committed to the S4 smbtorture
(cherry picked from commit 89e340e09fbdc375c0aa85506add525b8ba5dcd0)
|
|
|
|
|
|
|
|
|
|
| |
libreplace always provides the getifaddr() function.
This fixes the build on sles8.
metze
(cherry picked from commit 1410490fe769bc79f98b4ab364685c7aed253e09)
(cherry picked from commit bac96af2053996f28894458fce87e84c5c2356ff)
|
|
|
|
|
|
|
|
| |
Removed an erroneous free() that was causing the corepath to be NULL
during dump_core(). This prevented dump_core() from actually calling
abort() to create a core file. The bug was introduced in December by:
0994b094569474d47e7b98e39438829e962a27e1
(cherry picked from commit a70bb435d339df52eef56fb0c5788534252d7ab7)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit aea38950ff4865f1d791cd19619fadcd59eaf480)
|
|
|
|
|
|
| |
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit cd6ae0de52164dd6f50b3614f2511acb3eb15993)
(cherry picked from commit 1ad5f50bdab761c7d3894e94f8fe3b171ec1b219)
|
|
|
|
|
| |
most systems include netinet/in.h via netdb.h but *BSD don't.
(cherry picked from commit 5b551d6e3ef2c69a5fd050abcecb4c6b0ab36402)
|
|
|
|
|
|
|
|
|
|
| |
When nmbd is acting as WINS, it picks the first interface's IP as WINS
server's IP. If the first interface's IP is zero, we will just quit
(even though we might have other interfaces with valid IPs).
This patch makes nmbd look at all interfaces and pick the first interface
with a valid IP as the WINS server's IP.
(cherry picked from commit d998ee9025f2ad2df73e25c12e35e9218b97147e)
|
|
|
|
|
|
|
|
|
|
| |
delete file
This fixes the generic rename/delete problem for 3.3.0 and above.
Fixed slightly differently to discussions, user viewable modified
ACLs are not a good idea :-).
Jeremy.
(cherry picked from commit c5462c8b43435763783185a03029903efe3b0c11)
|
|
|
|
| |
(cherry picked from commit 61465c57b9579a6f25381a9f16bca0852ca67f75)
|