hello all
i can't find out the problem with below configurtions
(ldap+postfix+courierimap)
[root@fully libexec]# ldapadd -x -D "cn=Manager,dc=news,dc=org" -W -f
/usr/local/etc/postfix-vdomain.ldif
Enter LDAP Password:
adding new entry "jvd=ueltv.net,o=hosting,dc=news,dc=org"
ldap_add: Invalid syntax (21)
additional info: objectClass: value #1 invalid per syntax
my configuration are
#vi postfix-vdmain.ldif
include /usr/local/etc/openldap/schema/core.schema
include /usr/local/etc/openldap/schema/cosine.schema
include /usr/local/etc/openldap/schema/corba.schema
include /usr/local/etc/openldap/schema/inetorgperson.schema
include /usr/local/etc/openldap/schema/java.schema
include /usr/local/etc/openldap/schema/nis.schema
include /usr/local/etc/openldap/schema/openldap.schema
include /usr/local/etc/openldap/schema/jamm.schema
pidfile /usr/local/var/run/slapd.pid
argsfile /usr/local/var/run/slapd.args
rootpw {MD5}zx6MFOVFBfYKoQzrjV2Ksw==
database bdb
suffix "dc=news,dc=org"
rootdn "cn=Manager,dc=news,dc=org"
rootpw {MD5}zx6MFOVFBfYKoQzrjV2Ksw==
directory /usr/local/var/ueltv-data
index objectClass pres,eq
index mail,cn eq,sub
#Acess control
#access to dn=".*,jvd=([^,]+),o=hosting,dc=news,dc=org"
# attr=userPassword
# by self write
# by group/jammPostmaster/roleOccupant=\
# "cn=postmaster,jvd=$1,o=hosting,dc=news,dc=org" write
# by anonymous auth
# by * none
#access to dn=".*jvd=([^,]+),o=hosting,dc=news,dc=org"
# by self write
# by group/jammPostmaster/roleOccupant=\
# "cn=postmaster,jvd=$1,o=hosting,dc=news,dc=org" write
# by * read
access to *
by * read
2)problem
iam also geting error with access control list(access to dn=*) when i
start slapd
[root@fully libexec]# ./slapd
/usr/local/etc/openldap/slapd.conf: line 85: bad DN
".*,jvd=([^,]+),o=hosting,dc=news,dc=org" in to DN clause
plz let me what is i have googled alot ....no use
venu
--
T.K.Venu Gopal
v27076685@xxxxxxxxxxx