jelmer | 1 Oct 2005 01:10
Picon
Favicon

svn commit: samba r10664 - in branches/SAMBA_4_0/source: include/system lib/replace

Author: jelmer
Date: 2005-09-30 23:10:20 +0000 (Fri, 30 Sep 2005)
New Revision: 10664

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10664

Log:
Include limits.h in replace.h for HOST_NAME_MAX

Modified:
   branches/SAMBA_4_0/source/include/system/filesys.h
   branches/SAMBA_4_0/source/lib/replace/replace.h

Changeset:
Modified: branches/SAMBA_4_0/source/include/system/filesys.h
===================================================================
--- branches/SAMBA_4_0/source/include/system/filesys.h	2005-09-30 22:08:06 UTC (rev 10663)
+++ branches/SAMBA_4_0/source/include/system/filesys.h	2005-09-30 23:10:20 UTC (rev 10664)
 <at>  <at>  -103,25 +103,11  <at>  <at> 
 #include <sys/xattr.h>
 #endif

-/* Load header file for dynamic linking stuff */
-#ifdef HAVE_DLFCN_H
-#include <dlfcn.h>
-#endif

 #ifdef HAVE_SYS_RESOURCE_H
 #include <sys/resource.h>
 #endif
(Continue reading)

tridge | 1 Oct 2005 01:14
Picon
Favicon
Gravatar

svn commit: samba r10665 - in branches/SAMBA_4_0/source/lib/ldb/common: .

Author: tridge
Date: 2005-09-30 23:14:30 +0000 (Fri, 30 Sep 2005)
New Revision: 10665

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10665

Log:
fixed some crash errors and an error encoding AND and OR operations in the expression parsing code

Modified:
   branches/SAMBA_4_0/source/lib/ldb/common/ldb_parse.c

Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/common/ldb_parse.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/common/ldb_parse.c	2005-09-30 23:10:20 UTC (rev 10664)
+++ branches/SAMBA_4_0/source/lib/ldb/common/ldb_parse.c	2005-09-30 23:14:30 UTC (rev 10665)
 <at>  <at>  -354,6 +354,11  <at>  <at> 

 	switch (filtertype) {

+		case LDB_OP_PRESENT:
+			ret->operation = LDB_OP_PRESENT;
+			ret->u.present.attr = attr;
+			break;
+
 		case LDB_OP_EQUALITY:

 			if (strcmp(value, "*") == 0) {
 <at>  <at>  -615,6 +620,11  <at>  <at> 
(Continue reading)

tridge | 1 Oct 2005 01:47
Picon
Favicon
Gravatar

svn commit: samba r10667 - in branches/SAMBA_4_0/source/lib/ldb/ldb_tdb: .

Author: tridge
Date: 2005-09-30 23:47:40 +0000 (Fri, 30 Sep 2005)
New Revision: 10667

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10667

Log:

cope with a NULL tree for base searches in ldb_search()

Modified:
   branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_search.c

Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_search.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_search.c	2005-09-30 23:46:41 UTC (rev 10666)
+++ branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_search.c	2005-09-30 23:47:40 UTC (rev 10667)
 <at>  <at>  -501,6 +501,17  <at>  <at> 
 	if ((base == NULL || base->comp_num == 0) &&
 	    (scope == LDB_SCOPE_BASE || scope == LDB_SCOPE_ONELEVEL)) return -1;

+	/* check if we are looking for a simple dn */
+	if (scope == LDB_SCOPE_BASE && tree == NULL) {
+		return ltdb_search_dn(module, base, attrs, res);
+	}
+
+	if (tree == NULL) {
+		char *err_string = talloc_strdup(module, "expression parse failed");
+		if (err_string) ldb_set_errstring(module, err_string);
(Continue reading)

tridge | 1 Oct 2005 01:46
Picon
Favicon
Gravatar

svn commit: samba r10666 - in branches/SAMBA_4_0/source/lib/ldb/ldb_ildap: .

Author: tridge
Date: 2005-09-30 23:46:41 +0000 (Fri, 30 Sep 2005)
New Revision: 10666

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10666

Log:

- reverse the ildap ldb backend so tree based searches go through
directly, and expression based searches are converted to trees. This
makes for less conversions.

- allow the caller to supply a set of credentials via the ldb opaque
name 'credentials'. I will be using this in my ldb proxy module.

Modified:
   branches/SAMBA_4_0/source/lib/ldb/ldb_ildap/ldb_ildap.c

Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/ldb_ildap/ldb_ildap.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/ldb_ildap/ldb_ildap.c	2005-09-30 23:14:30 UTC (rev 10665)
+++ branches/SAMBA_4_0/source/lib/ldb/ldb_ildap/ldb_ildap.c	2005-09-30 23:46:41 UTC (rev 10666)
 <at>  <at>  -125,11 +125,11  <at>  <at> 
 static void ildb_rootdse(struct ldb_module *module);

 /*
-  search for matching records
+  search for matching records using a ldb_parse_tree
 */
(Continue reading)

tridge | 1 Oct 2005 01:56
Picon
Favicon
Gravatar

svn commit: samba r10668 - in branches/SAMBA_4_0/source/libcli/ldap: .

Author: tridge
Date: 2005-09-30 23:56:54 +0000 (Fri, 30 Sep 2005)
New Revision: 10668

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10668

Log:

added a ildap_search_bytree() function

Modified:
   branches/SAMBA_4_0/source/libcli/ldap/ldap_ildap.c

Changeset:
Modified: branches/SAMBA_4_0/source/libcli/ldap/ldap_ildap.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/ldap/ldap_ildap.c	2005-09-30 23:47:40 UTC (rev 10667)
+++ branches/SAMBA_4_0/source/libcli/ldap/ldap_ildap.c	2005-09-30 23:56:54 UTC (rev 10668)
 <at>  <at>  -154,10 +154,10  <at>  <at> 
 /*
   perform a ldap search
 */
-NTSTATUS ildap_search(struct ldap_connection *conn, const char *basedn, 
-		      int scope, const char *expression, 
-		      const char * const *attrs, BOOL attributesonly, 
-		      struct ldap_message ***results)
+NTSTATUS ildap_search_bytree(struct ldap_connection *conn, const char *basedn, 
+			     int scope, struct ldb_parse_tree *tree,
+			     const char * const *attrs, BOOL attributesonly, 
+			     struct ldap_message ***results)
(Continue reading)

build | 1 Oct 2005 02:00
Picon
Favicon

Build status as of Sat Oct 1 00:00:02 2005

URL: http://build.samba.org/

--- /home/build/master/cache/broken_results.txt.old	2005-09-30 00:00:11.000000000 +0000
+++ /home/build/master/cache/broken_results.txt	2005-10-01 00:00:14.000000000 +0000
 <at>  <at>  -1,17 +1,17  <at>  <at> 
-Build status as of Fri Sep 30 00:00:02 2005
+Build status as of Sat Oct  1 00:00:02 2005

 Build counts:
 Tree         Total  Broken Panic 
-ccache       16     3      0     
-distcc       16     2      0     
-lorikeet-heimdal 37     20     0     
-ppp          21     0      0     
-rsync        39     2      0     
-samba        3      0      0     
+ccache       39     5      0     
+distcc       39     4      0     
+lorikeet-heimdal 38     19     0     
+ppp          23     0      0     
+rsync        41     3      0     
+samba        2      0      0     
 samba-docs   0      0      0     
-samba4       39     19     5     
-samba_3_0    40     9      0     
-smb-build    31     4      0     
-talloc       38     15     0     
-tdb          38     4      0     
+samba4       40     30     7     
+samba_3_0    41     29     0     
(Continue reading)

tridge | 1 Oct 2005 03:04
Picon
Favicon
Gravatar

svn commit: samba r10669 - in branches/SAMBA_4_0/source/auth/ntlmssp: .

Author: tridge
Date: 2005-10-01 01:04:34 +0000 (Sat, 01 Oct 2005)
New Revision: 10669

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10669

Log:

reverted jelmers commit 10663 as it was causing lots of panics in 'make test'

I also think the method of getting rid of pstring isn't the right
one. I certainly do want to get rid of pstring/fstring, but the reason
for removing them is the use of arbitrary sized fixed length strings
on the stack and in structures. Changing to another fixed length stack
string format isn't really a win, and moving to use strncpy() is
actually worse than pstrcpy() as strncpy() has the absolutely awful
semantics of always zeroing all remaining bytes, so it ends up taking
a lot of cpu doing pointless memory writes.

I'd rather move to more use of asprintf()/talloc_asprintf() and
similar functions for dynamic string allocation.

You also have to be very careful about some of these system defined
string limits. One some systems PATH_MAX could be 64k or even larger,
which can quickly blow the stack out when you allocate a few of them. 

Modified:
   branches/SAMBA_4_0/source/auth/ntlmssp/ntlmssp_parse.c
   branches/SAMBA_4_0/source/auth/ntlmssp/ntlmssp_server.c

(Continue reading)

abartlet | 1 Oct 2005 03:19
Picon
Favicon

svn commit: samba r10670 - in branches/SAMBA_4_0/source/auth/kerberos: .

Author: abartlet
Date: 2005-10-01 01:19:12 +0000 (Sat, 01 Oct 2005)
New Revision: 10670

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10670

Log:
Add notes on things that are TODO in Samba4 kerberos land.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/auth/kerberos/kerberos-notes.txt

Changeset:
Modified: branches/SAMBA_4_0/source/auth/kerberos/kerberos-notes.txt
===================================================================
--- branches/SAMBA_4_0/source/auth/kerberos/kerberos-notes.txt	2005-10-01 01:04:34 UTC (rev 10669)
+++ branches/SAMBA_4_0/source/auth/kerberos/kerberos-notes.txt	2005-10-01 01:19:12 UTC (rev 10670)
 <at>  <at>  -374,3 +374,49  <at>  <at> 
 delay and root server load.

 
+Kerberos TODO
+=============
+
+(Feel free to contribute to any of these tasks, or ask
+abartlet <at> samba.org about them).
+
+Gssmonger
(Continue reading)

vlendec | 1 Oct 2005 11:43
Picon
Favicon

svn commit: samba r10671 - branches/SAMBA_3_0/source/include branches/SAMBA_3_0/source/libads branches/SAMBA_3_0/source/libsmb trunk/source/include trunk/source/libads trunk/source/libsmb

Author: vlendec
Date: 2005-10-01 09:43:53 +0000 (Sat, 01 Oct 2005)
New Revision: 10671

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10671

Log:
Attempt to fix the build on machines without kerberos headers.

Volker

Modified:
   branches/SAMBA_3_0/source/include/includes.h
   branches/SAMBA_3_0/source/libads/authdata.c
   branches/SAMBA_3_0/source/libsmb/clikrb5.c
   trunk/source/include/includes.h
   trunk/source/libads/authdata.c
   trunk/source/libsmb/clikrb5.c

Changeset:
Sorry, the patch is too large (299 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10671

vlendec | 1 Oct 2005 12:00
Picon
Favicon

svn commit: samba r10672 - in branches/SAMBA_3_0/source/smbd: .

Author: vlendec
Date: 2005-10-01 10:00:07 +0000 (Sat, 01 Oct 2005)
New Revision: 10672

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10672

Log:
Attempt to fix the IRIX build. James, could you test the Oplock code on a box?

Thanks,

Volker

Modified:
   branches/SAMBA_3_0/source/smbd/oplock_irix.c

Changeset:
Modified: branches/SAMBA_3_0/source/smbd/oplock_irix.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/oplock_irix.c	2005-10-01 09:43:53 UTC (rev 10671)
+++ branches/SAMBA_3_0/source/smbd/oplock_irix.c	2005-10-01 10:00:07 UTC (rev 10672)
 <at>  <at>  -99,8 +99,9  <at>  <at> 
 	 */

 	if(read(oplock_pipe_read, &dummy, 1) != 1) {
-		DEBUG(0,("irix_oplock_receive_message: read of kernel notification failed. \
-Error was %s.\n", strerror(errno) ));
+		DEBUG(0,("irix_oplock_receive_message: read of kernel "
+			 "notification failed. Error was %s.\n",
+			 strerror(errno) ));
(Continue reading)


Gmane