NS8 update problem with old Samba instances

NethServer Version: 8

I try to update a Server but I cannot finish it, perhaps I have 4 Instances of Samba installed?

Only Samba4 is in use for the Domain…

Four active instances of Samba on the same node are not workable due to port conflicts. You should remove three of them. What does the Domains and Users page show in this case?

Hi, sorry could not find how to remove the samba1, 2, 3…

Ok, so you see only one domain with a single Provider (Anbieter). Can you explain why there are also other Samba instances? Did you run restore, or clone or migration? What is the history behind them?

Its a vy old installation, I cannot remember exactly, a misconfiguration…

P.S. it is not in production.

In that case, let’s verify what is actually running with loginctl list-users. E.g.:

[root@rl1 ~]# loginctl list-users
 UID USER       LINGER STATE    
   0 root       no     active
1001 traefik1   yes    lingering
1002 loki1      yes    lingering
1003 ldapproxy1 yes    lingering
1004 openldap1  yes    lingering
1005 openldap2  yes    lingering

6 users listed.

What is the running Samba instance?

You can forcibly remove the old instances with remove-module. For example,

remove-module -h
remove-module --no-preserve --force samba0
3 Likes

You saved my day, thank you vy much!

2 Likes