[Samba] qmail schema

yudi shiddiq yudi.shiddiq at yahoo.com
Thu Mar 24 19:56:36 MDT 2011


Thx for your reply....

This is my qmail.schema :
 #
 # qmail-ldap (20030901) ldapv3 directory schema
 #
 # The offical qmail-ldap OID assigned by IANA is 7914
 #
 # Created by: David E. Storey <dave at tamos.net>
 # Modified and included into qmail-ldap by Andre Oppermann <opi at nrg4u.com>
 # Schema fixes by Mike Jackson <mjj at pp.fi>
 # Schema fixes by Christian Zoffoli (XMerlin) <czoffoli at xmerlin.org>
 #
 #
 # This schema depends on:
 # - core.schema
 # - cosine.schema
 # Attribute Type DefinitionsLine 15
# attributetype ( 1.3.6.1.4.1.7914.1.2.1.1 NAME 'qmailUID'
# DESC 'UID of the user on the mailsystem'
# EQUALITY integerMatch
# SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )    line 19

I have give mark "#" on line 19 but when i restart ldap the error show me 
another line, until line 15 that has marked(#), any other clue please?

Or anybody can tell me step by step to use qmail.schema on samba PDC? because 
i'm just copy qmail.schema to /etc/openlda/schema/ and edit slapd.conf to 
include qmail.schema that's it....

Thx,
Dee dee






________________________________
From: "tms3 at tms3.com" <tms3 at tms3.com>
To: yudi shiddiq <yudi.shiddiq at yahoo.com>
Cc: samba at lists.samba.org
Sent: Thu, March 24, 2011 7:43:04 PM
Subject: Re: [Samba] qmail schema

 


>Hallo all,
>
>I need help right now, i've installed samba PDC and i think it work's, i can add 
>
>and remove users and groups.
>I need to include qmail.schema on my slapd.conf, so i have copied qmail.schema 
>file on /etc/openldap/schema/ but when i restart ldap service always failed, 
>this is the error message on /var/log/message : 
>
>Mar 24 16:18:52 xxxxx slapd[2144]: slapd shutdown: waiting for 0 
>operations/tasks to finish
>Mar 24 16:18:52 xxxxx slapd[2144]: slapd stopped.
>Mar 24 16:18:55 xxxxx slapd[3982]: @(#) $OpenLDAP: slapd 2.4.21 (Jul  5 2010 
>13:34:44) 
>$#012#011abuild at build24:/usr/src/packages/BUILD/openldap-2.4.21/servers/slapd
>Mar 24 16:18:55 xxxxx slapd[3982]: /etc/openldap/schema/qmail.schema: line 19: 
>
You have a problem with your db def's at line 19 in qmail.schema. That's where 
you need to look.  



>unknown directive <#> outside backend info and database definitions.
>Mar 24 16:18:55 xxxxx slapd[3982]: slapd stopped.
>Mar 24 16:18:55 xxxxx slapd[3982]: connections_destroy: nothing to destroy.
>
>This is installed on my server :
>- openSUSE 11.3
>- samba-3.5.4-4.1.i586
>- openldap2-2.4.21-9.1.i586
>
>This is my slapd.conf :
>
>#
># See slapd.conf(5) for details on configuration options.
># This file should NOT be world readable.
>#
>include         /etc/openldap/schema/core.schema
>include         /etc/openldap/schema/cosine.schema
>include         /etc/openldap/schema/inetorgperson.schema
>include         /etc/openldap/schema/samba3.schema
>include         /etc/openldap/schema/nis.schema
>include         /etc/openldap/schema/phpQLAdmin.schema
>include         /etc/openldap/schema/qmail.schema
>
>pidfile         /var/run/slapd/slapd.pid
>argsfile        /var/run/slapd/slapd.args
>
># Load dynamic backend modules:
>modulepath      /usr/lib/openldap/modules
># moduleload    back_bdb.la
># moduleload    back_hdb.la
># moduleload    back_ldap.la
>
>access to *
>              by * read
>
>#######################################################################
># BDB database definitions
>#######################################################################
>
>database        bdb
>suffix          "dc=xxxxx,dc=xxx"
>checkpoint      1024    5
>cachesize       40000
>rootdn          "cn=Manager,dc=xxxxx,dc=xxx"
>rootpw          xxxxxxxxx
>directory       /var/lib/ldap
>index   objectClass     eq
>index   cn,sn,uid       pres,sub,eq
>#index   mail,accountStatus      eq
>#index   mailHost,mailMessageStore       sub,eq
>#index   mailQuotaSize           eq
>index   userPassword    eq
>index   uidNumber       eq
>index   gidNumber       eq
>index   memberUid       eq
>index   givenname       eq
>index   sambaSID        eq
>index   sambaPrimaryGroupSID    eq
>index   sambaDomainName eq
>index   default sub
>
>Please give a suggest for this problem.
>
>Thx,
>Dee dee
>
>
>       
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions: https://lists.samba.org/mailman/options/samba
>



      


More information about the samba mailing list