No I didn't.
Though I had been trapped by the /var/run vs /var/lib path issue I went ahead with another try and overcame the missing users issue, however got stuck with a logon issue.
But here's the story step by step.
After realizing that no *.tbd files should go into path /var/run/samba on the Plug I updated my smb.conf (/etc/smb.com) as follows:
cat /etc/samba/smb.conf.new
[global]
workgroup = MYDOMAIN
netbios name = %h
# server string = Linksys NSLU2.0
server string = SheevaPlug
# interfaces = 127.0.0.1/24, ixp0, lo
interfaces = eth0, lo
bind interfaces only = Yes
map to guest = Bad User
null passwords = Yes
# smb passwd file = /opt/etc/samba/passdb.tdb
# smb passwd file = /etc/samba/passdb.tdb
passdb backend = tdbsam
guest account = guest
username map = no
log level = 1
max log size = 10
name resolve order = wins bcast
socket options = TCP_NODELAY SO_KEEPALIVE SO_SNDBUF=16384 SO_RCVBUF=16384
load printers = No
# add user script = /opt/bin/adduser -H '%u'
# delete user script = /opt/bin/deluser '%u'
# add group script = /opt/bin/addgroup '%g'
# delete group script = /opt/bin/delgroup '%g'
# add user to group script = /opt/bin/addgroup '%g' '%u'
# add machine script = /opt/bin/adduser -s /bin/false -h /dev/null '%u'
add user script = /usr/sbin/useradd --create-home '%u'
delete user script = /usr/sbin/userdel '%u'
add group script = /usr/sbin/groupadd '%g'
delete group script = /usr/sbin/groupdel '%g'
add user to group script = /usr/sbin/useradd --gid '%g' '%u'
add machine script = /usr/sbin/useradd --home /dev/null --shell /bin/false '%u'
# http://us1.samba.org/samba/docs/man/manpages-3/smb.conf.5.html
# http://www.comptechdoc.org/os/linux/manual4/smbconf.html
domain logons = Yes
os level = 33
preferred master = Yes
domain master = Yes
dns proxy = No
wins support = Yes
# config file = /opt/etc/samba/smb.conf
# config file = /etc/samba/smb.conf
create mask = 0775
force create mode = 0660
force directory mode = 0775
guest ok = Yes
hosts allow = 127.0.0.1, 192.168.
hosts deny = 0.0.0.0/0
default case = upper
case sensitive = No
map system = Yes
# new from here as not defined in the previous SLUGs config
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:* %n\n *password\supdated\ssuccessfully* .
panic action = /usr/share/samba/panic-action %d
# lock directory = /etc/samba/locks
#[ADMIN 1]
[Admin1]
comment = access restricted
# path = /share/hdd/data/
path = /
valid users = @administrators
write list = @administrators
#[DISK 1]
# comment = access restricted
# path = /share/hdd/data/public/
# valid users = @administrators
# write list = @administrators
#[ADMIN 2]
[Admin2]
comment = access restricted
# path = /share/flash/data/
path = /mnt/sda1/
valid users = @administrators
write list = @administrators
[Video]
comment = public RO
# path = /share/flash/data/video/
path = /mnt/sda1/video/
valid users = @administrators, @everyone
write list = @administrators
[Music]
comment = public RO
# path = /share/flash/data/music/
path = /mnt/sda1/music/
valid users = @administrators, @everyone
write list = @administrators
[Pictures]
comment = public RO
# path = /share/flash/data/pictures/
path = /mnt/sda1/pictures/
valid users = @administrators, @everyone
write list = @administrators
#[DISK 2]
[Public]
comment = public RW
# path = /share/flash/data/public/
path = /mnt/sda1/public/
valid users = @administrators, @everyone
write list = @administrators, @everyone
[Software]
comment = public RO
# path = /share/flash/data/software/
path = /mnt/sda1/software/
valid users = @administrators, @everyone
write list = @administrators
[bd]
comment = User bd
# path = /share/flash/data/bd/
path = /mnt/sda1/bd/
valid users = @administrators, @bd
write list = @administrators, @bd
[hw]
comment = User hw
# path = /share/flash/data/hw/
path = /mnt/sda1/hw/
valid users = @administrators, @hw, @wedo
write list = @administrators, @hw, @wedo
[md]
comment = User md
# path = /share/flash/data/md/
path = /mnt/sda1/md/
valid users = @administrators, @md
write list = @administrators, @md
[od]
comment = User od
# path = /share/flash/data/od/
path = /mnt/sda1/od/
valid users = @administrators, @od
write list = @administrators, @od
[so]
comment = User so
# path = /share/flash/data/so/
path = /mnt/sda1/so/
valid users = @administrators, @so
write list = @administrators, @so
[ssd]
comment = User ssd
# path = /share/flash/data/ssd/
path = /mnt/sda1/ssd/
valid users = @administrators, @ssd
write list = @administrators, @ssd
[td]
comment = User td
# path = /share/flash/data/td/
path = /mnt/sda1/td/
valid users = @administrators, @td
write list = @administrators, @td
Thus I shut down samba on the NLSU and copied the files to the Plug
scp share:/opt/etc/samba/*.tdb /var/lib/samba/.
scp share:/opt/var/samba/*.tdb /var/lib/samba/.
Replaced the smb.conf on the Plug
cp /etc/samba/smb.conf.new /etc/samba/smb.conf
Shut down the NSLU and attached the external USB-HDD to the Plug
mount /dev/sda1 /mnt/sda1
and started nmbd and smbd on the Plug.
Hurrah! Me as user od (also in group administrators) can access all Shares as expected.
Woke up my daughter's PC from hibernation (she was logged-in already) and yes. Her drive Z: mapped to \\share\md is still there and accessable.
She can also see all other shares, but as expected she can only access the ones defined as such
Now the sad part starts: logged her off, but when rebooted and trying to logon again I got a message that some permissions may be wrong and that I should contact the admin (but the h**l, I'm the bloody admin and I have no clue ;-))
Nevertheless the logon continues and Z: is mapped as it should be, but as something isn't working as it should be I had to revert to the old setup and fire off the NSLU again ...