git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
78c5001
)
r12695: A dot is allowed in NetBIOS names.
author
Jelmer Vernooij
<jelmer@samba.org>
Tue, 3 Jan 2006 17:22:19 +0000
(17:22 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:49:39 +0000
(13:49 -0500)
(This used to be commit
f4ac7d6359b5a6de04a6ea518dec99f4c9b49b3d
)
source4/scripting/libjs/provision.js
patch
|
blob
|
history
diff --git
a/source4/scripting/libjs/provision.js
b/source4/scripting/libjs/provision.js
index f26c69d15e565748ef4f9cc1fa514febf02ca5f7..b5f8527bd018b427b2aaa49ef66f7a3faf79e2d2 100644
(file)
--- a/
source4/scripting/libjs/provision.js
+++ b/
source4/scripting/libjs/provision.js
@@
-481,11
+481,11
@@
member: %s
}
// Check whether a name is valid as a NetBIOS name.
-// FIXME: There are probably more constraints here
+// FIXME: There are probably more constraints here.
+// crh has a paragraph on this in his book (1.4.1.1)
function valid_netbios_name(name)
{
if (strlen(name) > 13) return false;
- if (strstr(name, ".")) return false;
return true;
}