Adding new users to the UCS works fine but when the new users put the credentials in Windows, it says Username or password in correct. But old users work fine. The new users however pass the radius authentication test and even work on wifi devices for internet.
The same thing applies to DNS. New DNS records are not resolving. replies with ‘Server not found’ and nslookup says ‘Can’t find xxxxx: Non existent domain’… even though the A record exists.
No disrespect intended, but let’s make sure everything’s really running as it should. Please post the output of the following commands (all should be run as root on your DC Master server):
ps auxw|grep s4connector
tail /var/log/univention/connector-s4.log and date
grep -i USERNAME /var/log/univention/connector-s4.log (replace USERNAME with the login name of one of the users who cannot log in to Windows)
cat /var/lib/univention-ldap/last_id and cat /var/lib/univention-directory-listener/notifier_id
Please don’t just copy & paste the output here but include it in a preformatted text block so that the forum software won’t reformat the output at will. A preformatted text block consists of one line with three backticks, then the content starting on an empty line and a last line with three backticks. Pressing the </> button in the toolbar above or Ctrl+Shift+C will insert such a structure, too, if you don’t know exactly what I mean. Thanks!
thanks for the information. The output of the first two commands show that the S4 connector seems to be running and processing data properly. That’s good.
However, the output of the last two commands show that the univention-directory-listener program doesn’t seem to be running. It has to for the domain to work properly, though. It is responsible for acting on changes to the LDAP contents.
Please verify this by running ps uw -u listener. It should output one process called /usr/sbin/univention-directory-listener.
If it isn’t running, as I think it isn’t, you should start it by running service univention-directory-listener start. Afterwards make sure that it is actually running with the ps command mentioned above.
Now observe the content of the file /var/lib/univention-directory-listener/notifier_id. The number should start rising again, slowly approach and finally match the number in /var/lib/univention-ldap/last_id. Explanation: the last_id is incremented each time any change is made in the LDAP, and the notifier_id is incremented each time the univention-directory-listener component has processed the corresponding change. In a regular system both numbers should match (or the notifier_id be at least a few steps behind the last_id if the listener is currently processing data).
You can and should also check the content of the corresponding log file, /var/log/univention/listener.log.
Also try running the following command: telnet pdc.ipnxnigeria.net 7389 It should show output similar to the following (with your own server name, of course):
[0 root@master ~] telnet master.mbu-test.intranet 7389
Trying 10.191.1.1...
Connected to master.mbu-test.intranet.
Escape character is '^]'.
and then it should just sit there waiting for input.
If the telnet command isn’t installed, install it via apt install telnet.
root@pdc:~# service univention-directory-notifier status
* univention-directory-notifier.service - LSB: Univention Directory Notifier Daemon
Loaded: loaded (/etc/init.d/univention-directory-notifier)
Active: active (exited) since Tue 2017-10-17 09:46:38 WAT; 5 days ago
Process: 1204 ExecStart=/etc/init.d/univention-directory-notifier start (code=exited, status=0/SUCCESS)
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.