| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
'NTSTATUS'
declaration before their call.
The compiler sees : { NTSTATUS fn_foo(); NT_STATUS fn_bar(); }
as *definitions: They need to be : { fn_foo(); fn_bar(); }
Jeremy.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* remove redundant call to sub_set_smb_name() in session setup code.
* Fix lockup when running 'wbinfo -t' on a Samba PDC. Cause
was new authenticated session setup from winbindd which
resulted in a mangled username (machine_) that was not found
in the local files and so was queiued up to nss_winbindd.
Deadlock....
So now make sure to keep the trailing '$' for machine account
names when calling sub_set_smb_name().
|
| |
| |
| |
| |
| |
| |
| | |
functions.
Some compilers (guess whose) have ABIs that return int values using a
different method than returning struct values.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
around failed query_user calls. This fixes
logons to a member of a Samba domain as a user from a
trusted AD domain.
As per comments on samba-technical, I still need to add
(a) cache the PAC info as werll as NTLM net_user_info_3
(b) expire the cache when the SMB session goes away
Both Jeremy and Guenther have signed off on the idea.
|
| |
| |
| |
| | |
Still needs some more testing ni domains with multiple DCs. Coming next....
|
| | |
|
| |
| |
| |
| |
| |
| | |
* COPYRIGHT (C) 1986 Gary S. Brown. You may use this program, or
* code or tables extracted from it, as desired without restriction.
Jeremy.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Volker
|
| |
| |
| |
| | |
fix copy/paste error
|
| |
| |
| |
| |
| |
| |
| |
| | |
Fixed "clean" target -- bin/libmsrpc.a was not being deleted.
Jerry, the shared version of libmsrpc is not using a version number. For consistency, I added LIBMSRPC_MAJOR and LIBMSRPC_MINOR definitions but they are not
currently being used. I don't know if the non-use of version is intentional
or not.
|
| |
| |
| |
| | |
winbindd_dual_getsidaliases()
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
logons work if the client gives the MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT
or MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT flags. This changes
the auth module interface to 2 (from 1). The effect of this is
that clients can access resources as a machine account if they
set these flags. This is the same as Windows (think of a VPN
where the vpn client authenticates itself to a VPN server
using machine account credentials - the vpn server checks
that the machine password was valid by performing a machine
account check with the PDC in the same was as it would a
user account check. I may add in a restriction (parameter)
to allow this behaviour to be turned off (as it was previously).
That may be on by default.
Andrew Bartlett please review this change carefully.
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| | |
Pointed out by Jay Fanlason @ Red Hat.
Jeremy.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
might use it.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
of the Samba4 timezone handling code back into Samba3.
Gets rid of "kludge-gmt" and removes the effectiveness
of the parameter "time offset" (I can add this back
in very easily if needed) - it's no longer being
looked at. I'm hoping this will fix the problems people
have been having with DST transitions. I'll start comprehensive
testing tomorrow, but for now all modifications are done.
Splits time get/set functions into srv_XXX and cli_XXX
as they need to look at different timezone offsets.
Get rid of much of the "efficiency" cruft that was
added to Samba back in the day when the C library
timezone handling functions were slow.
Jeremy.
|
| |
| |
| |
| |
| | |
Bartlett for pointing this out.
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| | |
patch.
Jeremy.
|
| |
| |
| |
| |
| | |
an *integer*, not a pointer. Doh !
Jeremy.
|
| |
| |
| |
| |
| | |
and client_name when doing netlogon credential setup.
Jeremy.
|
| |
| |
| |
| |
| | |
a/c we were asking for.
Jeremy.
|
| |
| |
| |
| |
| |
| | |
don't initialize the mask then setting "special" access
gets set to *random* permissions !
Jeremy.
|
| |
| |
| |
| |
| |
| | |
bugzilla bugs - I need to go through and check. I also
need to test against WNT/W2K and WXP.
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| | |
up a *lot*.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| | |
to be set in local.h. Change from the default (131) to
another prime (1049). Should this be an smb.conf tunable parameter
based on the number of open file descriptors available ?
If so what scaling factor ? More tests to follow.
Jeremy.
|
| |
| |
| |
| |
| | |
any potential lib/smbldap.c calls.
Jeremy.
|
| |
| |
| |
| |
| | |
function. Oops.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| | |
only tell at parse time from the wire if an incoming name
has wildcards or not. If it's a mangled name and we demangle
the demangled name may contain wildcard characters. Ensure
these are ignored.
Jeremy.
|
| |
| |
| |
| |
| | |
trans2_mkdir/trans2_open/trans2_setfilepathingo.
Jeremy.
|
| |
| |
| |
| |
| | |
XATTR calls on *BSD systems (bug #3218).
Jeremy.
|
| |
| |
| |
| | |
Volker
|
| |
| |
| |
| | |
Jeremy.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
inside a
message handler, the list of messages from retrieve_all_messages is not
properly freed. Not important, just confusing :-)
Volker
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
the mangle cache is no good (3 letter extension could be wrong
case - so don't demangle in this case - leave as mangled and
allow the mangling of the directory entry read (which is done
case insensitively) to match instead. This will lead to more
false positive matches but we fail completely without it.
Jeremy.
|
| |
| |
| |
| |
| |
| | |
a directory when you've got permissions. Need to write
a smbtorture test for this.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| | |
can treat them similarly to file opens (delete on
close, share mode violations etc.). This fixes bug
#3216 I will up the default hash size on the locking
db in a later commit as this means more entries.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| | |
(this is the way it's been done in other functions). Instead
of moving this into the IDL, I think the best solution would
be to write a wrapper function around any call that needs
this (this is what we already do for many of the calls).
Jeremy.
|