[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] ssl and authentication questions



> My RaQ XTR has the package. When I run 
>  
> rpm -ql openldap 
>  
> it has the full complement of programs installed. 
>  
> /etc/rc.d/init.d/ldap start 
>  
> will start slapd running. I just wanted to know how to set up what I 
> already have. 
>  
> --  
> Josh Kuperman                        
> josh@xxxxxxxxxxxxxxxxxx 
>  
 
The openLDAP I used was the one coming with RedHat 7.3 
LDAP looks like object-oriented database wich behaviour 
described by number of "schema" files ( see /etc/openldap/slapd.conf ) 
If you need Samba work with LDAP you should look on Internet for  
schema file for this. Web access require another schema, etc. 
Thanks god that attributes like "uid" and "password" are common 
for them. (Samba will use "ntpassword" - read carefull) 
 
Put all schemas together and start to fill database. 
It is easy if you know this, but it is a nightmare for the 
beginner. There are number LDAP browsers available, 
I prefer "gq". Once you know all attributes you should 
define for basic user, you create initial "ldiff" file 
and add all users. For special users (Samba, ssh, etc) 
create another ldiff files and run ldapmodify (pay attention 
on slightly differ syntax) 
 
Configure services to use LDAP (some services takes definitions 
from /etc/nsswitch.conf, some from /etc/pam.d directory,  
some from their configuration files) 
 
Once you start use LDAP, you'll use it for everything ! 
 
-- 
Oleg Volkov 
System Administrator 
SHUNRA Software Ltd. 
http://www.shunra.com 
 
+972-9-7643743/93121(w) 
+972-51-601914(m)