Hello friends. Just getting my first taste of Obarun coming over from Arch. I have been able to get most things working but I am having trouble enabling/starting samba. I've use the commands: 66-enable smb - also 66-enable samba - and 66-enable smbd nmbd - with no luck. (not sure if these are proper service start commands with s6).. all entries give me - fatal: unable to resolve source path of: smb (samba) (smbd nmbd). I have all necessary samba software installed and created the links in etc/samba and var/lib/samba and I can see and access the other computes on the network but when I try to share any folders from this computer on the network I get the error that samba is not running (obviously).. any help would be much appreciated

Thanks
Hello and welcome. I hope Eric or JM will be online soon to help you. There is no service file written for smb yet.
Looking at the wiki https://wiki.archlinux.org/index.php/Samba# Starting_services I noticed you have to add your user in the smb group passwd thing:
Replace samba_user with the chosen Samba user account:
# smbpasswd -a samba_user
You should be able to run the service manually from terminal and see if you get errors.

# mkdir -p /run/samba
# smbd -F -S
# nmbd -F -S
See if this works as a temporary hack till one of the gurus devise a service file for you
HI! Thanks for the quick response! Ok so there is no service file yet, that makes sense then..I did add the samba group and did add my user to the group the same way I have done on my two other machines running Arch.. When I run: smbd/nmbd -F -S I get -

Failed to create /var/log/samba/cores for user 1000 with mode 0700
Unable to setup corepath for smbd: Permission denied
smbd version 4.10.8 started.
Copyright Andrew Tridgell and the Samba Team 1992-2019

I checked var/log/samba and it is empty. I'm assuming enabaling/starting samba service creates the contents/links in that file the same way "systemctl enable smbd nmbd does" in Arch.. Thanks again for the quick response and hopefully in time there will be a service file written.
these are the service files. Not tested yet, i don't have any windows machine on my house so..
Please, let me know if it's works. I will add it on observice if it's the case.

create /etc/66/service/nmbd file with this contain:
[main]
@ type=longrun
@ description="Samba netbios name server"
@ user=(root)
@ options=(log)

[start]
@ build=auto
@ execute=(nmbd -F -S)
create /etc/66/service/smbd file with this contain:
[main]
@ type=longrun
@ description="Samba SMB/CIFS server"
@ user=(root)
@ options=(log)
@ depends=(nmbd winbindd)

[start]
@ build=auto
@ execute=(smbd -F -S)
create /etc/66/service/winbindd file with this contain:
[main]
@ type=longrun
@ description="Samba winbind daemon"
@ user=(root)
@ options=(log)
@ depends=(nmbd)

[start]
@ build=auto
@ execute=(winbindd -F -S)
Now enable the nmbd service and test it. You can follow the Arch wiki for the configuration part.
To see the log use 66-inservice <service> command.

As optional service , create /etc/66/service/samba file with this contain:
[main]
@ type=longrun
@ description="Samba daemon"
@ user=(root)
@ options=(log)

[start]
@ build=auto
@ execute=(
execl-envfile /etc/conf.d/samba
samba ${SAMBAOPTIONS}
)
Hello. I created the files in the locations specified. I enabled nmbd service with - 66-enable nmbd - it said enabled successfully.. when I tried to enable smbd I got. 66-enable: fatal: unable to parse service file: smbd: or its dependencies.. when I try to share a folder in my file manager I sill get error code samba is not running.. when I ran 66-inservice nmbd the result was..
 obarun@ OBARUN ~ % sudo 66-inservice nmbd
Name                  : nmbd
In tree               : desktop
Status                : enabled, down (exitcode 1) 0 seconds, normally up, want up, ready 0 seconds
Type                  : longrun
Description           : Samba netbios name server
Source                : /etc/66/service/nmbd
Live                  : /run/66/tree/0/desktop/servicedirs/nmbd
Dependencies          : nmbd-log
Optional dependencies : None
External dependencies : None
Start script          : nmbd -F -S
Stop script           : None
Environment source    : None
Environment file      : None
Log name              : nmbd-log
Log destination       : /var/log/66/nmbd
Log file              : 
@ 400000005e5bb8d41634e7c6 exit_daemon: daemon failed to start: Failed to create session, error code 1
@ 400000005e5bb8d51635f779 nmbd version 4.10.8 started.
@ 400000005e5bb8d51635fd3a Copyright Andrew Tridgell and the Samba Team 1992-2019
@ 400000005e5bb8d5163d2e33 exit_daemon: daemon failed to start: Failed to create session, error code 1
@ 400000005e5bb8d6161ac064 nmbd version 4.10.8 started.
@ 400000005e5bb8d6161ac69f Copyright Andrew Tridgell and the Samba Team 1992-2019
@ 400000005e5bb8d616221383 exit_daemon: daemon failed to start: Failed to create session, error code 1
@ 400000005e5bb8d71650de04 nmbd version 4.10.8 started.
@ 400000005e5bb8d71650e408 Copyright Andrew Tridgell and the Samba Team 1992-2019
@ 400000005e5bb8d71657f2e8 exit_daemon: daemon failed to start: Failed to create session, error code 1
@ 400000005e5bb8d8166fde28 nmbd version 4.10.8 started.
@ 400000005e5bb8d8166fe41c Copyright Andrew Tridgell and the Samba Team 1992-2019
@ 400000005e5bb8d81676eb48 exit_daemon: daemon failed to start: Failed to create session, error code 1
@ 400000005e5bb8d916618bac nmbd version 4.10.8 started.
@ 400000005e5bb8d916619170 Copyright Andrew Tridgell and the Samba Team 1992-2019
@ 400000005e5bb8d91668d313 exit_daemon: daemon failed to start: Failed to create session, error code 1
@ 400000005e5bb8da1648a40c nmbd version 4.10.8 started.
@ 400000005e5bb8da1648a9c4 Copyright Andrew Tridgell and the Samba Team 1992-2019
@ 400000005e5bb8da164fdd0a exit_daemon: daemon failed to start: Failed to create session, error code 1
when I enabled the other services - samba and windbindd they also enabled succesfully. only smbd does not enable. hopefully some of this makes sense. Thank you for your help and work here.
please give the complete output of
% sudo 66-enable -v4 smbd
Also, please give us the output of
# ls -la /etc/66/service
Finally, please give us the output of
# cat /etc/66/service smbd
output of sudo 66-enable -v4 smbd
 
66-enable(src/lib66/parser_utils.c: read_svfile: 812): tracing: Read service file of : smbd from: /etc/66/service/
66-enable(src/lib66/parser_enabled.c: parse_service_deps: 109): tracing: Service : /etc/66/service/smbd depends on : nmbd
66-enable(src/lib66/parser_enabled.c: parse_service_check_enabled: 54): warning: Ignoring: nmbd service: already enabled
66-enable(src/lib66/parser_enabled.c: parse_service_deps: 109): tracing: Service : /etc/66/service/smbd depends on : winbindd
66-enable(src/lib66/resolve.c: ss_resolve_src_path: 146): warning: unable to find service: winbindd
66-enable(src/lib66/ssexec_enable.c: start_parser: 80): fatal: unable to parse service file: smbd: or its dependencies
output of ls -la /etc/66/service
total 24
drwxr-xr-x 2 root root 4096 Feb 29 23:29 .
drwxr-xr-x 4 root root 4096 Feb 26 18:40 ..
-rw-r--r-- 1 root root  132 Feb 29 23:11 nmbd
-rw-r--r-- 1 root root  164 Feb 29 23:17 samba
-rw-r--r-- 1 root root  153 Feb 29 23:11 smbd
-rw-r--r-- 1 root root  147 Feb 29 23:12 windbindd
output of cat /etc/66/service smbd
cat: /etc/66/service: Is a directory
cat: smbd: No such file or directory
Thanks for your help
look at the name of the file winbindd, you named it windbindd :)

Also replace the @ execute field for smbd, nmbd and winbindd with the following:

for nmbd
@ execute=(nmbd -F -S --no-process-group) 
for smbd
@ execute=(smbd -F -S --no-process-group) 
for winbindd
@ execute=(winbindd -F -S --no-process-group) 
tell us if it works
ahh, a spelling error on my part. sorry.. this time enabled smbd with 66-enable smbd and it said successful. the inservice outputs show that smbd and winbindd are running but nmbd is not.. when I try to modify shares I now get ( 'net usershare' returned error 255: net usershare add: cannot create tmp file /var/lib/samba/usershare/:tmp2Y1edQ ).. here are the 66-inservice outputs of each service now.

inservice output of smbd
[obarun@ OBARUN ~]$ sudo 66-inservice smbd
[sudo] password for obarun: 
Name                  : smbd
In tree               : desktop
Status                : enabled, up (pid 950) 223 seconds
Type                  : longrun
Description           : Samba SMB/CIFS server
Source                : /etc/66/service/smbd
Live                  : /run/66/tree/0/desktop/servicedirs/smbd
Dependencies          : nmbd winbindd smbd-log
Optional dependencies : None
External dependencies : None
Start script          : smbd -F -S --no-process-group
Stop script           : None
Environment source    : None
Environment file      : None
Log name              : smbd-log
Log destination       : /var/log/66/smbd
Log file              : 
@ 400000005e5c93233335a028 smbd version 4.10.8 started.
@ 400000005e5c93233335ad2d Copyright Andrew Tridgell and the Samba Team 1992-2019
@ 400000005e5c932a11640c02 daemon_ready: daemon 'smbd' finished starting up and ready to serve connections
@ 400000005e5c96bb122106ef smbd version 4.10.8 started.
@ 400000005e5c96bb12211394 Copyright Andrew Tridgell and the Samba Team 1992-2019
@ 400000005e5c96bf0c519391 daemon_ready: daemon 'smbd' finished starting up and ready to serve connections
inservice output of winbindd
[obarun@ OBARUN ~]$ sudo 66-inservice winbindd
Name                  : winbindd
In tree               : desktop
Status                : enabled, up (pid 943) 330 seconds
Type                  : longrun
Description           : Samba winbind daemon
Source                : /etc/66/service/winbindd
Live                  : /run/66/tree/0/desktop/servicedirs/winbindd
Dependencies          : nmbd winbindd-log
Optional dependencies : None
External dependencies : None
Start script          : winbindd -F -S --no-process-group
Stop script           : None
Environment source    : None
Environment file      : None
Log name              : winbindd-log
Log destination       : /var/log/66/winbindd
Log file              : 
@ 400000005e5c932333362081 winbindd version 4.10.8 started.
@ 400000005e5c93233337bfac Copyright Andrew Tridgell and the Samba Team 1992-2019
@ 400000005e5c9325158054a8 initialize_winbindd_cache: clearing cache and re-creating with version number 2
@ 400000005e5c932605e7779b daemon_ready: daemon 'winbindd' finished starting up and ready to serve connections
@ 400000005e5c96bb1336aab6 winbindd version 4.10.8 started.
@ 400000005e5c96bb1dd0d2c9 Copyright Andrew Tridgell and the Samba Team 1992-2019
@ 400000005e5c96bd024c03b5 initialize_winbindd_cache: clearing cache and re-creating with version number 2
@ 400000005e5c96bd17668879 daemon_ready: daemon 'winbindd' finished starting up and ready to serve connections
inservice output of nmbd
[obarun@ OBARUN ~]$ sudo 66-inservice nmbd
Name                  : nmbd
In tree               : desktop
Status                : enabled, down (exitcode 1) 0 seconds, normally up, want up, ready 0 seconds
Type                  : longrun
Description           : Samba netbios name server
Source                : /etc/66/service/nmbd
Live                  : /run/66/tree/0/desktop/servicedirs/nmbd
Dependencies          : nmbd-log
Optional dependencies : None
External dependencies : None
Start script          : nmbd -F -S
Stop script           : None
Environment source    : None
Environment file      : None
Log name              : nmbd-log
Log destination       : /var/log/66/nmbd
Log file              : 
@ 400000005e5c97d214c7b317 exit_daemon: daemon failed to start: Failed to create session, error code 1
@ 400000005e5c97d3141835dd nmbd version 4.10.8 started.
@ 400000005e5c97d314183bff Copyright Andrew Tridgell and the Samba Team 1992-2019
@ 400000005e5c97d314220865 exit_daemon: daemon failed to start: Failed to create session, error code 1
@ 400000005e5c97d41422ddcd nmbd version 4.10.8 started.
@ 400000005e5c97d41422e43c Copyright Andrew Tridgell and the Samba Team 1992-2019
@ 400000005e5c97d4142cd60b exit_daemon: daemon failed to start: Failed to create session, error code 1
@ 400000005e5c97d51419baeb nmbd version 4.10.8 started.
@ 400000005e5c97d51419c0fd Copyright Andrew Tridgell and the Samba Team 1992-2019
@ 400000005e5c97d51423e6d3 exit_daemon: daemon failed to start: Failed to create session, error code 1
@ 400000005e5c97d61437175d nmbd version 4.10.8 started.
@ 400000005e5c97d614371ee2 Copyright Andrew Tridgell and the Samba Team 1992-2019
@ 400000005e5c97d614778484 exit_daemon: daemon failed to start: Failed to create session, error code 1
@ 400000005e5c97d714401567 nmbd version 4.10.8 started.
@ 400000005e5c97d714401c40 Copyright Andrew Tridgell and the Samba Team 1992-2019
@ 400000005e5c97d7144a0066 exit_daemon: daemon failed to start: Failed to create session, error code 1
@ 400000005e5c97d814482917 nmbd version 4.10.8 started.
@ 400000005e5c97d814482f48 Copyright Andrew Tridgell and the Samba Team 1992-2019
@ 400000005e5c97d8146cb7a1 exit_daemon: daemon failed to start: Failed to create session, error code 1
inservice output of samba
[obarun@ OBARUN ~]$ sudo 66-inservice samba
[sudo] password for obarun: 
Name                  : samba
In tree               : desktop
Status                : enabled, down (exitcode 127) 0 seconds, normally up, want up, ready 0 seconds
Type                  : longrun
Description           : Samba daemon
Source                : /etc/66/service/samba
Live                  : /run/66/tree/0/desktop/servicedirs/samba
Dependencies          : samba-log
Optional dependencies : None
External dependencies : None
Start script          : execl-envfile /etc/conf.d/samba
                        samba ${SAMBAOPTIONS}
Stop script           : None
Environment source    : None
Environment file      : None
Log name              : samba-log
Log destination       : /var/log/66/samba
Log file              : 
@ 400000005e5d0a98095bfb1d samba: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
@ 400000005e5d0a9909798e8c samba: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
@ 400000005e5d0a9a098a647d samba: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
@ 400000005e5d0a9b099ca8c8 samba: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
@ 400000005e5d0a9c09ac47d9 samba: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
@ 400000005e5d0a9d09bd7dae samba: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
@ 400000005e5d0a9e09ccfc94 samba: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
@ 400000005e5d0a9f09e008d7 samba: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
@ 400000005e5d0aa009ef0b3c samba: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
@ 400000005e5d0aa109ff959d samba: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
@ 400000005e5d0aa20a10d165 samba: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
@ 400000005e5d0aa30a1a9131 samba: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
@ 400000005e5d0aa40a32048c samba: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
@ 400000005e5d0aa50a463750 samba: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
@ 400000005e5d0aa60a5705a8 samba: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
@ 400000005e5d0aa70a64fd51 samba: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
@ 400000005e5d0aa80a7596a5 samba: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
@ 400000005e5d0aa90a87faa4 samba: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
@ 400000005e5d0aaa0a98e659 samba: error while loading shared libraries: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
hope this makes sense. thanks for all your work
your nmbd @ execute field is not correct. You should have:
@ execute=(nmbd -F -S --no-process-group)
instead of:
@ execute=(nmbd -F -S)
Enable it again with -f option and reload it
% sudo 66-enable -f nmbd
% sudo 66-start -r nmbd
Also, samba service should be not needed. However it need to be rebuild to remove the libpython library issue (i will make it soon).
Hmm.. not sure why the output shows it was wrong. I rechecked the file I have for nmbd in etc/66/service/nmbd and it is correct - @ execute=(nmbd -F -S --no-process-group). I enabled it again with -f option and reload it and it started successfully. when I reloaded it I'm still showing the incorrect "windbindd" as well as the correct "winbindd".. not sure why as I renamed it correctly so the incorrect one does not exist anymore.
this was the output when I ran - % sudo 66-start -r nmbd
obarun@ OBARUN [100] ~ % sudo 66-start -r nmbd
66-start: info: Stopped successfully: smbd
66-start: info: Stopped successfully: winbindd
66-start: info: Stopped successfully: windbindd
66-start: info: Stopped successfully: nmbd
66-start: info: Already down: windbindd
66-start: info: Already down: smbd
66-start: info: Already down: winbindd
66-start: info: Already down: nmbd
66-start: info: Started successfully: nmbd
66-start: info: Started successfully: winbindd
66-start: info: Started successfully: smbd
66-start: info: Started successfully: windbindd
I logged out and back in and I can now see the computer on the network !!Success!! but when I try to share a folder I get
"Cannot modify the share: 
'net usershare' returned error 255: net usershare add: cannot create
tmp file /var/lib/samba/usershare/:tmpKbhD72
if the samba file is not needed should I not include that file in etc/ss/service? I had enabled samba so should I disable it?
Thanks for your continued help.
please post again the following command
% sudo 66-intree -g -d2
Here is the output of % sudo 66-intree -g -d2
obarun@ OBARUN ~ % sudo 66-intree -g -d2
[sudo] password for obarun: 
Name         : boot
Initialized  : yes
Enabled      : no
Starts after : None
Current      : no
Allowed      : root
Symlinks     : svc->source db->source
Contents     : /
               ├─(0,Enabled,oneshot) system-hostname
               ├─(0,Enabled,oneshot) mount-run
               ├─(0,Enabled,oneshot) populate-run
               │ └─(0,Enabled,oneshot) mount-run
               ├─(0,Enabled,oneshot) mount-tmp
               ├─(0,Enabled,oneshot) populate-tmp
               │ └─(0,Enabled,oneshot) mount-tmp
               ├─(0,Enabled,oneshot) mount-proc
               ├─(0,Enabled,oneshot) mount-sys
               │ └─(0,Enabled,oneshot) mount-proc
               ├─(0,Enabled,oneshot) populate-sys
               │ ├─(0,Enabled,oneshot) mount-proc
               │ └─(0,Enabled,oneshot) mount-sys
               ├─(0,Enabled,oneshot) mount-dev
               │ └─(0,Enabled,oneshot) mount-sys
               ├─(0,Enabled,oneshot) mount-pts
               │ └─(0,Enabled,oneshot) mount-dev
               ├─(0,Enabled,oneshot) mount-shm
               │ └─(0,Enabled,oneshot) mount-dev
               ├─(0,Enabled,oneshot) populate-dev
               │ └─(0,Enabled,oneshot) mount-dev
               ├─(0,Enabled,oneshot) mount-cgroups
               │ └─(0,Enabled,oneshot) mount-dev
               ├─(0,Enabled,bundle) 00
               │ ├─(0,Enabled,oneshot) system-hostname
               │ ├─(0,Enabled,oneshot) mount-run
               │ ├─(0,Enabled,oneshot) populate-run
               │ ├─(0,Enabled,oneshot) mount-tmp
               │ ├─(0,Enabled,oneshot) populate-tmp
               │ ├─(0,Enabled,oneshot) mount-proc
               │ ├─(0,Enabled,oneshot) mount-sys
               │ ├─(0,Enabled,oneshot) populate-sys
               │ ├─(0,Enabled,oneshot) mount-dev
               │ ├─(0,Enabled,oneshot) mount-pts
               │ ├─(0,Enabled,oneshot) mount-shm
               │ ├─(0,Enabled,oneshot) populate-dev
               │ └─(0,Enabled,oneshot) mount-cgroups
               ├─(0,Enabled,oneshot) system-hwclock
               │ └─(0,Enabled,bundle) 00
               ├─(0,Enabled,oneshot) modules-kernel
               │ └─(0,Enabled,bundle) 00
               ├─(0,Enabled,oneshot) system-random
               │ └─(0,Enabled,bundle) 00
               ├─(0,Enabled,oneshot) modules-system
               │ └─(0,Enabled,bundle) 00
               ├─(0,Enabled,oneshot) system-sysctl
               │ └─(0,Enabled,bundle) 00
               ├─(494,Enabled,longrun) udevd
               │ ├─(0,Enabled,bundle) 00
               │ └─(0,Enabled,oneshot) modules-kernel
               ├─(0,Enabled,oneshot) udevadm
               │ └─(494,Enabled,longrun) udevd
               ├─(0,Enabled,oneshot) system-fontnkey
               │ └─(0,Enabled,oneshot) udevadm
               ├─(0,Enabled,oneshot) devices-dmraid
               │ └─(0,Enabled,oneshot) udevadm
               ├─(0,Enabled,oneshot) devices-btrfs
               │ └─(0,Enabled,oneshot) udevadm
               ├─(0,Enabled,oneshot) devices-crypttab
               │ └─(0,Enabled,oneshot) udevadm
               ├─(0,Enabled,oneshot) devices-lvm
               │ └─(0,Enabled,oneshot) udevadm
               ├─(0,Enabled,oneshot) devices-zfs
               │ └─(0,Enabled,oneshot) mount-dev
               ├─(0,Enabled,bundle) system-Devices
               │ ├─(0,Enabled,oneshot) devices-dmraid
               │ ├─(0,Enabled,oneshot) devices-btrfs
               │ ├─(0,Enabled,oneshot) devices-crypttab
               │ ├─(0,Enabled,oneshot) devices-lvm
               │ └─(0,Enabled,oneshot) devices-zfs
               ├─(0,Enabled,bundle) all-Mount
               │ └─(0,Enabled,bundle) 00
               ├─(0,Enabled,oneshot) system-fsck
               │ ├─(0,Enabled,bundle) all-Mount
               │ ├─(0,Enabled,bundle) system-Devices
               │ └─(0,Enabled,oneshot) system-fontnkey
               ├─(0,Enabled,oneshot) mount-fstab
               │ └─(0,Enabled,oneshot) system-fsck
               ├─(0,Enabled,bundle) all-System
               │ ├─(0,Enabled,oneshot) system-hwclock
               │ ├─(0,Enabled,oneshot) modules-kernel
               │ ├─(0,Enabled,oneshot) system-random
               │ ├─(0,Enabled,oneshot) modules-system
               │ ├─(0,Enabled,oneshot) system-sysctl
               │ ├─(494,Enabled,longrun) udevd
               │ ├─(0,Enabled,oneshot) udevadm
               │ ├─(0,Enabled,oneshot) system-fontnkey
               │ ├─(0,Enabled,bundle) system-Devices
               │ ├─(0,Enabled,oneshot) system-fsck
               │ └─(0,Enabled,oneshot) mount-fstab
               ├─(0,Enabled,oneshot) mount-rw
               │ └─(0,Enabled,bundle) all-System
               ├─(0,Enabled,oneshot) mount-swap
               │ └─(0,Enabled,oneshot) mount-rw
               ├─(0,Enabled,oneshot) local-authfiles
               │ └─(0,Enabled,oneshot) mount-rw
               ├─(0,Enabled,oneshot) local-time
               │ └─(0,Enabled,oneshot) mount-rw
               ├─(0,Enabled,oneshot) local-iptables
               │ └─(0,Enabled,oneshot) mount-rw
               ├─(0,Enabled,oneshot) local-ip6tables
               │ └─(0,Enabled,oneshot) mount-rw
               ├─(0,Enabled,oneshot) local-loop
               │ ├─(0,Enabled,oneshot) mount-rw
               │ ├─(0,Enabled,oneshot) local-iptables
               │ └─(0,Enabled,oneshot) local-ip6tables
               ├─(0,Enabled,oneshot) local-sethostname
               │ └─(0,Enabled,oneshot) mount-rw
               ├─(0,Enabled,oneshot) local-tmpfiles
               │ └─(0,Enabled,oneshot) mount-rw
               ├─(0,Enabled,oneshot) local-rc
               │ ├─(0,Enabled,oneshot) mount-rw
               │ ├─(0,Enabled,oneshot) local-iptables
               │ ├─(0,Enabled,oneshot) local-ip6tables
               │ ├─(0,Enabled,oneshot) local-loop
               │ ├─(0,Enabled,oneshot) local-time
               │ ├─(0,Enabled,oneshot) local-authfiles
               │ └─(0,Enabled,oneshot) local-tmpfiles
               ├─(0,Enabled,oneshot) local-dmesg
               │ └─(0,Enabled,oneshot) local-rc
               ├─(0,Enabled,bundle) all-Local
               │ ├─(0,Enabled,oneshot) mount-rw
               │ ├─(0,Enabled,oneshot) mount-swap
               │ ├─(0,Enabled,oneshot) local-iptables
               │ ├─(0,Enabled,oneshot) local-ip6tables
               │ ├─(0,Enabled,oneshot) local-loop
               │ ├─(0,Enabled,oneshot) local-sethostname
               │ ├─(0,Enabled,oneshot) local-time
               │ ├─(0,Enabled,oneshot) local-authfiles
               │ ├─(0,Enabled,oneshot) local-tmpfiles
               │ ├─(0,Enabled,oneshot) local-rc
               │ └─(0,Enabled,oneshot) local-dmesg
               ├─(0,Enabled,oneshot) all-Runtime
               │ ├─(0,Enabled,bundle) all-Mount
               │ ├─(0,Enabled,bundle) all-System
               │ └─(0,Enabled,bundle) all-Local
               ├─(0,Enabled,bundle) All
               │ ├─(0,Enabled,bundle) all-Mount
               │ ├─(0,Enabled,bundle) all-System
               │ ├─(0,Enabled,bundle) all-Local
               │ └─(0,Enabled,oneshot) all-Runtime
               └─(261,Enabled,classic) tty12

Name         : desktop
Initialized  : yes
Enabled      : yes
Starts after : root system obarun-session
Current      : yes
Allowed      : root
Symlinks     : svc->source db->source
Contents     : /
               ├─(902,Enabled,longrun) windbindd-log
               ├─(920,Enabled,longrun) nmbd-log
               ├─(929,Enabled,longrun) nmbd
               │ └─(920,Enabled,longrun) nmbd-log
               ├─(905,Enabled,longrun) winbindd-log
               ├─(940,Enabled,longrun) winbindd
               │ ├─(929,Enabled,longrun) nmbd
               │ └─(905,Enabled,longrun) winbindd-log
               ├─(910,Enabled,longrun) smbd-log
               ├─(945,Enabled,longrun) smbd
               │ ├─(929,Enabled,longrun) nmbd
               │ ├─(940,Enabled,longrun) winbindd
               │ └─(910,Enabled,longrun) smbd-log
               ├─(0,Enabled,longrun) windbindd
               │ ├─(929,Enabled,longrun) nmbd
               │ └─(902,Enabled,longrun) windbindd-log
               ├─(914,Enabled,longrun) samba-log
               ├─(924,Enabled,longrun) dbus-log
               ├─(941,Enabled,longrun) dbus
               │ └─(924,Enabled,longrun) dbus-log
               ├─(919,Enabled,longrun) networkmanager-log
               ├─(966,Enabled,longrun) networkmanager
               │ ├─(941,Enabled,longrun) dbus
               │ └─(919,Enabled,longrun) networkmanager-log
               ├─(909,Enabled,longrun) sddm-log
               ├─(0,Enabled,longrun) samba
               │ └─(914,Enabled,longrun) samba-log
               ├─(925,Enabled,longrun) consolekit-log
               ├─(967,Enabled,longrun) consolekit
               │ ├─(941,Enabled,longrun) dbus
               │ └─(925,Enabled,longrun) consolekit-log
               └─(965,Enabled,longrun) sddm
                 ├─(941,Enabled,longrun) dbus
                 └─(909,Enabled,longrun) sddm-log

Name         : obarun-session
Initialized  : yes
Enabled      : yes
Starts after : root system
Current      : no
Allowed      : root
Symlinks     : svc->source db->source
Contents     : /
               ├─(0,Enabled,oneshot) mount-run-obarun
               ├─(0,Enabled,oneshot) setenv-obarun
               ├─(835,Enabled,longrun) scandir-obarun-log
               ├─(855,Enabled,longrun) scandir-obarun
               │ ├─(0,Enabled,oneshot) mount-run-obarun
               │ ├─(0,Enabled,oneshot) setenv-obarun
               │ └─(835,Enabled,longrun) scandir-obarun-log
               └─(0,Enabled,bundle) All-obarun
                 ├─(0,Enabled,oneshot) mount-run-obarun
                 ├─(0,Enabled,oneshot) setenv-obarun
                 └─(855,Enabled,longrun) scandir-obarun

Name         : root
Initialized  : yes
Enabled      : yes
Starts after : None
Current      : no
Allowed      : root
Symlinks     : svc->source db->source
Contents     : /
               ├─(785,Enabled,classic) tty@ tty2
               └─(786,Enabled,classic) tty@ tty1

Name         : system
Initialized  : yes
Enabled      : yes
Starts after : root
Current      : no
Allowed      : root
Symlinks     : svc->source db->source
Contents     : /
               ├─(795,Enabled,classic) sshd-log
               └─(796,Enabled,classic) sshd
                 └─(795,Enabled,classic) sshd-log
ok, follow the instructions below

remove your smbd,nmbd,winbindd, samba service from the /etc/66/service directory
% sudo rm  /etc/66/service/{smbd,nmbd,winbindd,samba}
Install the service from the repo observice and upgrade the samba package
% sudo pacman -Sy samba samba-66serv
disable your wrong windbindd service
% sudo 66-disable windbindd
enable again the smbd,nmbd,winbindd, samba service.
% sudo 66-enable smbd nmbd winbindd samba
It should be ok now.
"Cannot modify the share:
'net usershare' returned error 255: net usershare add: cannot create
tmp file /var/lib/samba/usershare/:tmpKbhD72
At this point i can't help you more. This sound like a bad configuration at your /etc/samba/smb.conf. I encourage you to make some research on the net: https://duckduckgo.com/?t=ffsb&q=net+usershare%27+returned+error+255%3A+net+usershare+add%3A+cannot+create&ia=web
Or maybe some user here can help you more about that. Personally, i don't use any "Windows" stuff.

Many thanks for your help and test, this is really appreciated
I repeated all the original steps of creating the files in "/etc/samba/smb.conf." and in "/etc/66/service" and then enabling and starting the services on a virtual machine and was able to get it running after a couple attempts. not sure why it did not work the first couple times but suddenly it worked. Then I went back to the computer install and after running "sudo 66-inservice smbd" I noticed that it said "/var/lib/samba/usershare" was not owned by root. (not sure why because I made all those necessary commands already) so I re-ran "sudo chown root:sambashare /var/lib/samba/usershare" and "chmod 1770 /var/lib/samba/usershare" then I was able to make the share.. Thank you very much for all your help and I'm glad I could help with the testing. there are a few other things I may make threads about that interest me (mainly virtualbox and nvidia).. I am going to do multiple installs as experimentation and see if I can get all of them running samba. I look forward to using Obarun more as I learn more..

Again, thank you very much for all your help, and I will be donating
Also I followed your last set of instructions and everything is working fine. Thanks again for all your help and hard work and I'm glad I could help with testing.

Powered by Obarun