http://barrapunto.com/index.pl?section=debian - Barrapunto.com - Debian related News.
http://blog.desdelinux.net/tag/debian - DesdeLinux - Documentation, news and forums related to Debian.
http://www.exdebian.org - exDebian - Documentation, news and forums related to Debian.
http://www.garryricketsonartworks.org/Debian-spanish/ -New, support questions, discussion
My problem come when I try to add user.ldif
Ask me for the password of admin in ldap, write the password but nothing amiss---snip--- When I try to search dn or user ldap say me can't found
0 The user exists as specified. This can have 2 causes: The user
was created by adduser or the user was already present on the
system before adduser was invoked. If adduser was returning 0 ,
invoking adduser a second time with the same parameters as
before also returns 0.
1 Creating the user or group failed because it was already present
with other UID/GID than specified. The username or groupname was
rejected because of a mismatch with the configured regular
expressions, see adduser.conf(5). Adduser has been aborted by a
Or for many other yet undocumented reasons which are printed to
console then. You may then consider to remove --quiet to make
adduser more verbose.
Default configuration file for adduser and addgroup
Ldapadd -x -D 'cn=admin,dc=awachens,dc=net' -W -f user.ldif
When I try to search dn or user ldap say me can't found ---
ldapadd -x -D 'cn=admin,dc=awachens,dc=net' -W -f ldap.ldif
Add a LDAP User using ldapadd
Now, use ldapadd command and the above ldif file to create a new user called adam in our OpenLDAP directory as shown below:
# ldapadd -x -W -D "cn=ramesh,dc=tgs,dc=com" -f adam.ldif
Enter LDAP Password:
adding new entry "uid=adam,ou=users,dc=tgs,dc=com"
ldapadd -c -x -D cn=admin,dc=spinlock,dc=hr -W -f /var/tmp/user1.ldif
Post by awachens » 2017-03-30 11:33
I have a question ... isn't the same openldap and ldap no ?
LDAP stands for Lightweight Directory Access Protocol . .... No matter which LDAP server a client connects to, it sees the same view of the directory; a name ...snip---
The slapd package contains the OpenLDAP server. The ldap-utils package includes command-line tools for interacting with LDAP servers.
Installing slapd usually asks very few questions and the resulting database is unlikely to suit your needs. Fortunately a simple dpkg-reconfigure slapd will let you reconfigure the LDAP database with more details:
Users browsing this forum: No registered users and 5 guests