I posted this to the forum, with no reply. I still can't figure out why this is not working.
I was using the LDAP users and group module fine under WebMin version 1.250. but the boss wanted to add a DNS server to this box, and 1.250's DNS module was not so good. So I upgraded to the latest WebMin a few days ago, and now the LDAP users and groups module cant save, not even a newly created user. I load up the record for an existing user, and just click the save button and I get this -
Failed to save user : Failed to modify user in LDAP database : objectClass: value #6 invalid per syntax
With a similar error if I try to create a new user and save it. That error message comes from the OpenLDAP server, and is completely meaningless. I have turned on all LDAP debugging options with no joy. I've spent way too much time trying to figure this out without getting anywhere, time to ask for help.
My ability to read Perl code is limited, so I'm asking here. What changed in the WebMin LDAP user module that caused it to stop working? What do I have to do to get it to work? Everything else I have using LDAP still works fine, and I didn't change anything on the LDAP server side, only updated WebMin.
Google only turned up a few pages that are in languages I don't read, and what little info I could glean from them wasn't helpful.