Tim Potter
c400f86707
r1211: Some output from rpcclient -c enumprinters to remind me what a relative
...
string looks like. I'm not sure relstrs can be shoehorned into the ndr
code as easily as adding a LIBNDR_STR flag.
(This used to be commit e216c6a707ee3927d4187962774d59828550e380)
2007-10-10 12:56:45 -05:00
Tim Potter
fea69453bd
r1210: A skeleton spoolssdb, based on samdb.
...
(This used to be commit 487211f1ae105fd1972fecf521654dab81175c86)
2007-10-10 12:56:45 -05:00
Tim Potter
77c5719864
r1208: Return some dummy printer information for the EnumPrinters RPC.
...
rpcclient enumprinters prints this information OK.
Some minor cut&paste cleanups.
(This used to be commit 1c749a3a348a2df477808d4fcc5377832bffa5e9)
2007-10-10 12:56:45 -05:00
Tim Potter
7936b76e6a
r1207: Add spoolss to the list of endpoint servers.
...
(This used to be commit 2b9f364ed052c43b6074da9f5f03908ac81840f3)
2007-10-10 12:56:45 -05:00
Tim Potter
5c72db907e
r1206: Give the spoolss pipe an endpoint.
...
Make PrinterInfo1 struct public so we can call the push function in
spoolss_EnumPrinters().
(This used to be commit f4309f3ced337cf5d968f62e80adee1eb75201af)
2007-10-10 12:56:45 -05:00
Tim Potter
766d7dd202
r1205: Whoops - this should fix the build.
...
(This used to be commit e21f324937df2fe70b693112bd0b6fe6575d70ed)
2007-10-10 12:56:45 -05:00
Tim Potter
62aabf5630
r1204: decrpc -> dcerpc
...
(This used to be commit a5e3a26fc9a7e2c616302ed3b4a021f5755a4a13)
2007-10-10 12:56:45 -05:00
Tim Potter
f1eef54ba8
r1201: Skeleton versions of OpenPrinterEx() and ClosePrinter() to get the hang
...
of things.
(This used to be commit 3e79a6219eca3b96fe04d66b6cdfb11400c1771d)
2007-10-10 12:56:44 -05:00
Andrew Bartlett
be081037e0
r1200: Add 'gensec', our generic security layer.
...
This layer is used for DCERPC security, as well as ntlm_auth at this
time. It expect things like SASL and the CIFS layer to use it as
well.
The particular purpose of this layer is to introduce SPENGO, which
needs generic access to the actual implementation mechanisms.
Schannel, due to it's 'interesting' setup properties is in GENSEC, but
is only in the RPC code.
Andrew Bartlett
(This used to be commit 902af49006fb8cfecaadd3cc0c10e2e542083fb1)
2007-10-10 12:56:44 -05:00
Andrew Bartlett
8cb41badd4
r1199: Make talloc_asprintf_append() work on a NULL source string as if it were
...
just a alloc_asprintf().
(makes it easier to use in a loop)
Andrew Bartlett
(This used to be commit 5816d09c47252d2ee8732722b3cc44ea865b8fcc)
2007-10-10 12:56:44 -05:00
Andrew Bartlett
bf598954f7
r1198: Merge the Samba 3.0 ntlm_auth, including the kerberos and SPENGO parts.
...
I have moved the SPNEGO and Kerberos code into libcli/auth, and intend
to refactor them into the same format as NTLMSSP.
Andrew Bartlett
(This used to be commit 58da78a7460d5d0a4abee7d7b84799c228e6bc0b)
2007-10-10 12:56:44 -05:00
Andrew Bartlett
bc2fd488f1
r1197: Fix my build breakage, variables at the top of a block only...
...
Andrew Bartlett
(This used to be commit 57ca89eab37b9d3dd83124d9d0f5a526aca0979f)
2007-10-10 12:56:44 -05:00
Andrew Bartlett
aba5a2df32
r1196: Remove unused pstring/fstring functions.
...
Andrew Bartlett
(This used to be commit 4f06bf4ab8cc61aec730f84766306119eb976c57)
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 b6128c2a9d8e23dad0b14106f45a0638655d6cd7)
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 261531ce0a7f33eda5358319312877dc85386edb)
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 b96700695479c19c7b2c190616420762409fdf0d)
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 da5f311732d626c500dc5eaf6d457fee49e2da99)
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 ed9c4d7d70041879fa5005222f6cf84af558abef)
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 bf8e255d2e53fe50c2d37065aac8c6582712f0b0)
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 e12ad47c69098b6865f5b10527aa44ff322e4b18)
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 84f86b83f88cea5564347f3aa623be2d9feeb4b3)
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 079c2654851536b0a7918d408ac9597abbab8fd2)
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 9b397356ae1daa7bc1984e196020ea62725f542c)
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 53313775a872d5c2f78f214573fd5933af5c205c)
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 904de85c88f8a122cee67bfa175c5e45e7d9c62f)
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 0e557fe85748558affd20a58455c4b75fee69e27)
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 d3183d781ed62de756840c85742ae4f887c45251)
2007-10-10 12:56:42 -05:00
Andrew Bartlett
e8524d731a
r1163: Add const.
...
Andrew Bartlett
(This used to be commit 4a445fce7fcc09049b97bcde61fa5ed1a945757d)
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 1d29a4fd874a963c53546825d657b47ee3af085b)
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 81678f8dc6fc7ef7218c7fad2b2766355927f21c)
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 a6c95fbd6f7205574182ab4a38f0f061435fda6e)
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 80bc9c9c598ebb2caa8dee745087f4b80ea8536e)
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 80f1445507165a4b6805cd346b83fe57e576c71d)
2007-10-10 12:56:41 -05:00
Tim Potter
6095766058
r1153: We can now dissect security descriptors.
...
(This used to be commit c194f2cf073585d8a9dbc6a6e746dd1cbf7c67b7)
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 f29fb9a3fc3b9b36518c4bff49e9c030a8a921ba)
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 9135f14540ded30892dc1f944aec1e8979a476e1)
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 db9ea488b047b5f0f7538fd75fb7dde8277eb06b)
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 60838a0f94ef2b2f27a6f1b3c413481e94c69602)
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 0a67b9c324fb4fd74de0f3c12e55de6972b88cdd)
2007-10-10 12:56:41 -05:00
Jelmer Vernooij
0b817ae851
r1147: Support enumerating values
...
(This used to be commit 3af8419fa4053a3b2887e91b4bda5c93327efad4)
2007-10-10 12:56:41 -05:00
Andrew Tridgell
6c13c97ac2
r1146: initially zero server info
...
(This used to be commit c1aeaf97b39e1769bd43b21225094bb5128eaab4)
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 cb3d3b5e51dc9d52854c922b0c50686284ac8f1b)
2007-10-10 12:56:40 -05:00
Andrew Tridgell
8cd82a6c85
r1144: added logon level 5 for sam logon
...
(This used to be commit eb13fc6c3b482d49a2cfaf13d290f1e54a2f1865)
2007-10-10 12:56:40 -05:00
Andrew Tridgell
112fac1cde
r1143: fixed spelling of sAMAccountName
...
(This used to be commit aadfbcee76a9181a540620f3b0827a3268b63a0e)
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 c1019e6df6aa4fcce7dc2ccbd404a4254ab5d1fb)
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 705205083a6e2430c420f44436a1d1ff8826bc73)
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 c8541098436d2cd83538375889560405ecb50034)
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 4eac7340d8d7a109bed8fe7bb7cf663d6e7f0a56)
2007-10-10 12:56:40 -05:00
Andrew Tridgell
c1e88ab8b2
r1138: allow for a user in no groups
...
(This used to be commit f9c1e12594e58b7e663ca099929eab8867b82a0c)
2007-10-10 12:56:40 -05:00
Andrew Tridgell
02781a30bf
r1137: - added torture test for netr_LogonGetDomainInfo() call
...
(This used to be commit fdf6e4169d531c4a7d4e1b937abd3eb3af03c860)
2007-10-10 12:56:39 -05:00