On 12-01-17 04:52 PM, Fabian Rodriguez wrote: > Hi, > > [...] > The documentation [...] mentions using an LDIF file. I used the LDAP > web admin to clone an existing user [at the top hierarchy, should have > looked into "people"] yet it won't authenticate. >
I managed to create a new valid user by using an LDIF file and command line tools. Here is my example LDIF file contents: dn: uid=fab,ou=people,dc=example,dc=com objectClass: top objectClass: inetOrgPerson objectClass: person objectClass: organizationalPerson uid: fab cn: Fabian Rodriguez mail: [email protected] sn: Fabian givenName: Rodriguez These two commands added the user and set it password to "fab", respectively: $ ldapadd -f fab.ldif -x -w sogo -D cn=admin,dc=example,dc=com $ ldappasswd -h localhost -x -w sogo -D cn=admin,dc=example,dc=com uid=fab,ou=people,dc=example,dc=com -s fab (the second command will wrap in this email but should be in one single line) "$" above indicates I did this while logged in as "sogo" in the ZEG VM. In the above example I am using default credentials for the "admin" user (ie. user:admin, password:sogo). I wish at some point an easy web GUI becomes part of the SOGo interface, or perhaps documenting how to do this in minute detail via Webmin will be enough. Now on to some testing with Thunderbird. Thanks to everyone who responded to my many questions (and messages) since yesterday! F.
signature.asc
Description: OpenPGP digital signature
