NoToneS
Newbie
Hi I'm trying to get the HDD connected to my box to show up across my windows network, and cant figure if its a samba or windows issue.
NOTE: this is not a Question about mapping network shares to the box its the opposite...
so far I have started the samba server/client in my firmware and confirmed its running, have setup a password on the root account via telnet and edited the /etc/samba/smb.conf to set encrypt passwords = no as from what I can remember windows had issues with this last time I did it on other linux devices.
See Steps so far below
Doing above still doesn't let me login to see any shares that are setup in the smb.conf file it just keeps asking for password.
what i cant figure out is if its a windows issue or a samba issue. - I'm getting to old for all this thinking :)
Current setup+samba configuration: smb.conf
NOTE: this is not a Question about mapping network shares to the box its the opposite...
so far I have started the samba server/client in my firmware and confirmed its running, have setup a password on the root account via telnet and edited the /etc/samba/smb.conf to set encrypt passwords = no as from what I can remember windows had issues with this last time I did it on other linux devices.
See Steps so far below
Setup Samba network shares
edit file -> /etc/samba/smb.conf : change encrypt passwords = no
save file...
load putty
put in box ip ->select telnet
open
xxxxxxx login : root
passwd
enter new password and repeat
goto windows machine browse networks
select the box it will now ask you for login details
NOTE: Windows is a nusance and you may have to use
\\NetworkDeviceHostName to access it
user : root
password : new password
edit file -> /etc/samba/smb.conf : change encrypt passwords = no
save file...
load putty
put in box ip ->select telnet
open
xxxxxxx login : root
passwd
enter new password and repeat
goto windows machine browse networks
select the box it will now ask you for login details
NOTE: Windows is a nusance and you may have to use
\\NetworkDeviceHostName to access it
user : root
password : new password
what i cant figure out is if its a windows issue or a samba issue. - I'm getting to old for all this thinking :)
Current setup+samba configuration: smb.conf
Window 7 Pro + various other pcs/laptops on 7,8, and W10 that can all see and access other network shares/mapped drives
Zgemmah2S 1TB HDD Firmware: OpenATV Wooshbuild v5
-- current smb.conf file --
[global]
guest account = root
security = user
map to guest = bad user
server string = OpenATV %h network services
workgroup = WORKGROUP
socket options = TCP_NODELAY
username map = /etc/samba/private/users.map
smb passwd file = /etc/samba/private/smbpasswd
encrypt passwords = no
passdb backend = smbpasswd
idmap backend = smbpasswd
obey pam restrictions = yes
unix charset = utf-8
max stat cache size = 64
null passwords = yes
unix password sync = 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* .
[Root]
comment = Everything - take care!
path = /
read only = no
public = yes
guest ok = yes
valid users = root
force create mode = 600
force directory mode = 700
force security mode = 600
force directory security mode = 700
[Harddisk]
comment = The harddisk
path = /media/hdd
read only = no
public = yes
guest ok = yes
valid users = root,kids
admin users = root
force create mode = 600
force directory mode = 700
force security mode = 600
force directory security mode = 700
Zgemmah2S 1TB HDD Firmware: OpenATV Wooshbuild v5
-- current smb.conf file --
[global]
guest account = root
security = user
map to guest = bad user
server string = OpenATV %h network services
workgroup = WORKGROUP
socket options = TCP_NODELAY
username map = /etc/samba/private/users.map
smb passwd file = /etc/samba/private/smbpasswd
encrypt passwords = no
passdb backend = smbpasswd
idmap backend = smbpasswd
obey pam restrictions = yes
unix charset = utf-8
max stat cache size = 64
null passwords = yes
unix password sync = 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* .
[Root]
comment = Everything - take care!
path = /
read only = no
public = yes
guest ok = yes
valid users = root
force create mode = 600
force directory mode = 700
force security mode = 600
force directory security mode = 700
[Harddisk]
comment = The harddisk
path = /media/hdd
read only = no
public = yes
guest ok = yes
valid users = root,kids
admin users = root
force create mode = 600
force directory mode = 700
force security mode = 600
force directory security mode = 700
Last edited: