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

2454 Commits

Author SHA1 Message Date
Andrew Tridgell
da86f08605 s4-rpc: be more careful about DCERPC auth padding
Cope with a wider range of auth padding in dcerpc bind_ack and
alter_context packets. We now use a helper function that calculates
the right auth padding.
2010-02-13 23:12:29 +11:00
Kai Blin
ea055e8c79 s4: Switch to S3-style id mapping data types. 2010-02-11 23:56:35 +01:00
Matthias Dieter Wallnöfer
e34637b2a6 s4:Remove "Py_RETURN_NONE" compatibility code
This was needed only by Python 2.3 which we no longer support.
2010-02-09 17:53:09 +01:00
Matt Kraai
d8071e7ed7 Change uint_t to unsigned int in source4
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02 07:18:18 +01:00
Stefan Metzmacher
137fd79f44 s4:winsrepl.idl: add random interface uuid
This is needed to include the wrepl interface into
ndrdump.

metze
2010-01-26 15:23:24 +01:00
Jelmer Vernooij
253a232d30 pyxattr: Fix memory leaks. 2010-01-21 16:44:12 +13:00
Jelmer Vernooij
7092e220b5 pyxattr: Fix return value, raise exception, fix memory leak. 2010-01-21 16:29:15 +13:00
Matthieu Patou
1a143b8a59 s4: allow python code to dump NTACL object as well 2010-01-21 07:11:18 +13:00
Matthieu Patou
c80ecd9964 s4: add python bindings for wrap_(s|g)etxattr 2010-01-21 07:11:13 +13:00
Jelmer Vernooij
ea5af6e30c pyldb: Add dom_sid.split in favor of less powerful dom_sid_to_rid().
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-31 17:33:30 +11:00
Matthieu Patou
155bdea7b2 torture: add new tests for dfsblobs
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-12-14 10:58:32 +01:00
Matthias Dieter Wallnöfer
e60388cf6d s4:dcerpc - fix DEBUG output warning 2009-11-06 22:04:59 +01:00
Stefan (metze) Metzmacher
25f96a4058 Add in Metze's new code to ndr encode the user.DOSATTRIB
blobs. Next I'll change the create timestamp and dos attribute
code to use this.
2009-10-28 15:42:47 -07:00
Andrew Tridgell
3050f83288 s4-python: we need to include Python.h first
If we don't include Python.h first then we get a pile of warnings due
to broken redefines of XOPEN_SOURCE in the Python includes.
2009-10-23 16:23:01 +11:00
Andrew Tridgell
08a0096ab6 s4-idl: don't call a variable 'stat'
never call a structure member by the name of a standard C lib call. It
breaks the build on some systems.
2009-10-20 12:13:15 +11:00
Karolin Seeger
fa08d0b44b Fix typo.
privilage -> privilege

Karolin
2009-10-19 09:47:33 +02:00
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