[Date Prev][Date Next] [Chronological] [Thread] [Top]

Segmentation fault when loading a schema...



This is a modified Debian GNU/Linux package, v2.0.14-1...


So, what might be wrong with the objectclass?

(not using this schema 'works' fine, ie slurpd starts perfectly..)

----- s n i p -----
[papadoc.root]# gdb /usr/sbin/slurpd
GNU gdb 19990928
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) set args -f /tmp/slapd.conf
(gdb) run
Starting program: /usr/sbin/slurpd -f /tmp/slapd.conf

Program received signal SIGSEGV, Segmentation fault.
0x804a864 in parse_line (line=0x806a380 "objectclass", argcp=0xbffffb20, argv=0xbffff990) at config.c:183
183             argv[(*argcp)++] = token;
(gdb) bt
#0  0x804a864 in parse_line (line=0x806a380 "objectclass", argcp=0xbffffb20, argv=0xbffff990) at config.c:183
#1  0x804a569 in slurpd_read_config (fname=0x8068468 "/etc/ldap/schema/qmailControl.schema") at config.c:83
#2  0x804a774 in slurpd_read_config (fname=0x8064628 "/tmp/slapd.conf") at config.c:150
#3  0x804e7c1 in main (argc=3, argv=0xbffffd94) at main.c:80
(gdb) 
----- s n i p -----

----- s n i p -----
# Attributes that are qmail specific

attributetype ( 1.3.6.1.4.1.7006.1.2.1.13 NAME 'badMailFrom'
	DESC 'Unacceptable envelope sender addresses.'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.14 NAME 'bounceFrom'
	DESC 'Bounce username'
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.15 NAME 'bounceHost'
	DESC 'Bounce host'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.16 NAME 'concurrencyLocal'
	DESC 'Maximum number of simultaneous local delivery attempts.'
	EQUALITY integerMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.17 NAME 'concurrencyRemote'
	DESC 'Maximum number of simultaneous remote delivery attempts.'
	EQUALITY integerMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.18 NAME 'defaultDomain'
	DESC 'Default domain name.'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.19 NAME 'defaultHost'
	DESC 'Default host name.'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.20 NAME 'dataBytes'
	DESC 'Maximum number of bytes allowed in a message, or 0 for no limit.'
	EQUALITY integerMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.21 NAME 'doubleBounceHost'
	DESC 'Double-bounce host.'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.22 NAME 'doubleBounceTo'
	DESC 'User to receive double-bounces.'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.23 NAME 'envNoAtHost'
	DESC 'Presumed domain name for addresses without @ signs.'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.24 NAME 'heloHost'
	DESC 'Host name used to say hello to the remote SMTP server.'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE  )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.25 NAME 'idHost'
	DESC 'Host name for Message-IDs.'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.26 NAME 'localIpHost'
	DESC 'Replacement host name for local IP addresses.'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.27 NAME 'locals'
	DESC 'List of domain names that the current host receives mail for.'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.28 NAME 'moreRcptHosts'
	DESC 'Extra allowed RCPT domains.'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.29 NAME 'percentHack'
	DESC 'List of domain names where the percent hack is applied.'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.30 NAME 'plusDomain'
	DESC 'Plus domain name.'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.31 NAME 'qmqpServers'
	DESC 'IP addresses of QMQP servers.'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{128} )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.32 NAME 'queueLifetime'
	DESC 'Number of seconds a message can stay in the queue.'
	EQUALITY integerMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.33 NAME 'rcptHosts'
	DESC 'Allowed RCPT domains.'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.34 NAME 'smtpGreeting'
	DESC 'SMTP greeting message.'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.35 NAME 'smtpRoutes'
	DESC 'Artificial SMTP routes.'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.36 NAME 'timeoutConnect'
	DESC 'Number of seconds qmail-remote will wait for the remote SMTP server to accept a connection.'
	EQUALITY integerMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.37 NAME 'timeoutRemote'
	DESC 'Number of seconds qmail-remote will wait for each response from the remote SMTP server.'
	EQUALITY integerMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.38 NAME 'timeoutSmtpd'
	DESC 'Timeout for each new buffer of data from the remote SMTP client.'
	EQUALITY integerMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.39 NAME 'virtualDomains'
	DESC 'List of virtual users or domains.'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

# Attributes from qmail-ldap

attributetype ( 1.3.6.1.4.1.7006.1.2.1.40 NAME 'ldapBaseDN'
	DESC 'The base DN from where the search in the LDAP tree begins.'
	EQUALITY caseIgnoreIA5Match
	SUP distinguishedName SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.41 NAME 'ldapLogin'
	DESC 'Username for the LDAP server connection.'
	EQUALITY caseIgnoreIA5Match
	SUP distinguishedName SINGLE-VALUE )  

attributetype ( 1.3.6.1.4.1.7006.1.2.1.42 NAME 'ldapPassword'
	DESC 'Password for the LDAP server connection.'
	EQUALITY caseExactMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.43 NAME 'ldapLocalDelivery'
	DESC 'If on do a lookup on the local passwd file.'
	EQUALITY integerMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.44 NAME 'ldapRebind'
	DESC 'Use the possibility of rebinding to the ldap-server to compare pop3 and imap passwords.'
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.45 NAME 'ldapCluster'
	DESC 'Turn clustering on and off.'
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.46 NAME 'ldapDefaultQuota'
	DESC 'The default amount of disk space the user can use.'
	EQUALITY caseExactIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.47 NAME 'ldapDefaultDotMode'
	DESC 'The default interpretation of .qmail files'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.48 NAME 'ldapMessageStore'
	DESC 'The default prefix for pathes in mailMessageStore.'
	EQUALITY caseExactIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.49 NAME 'ldapUid'
	DESC 'The default UID used in virtual users environments.'
	EQUALITY integerMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.50 NAME 'ldapGid'
	DESC 'The default GID used in virtual users environments.'
	EQUALITY integerMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.51 NAME 'customBounceText'
	DESC 'Additional custom text in bounce messages.'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.52 NAME 'quotaWarning'
	DESC 'Custom text in quota warning message.'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.53 NAME 'tarpitCount'
	DESC 'Number of RCPT TOs you accept before you start tarpitting.'
	EQUALITY integerMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.54 NAME 'tarpitDelay'
	DESC 'Number of seconds of delay to introduce after each subsequent RCPT TO'
	EQUALITY integerMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.55 NAME 'badRcptTo'
	DESC 'List of recipient addresses that should be rejected.'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.56 NAME 'dirMaker'
	DESC 'Absolute path to your program/script that creates missing homedirs.'
	EQUALITY caseExactIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.7006.1.2.1.57 NAME 'ldapServer'
	DESC 'LDAP Server address.'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

# Attributes from TLS

attributetype ( 1.3.6.1.4.1.7006.1.2.1.58 NAME 'tlsClients'
	DESC 'This email-address is logged in the headers.'
	EQUALITY caseIgnoreIA5Match
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )

# Support for this have to be coded first
#attributetype ( 1.3.6.1.4.1.7006.1.2.1.59 NAME 'certificateFile'
#	DESC 'Path to the cert.pem file.'
#	EQUALITY caseExactIA5Match
#	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
# -> Example: /var/qmail/control/cert.pem
#	
#attributetype ( 1.3.6.1.4.1.7006.1.2.1.60 NAME 'certificateFile'
#	DESC 'Path to the cert.pem file.'
#	EQUALITY caseExactIA5Match
#	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
# -> Example: /var/qmail/control/rsa512.pem
#	
#attributetype ( 1.3.6.1.4.1.7006.1.2.1.61 NAME 'clientCAFile'
#	DESC 'Path to the certificate CA list file.'
#	EQUALITY caseExactIA5Match
#	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE )
# -> Example: /var/qmail/control/clientca.pem
#	

# Object Class Definitions

objectclass ( 1.3.6.1.4.1.7006.1.2.2.2
	NAME 'qmailControl'
	SUP top AUXILIARY
        DESC 'QMail-LDAP Server Control Information'
	MUST cn
        MAY ( badMailFrom $ bounceFrom $ bounceHost $ concurrencyLocal $
	      concurrencyRemote $ defaultDomain $ defaultHost $ dataBytes $
	      doubleBounceHost $ doubleBounceTo $ envNoAtHost $ heloHost $
	      idHost $ localIpHost $ locals $ moreRcptHosts $ percentHack $
	      plusDomain $ qmqpServers $ queueLifetime $ rcptHosts $
	      smtpGreeting $ smtpRoutes $ timeoutConnect $ timeoutRemote $
	      timeoutSmtpd $ virtualDomains $ ldapBaseDN $ ldapLogin $
	      ldapPassword $ ldapLocalDelivery $ ldapRebind $ ldapCluster $
	      ldapDefaultQuota $ ldapDefaultDotMode $ ldapMessageStore $
	      ldapUid $ ldapGid $ customBounceText $ quotaWarning $
	      tarpitCount $ tarpitDelay $ badRcptTo $ dirMaker $ ldapServer $
	      tlsClients ) )
----- s n i p -----

-- 
 Turbo     __ _     Debian GNU     Unix _IS_ user friendly - it's just 
 ^^^^^    / /(_)_ __  _   ___  __  selective about who its friends are 
         / / | | '_ \| | | \ \/ /    Debian Certified Linux Developer  
  _ /// / /__| | | | | |_| |>  <  Turbo Fredriksson   turbo@bayour.com
  \\\/  \____/_|_| |_|\__,_/_/\_\         Gothenburg/Sweden