| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
* fixed constant vaolued returned by REG_UNKNOWN_1A
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is not the final solution, I think this will probably changed with the
move to the new SAM subsystem, but it allows some research and gives us
somthing to start with.
It should also help with getting proper NT_TOKEN passing set-up.
Original patch by "Kai Krueger" <kai@kruegernetz.de>, which I have modified to
pass back NTSTATUS returns in more places and to use a little more common code.
Andrew Bartlett
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
via regedt32.exe. The regsitry.tdb is only a framework. It is not
intended to store values, only key/subkey structure. The data
will be retrieved from nt*tdb (for printers) creating a virtual view
of the data.
You can currently connect to a Samba box using regedt32.exe (haven't
tried regedit.exe). Some basic keys are created in registry.tdb
for use.
There are two problems....
* something is getting freed in the winreg code that causes heap
corruption later on. As long as you don't play with the winreg
server functionality, I don't think you'll be bitten by this.
* no access controls are currently implemented
* I can't browse HKLM because regedt32 greys out the SYSTEM subkey.
ok so that was three....
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*.o) and implment new enum_dom_users code in the SAMR RPC subsystem.
Incresingly, we are using the pdb_get_{user,group}_sid() functions, in the
eventual hope that we might one day support muliple domains off a single
passdb. To extract the RID, we use sid_peek_check_rid(), and supply an
'expected' domain SID.
The id21 -> SAM_ACCOUNT and id23 -> SAM_ACCOUNT code has been moved to
srv_samr_util.c, to ease linking in passdb users.
Compatiblity code that uses 'get_global_sam_sid()' for the 'expected' sid is in
pdb_compat.c
Andrew Bartlett
|
|
|
|
|
|
|
|
| |
and appear to be functions for internal use.
Richard: please check.
Andrew Bartlett
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Andrew Bartlett
|
| |
|
|
|
|
|
|
| |
Went through and checked all string_subs I could to ensure they're being
used correctly.
Jeremy.
|
|
|
|
| |
WinXP. This fixes setting security decsriptors from XP Professional.
|
| |
|
| |
|
|
|
|
| |
code
|
|
|
|
|
| |
this fixes the huge number of struct berval warnings on non-ads
compiles
|
|
|
|
| |
server. We were rejecting them, leaving the name unregistered!
|
|
|
|
| |
(ie. check for lp_dns_proxy())
|
| |
|
|
|
|
|
| |
broadcast addresses. This makes it far more likely that we will try to
talk to an interface that is routable from one of our interfaces.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bytes which follow the header, not the full packet size.
[Yes, the length field is either 17-bits, or (per the RFCs) it is a
16-bit length field preceeded by an 8-bit flags field of which only
the low-order bit may be used. If that bit is set, then add 65536 to
the 16-bit length field. (In other words, it's a 17-bit unsigned
length field.)
...unless, of course, the transport is native TCP [port 445] in which
case the length field *might* be 24-bits wide.]
Anyway, the change is a very minor one. We were including the four bytes
of the header in the length count and, as a result, sending four bytes of
garbage at the end of the SESSION REQUEST packet.
Small fix in function cli_session_request().
|
|
|
|
| |
systems
|
|
|
|
|
| |
to a tdb per-queue for scalability.
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
str_list_copy(). Perhaps its proto should be fixed.
|
|
|
|
| |
Jeremy.
|
| |
|
|
|
|
| |
these errors happen all the time, so they shouldn't be level 0
|
|
|
|
| |
warning
|
|
|
|
| |
'valid.dat' warning
|
|
|
|
|
| |
Now let's keep this in sync !
Jeremy.
|
|
|
|
|
|
|
|
|
|
| |
to a Samba print server running HEAD in a while. This has been broken
since tridge's changes to make_connection() to not do the chdir()
to the connect_path. Sorry it took me so long to get around to fixing it.
The problem occured with our internal use of make_connection().
jerry
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We now cope wiith multiple WINS groups and multiple failover servers
for release and refresh as well as registration. We also do the regitrations
in the same fashion as W2K does, where we don't try to register the next
IP in the list for a name until the WINS server has acked the previos IP.
This prevents us flooding the WINS server and also seems to make for much
more reliable multi-homed registration.
I also changed the dead WINS server code to mark pairs of IPs dead,
not individual IPs. The idea is that a WINS server might be dead from
the point of view of one of our interfaces, but not another, so we
need to keep talking to it on one while moving onto a failover WINS
server on the other interface. This copes much better with partial
LAN outages and weird routing tables.
|
| |
|
|
|
|
|
|
| |
(from jelmer)
Andrew Bartlett
|
|
|
|
| |
prs_align() for sec_desc.
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
kernel.
|
| |
|
| |
|
|
|
|
| |
Jeremy.
|
|
|
|
| |
Jeremy.
|
| |
|
| |
|