Hello,
I’m not new to linux at all, but I do not have a server admin background in linux, so I may be missing something obvious.
On a server which was previously working fine, ssh stopped accepting connections a while ago, restarting using /etc/init.d/sshd restart didn’t resolve this problem, but eventually a complete server restart did.
I can now connect to the server via ssh, but only as root. All other accounts return Permission denied, please try again. This is using password authentication, which worked fine for all users previously.
When this connection is attempted… the resulting srv/log/message is (I have changed the connecting ip to ###, and user account names etc for privacy):
Sep 14 10:36:37 srv01 slapd[5475]: conn=44 fd=24 ACCEPT from IP=127.0.0.1:33708 (IP=0.0.0.0:389)
Sep 14 10:36:37 srv01 slapd[5475]: conn=44 op=0 BIND dn="" method=128
Sep 14 10:36:37 srv01 slapd[5475]: conn=44 op=0 RESULT tag=97 err=0 text=
Sep 14 10:36:37 srv01 slapd[5475]: conn=44 op=1 SRCH base="ou=People,ou=Users,dc=companyName,dc=lan" scope=2 deref=0 filter="(&(
objectClass=posixAccount)(uid=userAccount))"
Sep 14 10:36:37 srv01 slapd[5475]: conn=44 op=1 SRCH attr=uid userPassword uidNumber gidNumber cn homeDirectory loginShell ge
cos description objectClass
Sep 14 10:36:37 srv01 slapd[5475]: conn=44 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=
Sep 14 10:36:37 srv01 slapd[5475]: conn=44 op=2 SRCH base="ou=Users,dc=companyName,dc=lan" scope=2 deref=0 filter="(&(objectClas
s=shadowAccount)(uid=userAccount))"
Sep 14 10:36:37 srv01 slapd[5475]: conn=44 op=2 SRCH attr=uid userPassword shadowLastChange shadowMax shadowMin shadowWarning
shadowInactive shadowExpire shadowFlag
Sep 14 10:36:37 srv01 slapd[5475]: conn=44 op=2 SEARCH RESULT tag=101 err=0 nentries=1 text=
Sep 14 10:36:39 srv01 slapd[5475]: conn=44 op=3 SRCH base="ou=Users,dc=companyName,dc=lan" scope=2 deref=0 filter="(&(objectClas
s=shadowAccount)(uid=userAccount))"
Sep 14 10:36:39 srv01 slapd[5475]: conn=44 op=3 SRCH attr=uid userPassword shadowLastChange shadowMax shadowMin shadowWarning
shadowInactive shadowExpire shadowFlag
Sep 14 10:36:39 srv01 slapd[5475]: conn=44 op=3 SEARCH RESULT tag=101 err=0 nentries=1 text=
Sep 14 10:36:39 srv01 sshd[6004]: Failed password for userAccount from ###.###.###.### port 4781 ssh2
Any advice on what could be causing this would be greatly appreciated, thanks.
Bryan