SAMBA Deamon failed

Dear Group,

I can no longer access Windows shares on my WD My Cloud Device.

I THEN updated the firmware to v03.04.01-230, but this didn’t help.

I can access shared data on the box using FTP or SSH (WinSCP).

I tried to restart samba, but got following error message.

D2DW5:/etc/init.d# ./samba restart
[ok] Stopping Samba daemons: nmbd smbd.
[FAIL] Starting Samba daemons: nmbd failed!

What now?

Your hints/replies are very welcome. I use the box to replicate Backupdata an I need some of the files…

Best Regards

Georg

 

What’s the output of 

testparm

 give you?

Hi TonyPh12345,

D2DW5:/etc/init.d# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The “idmap uid” option is deprecated
WARNING: The “idmap gid” option is deprecated
WARNING: The “null passwords” option is deprecated
Processing section “[Public]”
Processing section “[SmartWare]”
Processing section “[TimeMachineBackup]”
Processing section “[administrator]”
params.c:Parameter() - Invalid parameter name in config. file.
Error loading services.

thanks,

georg

Well, that tends to indicate that your samba config file got screwed up somehow.

I would guess it’s in the [administrator] section of

/etc/samba/overall_share

file.

Post the contents of that file.

BEGIN ## sharename = Public

[Public]
  path = /DataVolume/shares/Public
  comment = Public Share
  public = yes
  browseable = yes
  writable = yes
  guest ok = yes
  map read only = no

END

BEGIN ## sharename = SmartWare

[SmartWare]
  path = /shares/SmartWare
  comment = SmartWare
  public = yes
  browseable = yes
  writeable = yes
  guest ok = yes
  map read only = no

END

BEGIN ## sharename = TimeMachineBackup

[TimeMachineBackup]
  path = /shares/TimeMachineBackup
  comment = TimeMachine
  public = yes
  browseable = yes
  writeable = yes
  guest ok = yes
  map read only = no

END

BEGIN ## sharename = administrator

[administrator]
  path = /shares/administrator
  comment =
  invalid users =
  valid users = admin
  read list =
  write list = admin
  writeable = yes
  map read only = no

END

 = no

END

BEGIN ## sharename = test

[test]
  path = /shares/test
  comment = TEST
  public = yes
  browseable = yes
  writeable = yes
  guest ok = yes
  map read only = no

END

BEGIN ## sharename = B2D_W5

[B2D\_W5]
  path = /shares/B2D_W5
  comment = B2D W5
  invalid users =
  valid users = georg,admin,administrator
  read list =
  write list = georg,admin,administrator
  writeable = yes
  map read only = no

END

i think you’re wright, there is a funny no in this section. which editor can i use?

great, i’v found nano. i removed te “funny” no in the administrator section and samba starts again,

thanks!

Regards

Georg