Posted on March 15, 2008 in Other by sverdianto2 Comments »

Unccl Oveguqnl Fhxzn :Q

Posted on March 14, 2008 in Office, Java by sverdianto1 Comment »

Well, I’ve previously developed an SSO (Single Sign On) system build on on top of CAS and Spring. It integrate famous products from Atlassian called Confluence and Jira.
It was a bit hard to do LDAP user and group management in older version of Confluence and Jira.

I just requested by client to setup Confluence+LDAP integration for user authentication only (note that this is not including LDAP user & group managemet) using ActiveDirectory.

I am surprised that doing this now (in Confluence 2.7.x) is more simple than what I did before.

Here is what I do to make it works:
Firstly, Go to confluence installation dir (%CONFLUENCE_HOME%).

Edit %CONFLUENCE_HOME%/confluence/WEB-INF/classes/atlassian-user.xml and add lines below:


<ldap key="exampleLdapRepository" name="Example LDAP Repository" cache="true">
    <!-- server config -->
    <host>ad.example.com</host>
    <port>389</port>
    <securityPrincipal>cn=user,ou=admins,dc=example,dc=com</securityPrincipal>
    <securityCredential>password</securityCredential>
    <securityProtocol>plain</securityProtocol>
    <securityAuthentication>simple</securityAuthentication>
    <baseContext>ou=users,dc=example,dc=com</baseContext>

    <!-- tree config -->
    <baseUserNamespace>ou=users,dc=example,dc=com</baseUserNamespace>
    <baseGroupNamespace>ou=groups,dc=example,dc=com</baseGroupNamespace> <!-- ignored -->
    <usernameAttribute>cn</usernameAttribute>
    <userSearchFilter>(objectClass=user)</userSearchFilter>
    <firstnameAttribute>displayName</firstnameAttribute>
    <surnameAttribute>sn</surnameAttribute>
    <emailAttribute>mail</emailAttribute>
    <groupnameAttribute>cn</groupnameAttribute>
    <groupSearchFilter>(objectClass=ignoredSinceWeUseUserAuthOnly)</groupSearchFilter>
    <membershipAttribute>member</membershipAttribute>
    <userSearchAllDepths>true</userSearchAllDepths>
    <groupSearchAllDepths>false</groupSearchAllDepths>
</ldap>

Above task will enable authentication to LDAP. Since we’re not managing groups in LDAP, now the problem is authenticated users does not belong to any group so that they can’t use Confluence (minimum group is confluence-users). Therefor we need to use Dynamic-Group plugin so authenticated users will automatically joined to groups that already specified by admin in configuration files.

LDAP Dynamic Groups Plugin

It seems like the page is never updated :p. Someone has reported that the plugin didn’t work for Confluence 2.7 or later. :(
But, I finally found that the plugin is actually shipped with confluence 2.7 :D. what you need to do is edit %CONFLUENCE_HOME%/confluence/WEB-INF/classes/seraph-config.xml and,

Replace:


<authenticator class="com.atlassian.confluence.user.ConfluenceAuthenticator"/>

With:


<authenticator class="com.atlassian.confluence.user.ConfluenceGroupJoiningAuthenticator"/>

Save, and restart tomcat. All LDAP users under ou=users,dc=example,dc=com now should be able to use Confluence ;)

References:
- Add LDAP Integration
- Customising atlassian-user.xml
- Automatically Adding LDAP users to confluence users Group

Posted on March 13, 2008 in Internet, Mobile by sverdianto1 Comment »

Baru saja ketika perjalanan pulang dari kantor ke kos, saya kebetulan sedang kebelet jadi jalan cepat menuju wese terdekat di Botani Square :D.
Entah pas jalan didepan A&W (karena saya masuk melalui pintu dekat A&W) penasaran mata nengok ke kiri yang ternyata ada stand CBN 3G internet.
Berhubung kondisi tidak memungkinkan untuk mampir dulu, saya lanjut jalan menunaikan tugas :D ke wese.

Kembali lagi, akhirnya saya penasaran dan bertanya ke stand yang sudah hampir tutup itu.
“Mas boleh tanya-tanya gak tentang CBN 3G?”, dia yang sedang duduk-duduk menanti stand tutup dan beres-beres spontan berdiri melihat saya bertanya dengan suara keras. (Kaget mungkin :p).

..tanya jawab & basa basi…

Akhirnya saya ditawari paket CBN 3G yang katanya support UMTS dan HSDPA,

Jenis Layanan 3G Zero 3G 500 3G 1000
Pendaftaran Rp. 50.000 Rp. 50.000 Rp. 50.000
Biaya Bulanan Rp. 30.000 Rp. 165.000 Rp. 300.000
Limit Pemakaian 0 KB 500.000 KB 1.000.000 KB
Kelebihan Pemakaian Rp. 0.35/KB Rp. 0.30/KB Rp. 0.38/KB
Free Hotspot/Bulan 2 Jam 5 Jam 8 Jam

* Belum termasuk PPN 10% :(
* Sedang promosi, jadi biaya pendaftaran gratis :P
* Aktif ditempat :)

Dan saya akhirnya berlangganan 3G 500, dicoba dulu, nanti bisa disesuaikan dengan keperluan.

Berikut hasil test kecepatan menggunakan test kecepatan dari CBN dan Indosat,
CBN:
- Download : 724 kbps
- Upload : 58 kbps
Indosat:
- Download : 664.6 kbps
- Upload : ?

Skrinsyut:
CBN 3G - CBN Speed Test
 
CBN 3G - Indosat Speed Test