October 25, 2011 0

Copy Receive Connectors from one Exchange Server to another

By in Microsoft

CASE: I added a new Exchange Server CAS and needed to create a special Receive Connectors that has alot of IP Addresses like printers and other services.

Doing this manually is a pain in the ass! But with only a command we can accomplish this!

CAS1 Being the server that I will copy the Receive Connector and CAS2 the new server where I will create the same connector as on the CAS1:

New-ReceiveConnector "Special Servers" -Server CAS2 -Bindings 0.0.0.0:25 -RemoteIPRanges ( Get-ReceiveConnector "CAS1\Special Servers" ).RemoteIPRanges

Tags:

September 13, 2011 0

Add User to Public Folder – Recursive Permissions

By in Microsoft, Windows Server

This is normaly a pain in the ass!

But Microsoft has some cool scripts to add recursive permissions to the Public Folders. My example is from Exchange Server 2010 but it works on earlier versions too!

Navigate to your Exchange installation dir, for example (DO THIS IN POWERSHELL):

C:\Program Files\Microsoft\Exchange Server\V14\Scripts>

Now execute this command:

.\AddUsersToPFRecursive.ps1 -TopPublicFolder "\badLink Docs" -User "John" -Permission Owner

Tags: , , ,

February 23, 2011 0

AsbestOS v2.0 Released for PS3 !

By in Linux, PS3

asbestOS

My friend kha0S and PS3 hacker kmeaw released a new version of Linux loader slash installer (only in external disk for now… :D ) ! This is great for all the people that want the other OS option again!

I tried the asbest OS v1.2 and was great! Now I will try this that is a major improvement in every aspect!

So go check their site @ http://ps3.khore.org/asbestos-v20-released

Tags: , , ,

December 29, 2010 0

Setting Permissions recursively via Command Prompt

By in Microsoft

I had to kill an old File Server in Windows Server 2000 but needed to copy all the shares to the new NAS.

I use robocopy for the copying itself but i got to the problem about permissions on the user. I needed to keep all other permissions and add myself to them.

I FOUND A GREAT PROGRAM! ——->  SetACL

This allowed me to put myself with self control in every folder and file specifying only the root dir! :)

The program is much more than this, so check all the examples HERE.

My Commands:

robocopy.exe sourcedir destinationdir /R:0 /W:0 /MIR /COPYALL /LOG:c:\admin\robocopy.log

NOTE: The robocopy comes with Windows.

SetACL -on h:\Example(rootdir) -ot file -actn ace -ace n:domain\user;p:full

This worked like a charm! :) Very good program! Use it! :)

Tags: , , ,

December 10, 2010 2

Allow users to Change IP Address with Group Policy (GPO)

By in Microsoft, Windows Server

I saw many people asking around the web how to this by GPO. To allow users to change IP Address settings on the windows machine they logon with a GPO.

Well in this case you will need to user Restricted Groups on the GPO.

First create a Security Group that you will use to put the users that you want to allow to change the IP on their local machines.

I will use domain users just as an example (YOU SHALL NOT do this)!

I named the new GPO as Allow_Users_Change_IP_Address.

Now Right Click and choose Add Group…

Here you will choose the group you created for users that will be able to make the changes.

Now this new window appear and you will add the following group -> Network Configuration Operators

What will this do? This will add your created group, to the local group Network Configuration Operators in all the computers in the OU that has this policy linked!

Now just click ok and that is it! :)

Quite simple! :)

Any questions, ask in the comments!

Tags: , , ,

December 9, 2010 0

Cross Forest Trust – Windows Server 2008 R2

By in Microsoft

Hi all

I had a task to create a Cross Forest Trust.

I had two independent Forests natively in Windows Server 2008 R2. For example purpose I will name them F1.local and F2.local.

I’m posting this because i found some problems along the way that might help some one if they get into this.

Begin

Do this on Domain Controller of F1.local

Start -> Administrative Tools -> Active Directory Domains and Trusts

Right Click on F1.local -> Properties -> Go to tab Trusts and click on New Trust…

This is pretty straightforward. In the domain camp put F2.local and Next. This is were i got problems. It didn’t recognize that as a Windows Domain, he asks if you want to configure this as a Realm Domain. You don’t, you want Windows Domain trust. This is of course a DNS problem but may not be that simple. I googled and found two types of problems and the solutions for them.

First IPv6 enabled on the interfaces! Go to properties of NIC and deselect IPv6. Now go back to create the Trust! I think that it will still not work. That lead us to the second problem that for sure will solve.
Being this a DNS problem, F1.local cant find F2.local, we will create on the DNS a Conditional Forwarder for each Forest.

On F1.local:

Start -> Administrative Tools -> DNS
Right Click on Conditional Forwarders -> New Conditional Forwarder..

DNS Domain:
F2.local

IP addresses of the master server:
Add here the ip of F2.local Domain Controller

Select the Store this Conditional Forwarder in Active Directory, and replicate is as follows:
All DNS Servers in the forest

OK+ Now repeat the same on F2.local Domain Controller and put the DATA related do F1.local .

Before you go jumping to try to create the Trust, open Command Prompt and do a ipconfig /flushdns .

After this on F1.local you can make the Cross Forest Trust. You only need to this on F1.local, you will choose your options in the steps.

Hope this can help some one. Any questions just post in the comments!

Cheers
pLASTIK

Tags: , , ,

November 30, 2010 0

LCARS Star Trek PC Controller

By in DIY

Wow this is really nice! This is a PC with Star Trek LCARS interface.

I would like one of those! :)

Authors Website: http://codeimp.com/

Check the video!

Tags: , ,

September 23, 2010 0

Kraken Javascript Benchmark

By in OSX86

Hi all! New Javascript benchmark!

This is a Javascript benchmark based on sunspider . This is brought by mozilla.

It’s called the Kraken! :)

I run those bench on my Hackintosh Snow Leopard 10.6.4.

My specs:

Intel core i7 940 2.93
6GB Ram Tri-Channel 1600 (Though on OSX it appears 667MHz, need to check this)
PATA Disc
MB: Asus Extreme Rampage II

The benchmark results:
Firefox
Chrome

I will update this with other OS on the same machine.
Last update: 23 September 2010

Tags: , , ,

July 30, 2010 0

Guake terminal

By in BSD, Linux

WOW! This i can call a great app for *nix!

Guaker terminal, like the FPS games where we can call the terminal, here we can call a shell.

It works great and is a very fast tool for work.
Just press F12 it will come down. Then F11 if you like full screen.

Check it @ www.guake.org

Tags: , ,

March 15, 2010 0

The Cassandra Distributed Database

By in WEB & DATABASES

One friend of mine told me about this.

Relational databases have a problem on heavy load sites. This project born on Facebook and went open source in 2008.

On their site in one slideshow they compare a performance  with 50GB to MySQL, results:

MySQL:

300 ms write

350 ms read

Cassandra:

0.12 ms write

15 ms read

WOW! :)

Cassandra Wiki

Cassandra is a highly scalable, eventually consistent, distributed, structured key-value store. Cassandra brings together the distributed systems technologies from Dynamo and the data model from Google’s BigTable. Like Dynamo, Cassandra is eventually consistent. Like BigTable, Cassandra provides a ColumnFamily-based data model richer than typical key/value systems.

Cassandra was open sourced by Facebook in 2008, where it was designed by Avinash Lakshman (one of the authors of Amazon’s Dynamo) and Prashant Malik ( Facebook Engineer ). In a lot of ways you can think of Cassandra as Dynamo 2.0 or a marriage of Dynamo and BigTable. Cassandra is in production use at Facebook but is still under heavy development.

Check it @ Cassandra

Tags: ,