These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for [SOLVED] Can't add new user, Postfix/LDAP throwing error on the new forum.
Hello, I have LDAP all setup and followed the instructions on the Combining Virtualmin with LDAP site. however whenever I try to add a user I get this error:
Failed to save mailbox : LDAP add of mailLocalAddress=example@example.com,dc=Virtual,dc=example,dc=com failed : invalid DN
Can't anyone tell my why I get this error, and help me fix it? Thank you very much!
Howdy,
Unfortunately, LDAP really isn't my area of expertise... however, I just wanted to verify, is this the document you used here:
https://www.virtualmin.com/documentation/installation/ldap
Your description sounded like it may have been an older one.
You'd want to review the whole thing, but in particular, make sure you take a peek at the documentation under the "Storing Email Aliases in LDAP" section.
Also, which distro/version is it that you're using there?
-Eric
Your correct, I was using the older one. Thank you very much for pointing this out to me :)
Andre Mattie email: hyper3xpl0iter@gmail.com website: https://www.th3c1inic.org GPG: 9B5E 079D A91E 74AC 333C D3C3 6398 151B BFE5 FB4C bitcoin: 3Nfs74EJcdHB3ewnvW6ynF2EexkMDfCexd
Services: Virtualmin Pro, Cloudmin Pro, Webmin OS: Ubuntu 16.04.2
Ok, I guess I spoke too soon, I still have the same error, is there anything else anyone can think of thats causing this?
Andre Mattie email: hyper3xpl0iter@gmail.com website: https://www.th3c1inic.org GPG: 9B5E 079D A91E 74AC 333C D3C3 6398 151B BFE5 FB4C bitcoin: 3Nfs74EJcdHB3ewnvW6ynF2EexkMDfCexd
Services: Virtualmin Pro, Cloudmin Pro, Webmin OS: Ubuntu 16.04.2
Which distro/version was it that you were using there?
-Eric
ubuntu 14.04 virtualmin 4.18.gpl
Any ideas?
Andre Mattie email: hyper3xpl0iter@gmail.com website: https://www.th3c1inic.org GPG: 9B5E 079D A91E 74AC 333C D3C3 6398 151B BFE5 FB4C bitcoin: 3Nfs74EJcdHB3ewnvW6ynF2EexkMDfCexd
Services: Virtualmin Pro, Cloudmin Pro, Webmin OS: Ubuntu 16.04.2
I got it figured out, Thanks for your help! for anyone else with the same issue, the "misc" schema for some reason is not enabled, to make your changes (STRUCTURAL) to /etc/ldap/schema/misc.ldif and then apply it with (ldapadd -Q -Y EXTERNAL -H ldapi:/// -f misc.ldif). Thanks again!
Andre Mattie email: hyper3xpl0iter@gmail.com website: https://www.th3c1inic.org GPG: 9B5E 079D A91E 74AC 333C D3C3 6398 151B BFE5 FB4C bitcoin: 3Nfs74EJcdHB3ewnvW6ynF2EexkMDfCexd
Services: Virtualmin Pro, Cloudmin Pro, Webmin OS: Ubuntu 16.04.2
Thanks hyper3xpl0iter that fixed it! wtf? LOL
the "misc" schema for some reason is not enabled, to make your changes (STRUCTURAL) to /etc/ldap/schema/misc.ldif and then apply it with (ldapadd -Q -Y EXTERNAL -H ldapi:/// -f misc.ldif).
1BAUD