[Samba] Help! winbind problem...

Thomas Angst ta_ldap at granitsoft.ch
Fri Nov 8 11:26:01 GMT 2002


hello,

please help me, I'm nearly going crazy :((

I tried to authenticate postfix (smtp-auth) via pam_smbpass.so. This 
doesn't work, it works with ssh and imap, but not with postfix, darn 
(pam_unix is working with postfix)

Then I tried pam_winbind.so, which somebody has told me to use it 
instead of pam_smbpass.so.
But this is not working in any way I am trying :(

The PDC server should be localhost.

winbind deamon is running
wbinfo -g and -u is showing me the correct userlist and groups.

but if I try to login via ssh,

pam.d/sshd:
auth    required        pam_winbind.so
account    required     /lib/security/pam_unix2.so
session    required     /lib/security/pam_unix2.so

I will get this errors in the winbind log:

[2002/11/08 11:54:24, 6] nsswitch/winbindd.c:new_connection(333)
  accepted socket 14
[2002/11/08 11:54:24, 10] nsswitch/winbindd.c:client_read(422)
  client_read: read 1304 bytes. Need 0 more for a full request.
[2002/11/08 11:54:24, 10] nsswitch/winbindd.c:process_request(298)
  process_request: request fn PAM_AUTH
[2002/11/08 11:54:24, 3] nsswitch/winbindd_pam.c:winbindd_pam_auth(47)
  [ 5237]: pam auth tangst
[2002/11/08 11:54:24, 5] nsswitch/winbindd_pam.c:winbindd_pam_auth(59)
  no domain separator (+) in username (tangst) - failing auth
[2002/11/08 11:54:24, 2] nsswitch/winbindd_pam.c:winbindd_pam_auth(121)
  Plain-text authenticaion for user tangst returned 
NT_STATUS_INVALID_PARAMETER (PAM: 4)
[2002/11/08 11:54:24, 10] nsswitch/winbindd.c:client_write(459)
  client_write: wrote 1300 bytes.

If I'm using DOMAIN+user I will get no entries in the logfile and the 
login failed too.

many thanks

Thomas






More information about the samba mailing list