[SCM] Samba Shared Repository - branch master updated

Andrew Tridgell tridge at samba.org
Wed Oct 14 17:02:14 MDT 2009


The branch, master has been updated
       via  4185e37... s4-ldb: removed bugus RDN length check
       via  7dcabde... s4-script: flush DNS after adding new addresses
      from  b41290c... s4-devel: for devel scripts its better to use bin/ than $PREFIX/bin

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 4185e376f5a50cbc83f4b0ff23dacceba9b6271d
Author: Andrew Tridgell <tridge at samba.org>
Date:   Thu Oct 15 10:01:10 2009 +1100

    s4-ldb: removed bugus RDN length check
    
    This isn't the rDN !

commit 7dcabdec74bdfbb323ecd2c268cd1278e6f2c006
Author: Andrew Tridgell <tridge at samba.org>
Date:   Thu Oct 15 10:00:46 2009 +1100

    s4-script: flush DNS after adding new addresses

-----------------------------------------------------------------------

Summary of changes:
 source4/lib/ldb/common/ldb_dn.c    |    5 -----
 source4/scripting/bin/setup_dns.sh |    1 +
 2 files changed, 1 insertions(+), 5 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/lib/ldb/common/ldb_dn.c b/source4/lib/ldb/common/ldb_dn.c
index 798b85d..fa3865e 100644
--- a/source4/lib/ldb/common/ldb_dn.c
+++ b/source4/lib/ldb/common/ldb_dn.c
@@ -464,11 +464,6 @@ static bool ldb_dn_explode(struct ldb_dn *dn)
 		parse_dn++;
 	}
 
-	/* The RDN size must be less than 255 characters */
-	if (strlen(parse_dn) > 255) {
-		return false;
-	}
-
 	/* Empty DNs */
 	if (parse_dn[0] == '\0') {
 		return true;
diff --git a/source4/scripting/bin/setup_dns.sh b/source4/scripting/bin/setup_dns.sh
index f296de2..f20ad14 100755
--- a/source4/scripting/bin/setup_dns.sh
+++ b/source4/scripting/bin/setup_dns.sh
@@ -33,5 +33,6 @@ scripting/bin/nsupdate-gss --realm=$DOMAIN --noverify --ntype="CNAME" $OBJECTGUI
     exit 1
 }
 echo "Checking"
+rndc flush
 host $HOSTNAME.$DOMAIN
 host $OBJECTGUID._msdcs.$DOMAIN


-- 
Samba Shared Repository


More information about the samba-cvs mailing list