Re: add user ldif via ldapadmin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I personally would not recommend using phpldapadmin.
It is a very sloppy implementation and and really was written for openldap in LDAP version 2 mode.
Also the admin console for 389 server does a better job if you configure it correctly. 

On Feb 13, 2017 7:11 PM, "William Brown" <wibrown@xxxxxxxxxx> wrote:
On Mon, 2017-02-13 at 12:51 +0200, Todor Petkov wrote:
> On Mon, Feb 13, 2017 at 1:26 AM, William Brown <wibrown@xxxxxxxxxx> wrote:
> > Do you mind posting the ldif? Have you tried using ldapadd -f <your
> > ldif> to the server to see what that says.
> >
> > This is likely that some part of schema is being violated, so should be
> > easy to resolve :)
>
>
> Hello,
>
> seems if I give the password as:
> userpassword: {SSHA}47l/wCYK8N0DgyKl9Ax+QDQGPMbkOHJa3daALw==
>
> It gives and error, but:
> userpassword: cleartextpass
>

Unless you have nsslapd-allow-hashed-passwords: on (cn=config), you can
not provide a pre-hashed password in an ldapadd/modify operation.


I would advise that setting the cleartextpass and letting DS do the hash
and store is a better procedure, but it's up to you. If you want to
pre-create the password with pwdhash, and set allow hashed passwords, go
for it.

Hope that helps.

--
Sincerely,

William Brown
Software Engineer
Red Hat, Brisbane

_______________________________________________
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-leave@lists.fedoraproject.org

_______________________________________________
389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux