To get SAMBA on my NSLU2, I followed the brilliant guide by Falko here:
http://www.howtoforge.com/debian-squ...tdbsam-backend
The results or remaining issues:
1. I can't get the user I added to login. It kept asking for user password.
2. I can login to the server using details of the account created during Debian install and that will take me to my home directory where I can read and write files. But I can access the external USB HD from where I hope to share files, since the Debian install is on a USB stick.
My SAMBA file points to the external HD as such: /media/usb0/shares/allusers
I have entered the UUID of the external HD into fstab and pointing it to mount at the foregoing path.
blkid lists the external hd
fdisk -l also does
It's formated ext3
So the remaining big issues: how can I get SAMBA to see my external hd and getting the user created to be able to login.
Below here, are output to different files, including SAMBA.CONF
smb.conf
[global]
server string = %h server
path = /media/usb0/shares/allusers
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword$
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
panic action = /usr/share/samba/panic-action %d
valid users = amer; lara
security = user
[homes]
comment = Home Directories
browseable = no
valid users = %S
writable = yes
create mask = 0700
directory mask = 0700
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
[media/usb0]
comment = All Users
path = /media/usb0/shares/allusers
valid users = @users
force group = users
create mask = 0660
directory mask = 0771
writebale = yes
fstab: And there's an "fstab.old" in /etc that does not have the last hd, which is the external hd that mounts at:/media/usb0/shares/allusers
# /etc/fstab: static file system information. It simply has the first three lines.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
UUID=e84c39b2-601c-4811-bc8a-4c96ad39941f / ext3 errors=remount-ro 0 1
UUID=dfc227c8-dcc5-4e2f-b6e3-dcc8a2b7b116 /boot ext2 defaults 0 2
# /dev/sda5 none swap sw 0 0
UUID=36182a75-94f3-4604-a515-7c2841cb7b17 none swap sw 0 0
UUID=n2fcbff1-d98a-41a8-8e1c-2250bc6ce47e /media/usb0/shares/allusers ext3 0 0
blkid output:
/dev/sda1: UUID="dfc227c8-dcc5-4e2f-b6e3-dcc8a2b7b116" TYPE="ext2"
/dev/sda2: UUID="e84c39b2-601c-4811-bc8a-4c96ad39941f" TYPE="ext3"
/dev/sda5: TYPE="swap" UUID="36182a75-94f3-4604-a515-7c2841cb7b17"
/dev/sdb1: UUID="b2fcbff1-d98a-41a8-8e1c-2250bc6ce47e" TYPE="ext3"
pmount:
/dev/disk/by-uuid/e84c39b2-601c-4811-bc8a-4c96ad39941f on / type ext3 (rw,relatime,errors=remount-ro,data=ordered)
/dev/sda1 on /boot type ext2 (rw,relatime,errors=continue)
/dev/sdb1 on /media/usb0 type ext3 (rw,sync,nodev,noexec,noatime,nodiratime,errors=co ntinue,data=ordered)
usbmount:
no changes made to file, default options.
Thanks in advance for your considered response.
Cheers
Recent comments
1 day 28 min ago
1 day 3 hours ago
1 day 4 hours ago
1 day 6 hours ago
1 day 7 hours ago
1 day 9 hours ago
1 day 10 hours ago
2 days 2 hours ago
2 days 3 hours ago
2 days 6 hours ago