1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-19 21:57:57 +03:00

2766 Commits

Author SHA1 Message Date
Jelmer Vernooij
b3328dab2f Add some more functions for the modules (backport from HEAD):
- init_modules()
 - smb_probe_module()
-
Jelmer Vernooij
66fcf6b493 Backport my backtrace patch from HEAD -
Jeremy Allison
7cb060e821 Fix _smb_setlen to be non {} safe.
Jeremy.
-
Jeremy Allison
35d1e3a5e0 Fix _smb_setlen to be non {} safe.
Jeremy.
-
Tim Potter
f49c0f6c87 Merge: remove tallocdump messages. -
Tim Potter
1fb4b8fe43 Merge new popt_common.h include file. -
Tim Potter
c91cf2b38d Merge of new sid type (SID_NAME_COMPUTER) and tidyup. -
Tim Potter
017da9393b Merge of rpcecho pipe for testing large dcerpc requests and responses.
Only compiled in when --enable-developer argument passed to configure.
-
Tim Potter
2a96239301 Merge of TRUE/FALSE preprocessor traps from HEAD. -
Tim Potter
e9beb6cc95 Remove duplicate forward reference of smb_ldap_privates. -
cvs2svn Import User
381649916e This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. -
Gerald Carter
74fab8f0d2 smbcquota patch from metze -
Tim Potter
4ccd34ef83 A new RPC pipe! The \pipe\echo named pipe is for testing large RPC
requests and responses and is only compiled in when --enable-developer
is passed to configure.  It includes server and client side code for
generating and responding to functions on this pipe.  The functions are:

 - AddOne: add one to the uint32 argument and return ig
 - EchoData: echo back a variable sized char array to the caller
 - SourceData: request a variable sized char array
 - SinkData: send a variable sized char array and throw it away

There's a win32 implementation of the client and server in the
junkcode CVS repository in the rpcecho-win32 subdirectory.
-
Jeremy Allison
52e44dde4e Ensure we have WinXP-like semantics for checking TIDs and FIDs.
Jeremy.
-
Jim McDonough
28ab8504cf Complete what I've seen (and then some)t of the PAC.
I haven't seen the rid+attr arrays for group membership, nor sids or the same
kind of arrays for resource domains, so I don't know how that will work.

Also, the PAC info type 10 is now decoded, but I don't know what it's for.
It has an NTTIME, a 16-bit name length, and a username.  According to M$,
it's not needed, because they didn't doc it...
-
Volker Lendecke
eaef0d8aef This is the netlogon schannel client code. Try a
rpcclient -S pdc -U% -c "samlogon user password"

and it should work with the schannel. Needs testing against platforms
different from NT4SP6.

Volker
-
Volker Lendecke
ecd0ee4d24 This is the netlogon schannel client code. Try a
rpcclient -S pdc -U% -c "samlogon user password"

and it should work with the schannel. Needs testing platforms
different from NT4SP6.

Volker
-
Gerald Carter
8fd9450c83 no needed anymore -
Gerald Carter
9d0a82078c no needed anymore -
Volker Lendecke
36362c602b A little clarification in the rpc auth header struct.
Volker
-
Volker Lendecke
9fc3e4bf9f A little clarification in the rpc auth header struct.
Volker
-
Tim Potter
5a5a7ce747 Added some preprocessor tricks to stop TRUE and FALSE from continually
creeping back in to the source.  Use True and False instead.
-
Jim McDonough
0a5b5d00db Some comment updates, notably that I haven't seen the group membership arrays
yet (the ones that are rid-only).
-
Jim McDonough
046c2087a1 Decode the PAC! This patch just decodes it and then frees it, so it's just
for doc purposes right now (you can see it in the debug logs).
-
cvs2svn Import User
43f21c87e1 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. -
Tim Potter
af6ecafcbb Remove duplicate "tallocdump" message from tdb messaging system. The
same functionality exists as "pool-usage".

Move initialisation of this and dmalloc messages inside message_init().
-
Simo Sorce
ad1a2ab0d6 fix commit -
Andrew Bartlett
808d1fcf20 SMB signing updates - this gets NTLMSSP signing workin to the point where I
just need to get the verifiction code working - we get back a signiture from
the server, and just can't verify it yet.

This also brings the short-packet checks into common code, and breaks the
connection if the server sends a signed reply, on an established connection,
that fails the test.

This breaks our read/write code at the moment, as we need to keep a list
of outstanding packets.

(signing is not enabled by default, unless the server demands it)

Not for 3.0 till I fix the outstanding packet list.

Andrew Barlett
-
Simo Sorce
cf17261519 This commit make winbindd copy winbindd_idmap.tdb into idmap.tdb on the
first run if idmap.tdb is not found, and then eventually convert it to the
new format.
This is done to unify winbind and idmap databases and to make a backup of
winbindd_idmap.tdb in case you want to downgrade (of course it will not be
updated).
This is needed because idmap.tdb contains also local mappings, not only
foreign domains mappings.

Added some other fixes/improvements

Simo.
-
Volker Lendecke
6b2b55901d Merge the TNG netlogon schannel from HEAD.
No more XP requiresignorseal anymore!

Thanks again to Luke :-)

Volker
-
Volker Lendecke
e1f953241e This is a merge of the NETLOGON schannel server code from Samba
TNG. Actually, it exists in the main Samba cvs tree in APPLIANCE_TNG
as I found out later :-)

It adds a new parameter: server schannel = yes/auto/no defaulting to
auto.

What does this mean to the user: No requireSignOrSeal registry patch
for XP anymore.

Many thanks for this code to Luke Leighton, Elrond and anybody else I
forgot to mention.

My next thing will be to see if this applies cleanly to 3_0.

Please test and comment!

Volker
-
Jim McDonough
87c7c582c6 The ldap idmap backend from Anthony Liguori (aliguori@us.ibm.com):
This patch moves the ldap routines out of passdb into a generic
library and implements an LDAP backend for IDMAP.  THe backend
can be enabled with "idmap backend = ldap" in smb.conf.  THere
are also schema changes to make sure to update teh ldap schema files.
-
Richard Sharpe
e1a159c55f Commit some more fixes for Coolo ... -
Jelmer Vernooij
8b5ad24231 Add const (from a patch by Stephan Kulow <coolo@kde.org>) -
Gerald Carter
11e3fe1a84 set version to alpha24 so we can distinguish from the alpha23 release -
Simo Sorce
0278132047 THE Idmap patch :-)
includes a --with-idmap=no switch to disable idmap usage if you find
problems.

cosmetic fixes and param aliases to separate winbind from idamp roles.

A temporarily remote idmap winbind compatibility backend.
As I have time I will further change code to not call directly winbind
(partly done but not tested) and a specilized module will be built in place
for the current glue hack.

The patch has been tested locally in my limited time, the patch is simple and
clear and should not reserve problems, if any just disable it.

As usual, comments and fisex are welcome :-)

Simo.
-
Tim Potter
a4b5f2c01b Merge of winbind nss library cleanup from HEAD. -
Tim Potter
93ea047a16 Cleanup of winbind client side code.
Mostly this consists of untangling the existing code and moving it in
to operating system specific files.  The winbind client code for all
supported operating systems is now in nsswitch/winbind_nss_OSNAME.[ch]
to make things a bit clearer.
-
Gerald Carter
39102a070b set version string -
Gerald Carter
2aa2767ed5 don't include proto.h during autoconf tests since it doesn't exist yet; fixed getsmbpass replacement test -
Gerald Carter
ff43a292b9 don't include proto.h during autoconf tests since it doesn't exist yet; fixed getsmbpass replacement test -
Andrew Tridgell
03a5e62300 merged real time signal fixes from head -
Andrew Tridgell
8d45bf644a it is possible for some of the real time signals to be used by glibc,
which then changes SIGRTMIN. It is also possible for bash to leave
some real time signals blocked at startup. This fixes both problems.
-
cvs2svn Import User
6cd4d3f39a This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. -
Jelmer Vernooij
cebe8d8b42 Use the new modules system in VFS. If a module can't be loaded with the
new modules system, we still fall back to the old system.
-
Christopher R. Hertel
d9b799d8c3 The definition of pstrcpy_base(), and the preceeding comments, were given
twice (probably a cut/paste error).
-
Christopher R. Hertel
5306f6f7c8 The definition of pstrcpy_base(), and the preceeding comments, were given
twice (probably a cut/paste error).
The definition of pstrcpy_base(), and the preceeding comments, were given
twice (probably a cut/paste error).
-
Jelmer Vernooij
d453b656e5 Use execinfo.h to get prototypes for backtrace_symbols (fixes
some warnings)
-
Jelmer Vernooij
bf439d733d Output backtrace to logfile in smb_panic(), as suggested by mbp
(only on systems that support it, of course)
-
Jelmer Vernooij
3defbd5e06 - Add support to auth/ for the new modules system
- Quite some small fixes (also fixes the build)
-