fotonauts/mongo-objc-driver — pull request #2 by yllan (2011-11-17 09:26:20+00:00)
Title: Authenticate with database name will be override to "admin"

I believe it's a typo.

in `[MODServer authenticateSynchronouslyWithDatabaseName: userName: password: error:]`, the condition

if ([databaseName length] == 0) {
dbName = [databaseName UTF8String];
} else {
dbName = "admin";
}

should be swap.