[Samba] A computer in the Domain got stuck with and old username
Dr. Nicola Mingotti
nmingotti at gmail.com
Mon Jan 29 18:18:36 UTC 2024
Hi all,
==== SETUP ====
I have a samba AC/DC in Debian stable. Several Windows client and a few
Linux/Debian-stable client in the domain, one of those client is called
CORE1 and it is giving problems.
==== THE FACT ====
2 weeks ago i changed all the Domain user names to a standardized
"name.lastname"
==== PROBLEM ====
One computer, CORE1, which runs Jupyter, got stuck with an old username.
To be more precise, my old username was 'WINDOM\nicola', my new username
is 'WINDOM\nicola.mingotti'.
CORE1 does not see the new user and still things 'WINDOM\nicola' is
available.
==== WAHT I SEE ====
. From 2 computers in the Domain, CORE1 and NAS, NAS is right, CORE1 is
wrong
foo at core1> getent passwd | grep nic
WINDOM\nicola:*:11103:10513::/home/WINDOM-nicola:/bin/bash
foo at nas> getent passwd | grep nic
WINDOM\nicola.mingotti:*:11103:10513:Nicola
Mingotti:/home/WINDOM-nicola.mingotti:/bin/bash
=== WHAT I TRIED ====
1] I tried to get out from the domain and in again => not working
foo at core1> sudo net ads leave -U XXX
foo at core1> suod net ads join -U XXX
2] I tried to inspect with opensnoop what getent is looking at
$> sudo opensnoop-bpfcc
I saw some systemd got involved so i changed nsswitch.conf like this and
reboot
---- /etc/nsswitch.conf ------
passwd: files winbind # before has also systemd
group: files winbind # before had also systemd
shadow: files
-------------------------------
After every major change I rebooted.
Do you have any ideas ? I am stuck
bye
Nicola
More information about the samba
mailing list