Comments (12)
@szauri Is the problem with version 5.0.0. or 6.0.0-rc1 or a local build?
from schemaspy.
with schemaspy-6.0.0-rc1
from schemaspy.
@szauri Could you please try to provide the username via command line argument instead of via config file?
Example:
java -jar schemaspy-6.0.0-rc1.jar -u uzytkownik ...
If this works we can narrow the bug analysis on the properties file.
Additionally could you provide some information about the operation system you're running SchemaSpy on and which database you're trying to analyze?
The exception message contains LDAP
, there is also some relevant context information regarding the setup?
Thanks!
from schemaspy.
I'm working on windows 7, and connecting to netezza.
I test it using command line with the same results:
c:\shemaspy>java -jar schemaspy-6.0.0-rc1.jar -t netezza -dp nzjdbc.jar -db <BAZA> -host <IP> -port <PORT> -u uzytkownik ...
results:
cze 02, 2017 11:33:44 AM org.springframework.context.annotation.AnnotationConfig ApplicationContext prepareRefresh INFO: Refreshing org.springframework.context.annotation.AnnotationConfigApplicat ionContext@7cd84586: startup date [Fri Jun 02 11:33:44 CEST 2017]; root of conte xt hierarchy cze 02, 2017 11:33:44 AM org.schemaspy.Config loadProperties INFO: Configuration file not found Using database properties: c:\shemaspy\netezza.properties Failed to connect to database URL [jdbc:netezza://IP:PORT/BAZA] org.netezza.error.NzSQLException: LDAP authentication failed for user 'UZYTKOWNIK' ....
from schemaspy.
I'm afraid that the main issue here is that SchemaSpy doesn't has support for netezza database.
Here you will find list of supported databases https://github.com/schemaspy/schemaspy/tree/master/src/main/resources/org/schemaspy/types
We should build in the documentation section when we can provide list of supported database types.
In my opinion first we need to add configuration file for IBM Netezza database and after you can check it again.
from schemaspy.
I prepared config file for netezza and it works. I tested it on netezza local user.
Problem is with authentication based on LDAP user. LDAP username is case sensitive, and schemaspy upercase my (lowercase) username.
from schemaspy.
@szauri
I've debugged version 6.0.0-rc1 and for command-line supplied user it doesn't uppercase the username.
Since the driver is proprietary I can't actually test if the driver does something funny with the username.
I found this ldap-troubleshooting
and this sysadmin_ldap
I know nothing about netezza but found something interesting in dbuser_set_authentication
For LDAP you can actually specify if the username is stored in LDAP in upper or lower-case. So it might be netezza that uppercases the username when using LDAP. Also the first link has a command to check which databases/datasources a user has access to, and also most of the links contains path to the netezza log which might contain additional information as to why you get the authentication error.
I hope this helps a bit.
from schemaspy.
@szauri If you get it working would you mind sharing the database config so that we can add it?
from schemaspy.
@szauri it will be very welcome, if you can prepare the PR with configuration for IBM Netezza it can help others users of SchemaSpy
Usually we are not fixing issues with LDAP and some specific JDBC drivers, so the issue that you have is not directly SchemaSpy related...
If we can help you somehow please let us know, if not I will close this issue.
from schemaspy.
Schemaspy with netezza works almost "out of the box". My netezza.properties looks like follows (based on postgresql properties).
netezza.properties.txt
from schemaspy.
@szauri did you figure out the problem with LDAP if so I'm assuming that it had nothing to do with schemaspy and that we can add your properties file to schemaspy.
from schemaspy.
Thanks for help, i will work with my admins.
from schemaspy.
Related Issues (20)
- Informix error when processing routines HOT 6
- [proposal/improvement] option to hide functions from the docs
- Sqlite Generated Columns fire InconsistencyException and create wrong diagrams HOT 2
- Separation of configurations HOT 1
- Warning: cell size too small for content in label of node user HOT 1
- Parent, Rows, Children in diagram looks bad
- Publish exactly the same jars HOT 4
- Incorrect parent/child count in relationships implied graph
- Orphans diagram has all nodes on same rank creating a long list HOT 5
- Docker release image use same artifacts as maven
- Release issues HOT 4
- Replace GH pages for snapshot with OSSHR
- Configuration problem for TeraData (schema) HOT 4
- Exclude table option (-I ) not functionning HOT 12
- schemespy is not creating folder HOT 2
- [Feature request] Add table description to the relation diagrams
- Incorrect edge rendering with latest graphviz HOT 2
- SchemaSpy: Error: java.lang.UnsupportedClassVersionError HOT 2
- Wrong queries for Postgres HOT 3
- Add a "comment" column to a table of routines parameters. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from schemaspy.