Lost Samba connection using Openhabian

Hi everything has been working ok, using RPi headless with openhabian install, and mac to ssh. Samba shares had been working so I was using eclipse to modify openhanded.
Now the samba shares aren’t working, the headings appear on mac side, but when I drill down no files show up, and eclipse won’t work.
Is there an easy fix or do i need to reinstall/reconfigure samba. If so how do I do that,



Maybe a restart of samba could help:

sudo service smbd restart

I although got a problem with samba running on openhabian 1.4.
I uninstalled samba and reinstalled it via the openhabian-config.
This is the installation log together with the service error of smbd.service.

2018-01-06_14:37:18_CET [openHABian] Checking for root privileges... OK
2018-01-06_14:37:18_CET [openHABian] Loading configuration file '/etc/openhabian.conf'... OK
2018-01-06_14:37:18_CET [openHABian] openHABian configuration tool version: [master]v1.4-365(1eeb7e7)
2018-01-06_14:37:18_CET [openHABian] Checking for changes in origin... OK
2018-01-06_14:37:45_CET [openHABian] Setting up Samba network shares... 
$ apt update 
Ign:1 http://repos.azulsystems.com/debian stable InRelease
Get:2 http://mirrordirector.raspbian.org/raspbian stretch InRelease [15.0 kB]
Hit:3 http://repos.azulsystems.com/debian stable Release                                     
Hit:4 http://archive.raspberrypi.org/debian stretch InRelease   
Ign:5 https://dl.bintray.com/fg2it/deb jessie InRelease
Ign:6 https://dl.bintray.com/openhab/apt-repo2 stable InRelease
Hit:7 https://dl.bintray.com/fg2it/deb jessie Release
Hit:8 https://dl.bintray.com/openhab/apt-repo2 stable Release
Hit:9 https://deb.nodesource.com/node_7.x stretch InRelease
Hit:10 https://repos.influxdata.com/debian jessie InRelease
Fetched 15.0 kB in 3s (4,237 B/s)
Reading package lists... Done
Building dependency tree        
Reading state information... Done
All packages are up to date.

$ apt -y install samba 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  bind9 bind9utils ctdb ldb-tools ntp | chrony smbldap-tools winbind ufw
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/870 kB of archives.
After this operation, 11.0 MB of additional disk space will be used.
Selecting previously unselected package samba.
(Reading database ... 55273 files and directories currently installed.)
Preparing to unpack .../samba_2%3a4.5.12+dfsg-2+deb9u1_armhf.deb ...
Unpacking samba (2:4.5.12+dfsg-2+deb9u1) ...
Processing triggers for libc-bin (2.24-11+deb9u1) ...
Processing triggers for systemd (232-25+deb9u1) ...
Processing triggers for man-db ( ...
Setting up samba (2:4.5.12+dfsg-2+deb9u1) ...
Segmentation fault
Segmentation fault
Segmentation fault
Failed to preset unit: Unit file /etc/systemd/system/samba-ad-dc.service is masked.
/usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory
Job for smbd.service failed because a fatal signal was delivered causing the control process to dump core.
See "systemctl status smbd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript smbd, action "start" failed.
● smbd.service - Samba SMB Daemon
   Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
   Active: failed (Result: core-dump) since Sat 2018-01-06 14:38:27 CET; 35ms ago
     Docs: man:smbd(8)
  Process: 23164 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=dumped, signal=SEGV)
 Main PID: 23164 (code=dumped, signal=SEGV)

Jan 06 14:38:27 openHABianPi systemd[1]: Starting Samba SMB Daemon...
Jan 06 14:38:27 openHABianPi systemd[1]: smbd.service: Main process exited, code=dumped, status=11/SEGV
Jan 06 14:38:27 openHABianPi systemd[1]: Failed to start Samba SMB Daemon.
Jan 06 14:38:27 openHABianPi systemd[1]: smbd.service: Unit entered failed state.
Jan 06 14:38:27 openHABianPi systemd[1]: smbd.service: Failed with result 'core-dump'.
dpkg: error processing package samba (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.24-11+deb9u1) ...
Errors were encountered while processing:
Updating FireMotD available updates count ... 
E: Sub-process /usr/bin/dpkg returned an error code (1)

I can’t see the option in openhabian-config to install/remove samba?