I’m telling You about a Centos 5.10 server joined to an Active Directory environment.
Once I was able to open a ssh session on this server with my A.D. username/password, but some day ago I noticed it was possible only to log in this server using local root account.
I discovered that the wbinfo -i myusername command retuned a WBC_ERR_WINBIND_NOT_AVAILABLE error.
To fix this problem I issued the following commands:
# service winbind stop
# service smb stop
# net cache flush
# rm -f /var/lib/samba/*tdb
# service smb start
# service winbind start
Tags: Active Directory, centos