You also need the xdbc:* privs to actually do much but this error looks like 
user/password authentication not roles/privs


----------------------------------------
David A. Lee
Senior Principal Software Engineer
Epocrates, Inc.
[email protected]<mailto:[email protected]>
812-482-5224

From: [email protected] 
[mailto:[email protected]] On Behalf Of Geert Josten
Sent: Wednesday, November 30, 2011 9:41 AM
To: General MarkLogic Developer Discussion
Subject: Re: [MarkLogic Dev General] Privileges to connect xdbc server in 
MarkLogic Server 4.0

Hi Mariano,

It should be possible to connect with any user, and one with admin role for 
sure.

The name of the admin user may not be 'admin' though (any user with admin role 
will do). Also, make sure you got the password right. Try logging in on the 
admin interface using the credentials you are passing in. If that succeeds, 
than they should work..

Kind regards,
Geert

Van: 
[email protected]<mailto:[email protected]>
 
[mailto:gener<mailto:gener>[email protected]<mailto:[email protected]>]
 Namens Mariano Grau Calín
Verzonden: woensdag 30 november 2011 12:31
Aan: [email protected]<mailto:[email protected]>
Onderwerp: [MarkLogic Dev General] Privileges to connect xdbc server in 
MarkLogic Server 4.0


Hi all,

Admin user can not connect to xdbc server by default in 4.0?

I have tried from a xcc.net<http://xcc.net> program and throw this exception:

Unhandled Exception: com.marklogic.xcc.exceptions.RequestPermissionException: A
thorization failed for user 'admin'.
 [Session: user=admin, cb=Xdata [ContentSource: user=admin, cb=Xdata [provider:
address=10.49.8.246/10.49.8.246:8003<http://10.49.8.246/10.49.8.246:8003>, 
pool=0/64]]]

What privileges are need to connect to xdbc server?


Mariano Grau
Dpto. Sistemas
Grupo Joly
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to