| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
| |
The patch simply uses a more descriptive variable name for tcp_seq.
lib/socket_wrapper/socket_wrapper.c:753: warning: declaration of 'tcp_seq' shadows a global declaration
/usr/include/netinet/tcp.h:40: warning: shadowed declaration is here
lib/socket_wrapper/socket_wrapper.c: In function `swrap_marshall_packet':
lib/socket_wrapper/socket_wrapper.c:919: warning: declaration of 'tcp_seq' shadows a global declaration
/usr/include/netinet/tcp.h:40: warning: shadowed declaration is here
(cherry picked from commit 03cbea1d653c716b16347c831aa56dca0eb297ab)
|
|
|
|
|
|
|
| |
This is a workaround for the cases where you want to join under a netbios name
that is different from your hostname, i.e. a name that can not be found in
/etc/hosts or dns. In these cases, name_to_fqdn fails or gives invalid results.
(cherry picked from commit 84951b54bc1473aa9275c02cc37a9f0d7d4150e2)
|
|
|
|
| |
(cherry picked from commit f63bac521f0595ccbcf687678e325649f3e0e5e3)
|
|
|
|
|
|
| |
Jeff, Steve, please check!
(cherry picked from commit 110756cc7bcaed5a9d6aa58f3b3fe4481f8d1f31)
(cherry picked from commit 46b050e525b339fbac68329f668e47ebd11b3e08)
|
|
|
|
| |
(cherry picked from commit 41aed9f2f3c6d53e1b8b6d72467bc5d5a0689dce)
|
|
|
|
| |
(cherry picked from commit 1709a099c82e9b06771b3aa562c5488a71f10c62)
|
|
|
|
| |
(cherry picked from commit af055bb8d89a14ed572f76b5f8fe492e0ed98e12)
|
|
|
|
|
| |
Not sure if we can ever not get domain and dns_domain, but gcc complained
(cherry picked from commit e56b0b947a5c357c4e84b330c38d7a7f569be201)
|
|
|
|
| |
(cherry picked from commit 52365077e74e80959a42aa82cf9a6c959e2fcda5)
|
|
|
|
| |
(cherry picked from commit 65169e4b5f182f1614e102bb0e09326a26bd5b5d)
|
|
|
|
| |
(cherry picked from commit de581efedbc53a783a680ff366d37aeccd14ee23)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit 4dc2eb7f42bad6812d21bf4577e2901b04a5ca83)
|
|
|
|
|
|
|
| |
This is helpful on multihomed hosts that only require a subset
of IP addresses be registered with DNS.
(cherry picked from commit 17c9f8810598d8117befc896d12a597a52b0ac3b)
(cherry picked from commit 2fb742e127f725b56f308538852d7b10b86f29c1)
|
|
|
|
|
|
|
|
|
| |
Hostname, TYPE: CNAME, CLASS: NONE
This has to have been broken for ages. I cannot see
how it would have worked in any environment.
(cherry picked from commit 6b6402bce318a48b0890ed6fc23ed5b30440927b)
(cherry picked from commit adde53eddb85e9af391c3f77425a3376c5c60dbf)
|
|
|
|
|
|
|
|
|
|
| |
Unsupported character set.
Cups 1.3.4 expects utf8 to be used in all messages to/from the server. We may be using a
different character set so we need to use talloc utf8 push/pull functions in all communication.
Contains the !server fix already applied to 3.3.
Jeremy.
(cherry picked from commit a1323951a3264f81be07276f021201bee0d8d0f5)
|
|
|
|
|
|
|
|
|
| |
- When calling setup_logging multiple times, the code was closing the debug
file descriptor before opening or assigning the new one. We don't, however,
want to close the debug file descriptor if it is stdout.
Derrell
(cherry picked from commit 7142872d2c6e0be42307671afa31016f6940007d)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit d596f78517f33f5a4c4849be3162d4f3031f045f)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This API is unusual in that if used to remove a non-list head it nulls out
the next and prev pointers. This is what you want for debugging (don't want
an entry removed from the list to be still virtually linked into it) but
means there is no consistent idiom for use as the next and prev pointers
get trashed on removal from the list, meaning you must save them yourself.
You can use it one way when deleting everything via the head pointer, as
this preserves the next pointer, but you *must* use it another way when not
deleting everything via the head pointer. Fix all known uses of this (the main
one is in conn_free_internal() and would not free all the private data entries
for vfs modules. The other changes in web/statuspage.c and winbindd_util.c
are not strictly neccessary, as the head pointer is being used, but I've done
them for consistency. Long term we must revisit this as this API is too hard
to use correctly.
Jeremy.
(cherry picked from commit 347fc4ed725083f2c520afc39f7c81db0dd60324)
|
|
|
|
|
|
|
|
|
|
| |
there'll now only be one socket per smbd.
Changed the format of the wire data to (a) include a version number (V1) as the first element. (b) removed the
";)" at the end an replaced it with a "\n". Receiver can change back if needed, and now receiver can just log
"as-is" to a text file (making testing easier). Added my (C). Sorry Holger, but I've changed quite a bit now.
Jeremy.
(cherry picked from commit 7ea95c19305a2fb6efc95acc4e96f083e31f6c6f)
|
|
|
|
|
|
|
|
| |
correctly
deal with EINTR. Jim and Holger please check this still works.
Jeremy.
(cherry picked from commit dc1ff1a9c07edf7e3e649b256667704ad59aafbd)
|
|
|
|
|
|
|
|
|
| |
on connect, and closes the socket on client disconnect. This should
make it much more efficient. Store the remote fd in a private data
pointer off the handle. Finally we need to remove the fstrings and
convert to allocated buffer storage.
Jeremy.
(cherry picked from commit 2f7884babcefcb04d1f9a877dde41e11b0f7b825)
|
|
|
|
|
|
|
| |
works correctly we must emit the change notify before we change the name, not before.
Jeremy.
(cherry picked from commit 10ae99d86c0c90bee9a0538854f6f96fc7cbbc23)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This option really is essential, as we discover again and again at
customer sites. Due to bugs in winbind some domains are toxic. When
you are installing at a site and a particular domain in a complex
setup causes winbind to segfault or hang then you need a way to
disable that domain and continue.
In an ideal world winbind could handle arbitrarily complex ADS
domains, but we are nowhere near that yet. If we ever get to that
stage then we won't need this option.
(cherry picked from commit 41898a42c1ad7d382088799a6e3f712583808d20)
|
|
|
|
|
|
|
| |
With some setups, idmap_tdb2_allocate_id can be called before the
allocate backend is initialised, leading to a segv. This change
ensures that the db is opened in all paths that use it
(cherry picked from commit 3a2a70996919a7ee08fea40b8e5f1cf2e3bd7caf)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit 3cba8305bd32c7a83fd9c39eaea953b8a0199b22)
|
|
|
|
|
|
| |
If opening new_file fails, fsp would still be set to the files_struct of
old_file.
(cherry picked from commit f75b53f85cbccc4b37db4c9adc0df81a06898d38)
|
|
|
|
| |
(cherry picked from commit 503d1c0226fb38c21b14fe1deac11b0ec461b4d0)
|
|
|
|
|
|
|
|
| |
STATUS_OBJECT_NAME_NOT_FOUND on set file disposition call.
This was my fault. I use a singleton cache (positive and negative) to speed up pathname based qfileinfo/setfileinfo lookups for alternate fsp's open on the same path. I only invalidated the negative cache on adding a new file fsp, as I incorrectly imagined the new fsp was put at the *end* of the open files list. DLIST_ADD puts it at the start, meaning any subsequent open wasn't seen once the cache was set. Doh !
Jeremy.
(cherry picked from commit a7fd59a26bfc4a98b6936dc3ac8e67e1a7cb3733)
|
|
|
|
|
|
|
|
|
| |
We don't need to deny a DELETE open on a readonly file (I'm also adding a s4
torture test for this), the set_file_disposition call will return
NT_STATUS_CANNOT_DELETE if the delete-on-close bit is set
on a readonly file (and we already do this).
Jeremy.
(cherry picked from commit dd43302066b2d3f5270d3ee25a1e2c85d8ce2b85)
|
|
|
|
|
|
|
|
| |
parm_err is not a ref pointer.
Guenther
(cherry picked from commit 29942b7043c1a31ad4fb76d01ab19fd3dbf26f0a)
(cherry picked from commit 6debf35c1575a25f98f927726742a7f34b3a55a9)
|
|
|
|
|
|
|
| |
needs changing to talloc_sprintf) and fix file descriptor resource leaks
in error paths. Jim and Holger please check !
Jeremy.
(cherry picked from commit d55becbe492cf3c95ef45ebb2c123067a9297b4f)
|
|
|
|
| |
(cherry picked from commit d36039acd8f1722ba76b5999d7fea4f046735817)
|
|
|
|
|
|
|
|
|
| |
Used to gather data to feed to a database for live and historical
analysis of usage per user, per share, etc.
Helper apps to read the data still to come. This one still needs to be
made ipv6 enabled (connection is made to the helper app).
(cherry picked from commit baf49e5fcabd3682927fe19974c97bbae4be7379)
|
|
|
|
|
|
|
|
|
| |
disposition.
We were checking that fd != -1 in file_find_di_XXX calls which is no longer
needed due to a change in internal semantics.
Jeremy.
(cherry picked from commit bd7acd6344022e87495edc124e262eb50ba5ebd8)
|
|
|
|
|
|
|
| |
patch from shargagan@novell.com
Jeremy.
(cherry picked from commit 0a0426650e596453b4b8aa6536f4fe8b1d890451)
|
|
|
|
|
|
| |
That was an old and subtle bug.
Jeremy.
(cherry picked from commit c412888f916563c44c4c753884df23c1951f6e27)
|
|
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit 1f44b4aaa5f700827ee2ab272ae4b59e559b094b)
(cherry picked from commit 020c03bff844ef976dd786a755c4d682bf161a3d)
(cherry picked from commit 5a9a190a5588b0cf938bc5c9659b7704d18cd4a3)
(cherry picked from commit c83295d3b575be80a432c4716be62cd63eb3bdef)
|
|
|
|
|
|
|
| |
Karolin
(cherry picked from commit cf40fb97239ed9a11e5750fde6e078233e567bba)
(cherry picked from commit 6e1d92e3b324a0759486f914a0e4b32be1142aee)
(cherry picked from commit 656189740d701246a8689e3348510715122bf148)
|
|
|
|
| |
Karolin
|
|
|
|
| |
Karolin
|
|
|
|
|
|
| |
Karolin
(cherry picked from commit b6b7aa023b62ab8994d13cb91d5185204c1500b2)
(cherry picked from commit d553faff4ae9aa1fdc1bb716e901dcede7799f27)
|
|
|
|
|
|
|
| |
up a non-existant uid.
Jeremy.
(cherry picked from commit a31b006a411266adf49d2eefd1f80bbb091f0c4c)
|
|
|
|
|
| |
Karolin
(cherry picked from commit 01fa2fa4b38d90573ada3dd4f9d67b1be52fd83b)
|
|
|
|
| |
(cherry picked from commit 30a660ea41faa3b84afa8819c7673b3fe334e79b)
|
|
|
|
|
| |
Karolin
(cherry picked from commit bf38373c978c8e1fd4c33d024e9608fe5083c344)
|
|
|
|
|
|
| |
Karolin
(cherry picked from commit c4f361a17f51e4897ac2faafc65ebc8349e19001)
(cherry picked from commit da7a60a82bfecbf5b1a10bdbccf4682fd92b65bb)
|
|
|
|
| |
(cherry picked from commit 144b1bb05a734e15369d6d59636b6849d9405af5)
|
|
|
|
| |
(cherry picked from commit faa732c245c9296ff4cd4a56f353c3d5d1b0d202)
|
|
|
|
| |
(cherry picked from commit c2a05d4ed34aa8185a7d236e8d7b1493d67a3068)
|
|
|
|
|
|
|
| |
Compiling utils/sharesec.c
utils/sharesec.c: In function `change_share_sec':
utils/sharesec.c:404: warning: 'sd' might be used uninitialized in this function
(cherry picked from commit 931abf7898f574fcf70c239b2ad5c180ff6bb8e8)
|