Jump to content


Photo

SAMBA help


  • Please log in to reply
2 replies to this topic

#1 diocane

  • Member
  • 13 posts

0
Neutral

Posted 19 November 2014 - 14:45

hello, i have an et9000 with open pli 4 (3.8.7)

i didn't wanted to use samba as guest because of security reasons, so i tried to setup user accounts for samba share, here is where it started my odyssey.

 

i realized that samba wasn't fully functional, only the daemon, indeed smbstatus wasnt found, neither was smbpasswd, (and so i cound't add any other user) i did opkg install samba in order to try to solve that, samba installed correctly.

 

Smbd daemon didn't wanted to run anymore.

after i run testparm i found out that samba was pointing to a wrong lock directory, i fixed this by adding a like in smb.conf pointing to another dir with 0755 rights.

testparm was ok

smbstatus reported a normal status.

windows coudn't access my share for some reasons.

smb.conf is fine.

i tried to install a package found on sifteam forum, replacing smbd and nmbd daemons because smbd refused to run anymore.

smbd and nmbd probably weren't compiled for my kernel because they wont run anymore, returning syntax error 

i tried to reinstall samba, nothing works because smbd and nmbd daemons in /usr/sbins will not be replaced by reinstalling samba.

now i removed samba with opkg remove samba and manually deleted wrong daemons in /usr/sbins (smbd and nmbd)

how can i reinstall samba from scratch? remember that i don't have nmbd and smbd files anymore

 

Please help me step by step, and sorry for my bad english

(note that reinstalling image is not an option for me)

 

Thanks a lot in advance

 



Re: SAMBA help #2 diocane

  • Member
  • 13 posts

0
Neutral

Posted 19 November 2014 - 15:17

in few words, can some1 host me smbd and nmbd files (the one that should be in /usr/sbin) (i have 3.8.7) ?



Re: SAMBA help #3 mackguil

  • Senior Member
  • 158 posts

0
Neutral

Posted 21 November 2014 - 22:48

ssh to et900

 

"opkg install samba" to have the latest version.

 

adduser name of user you want

 

"smbpasswd -a user password" the user you have just create  with new password

 

in windows make chage in regedit 

 

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManWorkstation\Parameters]

"DomainCompatibilityMode"=dword:00000001
"DNSNameResolutionRequired"=dword:00000000

 

https://wiki.samba.o...4-style_domains

 

Enjoy

 




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users