Andrew Bartlett
0edce42b36
Fix the build - this element was renamed.
...
(This used to be commit 60161954ad5c99ce9934a968c5d41f41fafd780f)
2008-07-16 15:28:54 +10:00
Jeremy Allison
87f1a6c151
(Hopefully) fix the build by re-adding security.NTACL
...
const char. The deletion earlier was a typo.
Jeremy.
(This used to be commit aa27344b96929c925b30965a1cd20e69c3dbd515)
2008-07-09 17:46:11 -07:00
Jeremy Allison
526eaeb1e0
Add in a version2 of the NT security descriptor store
...
that can store a timestamp along with the SD. Allows
us to check for validity against the POSIX st_ctime.
Keeps the IDL consistent with Samba3.3 IDL.
Jeremy.
(This used to be commit 29843a6b339a581de714924219632390b156aa4f)
2008-07-09 16:55:51 -07:00
Stefan Metzmacher
a3ea8bcb19
dcerpc_smb: trans->in.max_data should not depend on the smb max size
...
We now support async multi fragment SMBtrans calls.
metze
(This used to be commit 6813e22e9d300696a40993476629227d5cc4d35f)
2008-07-07 20:59:13 +02:00
Stefan Metzmacher
b6327116dd
dcerpc.idl: the signing overhead can be more than 32 bytes
...
Windows seems to use 64 here, so we do now.
Before we got nca_proto_error fault because we send fragments
larger than the negotiated max frag size.
If the max frag size is 5840, we're sending 5837 bytes
when the auth_len is 45 and that matches w2k3 traffic.
metze
(This used to be commit 351947dba3f7a26ac871d4aa7b6bba4cd472383a)
2008-07-03 15:49:56 +02:00
Stefan Metzmacher
1eb5756ca5
drsuapi.idl: remove some unknows from DsGetNCChanges()
...
metze
(This used to be commit 924ef407bd20331cc94f5aeb58f53a5838ae00a4)
2008-06-30 17:40:01 +02:00
Simo Sorce
2daf2897d5
Use a custom init function for samba4 that sets a samba4
...
specific debug function.
By default do not debug, this is the most appropriate action for a library
as we cannot assume what stderr is use for in the main app.
The main app is responsible to set ev_debug_stderr if they so desire.
(This used to be commit e566a2f308ac6fb4b526a744f7059b565670aea5)
2008-06-14 13:00:53 -04:00
Jelmer Vernooij
230503ad84
Add working Python bindings for NBT.
...
(This used to be commit 9c88f5e1de9db34751f16c2247fa91ae2445c5f7)
2008-06-11 00:05:58 +02:00
Andrew Tridgell
3df0fee42d
fixed for per session session_key here too
...
(This used to be commit abcbce004c99a2c62aa8c7a7cfc8ac5b5cfeb7dd)
2008-06-07 11:10:23 -07:00
Stefan Metzmacher
0827b08a43
opendb: add write time handling
...
metze
(This used to be commit 3868d8ce630c71e2c70aae442fcdbd68ba1eb708)
2008-06-03 14:03:49 +02:00
Andrew Tridgell
beaa01e403
implemented client side SMB2 signing
...
This doessn't work against Windows yet, and I've submitted a WSPP
request for clarification of the docs to try and find out
why. Meanwhile this is no worse than what we had, as it only gets used
when the server demands signing, and we didn't work then anyway.
(This used to be commit b788096add3586d7277efcd3bf5ca7f3a604cb7a)
2008-05-30 17:03:54 +10:00
Andrew Bartlett
844a7ad15a
Add in an enum for two future NTP signing ops.
...
I hope to extend this code to handle NTP clients getting authenticated
time too.
Andrew Bartlett
(This used to be commit 1854ab058b42ce4530324cb8f40eb64e6e32267b)
2008-05-29 15:22:01 +10:00
Andrew Bartlett
ce877cafdd
Final fixes to for a functional NTP signing deamon.
...
Andrew Bartlett
(This used to be commit 4dcc0cd06ef2f6c496e2112f6378088a1c27d2f2)
2008-05-29 11:16:03 +10:00
Andrew Bartlett
68ec3006a4
Don't make the NTP signd headers public.
...
This means we don't have to install them
Andrew Bartlett
(This used to be commit 2f2ba0c68ab0e985df5be07dccf3a3a7ebe62142)
2008-05-29 11:15:18 +10:00
Andrew Tridgell
07b4cafb09
added a newline at the end of the IDL
...
(This used to be commit 6386155e99628377046e23342bc640710567afd0)
2008-05-28 18:47:39 +10:00
Andrew Bartlett
93d2f8ff9e
Try adding a stub to fix the build
...
(This used to be commit a529c377ae7a4a70a99d60b7817a751ab4fdd551)
2008-05-28 15:47:27 +10:00
Andrew Bartlett
6bfdc74b92
Fix dependency list for NDR_TABLE
...
This list must include everything for which we have IDL
Andrew Bartlett
(This used to be commit a6f0b98311a99134af56db64b4682412bc2f4e16)
2008-05-28 14:53:30 +10:00
Andrew Bartlett
51ae2302a6
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
...
It seems the format of main.mk changed in my sleep...
Conflicts:
source/main.mk
(This used to be commit 56f2288e4f4f1aa70d11fc5f118458baf5803627)
2008-05-28 08:11:05 +10:00
Jelmer Vernooij
52b230141b
Allow librpcsrcdir to be an absolute path.
...
(This used to be commit 8c0b55114fe35d498626d9d60cc4716b821d4d4f)
2008-05-27 19:47:16 +02:00
Jelmer Vernooij
4053e3c700
Use variables for IDL file paths.
...
(This used to be commit 683ba6de41b3fecc14c18502ff82b4fa617618e5)
2008-05-27 18:38:05 +02:00
Andrew Bartlett
5d0d239d1a
Start an 'NTP signing server' in Samba4.
...
I am modifying the ntp.org server to talk to this service, to sign
packets per MS-SNTP.
Andrew Bartlett
(This used to be commit 0c15385e6068d2f70ff11aa5837adbd6d78410ae)
2008-05-27 16:20:18 +10:00
Andrew Tridgell
af4f6f445a
add a mask of invalid security bits
...
(This used to be commit ccbf5238767605f020ede66c8027731487c8cf00)
2008-05-27 14:06:38 +10:00
Jelmer Vernooij
dce310ef4e
Remove evil hack which breaks Python bindings.
...
(This used to be commit 1c179566cb39eb09e522dbce69230472a5d4e655)
2008-05-26 13:31:57 +02:00
Jelmer Vernooij
40a90e6a55
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-pyirpc
...
(This used to be commit e1af9708c9b40edfa21862028672882797218174)
2008-05-26 12:19:09 +02:00
Andrew Tridgell
c5c1b3706a
allow larger streams using the TDB backend
...
(This used to be commit 8c0d756eb887477da867e069dbde3a7ad98d4ae0)
2008-05-26 14:59:58 +10:00
Jelmer Vernooij
d5434f0b4b
Allow using IRPC functions on the messaging bus from Python.
...
(This used to be commit 6ecf81ae13dffa05356c1177c617206c120fb7d7)
2008-05-26 04:14:28 +02:00
Jelmer Vernooij
d60d8e57d8
Implement IRPC calls over the internal messaging bus.
...
(This used to be commit 777dc3a2c7b5bf855344ba3ae8c8b564c48fc0c6)
2008-05-26 03:07:18 +02:00
Jelmer Vernooij
22778de582
Remove some unused cruft.
...
(This used to be commit 8f47157f09cbf4200f0f7c5efe8750fd5d316a3b)
2008-05-26 00:38:12 +02:00
Jelmer Vernooij
eae3658674
Fix compilation errors.
...
(This used to be commit daae053365cf6c5be7b31aa51a239c2660cfc120)
2008-05-25 23:22:05 +02:00
Jelmer Vernooij
77acb789e2
Trim the size of the Python bindings a bit.
...
(This used to be commit 717ce0b640a5c3aa62804b9869ef4dcc0f71b7ba)
2008-05-25 23:14:48 +02:00
Jelmer Vernooij
74126bc6d0
Expose transfer and abstract syntax.
...
(This used to be commit a875e07a37568b7e51c290074d5e3834c2caa4d6)
2008-05-25 04:54:38 +02:00
Jelmer Vernooij
5211755563
Expose request timeout variable in Python.
...
(This used to be commit daed1432d22f5fa78907ee0fef9def8802538150)
2008-05-25 04:38:57 +02:00
Jelmer Vernooij
928ecbaebb
Add support for secondary contexts from Python.
...
(This used to be commit 16d1ad050546ae6500153438db8d3c857e6f3ad5)
2008-05-25 04:23:03 +02:00
Jelmer Vernooij
4c1f0641d3
Check for fault codes when connecting.
...
(This used to be commit 42537b1d5282784550120358f3641f299351fba7)
2008-05-25 00:04:11 +02:00
Jelmer Vernooij
63c2a19e6e
Add helper function to return DCE/RPC fault codes.
...
(This used to be commit 4716cdfb5d5abad85cba18be89d72fe8ee18f359)
2008-05-24 23:39:38 +02:00
Jelmer Vernooij
21b6e9ec9e
Add convenience function for creating objects with NDR error codes.
...
(This used to be commit 991541a78c2428db89509081cc28072c9b542ffa)
2008-05-24 23:22:49 +02:00
Jelmer Vernooij
5863864f1d
Fix memory initialization in raw calls.
...
(This used to be commit 788b2dbfe4b1ef14ab30d487d845e493be46fbd1)
2008-05-24 23:07:16 +02:00
Jelmer Vernooij
2a6c4da9d1
Support optional object argument when sending DCE/RPC requests.
...
(This used to be commit 75ba01a0fad87a9a4788f4c2277d8db0513cef4a)
2008-05-24 23:02:09 +02:00
Jelmer Vernooij
21ce0ff006
Allow connecting to a DCE/RPC interface with Python for which we don't have IDL.
...
(This used to be commit e3178d522c95871f1db35d7e058906502387a553)
2008-05-24 22:56:49 +02:00
Jelmer Vernooij
75e7962d2e
Add convenience functions for setting Python objects from errors.
...
(This used to be commit f1de723b89251cbc8140b838941f304a34871bf3)
2008-05-24 22:13:32 +02:00
Jelmer Vernooij
f9c36fae75
Export functions for setting NTSTATUS and WERRORs in python.
...
(This used to be commit 4bcb92d2d49d90863b1e64b15d055517fbfd263c)
2008-05-24 21:38:33 +02:00
Jelmer Vernooij
fe5be25547
Allow request() call to do custom calls on DCE/RPC interfaces.
...
(This used to be commit 9c2eff0289d7c5963da87d5e002f1b80e6e66cdd)
2008-05-24 21:20:45 +02:00
Jelmer Vernooij
654be49c01
Use manually written Python bindings for DCE/RPC rather than SWIG based.
...
Use base class for pidl-generated DCE/RPC interface Python bindings.
(This used to be commit 25e7fc8a2c7a5914c4db4bfe428fd0a8efbf0784)
2008-05-24 21:02:56 +02:00
Jelmer Vernooij
515b6ed586
Share struct used for interfaces in Python code.
...
(This used to be commit 8501a3fc31e688dba696667a187821480e8cb714)
2008-05-24 20:00:37 +02:00
Jelmer Vernooij
05194ccdf8
Add tests for new NDR pack/unpack functionality in Python DCE/RPC bindings.
...
(This used to be commit 468d35827fd055c82c6d43d6ce6d3d561abed54d)
2008-05-24 19:50:09 +02:00
Jelmer Vernooij
73b789b6d2
Add docstrings to a couple more python modules.
...
(This used to be commit b4560c90e5e8d3a35367d3a21d361dc4c9c0de23)
2008-05-24 04:01:57 +02:00
Jelmer Vernooij
9c109fb51d
Disable building of EJS DCE/RPC support.
...
(This used to be commit c7bc9321b38a360d2e8d5258fadb30790342d032)
2008-05-23 04:20:30 +02:00
Jelmer Vernooij
4b95f9001b
Work around bug adding extra imports in generated file.
...
(This used to be commit a34de3c619c8c112b4e1ee7ca5985a506730fcff)
2008-05-23 03:56:20 +02:00
Jelmer Vernooij
a46450810b
Regenerate with SWIG 1.3.35.
...
(This used to be commit ce063eca498036937f99161a1f12e076c2ab313f)
2008-05-23 03:22:56 +02:00
Jelmer Vernooij
d77745e692
Move DCE/RPC python bindings into samba package.
...
(This used to be commit 8dafd4ce40b7348fd5f2b1f2f5d2106ef4cc0dd1)
2008-05-22 02:21:25 +02:00