Git Product home page Git Product logo

daft's People

Contributors

monoxgas avatar nullbind avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

daft's Issues

Tool fails to connect if master database's collation is case-sensitive

There are scenarios in which master database has set COLLATION to Case-Sensitive, which might result in following rather cryptic connection error message:

] SQL01: SQL Exception Occured: Cannot open database "Master" requested by the login. The login failed.
Login failed for user 'john.doe'.

To check if master is case-sensitive run the following query:

select SERVERPROPERTY('COLLATION');

and look for CS = Case-Sensitive or CI = Case-Insensitive.

That happened to me during the engagement whilst authenticating via SQL Server Authentication.

Simply changing master's hardcoded database name was enough to successfully authenticate and operate using the tool:

private string database = "Master";

This error costed me several hours troubleshooting and banging my head against the wall. I think, that both PowerUpSQL and DAFT could benefit from a global "query-maintenance" functionality adapating database name case-sensitiveness based on supplied parameters.

Kind regards,
Mariusz

ServerLoginDefaultPw module

The switch case statement in Program.cs to see what module is being used has the module name as "serverdefaultloginpw" instead of "serverlogindefaultpw" as it is everywhere else in the code including the help text.

Also, DefaultCredentials.xml that the module relies on doesn't get embedded in the assembly, so it goes looking for it on-disk instead. I tried to whip up a quick fix for it but i'm mid-engagement and my expected fix isn't working. Posting this so it's written down somewhere, in case i forget to fix it myself and submit a PR.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.