On my network I have an Ubuntu 12.04 server running Samba4, my domain is fully configured and functional.

Now, I would like to enable VPN access over the internet, and have another box to do so. I have been searching on the internet for guides and information etc, but have not been successful.

I have however found this guide http://www.howtogeek.com/51237/setting-up-a-vpn-pptp-server-on-debian/ but was wondering if I could adapt it somehow to enable access to my DC services.

EDIT: I would need to authenticate my VPN server with my DC, if that is possible of course.

Any insight would be wonderful.

Regards,
Jack Hunt


Question: Weird crash using Restkit MainQueueManagedObjectContext - EXC_BAD_ACCESS
Answer: Your saveMainContext method should only be called from the main thread and should simply be implemented as:

- (BOOL)saveMainContext
{
    NSError *error = nil;
    if ([[[[CoreDataManager sharedInstance] objectStore] mainQueueManagedObjectContext] saveToPersistentStore:&amp;error]) {
        contextSaved = YES;
    } else {
        NSLog(@"Save error: %@", error);
    }

    return contextSaved;
}


Calling an instance of UIBarButtonItem suggests that you have a memory management issue in that something which is observing the context save is not removing itself before it is deallocated. Check all of your observers.