Re: enumeratin all ldap objects in a LDAP ?

2008-05-30 Thread Adrian Overbury
Well, I don't know necessarily what the *best* way is, but I can tell you what the simplest way in. As root on whatever server the openLDAP database is on, run this command: slapcat | grep "^dn: " | wc -l That will dump the entire ldap database, grab every "dn: ..." line, which every object

Multiple passwords

2008-02-05 Thread Adrian Overbury
Hi, I'm trying to make a system account in LDAP that has multiple passwords, one of which is time-limited. Basically, it's your run-of- the-mill posix/shadowAccount object, with your common-or-garden userPassword attribute. Everything works so far. But now I want to add a couple of new