Forums

Konstantin
Konstantin
Offline
Resolved
0 votes
ClearOS 7 with all updates, OpenVPN and OpenLDAP installed. When i try to add user (System-Accounts-Users), i get error
In Ooops! Invalid syntax
openldap log contain this:
Apr 23 14:05:24 quenta slapd[13338]: conn=1091 op=0 RESULT tag=97 err=0 text=
Apr 23 14:05:24 quenta slapd[13338]: conn=1091 op=1 SRCH base="cn=Agro Office,ou=Users,ou=Accounts,dc=system,dc=lan" scope=0 deref=0 filter="(objectClass=*)"
Apr 23 14:05:24 quenta slapd[13338]: conn=1091 op=1 SEARCH RESULT tag=101 err=32 nentries=0 text=
Apr 23 14:05:24 quenta slapd[13338]: conn=1092 fd=33 ACCEPT from IP=127.0.0.1:33308 (IP=127.0.0.1:389)
Apr 23 14:05:24 quenta slapd[13338]: conn=1092 op=0 BIND dn="cn=manager,ou=Internal,dc=system,dc=lan" method=128
Apr 23 14:05:24 quenta slapd[13338]: conn=1092 op=0 BIND dn="cn=manager,ou=Internal,dc=system,dc=lan" mech=SIMPLE ssf=0
Apr 23 14:05:24 quenta slapd[13338]: conn=1092 op=0 RESULT tag=97 err=0 text=
Apr 23 14:05:24 quenta slapd[13338]: conn=1092 op=1 ADD dn="cn=Agro Office,ou=Users,ou=Accounts,dc=system,dc=lan"
Apr 23 14:05:24 quenta slapd[13338]: conn=1092 op=1 RESULT tag=105 err=21 text=sambaDomainName: value #0 invalid per syntax

Please, if you have any ideas that can help, i will be very greatful.
Thank you!
Tuesday, April 23 2019, 11:11 AM
Share this post:
Responses (1)
  • Accepted Answer

    Tuesday, April 23 2019, 02:20 PM - #Permalink
    Resolved
    0 votes
    Have a look at the last line of your output. In Windows Networking, what is your domain. AFAIK it can have a maximum length of 15 alphanumeric characters with no special characters, so no ".". It is the old NetBIOS "Workgroup" and necessarily has the identical limitations. The Windows Domain is different from your LAN domain.
    The reply is currently minimized Show
Your Reply