When (at home, for example) you build your network, the user names you give to Windows users can be more than 8 characters. For example,
The result of having a long user name is that pass through authentication does not work. Instead of the NSLU2 automatically understanding who you are by the credentials Windows passes the NSLU2, instead you will see a pop-up authentication box where you would have to log in to the NSLU2 with an 8 character or less user name. Not pretty.
If you don't use passwords at home and just allow the NSLU2 to be used by all users then you probably don't have a need for the solution provided here. If, however, you do already have long user names and want to keep using them, then...
Samba, the software that provides the CIFS protocol on the NSLU2 supports long user names via a mapping system. To use it do the following:
1) Via the web interface (
#!/bin/sh /usr/sbin/reset_ugs sed -ie 's/username map = no/username map = \/share\/hdd\/conf\/usermap.cfg/' /share/hdd/conf/share/smb.conf return 0
6) Add your mappings like this and save:
mickey == "Mickey Mouse"
7) The format above is
9) Samba is re-loaded with the new configuration. If you've accessed your NSLU2 over the network and logged in then you should either reboot your PC or from a DOS/Command shell type
9) Browse the NSLU2 via Windows explorer. If everything is working correctly you will not be asked to log-in.
This is how I added users with long names:
1) Create user via web
[global] username map = /share/flash/conf/samba/smb_usermap.conf
mickey = "Mickey Mouse"
Be sure to use the right share folders. For me (1 drive connected to USB port 2) the right path is