1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
Commit Graph

1180 Commits

Author SHA1 Message Date
Andrew Bartlett
bc2fd488f1 r1197: Fix my build breakage, variables at the top of a block only...
Andrew Bartlett
(This used to be commit 57ca89eab3)
2007-10-10 12:56:44 -05:00
Andrew Bartlett
aba5a2df32 r1196: Remove unused pstring/fstring functions.
Andrew Bartlett
(This used to be commit 4f06bf4ab8)
2007-10-10 12:56:44 -05:00
Andrew Bartlett
d46b9aa96f r1189: Now that we use a common 'base' return structure for the SamLogon
call, avoid code duplication in the torture suite.

Andrew Bartlett
(This used to be commit b6128c2a9d)
2007-10-10 12:56:44 -05:00
Tim Potter
4e4c3d4bea r1188: Use generated pidl template for this file and return DCESRV_FAULT instead
of a bogus WERROR.
(This used to be commit 261531ce0a)
2007-10-10 12:56:44 -05:00
Andrew Bartlett
3e152fcd5b r1187: * Remove testing hack (actually check signatures on NTLM2).
* Remove unreached counter increment

* Print the correct NTLMSSP key.
(This used to be commit b967006954)
2007-10-10 12:56:44 -05:00
Andrew Bartlett
5c3afaf856 r1186: Clarify why this is a 'bogus' negitive test. If we pass it, we may
still be broken.

Andrew Bartlett
(This used to be commit da5f311732)
2007-10-10 12:56:43 -05:00
Tim Potter
84a52084c2 r1185: Hey look an endpoint for the spoolss pipe!
Doesn't do much at the moment except compile.
(This used to be commit ed9c4d7d70)
2007-10-10 12:56:43 -05:00
Tim Potter
1d93403a91 r1174: Remove $var_prefix parameter for all functions. We don't need it for
ethereal.
(This used to be commit bf8e255d2e)
2007-10-10 12:56:43 -05:00
Andrew Bartlett
1f31eccdad r1173: A quick little test to show that we cannot bind twice to a single endpoint.
Andrew Bartlett
(This used to be commit e12ad47c69)
2007-10-10 12:56:43 -05:00
Andrew Bartlett
dd711fee21 r1170: Remove bogus part of previous commit - session keys, even in NTLMSSP
are variable length.

Remove extra casts

Andrew Bartlett
(This used to be commit 84f86b83f8)
2007-10-10 12:56:43 -05:00
Andrew Bartlett
e6ac4b0552 r1169: Some more updates to the NTLMSSP NTLM2 code:
- implement key weakening
 - don't create large 'hashes' when we only want a key (signing subkeys)
 - make more useful debugs.

NTLM2 is still off by default, till I figure out how to do NTLM2 signing.

Andrew Bartlett
(This used to be commit 079c265485)
2007-10-10 12:56:43 -05:00
Andrew Tridgell
2130a1bbe7 r1168: fixed a little-endian/big-endian mixup in the rpc server code
(This used to be commit 9b397356ae)
2007-10-10 12:56:43 -05:00
Tim Potter
9517834e64 r1167: Misc cleanups:
- shorten COL_INFO message
  - make parser error messages prettier
  - separate variable declarations from function body with newline
  - only generate variables for requests/responses when they have the
    in/out property
(This used to be commit 53313775a8)
2007-10-10 12:56:43 -05:00
Tim Potter
5da5297efa r1166: Convert (commented out) ndr_pull_error() calls into proto_tree_add_text()
calls so egregious parse errors are displayed in the ethereal gui.
(This used to be commit 904de85c88)
2007-10-10 12:56:43 -05:00
Andrew Tridgell
b00103dac1 r1165: fixed handling of SMBtrans replies that should return STATUS_BUFFER_OVERFLOW when more data is present.
(This used to be commit 0e557fe857)
2007-10-10 12:56:42 -05:00
Tim Potter
eca6982a95 r1164: Whoops - remove debugging printfs and Data::Dumper reference.
Give unions their own subtree as well as structures.
(This used to be commit d3183d781e)
2007-10-10 12:56:42 -05:00
Andrew Bartlett
e8524d731a r1163: Add const.
Andrew Bartlett
(This used to be commit 4a445fce7f)
2007-10-10 12:56:42 -05:00
Tim Potter
8fa6bd180f r1162: Give each struct it's own subtree in the ethereal gui. Much more
readable!
(This used to be commit 1d29a4fd87)
2007-10-10 12:56:42 -05:00
Andrew Bartlett
3eb2a7b80b r1161: Include a few more self-check NTLMSSP examples.
Andrew Bartlett
(This used to be commit 81678f8dc6)
2007-10-10 12:56:42 -05:00
Tim Potter
c8e74106c4 r1160: Some minor cosmetic fixes to make the generated code look nicer.
(This used to be commit a6c95fbd6f)
2007-10-10 12:56:41 -05:00
Tim Potter
f1f8e50c1c r1159: Implement functions to dissect 64-bit values (nttime, hyper_t, int64,
uint64).

Rename parameter e_ndr to ndr.
(This used to be commit 80bc9c9c59)
2007-10-10 12:56:41 -05:00
Tim Potter
3490e65af5 r1158: Fix bug in dissection of array count. Arrays mostly work now with the
exception of a union related bug.
(This used to be commit 80f1445507)
2007-10-10 12:56:41 -05:00
Tim Potter
6095766058 r1153: We can now dissect security descriptors.
(This used to be commit c194f2cf07)
2007-10-10 12:56:41 -05:00
Tim Potter
7c81205557 r1152: Checkin of workarea. The parser can now dissect a big chunk of the samr
operations.  Security descriptors and unions are still left to do.
(This used to be commit f29fb9a3fc)
2007-10-10 12:56:41 -05:00
Andrew Tridgell
f62fffb1c5 r1151: fixed fill-in of force_password_change field in auth_sam
(This used to be commit 9135f14540)
2007-10-10 12:56:41 -05:00
Andrew Tridgell
5b044b30ca r1150: - fixed interactive sam logon in the rpc server
- added a torture test for interactive login in smbtorture

These changes allow winxp to perform an interactive login (a login on
the winxp console) against a Samba4 DC. Our netlogon server code is
still filling in many of the fields incorrectly, but it fills in
enough that winxp can login.
(This used to be commit db9ea488b0)
2007-10-10 12:56:41 -05:00
Andrew Tridgell
daa6a28c04 r1149: fixed the handling of NDR_SET_VALUES in the debug print of rpc structures in the generated rpc server code
(This used to be commit 60838a0f94)
2007-10-10 12:56:41 -05:00
Andrew Tridgell
0293c1859c r1148: fixed a minor formatting error in generated code
(This used to be commit 0a67b9c324)
2007-10-10 12:56:41 -05:00
Jelmer Vernooij
0b817ae851 r1147: Support enumerating values
(This used to be commit 3af8419fa4)
2007-10-10 12:56:41 -05:00
Andrew Tridgell
6c13c97ac2 r1146: initially zero server info
(This used to be commit c1aeaf97b3)
2007-10-10 12:56:40 -05:00
Andrew Tridgell
ef34f4de25 r1145: added server support for logon level 5 in sam logon
(This used to be commit cb3d3b5e51)
2007-10-10 12:56:40 -05:00
Andrew Tridgell
8cd82a6c85 r1144: added logon level 5 for sam logon
(This used to be commit eb13fc6c3b)
2007-10-10 12:56:40 -05:00
Andrew Tridgell
112fac1cde r1143: fixed spelling of sAMAccountName
(This used to be commit aadfbcee76)
2007-10-10 12:56:40 -05:00
Andrew Bartlett
0387684df6 r1142: I think this should fix the interactive logins for tridge - don't take
sizeof() a pointer...

Andrew Bartlett
(This used to be commit c1019e6df6)
2007-10-10 12:56:40 -05:00
Andrew Tridgell
7ae1735798 r1141: - consolidated the netr_SamInfo structures using a netr_SamBaseInfo
structure (andrew, this is the type of structure consolidation I think
  you were asking about. It's possible here in NDR as it isn't in the
  top level fn code)

- added validation level 6 in sam logon

With these changes I can successfully authentication smbclient to a
winxp server, with the winxp server using a Samba4 ADS DC for account
auth
(This used to be commit 705205083a)
2007-10-10 12:56:40 -05:00
Andrew Tridgell
19f3bfc0ac r1140: added IDL and test code for validation level 6 in sam logon
(This used to be commit c854109843)
2007-10-10 12:56:40 -05:00
Andrew Tridgell
a384d2f1a1 r1139: added IDL and server code for netr_LogonSamLogonWithFlags()
(This used to be commit 4eac7340d8)
2007-10-10 12:56:40 -05:00
Andrew Tridgell
c1e88ab8b2 r1138: allow for a user in no groups
(This used to be commit f9c1e12594)
2007-10-10 12:56:40 -05:00
Andrew Tridgell
02781a30bf r1137: - added torture test for netr_LogonGetDomainInfo() call
(This used to be commit fdf6e4169d)
2007-10-10 12:56:39 -05:00
Andrew Tridgell
bccac81d87 r1136: - added IDL for netr_LogonGetDomainInfo()
- added workstation to auth_session_info in rpc servers

- added session key fetch hook in crypto backends in dcesrv

- store and fetch seed as well as a session key in schannel ldb

- when a client uses schannel to setup a netlogon pipe connection we
  also need to setup the credentials from the schannel negotiation so
  credentials chaining works

- added server side netr_LogonGetDomainInfo() call
(This used to be commit a35459387d)
2007-10-10 12:56:39 -05:00
Andrew Tridgell
2fcf85920d r1135: - allow integer function numbers in ndrdump
- dump unused data in ndrdump
(This used to be commit 65c5590bd0)
2007-10-10 12:56:39 -05:00
Andrew Tridgell
791ee4a581 r1134: added a TODO regarding schannel credentials
(This used to be commit 17dacf494a)
2007-10-10 12:56:39 -05:00
Andrew Tridgell
004a9979a9 r1133: - add ndr_pull_ptr() as a separate call instead of ndr_pull_uint32()
(useful for debugging IDL)

- fixed a couple of places that auto-generate incorrect printf style arguments
  for ndr_pull_error()
(This used to be commit ad3324a79c)
2007-10-10 12:56:39 -05:00
Andrew Tridgell
f0d43daac0 r1132: add a PRINTF_ATTRIBUTE to ndr_pull_error() to catch printf style coding errors
(This used to be commit f0940f1912)
2007-10-10 12:56:39 -05:00
Andrew Tridgell
4d050d4920 r1131: remove an error msg for failing to open unexpected.tdb
(This used to be commit ae393c2ed6)
2007-10-10 12:56:39 -05:00
Andrew Tridgell
7de7dafcc4 r1130: remove some pointless debug messages
(This used to be commit 260be3fbef)
2007-10-10 12:56:39 -05:00
Andrew Bartlett
9f38798509 r1129: Remove unused function.
Andrew Bartlett
(This used to be commit 4d23b9e039)
2007-10-10 12:56:39 -05:00
Andrew Bartlett
b1268fc445 r1123: Make all lp_ string functions return 'const char *'.
Fix other 'const' warnings in the torture code.

Andrew Bartlett
(This used to be commit 5d39d7497f)
2007-10-10 12:56:38 -05:00
Jelmer Vernooij
8dcb4aa084 r1119: Saner keyboard shortcuts
(This used to be commit 971941acc7)
2007-10-10 12:56:38 -05:00
Jelmer Vernooij
9503af8d64 r1118: Read-only enumeration of keys in the LDB backend works now :-)
(This used to be commit 456f97eed0)
2007-10-10 12:56:38 -05:00