[Samba] qmail schema

yudi shiddiq yudi.shiddiq at yahoo.com
Thu Mar 24 03:31:51 MDT 2011


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: 
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


      


More information about the samba mailing list