1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

10546 Commits

Author SHA1 Message Date
Jeremy Allison
e619c50834 Doin't pstrcpy into fstring.
Jeremy.
-
Jeremy Allison
1c6ea31b8f Ensure dev in make_connection is const.
Jeremy.
-
Jeremy Allison
f93c64b5ca Removed unused var.
Jeremy.
-
Jeremy Allison
478a5c654a const warning fix.
Jeremy.
-
Jeremy Allison
da1271a95f Merge mbp's HEAD changes.
Jeremy.
-
Andrew Bartlett
38a6ad95d7 Add const. -
Andrew Bartlett
fa10640630 Makefile updates for new SMB signing code. -
Andrew Bartlett
27ec538eca Parinoia fixes from HEAD - malloc() some extra room after the allocated
buffer size.
-
Andrew Bartlett
1c87be7a3d Merge from HEAD:
A much better SMB signing module, that allows for mulitple signing algorithms
and correctly backs down from signing when the server cannot sign the reply.

This also attempts to enable SMB signing on NTLMSSP connections, but I don't
know what NTLMSSP flags to set yet.

This would allow 'client use signing' to be set by default, for server
compatability.  (A seperate option value should be provided for mandetory
signing, which would not back down).

Andrew Bartlett
-
Andrew Bartlett
fb29caddd9 NMBD string parinoia and memcpy() parinoia fixes from HEAD.
Andrew Bartlett
-
Andrew Bartlett
f4ae028c2a NTLMSSP updates from HEAD.
Andrew Bartlett
-
Andrew Bartlett
c5b604e2ee Jeremy merged across my string parinoia fixes, but forgot to enable them! :-)
This patch catches up on the rest of the work - as much string checking
as is possible is done at compile time, and the rest at runtime.

Lots of code converted to pstrcpy() etc, and other code reworked to correctly
call sizeof().

Andrew Bartlett
-
Andrew Bartlett
1966284321 Merge signed/unsigned fix from HEAD. -
Andrew Bartlett
29d909b184 One more on set_local_machine_name() taking a new 'perm' argument. -
Andrew Bartlett
92bd0f69df Fix segfault on FD_SET() when we have an fd of -1
Andrew Bartlett
-
Andrew Bartlett
454fb43419 Merge whitespace to match HEAD. -
Andrew Bartlett
4c7163e7c2 Add an extra parameter to our 'set_remote_machine_name' and
'set_local_machine_name' so that the client can't change it from under us.

(.NET RC2 and WinXP install calls the machine 'machinename' during NTLMSSP
on the domain join).

Andrew Bartlett
-
Andrew Bartlett
ed24502301 Add const. -
cvs2svn Import User
f0d009c3e9 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. -
Martin Pool
4bbddbfc6a Split "clobber" function and variables into its own file before it
grows too much larger.
-
Tim Potter
fb91bfa7a2 Merge of waider's rpcclient return type patch. -
Tim Potter
8cabdd635d Merge of enumdomusers rpcclient command. -
Tim Potter
067810ed4a Merge of popt help cleanups. -
Tim Potter
fc0b2fcf97 Merge of #ifdef'ed out auth_smbd wrapper. -
Martin Pool
195582c4cb Ignore t_stringoverflow binary. -
Martin Pool
8d64419625 Ignore .po and .po32 files. -
Martin Pool
5ac0625806 Comment about deprecated macro overmalloc_safe_strcpy(). -
Martin Pool
7741bb8d18 Remove static libbigballofmud, which just does not seem to link.
Add bin/t_stringoverflow test case.  Not built by default.
-
Martin Pool
cea126f62a The new string macros catch a bug at compile that previously only
trapped at runtime, which is great.  So we have to try a little harder
to provoke an overflow -- which is still caught nicely in developer
mode.
-
Martin Pool
412a8780c3 Update comment: Valgrind 1.9.4 seems to always respect client
requests, without needing --client-perms=yes.
-
Martin Pool
8da383bb3e Speling fixes and a little extra documentation. -
Martin Pool
5653a42ae6 global_globber_region_function/line ought to be recorded before
clobbering the region, just in case clobbering causes us to crash
immediately.  (That might happen if we just shot ourselves in the
stack and strcpy was not inlined.)

Also, in DEVELOPER mode and when Valgrind is available, mark the
clobbered region as uninitialized.  This is an even stronger
protection than clobbering with 0xf1.
-
Martin Pool
e1baab1ee0 Decode waitstatus values when a command fails. -
Jeremy Allison
86e3eddac6 Merge in the developer string options from HEAD. We need to ensure 3.0
is as stable as possible in the string department and some pain now
will help later :-).
Jeremy.
-
Tim Potter
2b6d13672d Added #ifdef'ed out implementation of auth_smbd python fn. Uncomment
when auth_smbd functionality merged to HEAD.
-
Tim Potter
a040a8471f Start of a unit test for info3 caching. Much unfrastructure required
before this can be fully implemented.  )-:
-
Andrew Bartlett
b5283c00a9 Merge from HEAD - make winbindd locking sane again:
Original message:


This patch attemptes to clean up winbindd's mutex locking.

The current locking scheme in winbind is a complete mess - indeed, the
next step should be to push the locking into cli_full_connection(), but
I'll leave it for now.

This patch works on the noted behaviour that 2 parts of the connection
process need protection - and independent protection.  Tim Potter did
some work on this a little while back, verifying the second case.

The two cases are:
 - between connect() and first session setup
 - during the auth2 phase of the netlogon pipe setup.

I've removed the counter on the lock, as I fail to see what it gains us.

This patch also adds 'anonymous fallback' to our winbindd -> DC connection.

If the authenticated connection fails (wbinfo -A specifed) - say that
account isn't trusted by a trusted DC - then we try an anonymous.

Both tpot and mbp like the patch.

Andrew Bartlett
-
Andrew Bartlett
50f0ca752e Merge from HEAD:
signed/unsigned (mostly i counters)

a little bit of const.

Andrew Bartlett
-
Andrew Bartlett
3aa4f923e9 Merge from HEAD:
net ads password

Heimdal compile fixes.

Andrew Bartlett
-
Andrew Bartlett
10b53d7c6f Merge from HEAD:
- Make ReadDirName return a const char*.

 - Consequential changes from that

 - mark our fstring/pstring assumptions in function prototypes

Andrew Bartlett
-
Andrew Bartlett
64796ed27a The kerberos_verify compoenent of the SessionSetup sync with HEAD.
Andrew Bartlett
-
Andrew Bartlett
3f9616a68a Merge from HEAD - sync up SessionSetup code to HEAD, including Luke Howard's
session key and auth verifier patches.

Andrew Bartlett
-
Andrew Bartlett
7a2566f2e9 Merge from HEAD - doxygen -
Andrew Bartlett
04a5cbc896 Mege from HEAD - doxygen. -
Andrew Bartlett
9b8d12e081 Merge from (earlier) HEAD - doxygen.
I'm not merging the current HEAD string stuff quite yet.
-
Andrew Bartlett
f0daa15521 merge from HEAD - dump tokenGroups as sids. -
Andrew Bartlett
980f2eb7c2 pstrcpy_base merges for client-side smbpasswd.
Andrew Bartlett
-
Andrew Bartlett
de24fcb097 Merge from HEAD:
new 'net ads dn'

doxygen fixes

net help fixes.
-
Andrew Bartlett
3b9db928fc Merge new statcache.c from HEAD. -
Andrew Bartlett
a7f9c3657f Add copyright. -