| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
| |
from APP_HEAD
|
|
|
|
| |
AllowDebugChange, saving the debuglevel across lp_load() calls etc.
|
| |
|
|
|
|
|
| |
function. Also fixed crash bug - I don't think anyone uses this
command anymore...
|
|
|
|
| |
pointers.
|
|
|
|
| |
J.F.
|
|
|
|
|
|
|
|
|
|
| |
changed cli_nt_setup_creds() to call cli_net_auth_2 or cli_net_auth_3 based on a switch.
pass also the negociation flags all the way.
all the places calling cli_nt_setup_creds() are still using cli_net_aut2(), it's just for future use and for rpcclient.
in the future we will be able to call auth_2 or auth_3 as we want.
J.F.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
server name and everything works as advertised. See the MSDN doco for details.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- SAM_DELTA_RENAME{USER,GROUP,ALIAS}
- SAM_DELTA_DELETE{USER,GROUP}
Renamed some of the unknown delta types and their unmarshalling functions:
- SAM_DELTA_TRUST_DOMS
- SAM_DELTA_SECRET_INFO
|
|
|
|
| |
samsync operations (as a BDC)
|
|
|
|
|
|
| |
try to keep to functions inside libsmbclient.
Andrew Bartlett
|
| |
|
| |
|
|
|
|
|
| |
which lsaqueryinfo to do based in infoclass. Currently 12 is the only one
that causes a queryinfo2.
|
|
|
|
| |
what 2k does.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
setups.
- split up the ads structure into logical pieces. This makes it much
easier to keep things like the authentication realm and the server
realm separate (they can be different).
- allow ads callers to specify that no sasl bind should be performed
(used by "net ads info" for example)
- fix an error with handing ADS_ERROR_SYSTEM() when errno is 0
- completely rewrote the code for finding the LDAP server. Now try DNS
methods first, and try all DNS servers returned from the SRV DNS
query, sorted by closeness to our interfaces (using the same sort code
as we use in replies from WINS servers). This allows us to cope with
ADS DCs that are down, and ensures we don't pick one that is on the
other side of the country unless absolutely necessary.
- recognise dnsRecords as binary when displaying them
- cope with the realm not being configured in smb.conf (work it out
from the LDAP server)
- look at the trustDirection when looking up trusted domains and don't
include trusts that trust our domains but we don't trust
theirs.
- use LDAP to query the alternate (netbios) name for a realm, and make
sure that both and long and short forms of the name are accepted by
winbindd. Use the short form by default for listing users/groups.
- rescan the list of trusted domains every 5 minutes in case new trust
relationships are added while winbindd is running
- include transient trust relationships (ie. C trusts B, B trusts A,
so C trusts A) in winbindd.
- don't do a gratuituous node status lookup when finding an ADS DC (we
don't need it and it could fail)
- remove unused sid_to_distinguished_name function
- make sure we find the allternate name of our primary domain when
operating with a netbiosless ADS DC (using LDAP to do the lookup)
- fixed the rpc trusted domain enumeration to support up to approx
2000 trusted domains (the old limit was 3)
- use the IP for the remote_machine (%m) macro when the client doesn't
supply us with a name via a netbios session request (eg. port 445)
- if the client uses SPNEGO then use the machine name from the SPNEGO
auth packet for remote_machine (%m) macro
- add new 'net ads workgroup' command to find the netbios workgroup
name for a realm
|
| |
|
|
|
|
|
|
| |
problems here.
Also fixed some non-constant initialisers in samsync.
|
|
|
|
|
|
| |
and must == unix username for sane implementation in passdb.
Andrew Bartlett
|
|
|
|
|
|
|
|
| |
pretty half-arsed at the moment and doesn't work very well but Mr Bartlett
was interested in it.
Also started playing around with the more interesting bits of popt. The
auto-generated usage information is pretty neat.
|
| |
|
| |
|
|
|
|
| |
as they're no longer new!
|
| |
|
|
|
|
|
|
| |
determine what access masks should be applied to various SAMR calls.
Andrew Bartlett
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Correct the 'none mapped' behaviour, (so that it matches Win2k) and add a
function to make the SID types appear as text strings in logs/rpcclient.
Also, remove a silly case that would cause 'failure' to be 'success'. (Might
look at this a bit more in future).
Andrew Bartlett
|
|
|
|
| |
code
|
|
|
|
|
| |
Now let's keep this in sync !
Jeremy.
|
| |
|
|
|
|
| |
Andrew Bartlett
|
|
|
|
|
|
| |
few more places to use it.
Andrew Bartlett
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Some reformatting.
|
| |
|
|
|
|
| |
when using restrictanonymous.
|
| |
|
|
|
|
|
|
| |
- close down connect and domain policy handles when exiting
- allow enumeration of > 65535 groups or aliases
- error handling for non-zero return value from enumeration functions
|
|
|
|
|
|
|
|
| |
didn't make any sense, and its was always just strlen(password) anyway.
This fixes it to be strlen(password)+1
Andrew Bartlett
|