-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Aaron Bliss Sent: Monday, August 06, 2007 11:16 AM To: centos@centos.org Subject: [CentOS] help with samba and ldap on centos 5
Hi everyone; I'm having some trouble with samba on a centos 5 box; the box has been configured to authenticate against an ldap server via authconfig....authentication for normal use (console, ssh) works great....I'm having some trouble with samba using single ldap users or local users....It's rather weird, shares in which access restrictions are based upon ldap groups are working fine, getent group shows local and ldap groups, however attempting to assign access to a share for either a single ldap user or a local user doesn't work, and produces the following error when trying to hit the share: smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User myuser1 !
For local users, I've added local os accounts as well as accounts in the samba database with smbpasswd Any ideas? Thanks for your help.
Did you use authconfig to configure ldap auth or did you manually edit the PAM database?
Can you post a copy of your /etc/sysconfig/authconfig, /etc/pam.d/system-auth, and a copy of your /etc/nsswitch.conf?
-Ross
______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.