On Wed, Jan 23, 2013 at 08:36:10PM +0100, Cajus Pollmeier wrote:
> Am Mittwoch, 23. Januar 2013, 17:43:48 schrieb Csanyi Pal:
> > On Wed, Jan 23, 2013 at 09:01:37AM +0100, Cajus Pollmeier wrote:
> > > severity 698714 minor
> > > thanks
> > > 
> > > Why don't you enter an administrative DN?
> > 
> > Because I don't know its DN name.
> > 
> > When I installed slapd, I set it up with the followings:
> > Omit OpenLDAP server configuration? No
> > DNS domain name: nodomain
> > Organization name: nodomain
> > Administrator password: secret1
> > Database backend to use: HDB
> > Do you want the database to be removed when slapd is purged? No
> > Move old database? Yes
> > Allow LDAPv2 protocol? No
> > 
> > What should I enter into Administrator DN field when configuring Gosa?
> 
> I personally don't use the debian automatic slapd stuff because it
> never does what I want. In turn I can't tell you the administrative DN
> it is creating automatically. Maybe it's something like
> "cn=ldapadmin,dc=nodomain" in your case.
> 
> Please call "slapcat" on the console and take a look if there's a line 
> starting with "dn:" followed by something like "cn=admin,...", 
> "cn=ldapadmin,...", "cn=manager,...". If you've found it in the output
> - this is your administrative DN. Use this one with the password
> you've provided. 

I run 
$ sudo slapcat

and get the line:
dn: cn=admin,dc=nodomain

so when I write into Administrator DN field:
cn=admin

I get finally the message at bottom:
Bind as user 'cn=admin,dc=nodomain' to server 'ldap://localhost:389'
succeeded! 

Now I'm stuck at step 5/8 in the Gosa Configuration:
LDAP schema check 5 / 8

I get message:
Schema specific settings
Schema check failed The following object classes are missing:

gosaObject
gosaAccount
gosaLockEntry
gosaDepartment
gosaCacheEntry
gosaProperties
gosaConfig

However, I have installed the gosa-schema version: 2.7.4-4 debian
package.

I'm reading the /usr/share/doc/gosa/README.ldap file where is explained
what to do to solve this problem.

One must run:
$ sudo ldapadd -Y EXTERNAL -H ldapi:/// -f your_schema_file.ldif

So I find the schema files here:
/etc/ldap/schema/gosa/
gofax.ldif 
gosa-samba3.ldif
gosystem.ldif
goto-mime.ldif
samba3.ldif
gofon.ldif
goserver.ldif
goto.ldif
rfc2307bis.ldif
trust.ldif 

Which one should I add with ldapadd command?

I did run the following commands successfully:
$ sudo ldapadd -Y EXTERNAL -H ldapi:/// -f gofax.ldif
$ sudo ldapadd -Y EXTERNAL -H ldapi:/// -f gosystem.ldif
$ sudo ldapadd -Y EXTERNAL -H ldapi:/// -f goto-mime.ldif
$ sudo ldapadd -Y EXTERNAL -H ldapi:/// -f samba3.ldif
$ sudo ldapadd -Y EXTERNAL -H ldapi:/// -f gofon.ldif
$ sudo ldapadd -Y EXTERNAL -H ldapi:/// -f goto.ldif
$ sudo ldapadd -Y EXTERNAL -H ldapi:/// -f trust.ldif

and at every such command abowe I Check again the LDAP schema check
5 / 8 step, but the error message still remain there.

How can I solve this problem?

-- 
Regards from Pal


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to