Missing or invalid value for DN

Hi all,

I’ve setup an OpenLDAP server and can ldapadd, ldapmodify all day long.

But when I try to use Webmin to add a user from scratch or by cloning them and changing attribute values, I get

Missing or invalid value for DN

How can I make Webmin like my LDAP?

To add users, I click on the Server menu and then the LDAP Server submenu. There, I see Browse Database where I can add/modify.

An example of my database via ldapsearch;

extended LDIF


base <dc=company,dc=com> with scope subtree

filter: (objectclass=*)

requesting: ALL


dn: dc=company,dc=com
dc: company
objectClass: top
objectClass: domain

People, company.com

dn: ou=People,dc=company,dc=com
ou: People
objectClass: top
objectClass: organizationalUnit

Groups, company.com

dn: ou=Groups,dc=company,dc=com
ou: Groups
objectClass: top
objectClass: organizationalUnit

staff, Groups, company.com

dn: cn=staff,ou=Groups,dc=company,dc=com
objectClass: posixGroup
objectClass: top
cn: staff
gidNumber: 20

John Doe, People, company.com

dn: cn=John Doe,ou=People,dc=company,dc=com
uid: john
cn: John Doe
sn: Doe
objectClass: inetOrgPerson
objectClass: apple-user
objectClass: shadowAccount
objectClass: posixAccount
objectClass: top
userPassword:: nfifgoejhvire++==
mail: john@company.com
uidNumber: 1111
gidNumber: 20
loginShell: /bin/tcsh
homeDirectory: /homes/john
apple-user-homeDirectory: /homes/john

I decided to use System -> LDAP Users and Groups which worked great.