Tech Rocks

Coldfusion
Java
JQuery

An online resource for latest web technologies like Coldfusion, JRun, Pro*C, JQuery, HTML5, PHP, W3C, Java, J2EE, C, C++, ORACLE, PL/SQL, MySql, Ajax, Coldbox, Fusebox, UNIX, JavaScript, NodeJS and much more... contact@tech-rocks.org

Wednesday, August 29, 2012

Installing Open Blue Dragon on Google App Engine

Google Plugin for Eclipse 4.1 (Juno)

Check this link for details on the Google Plugin.

For online installation refer this link

For offline installation refer this link

Install the Google plugin for Eclipse and Get started with App-engine

Wednesday, August 22, 2012

Cloud Storage

Windows Skydrive – 8 GB

Dropbox – 5 GB

Box – 5 GB

Amazon Cloud Drive – 5 GB

Ubuntu One – 5 GB

Google Drive – 5 GB

Evernote – 2 GB

Zumo Drive – 2 GB

Picassa – 1 GB

ADrive – 50 GB

DriveHQ – 1 GB

SugarSync – 5 GB

4shared – 15 GB

Zero PC – 2GB

Wednesday, May 30, 2012

Google Apps Access domain users calendars



<script language="javascript">

$(document).ready(function() {         $('#dataProcessingIFrame').attr("src","http://www.google.com/calendar/embed?src=user%40domain.com&ctz=Asia/Dubai");
  });
 function changeurl(sel) {
    var value = sel.options[sel.selectedIndex].value;
   var url = "http://www.google.com/calendar/embed?src=user%40domain.com&ctz=Asia/Dubai";
    url = url.replace("user", value);
    $('#dataProcessingIFrame').attr("src",url);
}
 function openurl(sel) {
    var value = sel.options[sel.selectedIndex].value;
   if(value != "0") {
     var url = "http://www.google.com/calendar/embed?src="+value+"%40domain.com&ctz=Asia/Dubai";
        window.open(url,'_blank','width=600,height=600');
    }
 }
</script>



<select name="users" onchange="javascript: openurl(this);"> <option selected="" value="0">Select User</option> <option value="user">user@domain.com</option></select>

Tuesday, December 27, 2011

OpenLDAP testing on Cygwin

jeetu@FVC-Jeetu /usr/local/libexec
$ ./slapd.exe
jeetu@FVC-Jeetu /usr/local/libexec
$ ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts
# extended LDIF
#
# LDAPv3
# base <> with scope baseObject
# filter: (objectclass=*)
# requesting: namingContexts
#
#
dn:
namingContexts: dc=jeetualex,dc=info
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
jeetu@FVC-Jeetu /usr/local/libexec
$ cat > jeetu.ldiff

jeetu@FVC-Jeetu /usr/local/libexec
$ cat > jeetu.ldif
dn: dc=jeetualex,dc=info
objectclass: dcObject
objectclass: organization
o: fvc
dc: jeetualex
dn: cn=Manager,dc=jeetualex,dc=info
objectclass: organizationalRole
cn: Manager
[1]+  Stopped                 cat > jeetu.ldif
jeetu@FVC-Jeetu /usr/local/libexec
$ ls -l
total 1601
-rw-r--r-- 1 jeetu Domain Users     174 Dec 27 20:27 jeetu.ldif
-rw-r--r-- 1 jeetu Domain Users       0 Dec 27 20:27 jeetu.ldiff
-rwxr-xr-x 1 jeetu Domain Users 1578510 Dec 27 18:16 slapd.exe
jeetu@FVC-Jeetu /usr/local/libexec
$ rm jeetu.ldiff
jeetu@FVC-Jeetu /usr/local/libexec
$ ls -l
total 1601
-rw-r--r-- 1 jeetu Domain Users     174 Dec 27 20:27 jeetu.ldif
-rwxr-xr-x 1 jeetu Domain Users 1578510 Dec 27 18:16 slapd.exe
jeetu@FVC-Jeetu /usr/local/libexec
$ vi jeetu.ldif
jeetu@FVC-Jeetu /usr/local/libexec
$ ldapadd -x -D "cn=Manager,dc=jeetualex,dc=info" -W -f jeetu.ldif
Enter LDAP Password:
adding new entry "dc=jeetualex,dc=info"
adding new entry "cn=Manager,dc=jeetualex,dc=info"

jeetu@FVC-Jeetu /usr/local/libexec
$ ldapsearch -x -b 'dc=example,dc=com' '(objectclass=*)'
# extended LDIF
#
# LDAPv3
# base <dc=example,dc=com> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#
# search result
search: 2
result: 32 No such object
# numResponses: 1
jeetu@FVC-Jeetu /usr/local/libexec
$ ldapsearch -x -b 'dc=jeetualex,dc=info' '(objectclass=*)'
# extended LDIF
#
# LDAPv3
# base <dc=jeetualex,dc=info> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#
# jeetualex.info
dn: dc=jeetualex,dc=info
objectClass: dcObject
objectClass: organization
o: fvc
dc: jeetualex
# Manager, jeetualex.info
dn: cn=Manager,dc=jeetualex,dc=info
objectClass: organizationalRole
cn: Manager
# search result
search: 2
result: 0 Success
# numResponses: 3
# numEntries: 2
jeetu@FVC-Jeetu /usr/local/libexec
$

Monday, December 26, 2011

LDAP Server sync to Google Apps

These are the requirements:

  1. Google Apps for Business/Education/Government
  2. Google Apps Admin Account login/OAuth Credentials
  3. Provisioning API enabled
  4. Server 5 GB (debug mode), 1 GB RAM for 10000 users or 2 GB for more users
  5. READ and EXECUTE access to the ou structure on LDAP server
  6. Network access to Google Apps Server via, HTTPS
  7. Mail server that accepts relay notifications from the tool

User provisioning in Google Apps

Create manually – 1-10 users

Bulk upload – 10 – 100 isers

LDAP Directory Sync – 100 above users also sync the contact, group and global address list, profiles

Provisioning API – 3rd party tools

Creating users in Google Apps

Check the video here.

If you have multiple domains associated with your Google Apps account, the field to the right of the @ sign is a drop-down list with the available domains. The domain you select will be the portion of the user's email address that appears after the @ sign.

Click Email instructions or Print instructions to deliver the account information to the new user.

It can take up to 24 hours for new user accounts to appear in the searchable Directory.

Methods for domain verification for Google Apps

You must verify your domain before you can use Gmail or any of your other new services.

  1. Create a TXT record - Up to 48 hours
  2. Upload an HTML file - An hour
  3. Add a <meta> tag to your home page - An hour
  4. Verify using your Google Analytics tracking code - within 24 hours

If you signed up for Google Apps, you must verify domain ownership within 14 days. For Google Apps for Business or Education, you have 21 days. If you don't verify ownership within this timeframe, we'll remove your domain and data from our system. If you want to use Google Apps in the future, just sign your domain up, again. Google Apps for Business, you can contact our Support team for help with other verification or setup tasks.

See this link for more information

Compare Google Apps Editions

Check this link for the comparisons