I am using samba with pam and LDAP for authentification.
It is working well : my Windows client can connect to the shares (with plaintext password).
I can also mount the share from an old Linux release with mount -t smbfs
But i cannot mount it with mount.cifs
I have set SecurityFlags to 0x20 to allow plaintext passwords.
Doing a network capture, i see that there is a problem with the uid searched in the LDAP database : instead of the given user, i have 'pcap'
The correct uid is searched if i have SecurityFlags=0x7, but the password is encrypted.
If i have SecurityFlags=0x20, incorrect uid is searched ('pcap') and auth cannot be done.
This should be fixed now - see bug 5319
Has this been tested, is this still an issue after the fix was mentioned?
reopen if see additional problems