librpc/nbt: increase MAX_COMPONENTS limit for nbt_names.
[vlendec/samba-autobuild/.git] / librpc / ndr / ndr_nbt.c
index f2a1ca3ba5fff4f1f28f7c2037c38dbf60b2e870..842e9720c32f0753b71737d74c477cf810a495c3 100644 (file)
@@ -27,7 +27,7 @@
 #include "../libcli/netlogon/netlogon.h"
 
 /* don't allow an unlimited number of name components */
-#define MAX_COMPONENTS 10
+#define MAX_COMPONENTS 128
 
 /**
   print a nbt string