[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1823
  • Last Modified:

error trying to bind (Invalid credentials) WSFU Windows Services for Unix 3.5 not working

I followed this document: http://enterprise.linux.com/enterprise/04/12/09/2318244.shtml?tid=102&tid=101&tid=100 and its not working. When I try to log into my Linux box using a username that is in Active Directory, it tells me to type the correct user name/password. I have followed the procedure step by step and confirmed that each setting was typed correctly.

/var/log/messages records this:

Jun 28 14:31:57 linuxbox gdm(pam_unix)[7124]: check pass; user unknown
Jun 28 14:31:57 linuxbox gdm(pam_unix)[7124]: authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=
Jun 28 14:31:57 linuxbox gdm-binary[7124]: pam_ldap: error trying to bind (Invalid credentials)
Jun 28 14:31:57 linuxbox gdm-binary[7124]: Couldn't authenticate user

The local accounts are still working fine and I can use them to log into the Linux box. What am I doing wrong?

ps I have to use WSFU because I need to use the "user name mapping" feature. Samba/winbind will not work for me.

Thanks.
0
bfilipek
Asked:
bfilipek
1 Solution
 
NopiusCommented:
Probably these lines are incorrect either because you don't have such user (you should have already user dirsearch with a password in your AD) or you configured incorrect binddn and nindpw:

binddn cn=dirsearch,cn=Users, dc=lanrx,dc=com
bindpw D1rectory


ldap is quiet verbose if you enable 'debug' level in syslog

/etc/syslog.conf:

*.debug  <TAB>   /var/log/messages

then restart syslog and see again what happenes.
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now