Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LDAP Problem (only {CRYPT} hash works)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
_markd
n00b
n00b


Joined: 03 Jan 2004
Posts: 30
Location: Austria

PostPosted: Mon Nov 08, 2004 3:08 am    Post subject: LDAP Problem (only {CRYPT} hash works) Reply with quote

I want/have to set up a central user management for a small office (~50 people, ~20 PCs) where a SambaPDC, a Cyrus-Imapd and Linux SSH login is required.
My plan is to have accounts stored in ldap so I only need to create and passwd once for three services.
I followed the Samba-OpenLDAP howto at http://samba.idealx.org/smbldap-howto.fr.html
and some others (actually started out with the Gentoo-Ldap howto).
The ssh/imap thing is working after all (messed around with it for three days). I haven't tested the samba part (work remotely).
I use the smbldap-tools to manage accounts (for now). The strange thing (my problem) is, that ssh login only works when smbldap-passwd uses the CRYPT (tried MD5 and SSHA) algorithm. No matter to what value I set pam_password in /etc/ldap.conf or password-hash in /etc/openldap/slapd.conf.

Another weird thing is, that the smbldap-tools can only use "normal" ldap on port 389 (tried to setup tls, didn't work) but all other ldap communication (ssh, ldapsearch,...) does not work on 389, but on 636 (ldaps://)

Can somebody explain this strange behaviour to me ? (I can post log entries later in the day (it's 4h AM gotta get 3h sleep))
_________________
-- Student of Telematics at University of Technology in Graz, Austria
-- Running Linux on x86(gentoo), PPC(gentoo), ARM(familiar), SPARC64(gentoo), Alpha(gentoo), MIPS(gentoo) and soon HPPA
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum