| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
remove doublicate NULL-pointer check
metze
|
|
|
|
|
|
|
| |
- open the winsdb in the wrepl server
- add dummy function for setup the replication partners
metze
|
|
|
|
|
|
|
|
| |
- add winsdb_connect() function, so that the winsdb can be opened by the wrepl_server/ code
- remove maintaining of a min_version field, as it was implemented incorrect, and is maybe not needed at all
- fix handling of max_version, (we started with 0, on each server start)
metze
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- w2k just ignores invalid packets, so we do now
- w2k only checks the assoc_ctx when the opcode has the sepcific obcode bit's set
- terminate the connection, when getting a WREPL_STOP_ASSOCIATION packet
- some more special error handling
proper torture test for all this cases are following later
metze
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r10113@SERNOX: metze | 2005-09-09 18:00:02 +0200
rename libcli/wins to libcli/wrepl
metze
r10115@SERNOX: metze | 2005-09-09 18:01:49 +0200
bind client connection to the best interface, to the partner
metze
r10116@SERNOX: jelmer | 2005-09-09 18:23:50 +0200
Print out a couple more warnings.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
- move structs to a seperate header file
- move the code for the wreplsrv_in_call handling to a seperate file
metze
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the start of a WINS-Replicaton server:
The design is to handle incoming and outgoing connections,
in one process, because it make thing much easier, and there's
no need to it otherwise.
The current code only parses incoming packets, and can reply
to them, but currently only a standard error packets STOP_ASSOCIATON
with reason == 4 (I think it means your are not configured as a wins partner of me)
(the server service is called "wrepl")
metze
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
fix sinple ip's in wins replication, packets
metze
|
| |
|
|
|
|
|
|
|
|
| |
add struct nbt_peer_socket and use it instead of passing const char *addr, uint16 port everyhwere
(tridge: can you review this please, (make test works)
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
|
|
| |
finding out the old record was gone
- add more printf(), so -d 10 isn't needed any more
metze
|
|
|
|
|
|
|
|
|
| |
work with unions
in the main code
- loop also in level 1,2 replies
metze
|
|
|
|
|
|
|
|
|
|
|
|
| |
needed to represent all the current records on a ADS LDAP server. The
idea is we will use something based on this code to work out exactly
what schema elements we will need for our initial ADS schema. I plan
on expanding this code to automatically work out attribute properties,
and write out a schema file that we can load into ldb.
Interestingly, it looks like we only need 43 objectclasses and around
200 attributes to represent all records of a newly installed w2k3 ADS
server.
|
|
|
|
|
|
| |
--option="dssync:print_pwd_blobs=yes"
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
| |
UDP or TCP.
Andrew Bartlett
|
|
|
|
|
|
|
|
| |
random values here,
as w2k generates also random stuff here
metze
|
|
|
|
| |
Andrew Bartlett
|
|
|
|
|
|
| |
previous patch.
Andrew Bartlett
|
|
|
|
|
|
|
|
|
|
| |
authentication out of the various callers and into the kitchen
sink.. err, credentials subsystem.
This should ensure consistant logic, as well as get us one step closer
to security=server operation in future.
Andrew Bartlett
|
|
|
|
| |
Andrew Bartlett
|
|
|
|
|
|
| |
- add unique vs. normal group section in replica vs replica conflict testing
metze
|
|
|
|
|
|
|
| |
- test with different owners, and all combinations
of unique records
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
|
|
|
| |
this sometimes crashes the windows server
- add the first replication conflict tests
we now test that replica records are always overwritten
when the owner is the same
metze
|
|
|
|
| |
metze
|
| |
|
|
|
|
| |
Andrew Bartlett
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
as users in mmc.
The problem was that the samdb module was auto-adding objectClass=user
for these accounts. That would be OK, as computer accounts are
supposed to be in that objectClass, but mmc cares about the order of
the values in the objectClass attribute! It looks for the last value,
and takes that as the value to use when deciding how to manipulate the record.
So, this patch adds an explicit objectClass=user to the record when it
gets created, which tells the samdb module to not add it as well. That
fixes the order. I suspect we are missing something else though - is
objectClass supposed to auto-sort based on the schema?
|
|
|
|
| |
dn->canonicalName function abartlet just committed
|
|
|
|
|
|
|
| |
Use this new function in the client and server for the CrackNames
case, where we particularly need it.
Andrew Bartlett
|