You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by Turkhan Badalov <tu...@ut.ee> on 2020/07/23 14:34:46 UTC
Any hello world guide?
Hello, Apache Directory team!
I am trying to start with Apache DS and have absolutely 0 background. All seems pretty good, thanks for putting the guide together. However, I can't find a step or section that would explain how to run the server and just test that it is working, that I got it on my machine. Something like "Hello, world" for Apache DS. Maybe you would like to add it as well?
Cheers,
Turkhan.
Re: Any hello world guide?
Posted by Donald Lohr <lo...@jmu.edu>.
The easiest way is to use the ldapseach command-line command and craft
it similar to:
(using the Linux version of the OpenLDAP command syntax below)
ldapsearch -x -LLL -h your.ldapserver.dns.name -p
your.ldap.server.port.number -D cn=an.account.in.your.apacheDS -W (will
prompt for password) -Z -b
(the.search.base.where.your.user.accounts.are.located "(objectclass=*)"
Once you get this working you can script it and put it into a crontab or
scheduled task and pass an alert to your email, pager or etc when it is
down.
On 7/23/20 5:33 PM, Emmanuel Lécharny wrote:
> Hi !
>
> the easiest way to check if your server is running is to use Studio :
>
> https://urldefense.proofpoint.com/v2/url?u=http-3A__directory.apache.org_studio_users-2Dguide_2.0.0.v20200411-2DM15_ldap-5Fbrowser_gettingstarted-5Fcreate-5Fconnection.html&d=DwIC-g&c=eLbWYnpnzycBCgmb7vCI4uqNEB9RSjOdn_5nBEmmeq0&r=Pa2DB88IW_s2TyLfktHtWA&m=O5fTdaZJTyWggYsUimumueSH40o7jQdiqDwJb1V5epI&s=HUjri3VH_voJvoMPJTsN-jnIMNXwPq0jVVaK5SSq2dU&e=
>
> then open the connection and you should be able to broiwse the tree.
>
> On 23/07/2020 16:34, Turkhan Badalov wrote:
>> Hello, Apache Directory team!
>>
>> I am trying to start with Apache DS and have absolutely 0 background.
>> All seems pretty good, thanks for putting the guide together.
>> However, I can't find a step or section that would explain how to run
>> the server and just test that it is working, that I got it on my
>> machine. Something like "Hello, world" for Apache DS. Maybe you would
>> like to add it as well?
>>
>> Cheers,
>> Turkhan.
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@directory.apache.org
> For additional commands, e-mail: users-help@directory.apache.org
>
--
D o n a l d L o h r
I n f o r m a t i o n S y s t e m s
J a m e s M a d i s o n U n i v e r s i t y
5 4 0 . 5 6 8 . 3 7 3 0
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@directory.apache.org
For additional commands, e-mail: users-help@directory.apache.org
Re: Any hello world guide?
Posted by Emmanuel Lécharny <el...@gmail.com>.
Hi !
the easiest way to check if your server is running is to use Studio :
http://directory.apache.org/studio/users-guide/2.0.0.v20200411-M15/ldap_browser/gettingstarted_create_connection.html
then open the connection and you should be able to broiwse the tree.
On 23/07/2020 16:34, Turkhan Badalov wrote:
> Hello, Apache Directory team!
>
> I am trying to start with Apache DS and have absolutely 0 background. All seems pretty good, thanks for putting the guide together. However, I can't find a step or section that would explain how to run the server and just test that it is working, that I got it on my machine. Something like "Hello, world" for Apache DS. Maybe you would like to add it as well?
>
> Cheers,
> Turkhan.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@directory.apache.org
For additional commands, e-mail: users-help@directory.apache.org