| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Also fix a "ignoring asprintf result" warning
(cherry picked from commit 64d21f39636019d6a17f84efc6fb9e61e67a235e)
|
|
|
|
|
|
|
|
| |
by name code from conn, we were already doing the
same check in the dfs_redirect() function, so move
it into parse_dfs_path() instead.
Jeremy.
(cherry picked from commit f1021e4c8d5ace6356c5b2106153288a6eb89a6b)
|
|
|
|
|
| |
Guenther
(cherry picked from commit a159ec5f1f3ec8e9232b8f3230a996a3f9986bc1)
|
|
|
|
|
|
|
|
|
| |
Citrix PM cannot use a Samba DC when having more then 900 groups as citrix
insists on calling _samr_GetDisplayEnumerationIndex() after receiving the first
900 groups via _samr_QueryDisplayInfo() to get the continuation index.
Guenther
(cherry picked from commit 1c4adc8dda68eae9839bdff843aadf8c98dd9e87)
|
|
|
|
|
| |
Guenther
(cherry picked from commit c92b585cc42ba9f42727512c08c896ee40e5e319)
|
|
|
|
|
| |
Guenther
(cherry picked from commit cb0b0fd2684b63257421aba599f9d2111c0438bf)
|
|
|
|
|
| |
Karolin
(cherry picked from commit ced04ac5af954d91223421c6c7d34e4fc3fb2947)
|
|
|
|
|
| |
Guenther
(cherry picked from commit d077ef64cd1d9bbaeb936566c2c70da508de829f)
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit f3251ba03a69c2fd0335861177159a32b2bc9477)
(cherry picked from commit 6d445c134d4d78f8261c998a5a83feaafb01bbca)
|
|
|
|
|
|
| |
not the start of the list.
Jeremy.
(cherry picked from commit 4d30a6bff9ce8e826f0109e99021d6683ec4299f)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit 0a68f230cd92b97efed2b3bad19a3bf9a750d401)
|
|
|
|
|
|
| |
that don't look like \xxx\yyy, cope with arbitrary length.
Jeremy.
(cherry picked from commit c3328a252430007cd716a406d85fd2a0bbbff607)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that sets the DFS bit on pathnames but doesn't
send DFS paths. This causes lookups to fail as
the smbd/msdfs.c code now just eats the first
two parts of the pathname and uses the rest as
the local path. The previous hostname check
used to protect us from that as we knew that
when the hostname was invalid it was a local
path (and a broken client).
I didn't want to put that check back in, but
came up with another idea - even though the
hostname can be a different one, the sharename
must be valid on this machine. So we can check
for a valid sharename instead.
Jeremy.
(cherry picked from commit 5c6ed7774220dea30c2c8a564648406b4f3eacbf)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
call :
CatchChild();
*before* we fork the domain child. This call establishes a signal handler that
eats SIGCLD signals and doesn't call sys_select_signal() as the main daemon
SIGCLD handler should do. This causes the parent to ignore dead children and
time out, instead of calling winbind_child_died() on receipt of the signal. The
correct fix is to move the CatchChild call into the child code after the fork.
Jeremy.
(cherry picked from commit 6da910cc1c6baccbb143f0b2d347e31e9f84c35b)
|
|
|
|
|
|
|
| |
Thanks Volker for pointing this out.
Guenther
(cherry picked from commit 7ccca9a004c7a4794781cbd7c703c53a0481bd51)
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a different fix than Jeremy put into 3-0-test with 040db1ce85 and other
branches with different hashes. Jeremy, I think your fix led to bug 5436, so I
reverted your fix. This fixes the original problem I found with the transs
requests for large rpc queries in a different way. Please check!
Thanks,
Volker
(cherry picked from commit 6200e8886b29469cb1dbbe441e4f642fb28b83f2)
|
|
|
|
|
| |
This reverts commit 816aea6c1a426eb2450061b847729e22bdac33a0.
(cherry picked from commit 67f90361a07841972a01a4faf575da25ebbbb29c)
|
|
|
|
|
|
| |
Fix bug #5456. Karolin please pull for 3.2-stable.
Jeremy.
(cherry picked from commit 726d9d168d5b4bca86b478c34204eacb97907443)
|
|
|
|
|
|
| |
Needed fix for the DNS Update option as part of "net ads join"
(cherry picked from commit aebae0b71b427838fdc6344d69d6dea87a5dd58b)
(cherry picked from commit 437a59598d886b316fd58ca88ed40f5fb325c47f)
|
|
|
|
|
|
|
|
|
|
| |
This completes bba04a8fba6fd5cf62578733cfdabea590e8ff51:
The reverted logic has to be put into the callers
lp_load() and lp_load_initial_only() of lp_load_ex(), too.
Silly bug.
Michael
(cherry picked from commit 8bab6d651f1cd0efe5aa1e7808b3f043602a3dfa)
|
|
|
|
|
|
|
|
|
| |
files. Thanks to Kai Engert <kengert@redhat.com> for
reporting.
Karolin - this is a showstopper and must be pulled
into 3.2-stable. Thanks !
Jeremy.
(cherry picked from commit f7982f573dd2d339fea50c1811a42816c7721279)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Thanks to Glenn Curtis and Kyle Stemen @ Likewise. Their explanation is:
In winbindd_dual.c, there is a list of children processes that
is maintained using macros DTLIST_ADD and DTLIST_REMOVE. In the
case when a scheduled_async_request fails, the particular child
was located in the list, and its attributes were cleared out
and it was reused for a subsequent async request. The bug was that
the new request would queue the same node into the doubly-linked
list and would result in list->next pointing to the same node as
list itself. This would set up an infinite loop in the processing of
the for loop when the list of children was referenced.
Solution was to fully remove the child node from the list, such that
it could be inserted without risk of being inserted twice.
Note that the child is re-added to the list in fork_domain_child() again.
(cherry picked from commit b379b5b5d8a6daccc69aaf2be6d9a6e276e7dd78)
(cherry picked from commit 5a270bc99f52483f168d662d843672d05be74473)
|
|
|
|
|
|
|
| |
Now all those redundant fd's have vanished from the VFS API.
Michael
(cherry picked from commit 14294535512a7f191c5008e622b6708e417854ae)
|
|
|
|
|
|
|
| |
Wrap lines and remove trailing space.
Michael
(cherry picked from commit 74ed53a115b2063d4d5c8572af8f1302bc658882)
|
|
|
|
|
|
|
| |
The errno is handed up through the VFS layer to the callers.
Michael
(cherry picked from commit d928e6648d61cf2d3c1b77db440efb835b729a84)
|
|
|
|
|
|
|
|
|
| |
Now that it is inside the vfs layer, this function should
not alter the fsp (i.e. set fsp->fh->fd = -1) anymore.
That belongs above the vfs layer.
Michael
(cherry picked from commit df264bf3e00d7d77afcf55e54d2669b9ffa9af4a)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This hides the pending close fds from the outside. Call order
of SMB_VFS_CLOSE is reversed. Originally, it was:
fd_close -> fd_close_posix -> SMB_VFS_CLOSE -> close
And now it is:
fd_close -> SMB_VFS_CLOSE -> fd_close_posix -> close
This is in preparation of removing the fd parameter
from the SMB_VFS_CLOSE function. But it is also the right
place for the pending close calls anyways.
Michael
(cherry picked from commit 3cf56b124a2886c6260455bba4bf77d08e9a4f77)
|
|
|
|
|
|
| |
The IRIX make does not like lines with only whitespace. With LIBNETAPI_LIBS
evaluating to nothing this happens there.
(cherry picked from commit 2883e554f45ca01dbfc205baa0b4149d2f2a01e8)
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit 5b65df6245c1458ca21cc602df11c49aa97a25c5)
(cherry picked from commit 06f33d3725e0d82568c4a3278f59892e3e57a8ee)
|
|
|
|
|
|
|
|
|
|
| |
On AIX, Solaris, and possibly some older glibc systems (e.g. SLES8)
truncated replies never give back a resp_len > buflen
which ends up causing DNS resolve failures on large tcp DNS replies.
Also add more debug lines about processing the DNS reply.
(cherry picked from commit 5ed9b92097460cd8180db806a08213e97cfb8daa)
(cherry picked from commit 5dff914f9ebcda63b9e3c78d6d0bb5a3212c6690)
|
|
|
|
|
|
|
| |
Raise the debug msgs from Lvl 0 in the create_builtin_XX() functions
to prevent unnecessary panic from people reading the logs.
(cherry picked from commit 2983b9dc790e0f90ec1e6add131438c6bfd361b4)
(cherry picked from commit c28e21c63eca87a266078b65d65b436badc4e349)
|
|
|
|
|
|
|
| |
not returning a directory value for a QPATHINFO on a msdfs link
with a non-dfs path. Windows does this.
Jeremy.
(cherry picked from commit 1b2f189e1f78a52a4d1e224bb5d20d77bb192d56)
|
|
|
|
|
|
| |
This patch is the first iteration of an inside-out conversion to cleanup
functions in charcnv.c returning size_t == -1 to indicate failure.
(cherry picked from commit 59124382d2894a1b194b48dd82bc5f956959eb48)
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit 5bf47ebf0fb9f7d94ed36bce6bcaa31b508009bd)
(cherry picked from commit d4984ac18a907773134cc906c689655338d3949e)
|
|
|
|
|
|
| |
Guenther
(cherry picked from commit 3feaa9829cc5bdeb7a5401c3c24b3811816396ce)
(cherry picked from commit 65d3822182a4a4d1c2970a40e708844ddc319e3d)
|
|
|
|
|
|
|
| |
Should map the created sd to printer jobs, not printer.
Confirmed fix by the reporter. Karolin please pull for 3.2-stable.
Jeremy.
(cherry picked from commit f620182ac41eaf659cf53842df1089ce1f823654)
|
|
|
|
|
| |
Always, always run "make test" before pushing stuff :-)
(cherry picked from commit 7fa2f4f9b2a17eb5a3ba787cc90b22afbe6c3c5c)
|
|
|
|
|
|
| |
When we're given a SID, it is not always padded with zeros. Only look at the
initialized parts in the SID.
(cherry picked from commit 90c37a7c2cdac3de0b75f889d63f5fe1b87a48e3)
|
|
|
|
| |
(cherry picked from parts of cbdb79b7a1044945e515a294f487e4c1a9c91be5)
|
|
|
|
| |
(cherry picked from commit e473e6d50c56f52ef5e4853e4ca3b3548af06f51)
|
|
|
|
| |
(cherry picked from commit 4f1d49615e1407b9c3ad5eeb50a248b8fee50e23)
|
|
|
|
|
| |
Michael
(cherry picked from commit af2a1f15e6d45139ba62e334a3529d407430e6bd)
|
|
|
|
|
| |
This would crash safely
(cherry picked from commit 0f14357c86aee9a76ffbb45ea6419f4cc4106d62)
|
|
|
|
|
| |
Michael
(cherry picked from commit 971f6749ed23523f6eafe5136f6d4c920c20aec4)
|
|
|
|
| |
(cherry picked from commit a51cb3c1a9549d74c1e5cf05bc43b955af1a25b7)
|
|
|
|
| |
(cherry picked from commit 831a09ae25e98eacc0b0be5390d3ac3aa671a8a5)
|
|
|
|
| |
(cherry picked from commit 4244be792eeb69e883a1ece013b62fe6941086f2)
|
|
|
|
| |
(cherry picked from commit b294b2055a422e1af59e3b6843b84750b6786d99)
|
|
|
|
|
|
|
| |
There were a couple of places where we weren't checking for
authentication correctly. This chance fixes those places and properly
supports Kerberos where available.
(cherry picked from commit 8eff35bc4acc13807c895af43b52db79ee195cb5)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To summarize the changes, the patches remove the old (probably non-
working) Kerberos support code which is unnecessary with CUPS 1.3
and adds some checks on the NT status we get back to see whether
the connection error is related to authentication. If so, we send
the ATTR: message to tell CUPS we need a username and password and
return exit code 2 so cupsd will do the right thing.
AUTH_USERNAME, AUTH_PASSWORD, and KRB5CCNAME are set and supported
by CUPS 1.3. The new exit code is supported by CUPS 1.2.x and 1.3,
and it treated as a general failure in CUPS 1.1. The ATTR: message
is only supported by CUPS 1.3, while CUPS 1.2 will assume the
"username,password" value we are setting.
The current code only uses the AUTH_* env vars if they are set.
If not, we fall back to the previous behavior.
I really can't tell whether the Kerberos code that was in there
would work at all. It did not work for Mac OS X which is why
I dropped it.
(cherry picked from commit 8c12c5cea01d9b801fe80c2a87b8139c488a62a5)
|