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

slapadd -l



what's wrong with this import.ldif file?? note that
line 845 is the last record in the file

aragorn [/usr/local/sbin] # od -c import.ldif | tail -3  
0165160   2   5   8   4   8   3   2   9   0   6   3   7   F   D   0   A
0165200   4   A   3   9   4   8   7  \n
0165210


aragorn [/usr/local/sbin] # egrep "^$" import.ldif
aragorn [/usr/local/sbin] # 


aragorn [/usr/local/sbin] # ./slapadd -l ./import.ldif
slapadd: could not parse entry (line=845)


aragorn [/usr/local/sbin] # ./slapadd -d 4 -l ./import.ldif
ldbm_cache_open (blksize 8192) (maxids 2046) (maxindirect 5)
<= str2entry: str2ad(version): attribute type undefined
slapadd: could not parse entry (line=845)
aragorn [/usr/local/sbin] # ./slapadd -d 1 -l ./import.ldif
slapadd init: initiated tool.
slapadd startup: initiated.
backend_startup: starting database
=> ldbm_cache_open( "/usr/local/var/openldap-ldbm/id2entry.gdbm", 18, 600
)
<= ldbm_cache_open (opened 0)
=> str2entry
<= str2entry: str2ad(version): attribute type undefined
slapadd: could not parse entry (line=845)
slapadd shutdown: initiated
ldbm backend syncing
ldbm flushing db (/usr/local/var/openldap-ldbm/id2entry.gdbm)
ldbm closing db (/usr/local/var/openldap-ldbm/id2entry.gdbm)
ldbm backend done syncing
====> cache_release_all
slapadd shutdown: freeing system resources.
aragorn [/usr/local/sbin] # 

thanks
---------------------------------------------------------
---------------------------------------------------------