1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-22 16:23:49 +03:00
Commit Graph

1167 Commits

Author SHA1 Message Date
Tim Potter
904de85c88 r1166: Convert (commented out) ndr_pull_error() calls into proto_tree_add_text()
calls so egregious parse errors are displayed in the ethereal gui.
2007-10-10 12:56:43 -05:00
Andrew Tridgell
0e557fe857 r1165: fixed handling of SMBtrans replies that should return STATUS_BUFFER_OVERFLOW when more data is present. 2007-10-10 12:56:42 -05:00
Tim Potter
d3183d781e r1164: Whoops - remove debugging printfs and Data::Dumper reference.
Give unions their own subtree as well as structures.
2007-10-10 12:56:42 -05:00
Andrew Bartlett
4a445fce7f r1163: Add const.
Andrew Bartlett
2007-10-10 12:56:42 -05:00
Tim Potter
1d29a4fd87 r1162: Give each struct it's own subtree in the ethereal gui. Much more
readable!
2007-10-10 12:56:42 -05:00
Andrew Bartlett
81678f8dc6 r1161: Include a few more self-check NTLMSSP examples.
Andrew Bartlett
2007-10-10 12:56:42 -05:00
Tim Potter
a6c95fbd6f r1160: Some minor cosmetic fixes to make the generated code look nicer. 2007-10-10 12:56:41 -05:00
Tim Potter
80bc9c9c59 r1159: Implement functions to dissect 64-bit values (nttime, hyper_t, int64,
uint64).

Rename parameter e_ndr to ndr.
2007-10-10 12:56:41 -05:00
Tim Potter
80f1445507 r1158: Fix bug in dissection of array count. Arrays mostly work now with the
exception of a union related bug.
2007-10-10 12:56:41 -05:00
Tim Potter
c194f2cf07 r1153: We can now dissect security descriptors. 2007-10-10 12:56:41 -05:00
Tim Potter
f29fb9a3fc 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.
2007-10-10 12:56:41 -05:00
Andrew Tridgell
9135f14540 r1151: fixed fill-in of force_password_change field in auth_sam 2007-10-10 12:56:41 -05:00
Andrew Tridgell
db9ea488b0 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.
2007-10-10 12:56:41 -05:00
Andrew Tridgell
60838a0f94 r1149: fixed the handling of NDR_SET_VALUES in the debug print of rpc structures in the generated rpc server code 2007-10-10 12:56:41 -05:00
Andrew Tridgell
0a67b9c324 r1148: fixed a minor formatting error in generated code 2007-10-10 12:56:41 -05:00
Jelmer Vernooij
3af8419fa4 r1147: Support enumerating values 2007-10-10 12:56:41 -05:00
Andrew Tridgell
c1aeaf97b3 r1146: initially zero server info 2007-10-10 12:56:40 -05:00
Andrew Tridgell
cb3d3b5e51 r1145: added server support for logon level 5 in sam logon 2007-10-10 12:56:40 -05:00
Andrew Tridgell
eb13fc6c3b r1144: added logon level 5 for sam logon 2007-10-10 12:56:40 -05:00
Andrew Tridgell
aadfbcee76 r1143: fixed spelling of sAMAccountName 2007-10-10 12:56:40 -05:00
Andrew Bartlett
c1019e6df6 r1142: I think this should fix the interactive logins for tridge - don't take
sizeof() a pointer...

Andrew Bartlett
2007-10-10 12:56:40 -05:00
Andrew Tridgell
705205083a 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
2007-10-10 12:56:40 -05:00
Andrew Tridgell
c854109843 r1140: added IDL and test code for validation level 6 in sam logon 2007-10-10 12:56:40 -05:00
Andrew Tridgell
4eac7340d8 r1139: added IDL and server code for netr_LogonSamLogonWithFlags() 2007-10-10 12:56:40 -05:00
Andrew Tridgell
f9c1e12594 r1138: allow for a user in no groups 2007-10-10 12:56:40 -05:00
Andrew Tridgell
fdf6e4169d r1137: - added torture test for netr_LogonGetDomainInfo() call 2007-10-10 12:56:39 -05:00
Andrew Tridgell
a35459387d 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
2007-10-10 12:56:39 -05:00
Andrew Tridgell
65c5590bd0 r1135: - allow integer function numbers in ndrdump
- dump unused data in ndrdump
2007-10-10 12:56:39 -05:00
Andrew Tridgell
17dacf494a r1134: added a TODO regarding schannel credentials 2007-10-10 12:56:39 -05:00
Andrew Tridgell
ad3324a79c 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()
2007-10-10 12:56:39 -05:00
Andrew Tridgell
f0940f1912 r1132: add a PRINTF_ATTRIBUTE to ndr_pull_error() to catch printf style coding errors 2007-10-10 12:56:39 -05:00
Andrew Tridgell
ae393c2ed6 r1131: remove an error msg for failing to open unexpected.tdb 2007-10-10 12:56:39 -05:00
Andrew Tridgell
260be3fbef r1130: remove some pointless debug messages 2007-10-10 12:56:39 -05:00
Andrew Bartlett
4d23b9e039 r1129: Remove unused function.
Andrew Bartlett
2007-10-10 12:56:39 -05:00
Andrew Bartlett
5d39d7497f r1123: Make all lp_ string functions return 'const char *'.
Fix other 'const' warnings in the torture code.

Andrew Bartlett
2007-10-10 12:56:38 -05:00
Jelmer Vernooij
971941acc7 r1119: Saner keyboard shortcuts 2007-10-10 12:56:38 -05:00
Jelmer Vernooij
456f97eed0 r1118: Read-only enumeration of keys in the LDB backend works now :-) 2007-10-10 12:56:38 -05:00
Jeremy Allison
14cf961b7f r1113: Test for wildcards in chkpath.
Jeremy.
2007-10-10 12:56:38 -05:00
Tim Potter
b3bc3d2ef4 r1100: Comment out functions that we now get from other sources (misc.idl and
lsarpc.idl).

Add stub for ndr_pull_relative() function.
2007-10-10 12:56:38 -05:00
Tim Potter
19442e07d0 r1099: Set $module variable to name of module.
Only generate code for module registration if we could find a UUID.

Tweaks to get [relative] compiling.
2007-10-10 12:56:38 -05:00
Jeremy Allison
37d1fa1684 r1098: Extended raw chkpath to catch regressions.
Jeremy.
2007-10-10 12:56:38 -05:00
Jeremy Allison
5c3a2417cf r1091: Added in timing tests for deferred opens. Added extra debug info to signing
mistakes.
Jeremy.
2007-10-10 12:56:37 -05:00
Jeremy Allison
0068cb12ef r1086: Add defer open test to check timeout on sharing violation open.
This has found some signing errors in the Samba3.0 implementation
of the deferred open code. Still working on these...
Jeremy
2007-10-10 12:56:37 -05:00
Tim Potter
5c3c3d3e72 r1083: Generate prototypes for structs and unions marked "public" in the idl.
Delete various hacks to work around not doing this before.
2007-10-10 12:56:37 -05:00
Andrew Bartlett
de97d9df22 r1080: Make sure to initialise all the returned elements in the SamLogon
reply also initialise the LM session key, when we have it (was failing
because the auth code was setting it's length wrong).

Andrew Bartlett
2007-10-10 12:56:37 -05:00
Stefan Metzmacher
ad3dd1789e r1078: the dxesrv_crypto_* implementations should now explicit set
the dce_conn->auth_state.session_info
( the ntlmssp one works fine, but the schannel one isn't implemented yet)

this is also set by the ntvfs_ipc backend on the endpoint connect.

metze
2007-10-10 12:56:37 -05:00
Stefan Metzmacher
9e9a52692e r1077: fix segfault in schannel over ncacn_ip_tcp
metze
2007-10-10 12:56:37 -05:00
Stefan Metzmacher
798cbed5a3 r1073: import DYNEXP flags to smb_build
and use @{$SMB_BUILD_CTX->{BUILD_ENV}{LD}{DYNEXP}} for the flags

I'll use this for all vars which are currently using AC_SUBST(),
so we can skip Makefile.in...

(this should fix the build on us4...)

metze
2007-10-10 12:56:36 -05:00
Stefan Metzmacher
1706ff88a7 r1068: make the dcerpc client side auth/crypto code much more generic
metze
2007-10-10 12:56:36 -05:00
Stefan Metzmacher
e5d338821e r1067: fix compiler warnings
metze
2007-10-10 12:56:36 -05:00