| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Karolin
(cherry picked from commit 54dffbea663ecf4542d6c5e30da6e346d5d60424)
(cherry picked from commit 2538df1ea3229ea6d8242b5ae6fdd3d453395609)
|
|
|
|
|
|
|
|
|
| |
metze
(cherry picked from commit a14efbadd53ac9678d75e6029f947d63cfa0c4e5)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
This addresses bug #6526.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
stopped working when "modify properties" permissions were not granted (meaning you had to be allowed to disable the account that you were about to delete).
Libnetapi should not delete machine accounts, as this does not
happen on win32. The WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE flag
really means "disable" (both in practice and docs).
However, to keep the functionality in "net ads leave", we
will still try to do the delete. If this fails, we try
to do the disable.
Additionally, it is possible in windows to not disable or
delete the account, but just tell the local machine that it
is no longer in the account. libnet can now do this as well.
Don't use ads realm name for non-ads case. #6481
Also check that the connection to ads worked.
|
|
|
|
|
|
|
| |
It is not technically an ldb bug, but apparently some callers try to access
res before checking the ldb_search() return code.
So make their attempt very evident (a NULL dereference will make it cristal
clear where the bug is).
|
|
|
|
|
|
|
| |
This used to be commit 6343cab3 in master.
Karolin
(cherry picked from commit 56e877662dd6da64b348803c24e85f60ee6b3d85)
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
information.
Guenther
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
messaging context
Because messaging_reinit() may add events to the event context, which will
removed by event_context_reinit().
metze
(cherry picked from commit 56af6112d67aa9dd3757297fbe29ce1a3eabf00d)
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
the fixed configure check led to a missing semicolon in the now activated BSD
code. Then this error was even copypasted into the new AIX code. grrr
|
|
|
|
|
|
| |
configure.in, and the application of it in time.c
Jeremy.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In event handlers, we might destroy other events that are pending in the lists.
We can only run one event safely per select call.
Yes, I've seen these valgrind errors :-)
Jeremy, with ccdd921e61 you had checked in the change to run multiple events.
Do you remember why it was necessary and could not be solved in a different
way?
Volker
|
|
|
|
|
|
|
|
|
| |
(The test needs to additionally include <netinet/in_systm.h>.)
Michael
(cherry picked from commit a223b096700bc54b446a0e152c842b088566720b)
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
|
|
|
|
|
|
|
| |
under solaris
Michael
(cherry picked from commit 1b7beaed69823b3c401bc4c0b1c502b671169168)
Signed-off-by: Michael Adam <obnox@samba.org>
|
|
|
|
|
|
|
|
| |
thread/fork safe
metze
(cherry picked from commit 7fc7ee9331d0539359ad88c527f59d5fdf212209)
(cherry picked from commit d74b63091781e442e42b1fa7881e903a0bcc928c)
|
|
|
|
|
|
|
| |
compilers
can't kill us later.
Jeremy.
|
|
|
|
|
|
|
| |
binaries that don't have
an event context or a msg context. Fixes crash bug in swat.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
|
|
|
| |
This fixes a regression reported by Corinna Vinschen <corinna@vinschen.de>
Thanks,
Volker
|
|
|
|
| |
Signed-off-by: Bo Yang <boyang@novell.com>
|
|
|
|
| |
krb5 refresh chain fixes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
<realrichardsharpe@gmail.com>.
"It seems to me that if the lock is already held by another process when we
enter this code, there is a race between the timeout and the granting. If
the lock is subsequently granted, the process releasing the lock will signal
the wait variable (or whatever) and our process will be scheduled. However,
if the timeout occurs before we are scheduled, the timeout will be delivered
first.
We will have the lock but will forget we have the lock, and never release
it."
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Signed-off-by: Stefan Metzmacher <metze@samba.org>
|
|
|
|
| |
Never seen this to be a problem, but it doesn't hurt either :-)
|
|
|
|
|
|
|
|
| |
All callers expect 0 an success and -1 on error.
metze
(cherry picked from commit a255f9ce713b29552722ec73e4038226959e1c8e)
(cherry picked from commit 9aa543fee7ebcc95125d18868bdec7e4bf577d8a)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This used to be checkin 3f0406f6 to master
|
| |
|
| |
|
|
|
|
| |
conflicts
|
|
|
|
| |
Signed-off-by: Andreas Schneider <anschneider@suse.de>
|
|
|
|
|
| |
This is an orthogonality measure to make clear this pointer now belongs to the
cache.
|
|
|
|
|
|
|
| |
This fixes a memleak found by Martin Zielinski <mz@seh.de>. Thanks for
looking closely!
Volker
|
| |
|
| |
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
|
| |
checks for all SAMR calls.
Jeremy.
|
|
|
|
| |
Jeremy.
|