FS#73104 - [samba] LIBNSL_1.0 Version missing

Attached to Project: Arch Linux
Opened by Alkaris (Alkaris) - Tuesday, 21 December 2021, 07:36 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 23 December 2021, 17:51 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Samba fails to start it's daemon process because it's expecting libnsl.so.2 version LIBNSL_1.0 which is required by /usr/lib/samba/libsamba-sockets-samba4.so library

Additional info:
Can't grab Samba version because its throwing the error about not able to find LIBNSL_1.0. Libnsl exists at `/usr/lib/` with names

```
libnsl-2.33.so
libnsl.so
libnsl.so.1
libnsl.so.2
libnsl.so.3
libnsl.so.3.0.0
```

These versions don't match with what samba expects.

Steps to reproduce:
Install fresh from repository with no configuration, and try to start Samba AD Daemon service and the result will be this. Or you'll get something like this;

```
[2021/12/21 17:04:35.280759, 0] ../../source4/samba/server.c:626(binary_smbd_main)
samba[46810]: samba version 4.15.3 started.
samba[46810]: Copyright Andrew Tridgell and the Samba Team 1992-2021
samba[46810]: [2021/12/21 17:04:35.280851, 0] ../../lib/util/become_daemon.c:150(daemon_status)
samba[46810]: daemon_status: daemon 'samba' : Starting process...
samba[46810]: [2021/12/21 17:04:35.295874, 0] ../../source4/samba/server.c:861(binary_smbd_main)
samba[46810]: At this time the 'samba' binary should only be used for either:
samba[46810]: 'server role = active directory domain controller' or to access the ntvfs file server with 'server services = +>
samba[46810]: You should start smbd/nmbd/winbindd instead for domain member and standalone file server tasks
samba[46810]: [2021/12/21 17:04:35.295933, 0] ../../lib/util/become_daemon.c:119(exit_daemon)
samba[46810]: exit_daemon: daemon failed to start: Samba detected misconfigured 'server role' and exited. Check logs for deta>
systemd[1]: samba.service: Main process exited, code=exited, status=1/FAILURE
```
This task depends upon

Closed by  Antonio Rojas (arojas)
Thursday, 23 December 2021, 17:51 GMT
Reason for closing:  No response
Comment by Antonio Rojas (arojas) - Tuesday, 21 December 2021, 07:44 GMT
"its throwing the error about not able to find LIBNSL_1.0" → Please post the *exact* error message.
Comment by Alkaris (Alkaris) - Tuesday, 21 December 2021, 18:24 GMT
The exact error message is right there in my post, READ it.
Comment by Antonio Rojas (arojas) - Tuesday, 21 December 2021, 18:27 GMT
The error message in your post says absolutely nothing about LIBNSL_1.0. Post the exact error where you got that from.

Loading...