| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| | |
merging to 3_0_26 once Michael's net conf changes have been merged. It
depends on token_utils.c.
|
| |
| |
| |
| | |
the domain.
|
| | |
|
| |
| |
| |
| |
| |
| | |
lib/util_tdb.c exactly match the definitions. (There were
some [u]int_32_t instead of [u]int32, which made a gcc 2.95
on an old AIX without system [u]int32[_t] types complain...)
|
| |
| |
| |
| |
| |
| |
| |
| | |
Günther, please check this!
Thanks,
Volker
|
| |
| |
| |
| | |
Guenther
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
patch.
This changes "struct process_id" to "struct server_id", keeping both is
just too much hassle. No functional change (I hope ;-))
Volker
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Vista. Vista provides a plethora of kludges to simulate older versions of
Windows. The kludges are in the form of shortcuts (or more likely symbolic
links, but I don't know enough about Vista to determine that definitively)
and in most cases, attempts to access them get back an "access denied"
error. On one particular folder, however, "<share>/Users/All Users", it
returns an unknown (to ethereal and the Samba3 code) NT status code:
0x8000002d. Although this code does not have a high byte of 0xc0 indicating
that it is an error, it appears to be an alternate form of "access denied".
Without this patch, libsmbclient times out on an attempt to enumerate that
folder rather than returning an error to the caller. This patch corrects
that problem.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
configure.in determines if -Werror-implicit-function-declaration is
available, and if so it enables that flag if --enable-developer is
specified. Since the configure tests themselves did not use that flag, it
was possible for a configure test to succeed, followed by a failed
compilation due to a facility being available but not having a proper
declaration in a header file. (This bit me with readahead().) This patch
ensures that if implicit function declarations will kill the build, the
feature being tested is deselected so the build will succeed.
The autoconf manual suggests using return instead of exit in configure
tests because the declaration for exit is often missing. We require this
now, since we error if prototypes are missing. See section 5.5.1 of
http://www.gnu.org/software/autoconf/manual/autoconf.html. This patch makes
these changes, because in fact, an external declaration for exit is missing
here (and likely elsewhere).
I've verified that the features selected (here) with the original
configure.in and the new one are the same except for, in my case,
readahead. I've also confirmed that the generated Makefile is identical.
These changes are not being applied to the 3.0.26 branch because it does not
exhibit the initial problem this patch is supposed to solve since it doesn't
attempt to use -Werror-implicit-function-declaration.
|
| |
| |
| |
| |
| |
| |
| | |
names"
and the username has been munged. Make sure to munge it back before
performing the change_password() request.
|
| |
| |
| |
| | |
from Dnailo A.)
|
| |
| |
| |
| |
| |
| | |
When asked to create a machine account in an OU as part
of "net ads join" and the account already exists in another
OU, simply move the machine object to the requested OU.
|
| | |
|
| |
| |
| |
| |
| | |
take care not to expire the name2sid cache entry just because
that child does not know that the primary domain is offline.
|
| |
| |
| |
| |
| |
| |
| | |
* Log the NTSTATUS when saving name/sid cache entry
* Allow the backend loolkup_usergroups() call in winbindd_{rpc,ads}.c
to inform the wcache manager that the group list should not be cached
(needed for one-way trusts).
|
| |
| |
| |
| |
| | |
previous call was unsuccessful. needed for offline
logons.
|
| |
| |
| |
| |
| | |
Assume that "NO_DOMAIN_CONTROLLERS_FOUND" means that the domain
is offline.
|
| |
| |
| |
| |
| |
| |
| | |
settings from one trusted domain with no incoming trust path.
Guenther, I think this is ok as we only need the pw policy
to give feedback on upcoming expiration times.
|
| |
| |
| |
| | |
for use by the require-membership-of pam_winbind option.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
to the idmap child.
Also remove the check for the global offline state in child_msg_offline()
as this means we cannot mark domains offline due to network outages.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Helps when transitioning from offline to online mode.
Note that this is a quick hack and a better solution
would be to start the DNS server's state between processes
(similar to the namecache entries).
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(a) Ignore the negative cache when the domain is offline
(b) don't delete expired entries from the cache as these
can be used when offline (same model as thw wcache entries)
(c) Delay idmap backend initialization when offline
as the backend routines will not be called until we go
online anyways. This prevents idmap_init() from failing
when a backend's init() function fails becuase of lack of
network connectivity
|
| |
| |
| |
| | |
and the krb5 tkt cache could not be created due to clock skew.
|
| |
| |
| |
| | |
is initialized.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Rely on the fact that name2sid will work for any name
in a trusted domain will work against our primary domain
(even in the absense of an incoming trust path)
* Only logons will reliably work and the idmap backend
is responsible for being able to manage id's without contacting
the trusted domain
* "getent passwd" and "getent group" for trusted users and groups
will work but we cannot get the group membership of a user in any
fashion without the user first logging on (via NTLM or krb5)
and the netsamlogon_cache being updated.
|
| |
| |
| |
| | |
need some fixing here for a Samba DC)
|
| |
| |
| |
| | |
daemon to manage the complete trusted domain cache
|
| |
| |
| |
| | |
when calling the async lookupsid() routine
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
information return from our DC in the DsEnumerateDomainTrusts()
call. If the fails, we callback ot the older
connect-to-the-remote-domain method.
Note that this means we can only reliably expect the native_mode
flag to be set for our own domain as this information in not
available outside our primary domain from the trusted information.
This is ok as we only really need the flag when trying to
determine to enumerate domain local groups via RPC.
Use the AD flag rather than the native_mode flag when using
ldap to obtain the seq_num for a domain.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(a) Query our primary domain for trusts
(b) Query all tree roots in our forest
(c) Query all forest roots in trusted forests.
This will give us a complete trust topology including
domains via transitive Krb5 trusts. We also store the
trust type, flags, and attributes so we can determine
one-way trusted domains (outgoing only trust path).
Patch for one-way trusts coming in a later check-in.
"wbinfo -m" now lists all domains in the domain_list() as held
by the main winbindd process.
|
| |
| |
| |
| |
| | |
to use the same code path after we resolve the name/gid to
a SID. Use the async lookupname/lookupsid interface.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
same heuristic. First try our DC and then try a DC in the
root of our forest. Use a temporary state since
winbindd_lookupXXX_async() is called from various winbindd
API entry points.
Note this will break the compile. That will be fixed in the
next commit.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
list of trusted domains without requiring each winbindd process
to aquire this on its own. This is needed for various idmap
plugins and for dealing with different trust topoligies.
list_trusted_domain() patches coming next.
|
| | |
|
| |
| |
| |
| | |
laptop :-)
|
| |
| |
| |
| |
| |
| | |
Thanks to Tom Bork for reporting this!
Volker
|
| | |
|
| |
| |
| |
| | |
lock_struct *
|
| |
| |
| |
| | |
Jerry, please add this for 3.0.25 final
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| | |
to examine parse_misc.c fix.
Jeremy.
|
| |
| |
| |
| |
| | |
before talloc.
Jeremy.
|
| |
| |
| |
| |
| |
| | |
winbindd's kerberized pam_auth use that.
Guenther
|
| |
| |
| |
| |
| |
| |
| |
| | |
NTSTATUS
codes directly out of the krb5_error edata.
Guenther
|
| |
| |
| |
| | |
Guenther
|
| |
| |
| |
| |
| |
| |
| |
| | |
- add AC_GNU_SOURCE macro for systems which don't have it
(sles8)
- fix compiler warning on some systems
metze
|
| |
| |
| |
| |
| |
| |
| |
| | |
Forgot those
in the previous commit.
Guenther
|