Re: reinstall slapd

2003-05-15 Thread Joey Hess
[EMAIL PROTECTED] wrote:
> I've discovered a unique bug, I think. I ran dpkg-reconfigure debconf,
> and selected readline, instead of dialog, and now it's prompting for
> the admin password. Sheesh. All that time wasted...

Sorry -- the sad fact is that the version of whiptail in debian unstable
dropped support for prompting for passwords with no warning. Also, the
brain-dead return codes of whiptail do not let debconf tell the
difference between "return code 1 because user hit the cancel key" and
"return code 1 because this --passwordbox option has slipped my mind"
and "return code 1 because I don't know how to use your terminal".
There are plenty of bug reports filed on this already.

Anyway, the readline interface, with libterm-readline-gnu-perl
installed, happens to be the best interface to debconf for anyone who's
been using unix for more than 6 months. Enjoy it!

-- 
see shy jo


pgptmsqW5OCox.pgp
Description: PGP signature


Re: reinstall slapd

2003-05-14 Thread tps
I've discovered a unique bug, I think. I ran dpkg-reconfigure debconf,
and selected readline, instead of dialog, and now it's prompting for
the admin password. Sheesh. All that time wasted...

Tim

On Wed, May 14, 2003 at 12:50:00PM -0400, [EMAIL PROTECTED] wrote:
> Guys-n-gals,
>   I'm trying to build up an LDAP server on a Debian box that had
> some base install of LDAP on it, someone mucked about, and then
> left the company that hired me. I'm trying to install the latest slapd
> on the box (running unstable). The package installs, and... nothing. I can't
> get in, since it NEVER PROMPTED FOR THE @#$*(&^*&^% ADMIN PASSWORD!
> I've blown away everything relating to slapd, and, still, somewhere,
> somehow, this thing is picking what seems to be a random admin password,
> which I don't know about. 
> 
> It seems I'm clueless, and debconf has me beat. Can anyone, someone,
> give me a clue?
> 
> Thanks,
> Tim
> 
> -- 
> ><
> >> Tim Sailer (at home) ><  Coastal Internet, Inc.  <<
> >> Network and Systems Operations   ><  PO Box 671  <<
> >> http://www.buoy.com  ><  Ridge, NY 11961 <<
> >> [EMAIL PROTECTED]/[EMAIL PROTECTED] ><  (631)924-3728  (888) 924-3728  
> >>  <<
> ><
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 

-- 
><
>> Tim Sailer (at home) ><  Coastal Internet, Inc.  <<
>> Network and Systems Operations   ><  PO Box 671  <<
>> http://www.buoy.com  ><  Ridge, NY 11961 <<
>> [EMAIL PROTECTED]/[EMAIL PROTECTED] ><  (631)924-3728  (888) 924-3728   
>> <<
><




Re: reinstall slapd

2003-05-14 Thread Donovan Baarda
On Thu, 2003-05-15 at 02:50, [EMAIL PROTECTED] wrote:
> Guys-n-gals,
>   I'm trying to build up an LDAP server on a Debian box that had
> some base install of LDAP on it, someone mucked about, and then
> left the company that hired me. I'm trying to install the latest slapd
> on the box (running unstable). The package installs, and... nothing. I can't
> get in, since it NEVER PROMPTED FOR THE @#$*(&^*&^% ADMIN PASSWORD!
> I've blown away everything relating to slapd, and, still, somewhere,
> somehow, this thing is picking what seems to be a random admin password,
> which I don't know about. 
> 
> It seems I'm clueless, and debconf has me beat. Can anyone, someone,
> give me a clue?

I have put a wiki page up at http://wiki.debian.net/LdapAuthentication
that is mainly to do with LDAP Auth, but it walks through installing
slapd on Debian.


-- 

Donovan Baardahttp://minkirri.apana.org.au/~abo/





Re: reinstall slapd

2003-05-14 Thread Johann Botha
Hi tps   >@2003.05.14_18:50:00_+0200

i think installing openldap is a bit too complex to do well with debconf

have a look at the openldap guide,
http://www.openldap.org/doc/admin21/

slapcat / slapadd and a text editor to create an ldif file should do the job

man slapd.conf
--8<-:- snip -:-8<-:- snip -:-8<--
   rootdn 
  Specify  the  distinguished  name  that  is  not  subject  to  
access  control or
  administrative limit restrictions for operations on this 
database.  This  DN  may
  or may not be associated with an entry.  An empty root DN (the 
default) specifies
  no root access is to be granted.  It is  recommended  that  the  
rootdn  only  be
  specified  when  needed  (such  as when initially populating a 
database).  If the
  rootdn is within a namingContext (suffix) of the database, a 
simple bind password
  may also be provided using the rootpw directive.

   rootpw 
  Specify  a  password  (or hash of the password) for the rootdn.  
The password can
  only be set if the rootdn is within the namingContext (suffix) of 
 the  database.
  This  option  accepts  all RFC 2307 userPassword formats known to 
the server (see
  password-hash desription) as well as cleartext.  slappasswd(8)  
may  be  used  to
  generate  a  hash  of  a  password.   Cleartext  and  {CRYPT}  
passwords  are not
  recommended.  If empty (the default), authentication of the root 
DN is  by  other
  means (e.g. SASL).  Use of SASL is encouraged.
--8<-:- snip -:-8<-:- snip -:-8<--


> Guys-n-gals,
>   I'm trying to build up an LDAP server on a Debian box that had
> some base install of LDAP on it, someone mucked about, and then
> left the company that hired me. I'm trying to install the latest slapd
> on the box (running unstable). The package installs, and... nothing. I can't
> get in, since it NEVER PROMPTED FOR THE @#$*(&^*&^% ADMIN PASSWORD!
> I've blown away everything relating to slapd, and, still, somewhere,
> somehow, this thing is picking what seems to be a random admin password,
> which I don't know about. 
> 
> It seems I'm clueless, and debconf has me beat. Can anyone, someone,
> give me a clue?

-- 
Regards
 Johann

  'Simplicity is the ultimate sophistication.'
 - Leonardo da Vinci

 Johann L. Botha  Frogfoot Networks ISP
 [EMAIL PROTECTED] http://www.frogfoot.net/
 +27.82.562.6167  Built and Managed with Attention to Detail
 0860 KERMIT
 http://blue.frogfoot.net/