1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

2438 Commits

Author SHA1 Message Date
Andrew Tridgell
3c028ff88b s4-smb: declare root_fid as a file handle
In order to implement root_fid in the s4 SMB server we need to declare
it as a handle type, just as for other fnum values in SMB. This
required some extensive (but simple) changes in many bits of code.
2009-10-15 20:03:00 +11:00
Matthias Dieter Wallnöfer
44df2488e3 s4: fix various warnings (not "const" related ones) 2009-10-02 15:33:48 +02:00
Jelmer Vernooij
c526a77896 librpc: Fix path to ndr_standard pc file. 2009-09-27 16:43:01 +02:00
Jelmer Vernooij
c5615211d4 provision: Avoid linking in multiple copies of security python module. 2009-09-23 15:24:10 +02:00
Andrew Bartlett
9d9bd31bf9 s4:py_security Add missing header 2009-09-20 20:32:47 -07:00
Andrew Bartlett
bfddb6816f s4:provision Use code to store domain join in 'net join' as well
This ensures we only have one codepath to store the secret, and
therefore that we have a single choke point for setting the
saltPrincipal, which we were previously skipping.

Andrew Bartlett
2009-09-20 16:29:38 -07:00
Andrew Tridgell
92786aebf1 s4-resolve: fixed a crash bug on timeout
We were creating the name resolution context as a child of lp_ctx,
which meant when we gave up on a connection the timer on name
resolution kept running, and when it timed out the callback crashed as
the socket was already removed.
2009-09-19 08:23:03 -07:00
Andrew Tridgell
e9a589feac s4-server: kill main daemon if a task fails to initialise
When one of our core tasks fails to initialise it can now ask for the
server as a whole to die, rather than limping along in a degraded
state.
2009-09-18 18:05:55 -07:00
Matthieu Patou
aadf5e3910 pyldb: Don't segfault when invalid type is specified to as_sddl and from_sddl.
Fix bug #6723
2009-09-17 19:36:32 +02:00
Andrew Tridgell
f93d716516 s4-rpc: added NDR64 support
This adds support for the nd464 binding string option
2009-09-17 21:52:24 -07:00
Günther Deschner
2b16380a0e ntlmssp: add some void decode calls (useful for ndrdump).
Guenther
2009-09-08 22:27:41 +02:00
Günther Deschner
4fd9a9d6de schannel: add NL_AUTH_MESSAGE and both NL_AUTH_SIGNATURE structs.
These actually belong netlogon but we for now want to keep netlogon as a security
providor separate.

Guenther
2009-09-08 14:55:10 +02:00
Günther Deschner
aabe577396 schannel: move schannel.idl to main directory.
Guenther
2009-08-26 15:43:05 +02:00
Andrew Bartlett
497234c1cb s4:ntp_signd Fix bug 6656 - Set protocol version to 0, as used by ntpd
The change to protocol version 1 was not intentional, and broke the
protocol established with the ntp.org project.

Andrew Bartlett
2009-08-22 11:14:22 +10:00
Stefan Metzmacher
87737f8946 s4:librpc/rpc: fix DEBUG() message
metze
2009-08-18 11:58:18 +02:00
Andrew Tridgell
ed051ce424 try to give some hint as to what is causing NDR string errors 2009-08-12 15:34:03 +10:00
Andrew Tridgell
e2d4ae1510 fixed several places that unnecessarily take a reference to the event context
These references were triggering the ambiguous talloc_free errors from
the recent talloc changes when the server is run using the 'standard'
process model instead of the 'single' process model. I am aiming to
move the build farm to use the 'standard' process model soon, as part
of an effort to make our test environment better match the real
deployment of Samba4.

The references are not needed as the way that the event context is
used is as the 'top parent', so when the event context is freed then
all of the structures that were taking a reference to the event
context were actually freed as well, thus making the references
redundent.
2009-08-07 17:24:48 +10:00
Stefan Metzmacher
258250f1ac winsif.idl: add definition of winsif_WinsDoScanvengingNew()
metze
2009-07-31 14:38:43 +02:00
Stefan Metzmacher
8ad17b4501 winsif.idl: add definition of winsif_WinsStatusWHdl()
metze
2009-07-31 14:38:43 +02:00
Stefan Metzmacher
d3ec23f405 winsif.idl: add definition of winsif_WinsStatusNew()
metze
2009-07-31 14:38:43 +02:00
Stefan Metzmacher
50662d22d8 winsif.idl: add definition of winsif_WinsGetDbRecsByName()
metze
2009-07-31 14:38:42 +02:00
Stefan Metzmacher
e7466831a8 winsif.idl: add definition of winsif_WinsGetBrowserNames()
metze
2009-07-31 14:38:42 +02:00
Stefan Metzmacher
833f253d93 winsif.idl: add definition of winsif_WinsSetFlags()
metze
2009-07-31 14:38:42 +02:00
Stefan Metzmacher
655efd069d winsif.idl: add definition of winsif_WinsDeleteWins()
metze
2009-07-31 14:38:41 +02:00
Stefan Metzmacher
5899bc002a winsif.idl: add definition of winsif_WinsGetBrowserNames_Old()
metze
2009-07-31 14:38:41 +02:00
Stefan Metzmacher
5fd30f8dfb winsif.idl: add definition of winsif_WinsGetNameAndAdd()
metze
2009-07-31 14:38:41 +02:00
Stefan Metzmacher
7bea52ab16 winsif.idl: add definition of winsif_WinsWorkerThreadUpdate()
metze
2009-07-31 14:38:40 +02:00
Stefan Metzmacher
47174d3130 winsif.idl: add definition of winsif_WinsResetCounters()
metze
2009-07-31 14:38:40 +02:00
Stefan Metzmacher
c91be0915e winsif.idl: add definition of winsif_WinsSetPriorityClass()
metze
2009-07-31 14:38:39 +02:00
Stefan Metzmacher
6d0ab082ff winsif.idl: add definition of winsif_WinsPullRange()
metze
2009-07-31 14:38:39 +02:00
Stefan Metzmacher
e29763fd3f winsif.idl: add definition of winsif_WinsDelDbRecs()
metze
2009-07-31 14:38:39 +02:00
Stefan Metzmacher
b540aa4296 winsif.idl: add definition of winsif_WinsBackup()
metze
2009-07-31 14:38:38 +02:00
Stefan Metzmacher
7430582346 winsif.idl: add definition of winsif_WinsTerm()
metze
2009-07-31 14:38:38 +02:00
Stefan Metzmacher
39ec220d49 winsif.idl: add definition of winsif_WinsGetDbRecs()
metze
2009-07-31 14:38:38 +02:00
Stefan Metzmacher
f6084589f9 winsif.idl: add definition of winsif_WinsDoScavenging()
metze
2009-07-31 14:38:37 +02:00
Stefan Metzmacher
15c330af32 winsif.idl: add definition of winsif_WinsDoStaticInit()
metze
2009-07-31 14:38:37 +02:00
Stefan Metzmacher
b62ee9972e winsif.idl: add definition of winsif_WinsTrigger()
metze
2009-07-31 14:38:36 +02:00
Stefan Metzmacher
dbd963fa87 winsif.idl: add definition of winsif_WinsStatus()
metze
2009-07-31 14:38:36 +02:00
Stefan Metzmacher
f6c0ba9869 winsif.idl: add definition of WinsRecordAction()
metze
2009-07-31 14:38:36 +02:00
Stefan Metzmacher
639df54cf5 winsif.idl: add missing function calls
metze
2009-07-31 14:38:35 +02:00
Stefan Metzmacher
d01e8d22fa s4:librpc: rename wins.idl => winsif.idl
metze
2009-07-31 14:38:35 +02:00
Jelmer Vernooij
6768cfe624 DCE/RPC(Python): Rename py_talloc_import to py_talloc_steal.
Use py_talloc_reference in DCE/RPC code, fixes
					access to SAMR pipe.
2009-07-30 20:04:42 +02:00
Stefan Metzmacher
2cc4a43d0e frstrans.idl: add new DFS-R FrsTransport interface with dummy functions
metze
2009-07-22 21:33:10 +02:00
Stefan Metzmacher
424e763695 frsrpc.idl: make the chunk array in frsrpc_CommPktChunkCtr dynamic
We add an extra num_chunks to the frsrpc_CommPktChunkCtr structure
and use hand modified ndr_push/pull functions to let it not appear
on the wire.

metze
2009-07-21 19:11:24 +02:00
Jelmer Vernooij
4447bd96b9 Include ntsvc NDR in libndr-standard. 2009-07-19 17:18:04 +02:00
Jelmer Vernooij
de04e00ec2 Merge more ndr interfaces into libndr-standard. 2009-07-19 15:39:52 +02:00
Jelmer Vernooij
63a6ca084d librpc: Integrate some subsystems now part of libndr-standard and integrate ndr_dfs in libndr-standard. 2009-07-19 13:41:04 +02:00
Jelmer Vernooij
d8ce8f9b61 Create libndr-standard, which includes the NDR marshalling code for
the "standard" set of DCE/RPC interfaces found on Windows.
2009-07-19 12:41:09 +02:00
Andrew Tridgell
386211a81c A rather strange varient of talloc_unlink
A dcerpc request may have a reference from a still completing async
callback, but we now consider the request to be complete. We want to
lose the main parent, leaving just the reference, if any.
2009-07-01 15:15:37 +10:00
Andrew Tridgell
1251032921 py_talloc_import now uses a steal, so this free is incorrect 2009-07-01 15:15:37 +10:00