summaryrefslogtreecommitdiff
path: root/source3/lib/util.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-01-17 07:08:21 +0000
committerJeremy Allison <jra@samba.org>1998-01-17 07:08:21 +0000
commit1ea8ceac458501719a055700902d456304c4ee0a (patch)
treeb7e3008831dd6b3b0b280c1c75ad5aa3c6e64296 /source3/lib/util.c
parent4f9674d1c85f2e7293874477ae0da15fee1538c7 (diff)
downloadsamba-1ea8ceac458501719a055700902d456304c4ee0a.tar.gz
samba-1ea8ceac458501719a055700902d456304c4ee0a.tar.bz2
samba-1ea8ceac458501719a055700902d456304c4ee0a.zip
charcnv.c: Added codepage 866 support onto the file system. Patch
from Max Khon <max@iclub.nsu.ru>. chgpasswd.c: Allow old RAP change password to work with encrypted passwords. Samba can now allow Windows 95/NT clients to securely change the Lanman password ! (But not the NT hash - that gets lost). ipc.c: smbdes.c: smbpass.c: Support for the above. server.c: #ifdef'ed out fix for NT redirector bug. util.c: Fix NIS bug with server name. Jeremy. (This used to be commit cd9fad92d0316e5a0007ba3c5668906dc2f011f1)
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r--source3/lib/util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 403ebb73eb..1aa88c0708 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -3731,6 +3731,7 @@ char *automount_server(char *user_name)
home_server_len = sizeof(pstring);
}
strncpy(server_name, nis_result, home_server_len);
+ server_name[home_server_len] = '\0';
}
#else
/* use the local machine name instead of the auto-map server */