summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libsmb/nmblib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/nmblib.c b/source3/libsmb/nmblib.c
index 01c4001f4c..22ff09faa3 100644
--- a/source3/libsmb/nmblib.c
+++ b/source3/libsmb/nmblib.c
@@ -832,6 +832,7 @@ void make_nmb_name( struct nmb_name *n, const char *name, int type)
extern pstring global_scope;
memset( (char *)n, '\0', sizeof(struct nmb_name) );
StrnCpy( n->name, name, 15 );
+ unix_to_dos(n->name, True);
strupper( n->name );
n->name_type = (unsigned int)type & 0xFF;
StrnCpy( n->scope, global_scope, 63 );