tpot | 1 Oct 04:57 2004
Picon

svn commit: samba r2759 - branches/SAMBA_3_0/source branches/SAMBA_3_0/source/nsswitch trunk/source trunk/source/nsswitch

Author: tpot
Date: 2004-10-01 02:57:10 +0000 (Fri, 01 Oct 2004)
New Revision: 2759

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=2759&nolog=1

Log:
Fix for winbindd on AIX 5.1.  Apparently it doesn't have as many methods
in struct secmethod_table as AIX 5.2.  Patch from The Written Word.

Modified:
   branches/SAMBA_3_0/source/configure.in
   branches/SAMBA_3_0/source/nsswitch/winbind_nss_aix.c
   trunk/source/configure.in
   trunk/source/nsswitch/winbind_nss_aix.c

Changeset:
Modified: branches/SAMBA_3_0/source/configure.in
===================================================================
--- branches/SAMBA_3_0/source/configure.in	2004-09-30 16:08:09 UTC (rev 2758)
+++ branches/SAMBA_3_0/source/configure.in	2004-10-01 02:57:10 UTC (rev 2759)
 <at>  <at>  -4291,6 +4291,14  <at>  <at> 
 		AC_DEFINE(HAVE_PASSWD_PW_AGE, 1, [Defined if struct passwd has pw_age field]),,
 		[#include <pwd.h>])

+# AIX 4.3.x and 5.1 do not have as many members in
+# struct secmethod_table as AIX 5.2
+AC_CHECK_MEMBERS([struct secmethod_table.method_attrlist], , ,
+       [#include <usersec.h>])
+AC_CHECK_MEMBERS([struct secmethod_table.method_version], , ,
(Continue reading)

tpot | 1 Oct 04:59 2004
Picon

svn commit: samba r2760 - branches/SAMBA_3_0/source/nsswitch trunk/source/nsswitch

Author: tpot
Date: 2004-10-01 02:59:43 +0000 (Fri, 01 Oct 2004)
New Revision: 2760

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=2760&nolog=1

Log:
Another patch from The Written Word.  Don't declare function prototypes
inside a function.  Bugzilla #1762.

Modified:
   branches/SAMBA_3_0/source/nsswitch/winbind_nss_aix.c
   trunk/source/nsswitch/winbind_nss_aix.c

Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbind_nss_aix.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbind_nss_aix.c	2004-10-01 02:57:10 UTC (rev 2759)
+++ branches/SAMBA_3_0/source/nsswitch/winbind_nss_aix.c	2004-10-01 02:59:43 UTC (rev 2760)
 <at>  <at>  -159,12 +159,13  <at>  <at> 
 	return id;
 }

+static struct passwd *wb_aix_getpwuid(uid_t uid);
+
 static char *decode_user(const char *name)
 {
 	struct passwd *pwd;
 	unsigned id;
 	char *ret;
(Continue reading)

abartlet | 1 Oct 05:14 2004
Picon

svn commit: samba r2761 - in branches/SAMBA_3_0/source/rpc_server: .

Author: abartlet
Date: 2004-10-01 03:14:57 +0000 (Fri, 01 Oct 2004)
New Revision: 2761

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_3_0/source/rpc_server&rev=2761&nolog=1

Log:
Print the decrypted, not encrypted key.

Andrew Bartlett

Modified:
   branches/SAMBA_3_0/source/rpc_server/srv_netlog_nt.c

Changeset:
Modified: branches/SAMBA_3_0/source/rpc_server/srv_netlog_nt.c
===================================================================
--- branches/SAMBA_3_0/source/rpc_server/srv_netlog_nt.c	2004-10-01 02:59:43 UTC (rev 2760)
+++ branches/SAMBA_3_0/source/rpc_server/srv_netlog_nt.c	2004-10-01 03:14:57 UTC (rev 2761)
 <at>  <at>  -486,8 +486,8  <at>  <at> 
 	cred_hash3( pwd, q_u->pwd, p->dc.sess_key, 0);

 	DEBUG(100,("Server password set : new given value was :\n"));
-	for(i = 0; i < 16; i++)
-		DEBUG(100,("%02X ", q_u->pwd[i]));
+	for(i = 0; i < sizeof(pwd); i++)
+		DEBUG(100,("%02X ", pwd[i]));
 	DEBUG(100,("\n"));

 	old_pw = pdb_get_nt_passwd(sampass);
(Continue reading)

abartlet | 1 Oct 05:28 2004
Picon

svn commit: samba r2762 - in branches/SAMBA_3_0/source: nsswitch utils

Author: abartlet
Date: 2004-10-01 03:28:39 +0000 (Fri, 01 Oct 2004)
New Revision: 2762

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_3_0/source&rev=2762&nolog=1

Log:
Remove silly conversion to and from UTF8 on the winbind pipe.  Fix the
naming of the require_membership_of parameter in pam_winbind and fix
the error code for 'you didn't specify a domain' in ntlm_auth.

Andrew Bartlett

Modified:
   branches/SAMBA_3_0/source/nsswitch/pam_winbind.c
   branches/SAMBA_3_0/source/nsswitch/wbinfo.c
   branches/SAMBA_3_0/source/nsswitch/winbindd_nss.h
   branches/SAMBA_3_0/source/nsswitch/winbindd_pam.c
   branches/SAMBA_3_0/source/utils/ntlm_auth.c

Changeset:
Sorry, the patch is too large (368 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_3_0/source&rev=2762&nolog=1

tridge | 1 Oct 07:19 2004
Picon

svn commit: samba r2763 - in branches/SAMBA_4_0/source/librpc/rpc: .

Author: tridge
Date: 2004-10-01 05:19:51 +0000 (Fri, 01 Oct 2004)
New Revision: 2763

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/librpc/rpc&rev=2763&nolog=1

Log:
use no-auth bind on ncacn_np unless we specify at least one of "sign", "seal" or "connect" 

Modified:
   branches/SAMBA_4_0/source/librpc/rpc/dcerpc_util.c

Changeset:
Modified: branches/SAMBA_4_0/source/librpc/rpc/dcerpc_util.c
===================================================================
--- branches/SAMBA_4_0/source/librpc/rpc/dcerpc_util.c	2004-10-01 03:28:39 UTC (rev 2762)
+++ branches/SAMBA_4_0/source/librpc/rpc/dcerpc_util.c	2004-10-01 05:19:51 UTC (rev 2763)
 <at>  <at>  -496,7 +496,8  <at>  <at> 
 	if (username && username[0] && (binding->flags & DCERPC_SCHANNEL_ANY)) {
 		status = dcerpc_bind_auth_schannel(*p, pipe_uuid, pipe_version, 
 						   domain, username, password);
-	} else if (username && username[0]) {
+	} else if (username && username[0] &&
+		   (binding->flags & (DCERPC_CONNECT|DCERPC_SIGN|DCERPC_SEAL))) {
 		status = dcerpc_bind_auth_ntlm(*p, pipe_uuid, pipe_version, domain, username, password);
 	} else {    
 		status = dcerpc_bind_auth_none(*p, pipe_uuid, pipe_version);

abartlet | 1 Oct 07:23 2004
Picon

svn commit: lorikeet r82 - in trunk/samba4-ad-thesis: .

Author: abartlet
Date: 2004-10-01 05:23:53 +0000 (Fri, 01 Oct 2004)
New Revision: 82

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=lorikeet&path=/trunk/samba4-ad-thesis&rev=82&nolog=1

Log:
Add yet more information on NTLMSSP

Modified:
   trunk/samba4-ad-thesis/chapters.lyx

Changeset:
Modified: trunk/samba4-ad-thesis/chapters.lyx
===================================================================
--- trunk/samba4-ad-thesis/chapters.lyx	2004-09-27 23:14:25 UTC (rev 81)
+++ trunk/samba4-ad-thesis/chapters.lyx	2004-10-01 05:23:53 UTC (rev 82)
 <at>  <at>  -858,9 +858,12  <at>  <at> 
  this third party, preferably by some cryptographic proof.
  Often this is by yet another shared-secret authentication scheme.

+\layout Chapter
+
+NTLM
 \layout Section

-NTLM
+NTLM Challenge Response
 \layout Standard

(Continue reading)

tpot | 1 Oct 07:28 2004
Picon

svn commit: samba r2764 - in branches/SAMBA_4_0/source/build/pidl: .

Author: tpot
Date: 2004-10-01 05:28:20 +0000 (Fri, 01 Oct 2004)
New Revision: 2764

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/build/pidl&rev=2764&nolog=1

Log:
Use hand-written function for all occurrences of IDL strings, not just
those with a single pointer.

Modified:
   branches/SAMBA_4_0/source/build/pidl/swig.pm

Changeset:
Modified: branches/SAMBA_4_0/source/build/pidl/swig.pm
===================================================================
--- branches/SAMBA_4_0/source/build/pidl/swig.pm	2004-10-01 05:19:51 UTC (rev 2763)
+++ branches/SAMBA_4_0/source/build/pidl/swig.pm	2004-10-01 05:28:20 UTC (rev 2764)
 <at>  <at>  -91,7 +91,7  <at>  <at> 

     # Special cases

-    if ($e->{TYPE} eq "string" && $e->{POINTERS} == 1) {
+    if ($e->{TYPE} eq "string") {
 	$result .= "\ts->$prefix$e->{NAME} = string_ptr_from_python(mem_ctx, $obj, \"$e->{NAME}\");\n";
 	return $result;
     }
 <at>  <at>  -187,7 +187,7  <at>  <at> 

     # Special cases
(Continue reading)

tpot | 1 Oct 09:36 2004
Picon

svn commit: samba r2765 - in branches/SAMBA_4_0/source/scripting/swig: .

Author: tpot
Date: 2004-10-01 07:36:47 +0000 (Fri, 01 Oct 2004)
New Revision: 2765

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/scripting/swig&rev=2765&nolog=1

Log:
Allow functions containing WERROR values to be compiled.

Add winreg.i to list of extensions.

Modified:
   branches/SAMBA_4_0/source/scripting/swig/dcerpc.i
   branches/SAMBA_4_0/source/scripting/swig/samba.i

Changeset:
Modified: branches/SAMBA_4_0/source/scripting/swig/dcerpc.i
===================================================================
--- branches/SAMBA_4_0/source/scripting/swig/dcerpc.i	2004-10-01 05:28:20 UTC (rev 2764)
+++ branches/SAMBA_4_0/source/scripting/swig/dcerpc.i	2004-10-01 07:36:47 UTC (rev 2765)
 <at>  <at>  -839,3 +839,4  <at>  <at> 
 %include "librpc/gen_ndr/misc.i"
 %include "librpc/gen_ndr/lsa.i"
 %include "librpc/gen_ndr/samr.i"
+%include "librpc/gen_ndr/winreg.i"

Modified: branches/SAMBA_4_0/source/scripting/swig/samba.i
===================================================================
--- branches/SAMBA_4_0/source/scripting/swig/samba.i	2004-10-01 05:28:20 UTC (rev 2764)
+++ branches/SAMBA_4_0/source/scripting/swig/samba.i	2004-10-01 07:36:47 UTC (rev 2765)
(Continue reading)

tpot | 1 Oct 09:37 2004
Picon

svn commit: samba r2766 - in branches/SAMBA_4_0/source/scripting/swig/torture: .

Author: tpot
Date: 2004-10-01 07:37:37 +0000 (Fri, 01 Oct 2004)
New Revision: 2766

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/scripting/swig/torture&rev=2766&nolog=1

Log:
Test OpenKey, QueryInfoKey, EnumKey, CloseKey functions.

The IDL for EnumValue is wrong - can't figure it out right now.

Modified:
   branches/SAMBA_4_0/source/scripting/swig/torture/winreg.py

Changeset:
Modified: branches/SAMBA_4_0/source/scripting/swig/torture/winreg.py
===================================================================
--- branches/SAMBA_4_0/source/scripting/swig/torture/winreg.py	2004-10-01 07:36:47 UTC (rev 2765)
+++ branches/SAMBA_4_0/source/scripting/swig/torture/winreg.py	2004-10-01 07:37:37 UTC (rev 2766)
 <at>  <at>  -1,17 +1,111  <at>  <at> 
 #!/usr/bin/python

-import dcerpc
+import sys, dcerpc

 def test_OpenHKLM(pipe):

     r = {}
     r['unknown'] = {}
-    r['unknown']['unknown0'] = 0x84e0
(Continue reading)

tpot | 1 Oct 09:38 2004
Picon

svn commit: samba r2767 - in branches/SAMBA_4_0/source/build/pidl: .

Author: tpot
Date: 2004-10-01 07:38:09 +0000 (Fri, 01 Oct 2004)
New Revision: 2767

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/build/pidl&rev=2767&nolog=1

Log:
Get rid of some unnecessary %s formatting.

Modified:
   branches/SAMBA_4_0/source/build/pidl/swig.pm

Changeset:
Modified: branches/SAMBA_4_0/source/build/pidl/swig.pm
===================================================================
--- branches/SAMBA_4_0/source/build/pidl/swig.pm	2004-10-01 07:37:37 UTC (rev 2766)
+++ branches/SAMBA_4_0/source/build/pidl/swig.pm	2004-10-01 07:38:09 UTC (rev 2767)
 <at>  <at>  -55,12 +55,12  <at>  <at> 
     }

     $result .= "\tif (!PyDict_GetItemString(obj, \"$e->{NAME}\")) {\n";
-    $result .= "\t\tPyErr_Format(PyExc_ValueError, \"Expecting key '%s'\", \"$e->{NAME}\");\n";
+    $result .= "\t\tPyErr_Format(PyExc_ValueError, \"Expecting key '$e->{NAME}'\");\n";
     $result .= "\t\treturn NULL;\n";
     $result .= "\t}\n\n";

     $result .= "\tif (!PyList_Check(PyDict_GetItemString(obj, \"$e->{NAME}\"))) {\n";
-    $result .= "\t\tPyErr_Format(PyExc_TypeError, \"Expecting list value for key '%s'\", \"$e->{NAME}\");\n";
+    $result .= "\t\tPyErr_Format(PyExc_TypeError, \"Expecting list value for key '$e->{NAME}'\");\n";
     $result .= "\t\treturn NULL;\n";
(Continue reading)


Gmane