[Samba-it] Domain member gentent

Giuseppe Arvati giuseppe.arvati at gmail.com
Wed Dec 18 16:55:21 UTC 2019


Il 18/12/2019 14:07, Marco Gaiarin ha scritto:
> Mandi! Giuseppe Arvati
>    In chel di` si favelave...
>
>>> scusa NSS/winbind funziona?
>> Secondo me sì perchè se uso getent si attiva winbind
> Eh, invece a me pare proprio di no... sicuro di aver installato
> correttamente libnss-winbind?

Sicuro è una parola grossa.

Cmq ho modificato nssswicth.conf con

# authselect select winbind --force

che seleziona una configurazione con winbind

e modifica nssswitch.cond in

# If you want to make changes to nsswitch.conf please modify
# /etc/authselect/user-nsswitch.conf and run 'authselect apply-changes'.
#
# Note that your changes may not be applied as they may be
# overwritten by selected profile. Maps set in the authselect
# profile takes always precendence and overwrites the same maps
# set in the user file. Only maps that are not set by the profile
# are applied from the user file.
#
# For example, if the profile sets:
#     passwd: sss files
# and /etc/authselect/user-nsswitch.conf contains:
#     passwd: files
#     hosts: files dns
# the resulting generated nsswitch.conf will be:
#     passwd: sss files # from profile
#     hosts: files dns  # from user file

passwd:     files winbind systemd
group:      files winbind systemd

...


ho messo i link alle librerie come

https://wiki.samba.org/index.php/Libnss_winbind_Links

e cioè

# ln -s /usr/local/samba/lib/libnss_winbind.so.2 /lib64/
# ln -s /lib64/libnss_winbind.so.2 /lib64/libnss_winbind.so
# ldconfig

ho verificato
[root at dm1piopp ~]# ll /lib64/libnss_w*
lrwxrwxrwx. 1 root root 26 Dec 17 11:21 /lib64/libnss_winbind.so -> /lib64/libnss_winbind.so.2
lrwxrwxrwx. 1 root root 40 Dec 17 11:21 /lib64/libnss_winbind.so.2 -> /usr/local/samba/lib/libnss_winbind.so.2

inoltre come ti dicevo a fronte di un comando getent vedo dei log 
muoversi su samba

per cui penso che la comunicazione passi per quelle librerie

Intento vede se mi vien in mente qualche cosa

Cmq l'evidenza è che non funziona e forse hai ragione tu ma

magari il motivo sta altrove, penso sempre ai parametri idmap

Hai in mente qualche test per isolare il problema ?

mille grazie Marco







More information about the samba-it mailing list