Content preview: Am Mittwoch, 25. März 2015 23:05 CET, Igor Shmukler <***@gmail.com>
schrieb: > Sorry. I misunderstood your message. Thought that you were missing
slapd. > Did you install ldap-utils? I believe that ldapsearch(1) might a
part > of ldap-utils package [probably depends on the distro], and it is
Post by Igor Shmuklerinstalled separately. [...]
Content analysis details: (-1.9 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked.
See
http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
for more information.
[URIs: proofpoint.com]
-0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay
domain
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
X-Mailman-Approved-At: Sun, 29 Mar 2015 03:29:08 +0000
Cc: "Wang, Hui" <***@csun.edu>,
"openldap-***@openldap.org" <openldap-***@openldap.org>
X-BeenThere: openldap-***@openldap.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: OpenLDAP Technical Discussion list <openldap-technical.openldap.org>
List-Unsubscribe: <http://www.openldap.org/lists/mm/options/openldap-technical>,
<mailto:openldap-technical-***@openldap.org?subject=unsubscribe>
List-Archive: <http://www.openldap.org/lists/openldap-technical/>
List-Post: <mailto:openldap-***@openldap.org>
List-Help: <mailto:openldap-technical-***@openldap.org?subject=help>
List-Subscribe: <http://www.openldap.org/lists/mm/listinfo/openldap-technical>,
<mailto:openldap-technical-***@openldap.org?subject=subscribe>
Errors-To: openldap-technical-***@openldap.org
Sender: "openldap-technical" <openldap-technical-***@openldap.org>
X-Spam-Score: -1.9 (-)
X-Spam-Report: Spam detection software, running on the system "gauss.openldap.net", has
identified this incoming email as possible spam. The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email. If you have any questions, see
the administrator of that system for details.
Content preview: Am Mittwoch, 25. März 2015 23:05 CET, Igor Shmukler <***@gmail.com>
schrieb: > Sorry. I misunderstood your message. Thought that you were missing
slapd. > Did you install ldap-utils? I believe that ldapsearch(1) might a
part > of ldap-utils package [probably depends on the distro], and it is
Post by Igor Shmuklerinstalled separately. [...]
Content analysis details: (-1.9 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked.
See
http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block
for more information.
[URIs: proofpoint.com]
-0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay
domain
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
Post by Igor ShmuklerSorry. I misunderstood your message. Thought that you were missing slapd.
Did you install ldap-utils? I believe that ldapsearch(1) might a part
of ldap-utils package [probably depends on the distro], and it is
installed separately.
Please READ the mails you are replying to - the OP is installing from source.
Unless he changed --prefix and or --exec-prefix all tools should end up under /usr/local/bin.
@Hui Wang:
How experienced are you with Unix/Linux? CD-ing into /usr/local/bin and then running
ldapadd will not automatically run the binary in that directory (unlike on MS windows).
You can either add /usr/local/bin to your PATH or run the program like this:
/usr/local/bin/ldapadd
HTH Ralf Mattes
Post by Igor ShmuklerIgor
What file I should look for under /usr/sbin? I got this
/usr/sbin
-bash: ldapsearch: command not found
root 3094 0.0 24.3 1411584 468476 ? Ssl 11:10 0:00 /opt/libexec/slapd
root 7574 0.0 0.0 103252 840 pts/0 S+ 14:59 0:00 grep slapd
-----Original Message-----
Sent: Wednesday, March 25, 2015 12:40 PM
To: Wang, Hui
Subject: Re: can't run ldapsearch and slapadd command after install openldap
Hello,
Try: $ ps auxww | grep slapd
BTW, did you check /usr/sbin as to whether binaries are there? On my machine they are in the /usr/sbin directory.
Sincerely,
Igor Shmukler
Post by Wang, HuiHi, All
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.openldap.org_d
oc_admin24_quickstart.html&d=AwIBaQ&c=Oo8bPJf7k7r_cPTz1JF7vEiFxvFRfQtp
-j14fFwh71U&r=GJzNE-na5kc9aOr5JDyH43J-pL3ONUA5CuZ1SXkuaxM&m=GBtUhh13Xy
aRZP5tODMNFbEJJAg_qvoUiAUFCjZDrSU&s=MSNLQQwkvXAf76wBrcbRiZ0QF7U2GBM-Zd
LZjQ5LAL8&e=
I am at step 9, I started the slapd, but can't do LDAP search. I can't run slapadd command either.
You can see my slapd is up and running, but there are nothing installed in /usr/local/bin. What should I install and how can I make ldapsearch and slapadd command run?
Thanks
3094
-bash: ldapsearch: command not found
-bash: slapadd: command not found
Hui Wang