Andrew Tridgell
1ea4ed4ad1
r6331: added IDL and test suite for the ADS style response to a datagram netlogon query.
...
Note that this response is almost identical to the CLDAP netlogon
response, so adding that will now be quite easy.
2007-10-10 13:11:32 -05:00
Tim Potter
30d0c9fb2e
r6329: Write tests for newly implemented alias functions.
2007-10-10 13:11:32 -05:00
Tim Potter
25ed39651b
r6328: Fix bug in OpenAlias.
...
Implement DeleteDomAlias, QueryAliasInfo, SetAliasInfo,
AddAliasMember, and AddMultipleMembersToAlias.
Fix one of those annoying large integer warnings.
2007-10-10 13:11:32 -05:00
Tim Potter
b6e883a613
r6327: Add LSA objects to dcerpc swig library.
2007-10-10 13:11:32 -05:00
Tim Potter
fd884ec433
r6326: Add %array_functions for struct lsa_SidPtr.
...
Pull in the auto-generated interface file for the lsa pipe
(whaddayaknow it compiled first go!)
2007-10-10 13:11:32 -05:00
Tim Potter
63dfa9b806
r6325: Rename aliasname -> alias_name in CreateDomAlias function.
2007-10-10 13:11:32 -05:00
Tim Potter
162d3609a1
r6324: Pass server name instead of binding string on command line (always use
...
ncacn_np for the moment).
Fix rpcclient to work with struct cli_credentials.
2007-10-10 13:11:31 -05:00
Andrew Tridgell
df146d64eb
r6323: added server side support for dgram NTLOGON requests. NT4 workstations can now login
...
to a Samba4 domain.
2007-10-10 13:11:31 -05:00
Tim Potter
9c45f8d7bc
r6322: Fix compile warning for struct sockaddr.
2007-10-10 13:11:31 -05:00
Andrew Tridgell
08ded62156
r6321: added IDL and test suite for NBT dgram 'sam logon' request (sent by
...
clients when a user tries to login)
2007-10-10 13:11:31 -05:00
Andrew Tridgell
4507bdc339
r6320: some minor netlogon datagram fixes - NT4 can now join a Samba4 domain without
...
Samba3 nmbd
2007-10-10 13:11:31 -05:00
Andrew Bartlett
6e2327ee9b
r6315: Allow sane session setup behaviour on SPNEGO regarding VUIDs.
...
Andrew Bartlett
2007-10-10 13:11:31 -05:00
Andrew Bartlett
d8d63e8c79
r6314: A more complete RAW-CONTEXT test. This Samba4 currently fails, but it
...
now tests areas in extended security handling (SPNEGO) that are just
plain odd...
Andrew Bartlett
2007-10-10 13:11:31 -05:00
Andrew Bartlett
c2c8b6abf3
r6313: Much better handling of LogoffAndX when the vuid is invalid (ie, don't
...
segfault). This should fix another of the issues that Richard came up
with last week.
Andrew Bartlett
2007-10-10 13:11:30 -05:00
Andrew Bartlett
c67a9370c4
r6312: Metze reminds me this header is no longer required.
...
Andrew Bartlett
2007-10-10 13:11:30 -05:00
Andrew Bartlett
0cbd11a0f2
r6310: Rename password.c to session.c, and remove the linked list of all
...
outstanding sessions, as we don't use it.
Andrew Bartlett
2007-10-10 13:11:30 -05:00
Andrew Bartlett
0bba8da460
r6309: Remove this file it is empty and unreferenced. (In preperation for
...
renaming password.c over the top, as it deals with sessions, not
passwords).
Andrew Bartlett
2007-10-10 13:11:30 -05:00
Jelmer Vernooij
690a7d71d8
r6306: Add simple WMI client test script
2007-10-10 13:11:30 -05:00
Stefan Metzmacher
4632b37d0c
r6295: - add idl for EcDoRpc from the exchange_emsmdb interface
...
this one uses a obfuscation(0xA5) subcontext
this is taken from the openchange.org project
metze
2007-10-10 13:11:30 -05:00
Stefan Metzmacher
27ccdd6182
r6294: - add obfuscate support, which is used in MAPI rpc's, (the ^= 0xA5 stuff),
...
based on a patch from j.kerihuel@openchange.org
- remove unused $ndr_flags argument for the ParseCompression*Start() function's
metze
2007-10-10 13:11:30 -05:00
Stefan Metzmacher
f5424d2dad
r6293: fix formating
...
metze
2007-10-10 13:11:29 -05:00
Andrew Tridgell
406217262d
r6288: the nbt dgram server now responds to GETDC requests. It works with our
...
test suite, but doesn't yet seem to satisfy a nt4 client. I'm
investigating.
2007-10-10 13:11:29 -05:00
Andrew Tridgell
f8e77fcdea
r6287: sorted out a small but surprisingly tricky dependency problem with the
...
ndr code for handling sids and security descriptors now that we have a
sid in the nbt IDL
2007-10-10 13:11:29 -05:00
Andrew Bartlett
057a81d81e
r6286: Add back metze's test of setting a trust password to ''. I removed
...
this because I don't want our torture suite to leave behind accounts
with known passwords if it is stopped in the wrong place. It is now
run behind the -X (dangerous) wrapper.
Andrew Bartlett
2007-10-10 13:11:29 -05:00
Andrew Bartlett
838925761d
r6272: For 'programmed' use of an anonymous account, we should use
...
cli_credentials_set_conf(), not cli_credentials_guess().
Also, clarify why for particular flags, we don't do a DCERPC-level
authentication.
Andrew Bartlett
2007-10-10 13:11:29 -05:00
Andrew Bartlett
83c2eb806d
r6271: Don't zero the cli_credentials structure - instead allow valgrind to
...
track the use of un-initialised values.
This change will require a recompile from clean, as the enum
describing the status of each element now has a default of
CRED_UNINITIALISED.
Andrew Bartlett
2007-10-10 13:11:29 -05:00
Andrew Bartlett
3e5775146d
r6270: Move the VUID handling to a IDR tree. This should avoid O(n)
...
behaviour on session setups, and because we no longer need do deal
with the linked list as much, the code is much simpiler too.
We may be able to compleatly remove the tid and vuid linked lists, but
I need to check.
This patch also tries to clean up the VUID handling and session setups
in general. To avoid security issues, we now have a distinction
between VUIDs allocated for the session setup (to tie togeather the
multiple round trips) and those used after authentication.
Andrew Bartlett
2007-10-10 13:11:29 -05:00
Andrew Tridgell
d7e6e395ce
r6248: added parsing of type 10 UAS announce netlogon packets
2007-10-10 13:11:28 -05:00
Andrew Tridgell
3b34df6a67
r6247: added the server side code for receiving mailslot requests, and
...
parsing incoming netlogon requests. No replies are sent yet.
2007-10-10 13:11:28 -05:00
Andrew Tridgell
8b9a5d8336
r6246: stop waiting when we get a reply
2007-10-10 13:11:28 -05:00
Andrew Tridgell
52ccdb79bc
r6245: receive and parse the GETDC response in the NBT-DGRAM test. The test
...
now tries to bind to port 138 if possible, so if you run it as root
and smbd/nmbd is not running then it works against windows servers
2007-10-10 13:11:28 -05:00
Jeremy Allison
d69f7c0546
r6238: Ensure if realloc fails on an internal
...
tdb we fail gracefully.
Jeremy.
2007-10-10 13:11:28 -05:00
Richard Sharpe
321fbae512
r6229: Back out these changes ...
2007-10-10 13:11:28 -05:00
Richard Sharpe
d2c5320a18
r6226: A couple of small typos ...
2007-10-10 13:11:28 -05:00
Andrew Tridgell
a7634625db
r6223: added a bit more datagram infrastructure and the beginnings of a test
...
suite. The NBT-DGRAM test does a UDP/138 netlogon request, to which a
windows server sends a reply, but the windows server sends the reply
to the wrong port (it always sends to 138), so the test suite doesn't
see it.
2007-10-10 13:11:27 -05:00
Andrew Tridgell
11e245a3f0
r6222: fixed the socket wrapper code for getsockname()
2007-10-10 13:11:27 -05:00
Richard Sharpe
3034b22670
r6219: This change allows us to fall back to authenticating without
...
DCERPC_SCHANNEL_128 if we fail. Thus, it allows us to work with Windows
NT DCs ...
2007-10-10 13:11:27 -05:00
Tim Potter
e3a69a7322
r6215: Add test for LookupNames. Fix CreateUser2 test.
2007-10-10 13:11:27 -05:00
Tim Potter
57680163bc
r6214: Fix typo in DomainHandle.OpenUser() function.
...
Implement DomainHandle.LookupNames() function.
UserHandle.DeleteUser() closes the handle so don't try and close it
when the GC destroys the class instance.
2007-10-10 13:11:27 -05:00
Tim Potter
fc2b73d4d7
r6213: Add %array_functions for struct samr_String so we can create and
...
access arrays of them.
2007-10-10 13:11:26 -05:00
Tim Potter
86c62b92e8
r6212: Treat uint8 and int8's as integers instead of chars. Swig maps a char
...
to a string when we really want an integer.
2007-10-10 13:11:26 -05:00
Tim Potter
a3e7d71463
r6211: Use cli_credentials_set_{domain,username,password}() to fill in
...
command line arguments for credentials typemap. Neat!
2007-10-10 13:11:26 -05:00
Tim Potter
1c88e71ec6
r6210: Call cli_credentials_set_conf() when initialising credentials in
...
cli_credentials typemap.
2007-10-10 13:11:26 -05:00
Andrew Tridgell
f20e7e5200
r6209: started added code to support mailslot requests over UDP/138
...
datagrams. This adds the IDL to parse mailslot packets, plus mailslot
dispatch and listener registration code.
mailslots are used for UDP/138 browse and netlogon packets
2007-10-10 13:11:26 -05:00
Tim Potter
b09a472353
r6208: Add cli_credentials support for swig wrappers. For the moment it
...
only does anonymous connections.
2007-10-10 13:11:26 -05:00
Stefan Metzmacher
c35887ca64
r6207: - clean up source topdir
...
- move provision stuff to setup/
- remove unused scripts
metze
2007-10-10 13:11:26 -05:00
Stefan Metzmacher
f4e12b3893
r6206: go baack 10 revisions to get DatabaseDeltas, this shows that the bdc only
...
need one call to get in sync again (except something like NT_STATUS_MORE_ENTRIES is returned)
also the pdc only need to know the current state values
metze
2007-10-10 13:11:25 -05:00
Stefan Metzmacher
d5993337b8
r6197: fix for my last commit, I removed SPOOLSS_ARCHITECTURE, which was "Architecture"
...
(sorry richard:-)
disable lookup for DefaultSpoolDirectory until, I have fixed the parsing when WERR_MORE_DATA
is returned
metze
2007-10-10 13:11:25 -05:00
Richard Sharpe
6f7337163e
r6196: Make the comparisons consistent with in the same expression.
2007-10-10 13:11:25 -05:00
Richard Sharpe
85c2b8b944
r6195: I think Metze meant SPOOLSS_ARCHITECTURE_NT_X86, but I could be wrong.
2007-10-10 13:11:25 -05:00