Samba: access denied to user 'nobody'
I'm trying to access to a share with no password using nobody user.
Clicking on the share does not appear the dialog box where you need to enter your user name and password: simply told me that access is denied (from both Kubuntu and Win7).
# grep 'nobody' /etc/passwd
nobody:x:99:99:nobody:/:/bin/false
# cat /etc/samba/smbusers
nobody = guest
# cat /etc/samba/smb.conf
[global]
workgroup = WORKGROUP
security = user
Map to guest = Bad User
username map = /etc/samba/smbusers
[fooshare]
comment = blablabla
path = /path/of/the/share
guest ok = yes
SOURCE
Last edited by addamm (2014-01-03 19:06:48)
- security = user
+ security = share
"Note, security levels for a single Samba server cannot be mixed."
As it seems like you are possibly trying to mix both from your config file.
Share-level access is far less secure and old.
http://www.samba.org/samba/docs/using_s … -9-TABLE-4
but still works fine.
some concise examples https://www.centos.org/docs/5/html/Depl … rvers.html
more
http://www.samba.org/samba/docs/man/Sam … #id2559439
Similar Messages
-
Error...java.sql.SQLException:Access denied for user
Hi,
I am getting the following error message while connecting with the MySQL .(O/S :Sun OS 5.6)
Error.....java.sql.SQLException: Invalid authorization specification: Access denied for user: 'some_user&password@localhost' (Using password: NO)
Note that i have given all permission to the user using,
GRANT ALL PRIVILEGES .......................
The code i have used to connect with the database is,
import java.io.*;
import java.sql.*;
class test
public static void main(String a[])
try
Connection con;
Statement stmt;
ResultSet rs;
Class.forName("org.gjt.mm.mysql.Driver");
con=DriverManager.getConnection(jdbc:mysql://localhost/db_name?user=some_user&password=some_pass");
stmt=con.createStatement();
//do something with resultset
catch(Exception e)
System.out.println("Exception in second try.."+e);
plese guide me on this problem to solve.
Thankz,
Bala.Hi friends...
I've read the last post...
The problem that I have is as follow....
1. I have installed on my machine MySQL 5.0 Server running
1.1 I have a database called "base1"
1.2 User "root", password "works"
1.3 I have the following sentence to connect it using JDBC
Connection con = DriverManager.getConnection("jdbc:mysql://localhost/base1", "root", "works");
More notes:
- I use the JDBC 5.0
- My Machine is a Windows XP SP2 Pentium 3.0 512Mb
and it connects����
but I have this environment to develop applications, now that I want to connect to Production Environment happens the following:
2 The Production database is mounted on a Linux Server with MySQL 3.2.
2.1 I change the sentences as follow:
Connection con = DriverManager.getConnection("jdbc:mysql://192.168.0.7/base1", "user", "password");
2.3 But a message appears when I run the Java Program:
java.sql.SQLException:Access denied for user: '[email protected]' (Using password: YES)
2.4 As you can see it changes the IP Address...
More notes:- I have the MySQL Query Browser and I got connection.
- The IP that display the Error Message is my Second IP configurated on my Network Properties.
- Server is a Pentium 4 3.0 GHz 2Gb Linux Red Hat 3.0
I leave this case for the spider... I hope that somebady has the solution.
What is the problem? Why the JDBC doesn't respect the IP that I wrote. -
BI Dashboard - access denied for user to path /users/administrator/_portal/
Hi,
While I am within OBI EE, I try to access My Dashboards and I get this error message:
" access denied for user to path /users/administrator/_portal/dashboard layout.
Error Details
Error Codes: O9XNZMXB "
I have looked in other forums and found a solutions which was to delete cookies and then restart the system whole. It didn´t work at first. After a while, the system would allow me to access My Dashboards but then....
....I wasn´t able to access the shared filters that are on the network, thus impeding my others dashboards to work.
Does anybody know what the correct procedure for having this work is?
Thanks in advance,
Javier RinconHi...
go to Catalog Manager.
Open and navigate to particular folder (_portal in shared)
right click that and go to permissions.
In left pane are you able to see the presentation Administrator ??
If then, check what kind of permission Administrator has (full control or not), if not.. add Administrator into this pane from right pane (In the right pane, You can see the user by Unchecking the check box present below show groups only check box.)
you didn't tell with whom you logged in?
If administrator then follow the steps i mentioned,
else... same steps but instead of administrator check it for particular user.
Thanks & Regards
Kishore Guggilla -
hi all can anyone help me i am geting Exception while starting LCES server
: Could not create connection; - nested throwable: (java.sql.SQLException: Access denied for user 'adobe'@'localhost' (using password: YES))hi all can anyone help me i am geting Exception while starting LCES server
: Could not create connection; - nested throwable: (java.sql.SQLException: Access denied for user 'adobe'@'localhost' (using password: YES)) -
MySQL connection with OWB 11gR2 results in "access denied for user"
Hello,
I just try to establish a connection to a MySQL database with OWB 11gR2, but I always get the error "access denied for user...". I did the things written on [http://blogs.oracle.com/warehousebuilder/2010/01/owb_11gr2_mysql_open_connectivity.html] and I also used the platform configuration from this description. Newest JDBC driver was downloaded and I put the jar-file into the folder OWB_HOME/owb/lib/ext. The definition of the MySQL platform worked and the entry "MySQL" was created in OWB, but no connection can be established. I also tried other tools like MySQL Administrator in order to find out whether the problem is caused by network configuration or sth. like that, but with this tool the connection works.
OWB is installed on OpenSuse 11.1 64bit. Does anyone know why this error occurs? Perhaps I missed some configuration tasks, which I don't know so far?
I'm looking forward to your answers.
Greetings
JoergHi David,
thank you for your reply. The corresponding user has already got this host setting. Anyway he got the wildcard '%' and with other tools I can connect.
I solved the problem now due to just trying around with usernames. The error was quite funny: OWB changes the username always into upper case and MySQL cannot handle this username. The username must match 100% to be able to login.
Now I just changed the user in MySQL and wrote the username in upper case. But in fact I would like to know if it is possible to avoid that OWB changes the username, with quotes it didn't work ;-)
Greetings
Joerg
UPDATE:
Now I'm facing another problem: the connection works, but I cannot import any metadata. When I click on "Browse" to select the correct schema in MySQL DB, no result is displayed. The user anyway has go the privileges to select data from this schema. I also tried to provide the user with every possible privileges for this schema, but I still cannot select any schema. When I write the schema manually and then try to import database objects iin OWB the error message "definitions of userdefined metadata interface are invalid" is displayed (translated from german, so the wording could be different). Does anybody have an idea what the problem could be?
Edited by: Scantid on 15.01.2010 00:41 -
[solved] mysql suddenly access denied for user root ..
Hi folk,
I am in total panic right now!
As of an hour ago i suddenly got 'Error establishing a database connection' from all of my sites
I then first tried to login through phpmyadmin but got #1045 Cannot log in to the MySQL server
I then tried to login through the terminal but got ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
I am not really sure where to find solutions because primarily this error is on new installs:
I have tried the following :
mysql_safe --skip-grant-tables
[odp@odp ~]$ sudo mysqld_safe --skip-grant-tables &
[4] 3181
[odp@odp ~]$ 140115 19:43:50 mysqld_safe Logging to '/var/lib/mysql/odp.err'.
140115 19:43:50 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
140115 19:43:52 mysqld_safe mysqld from pid file /var/lib/mysql/odp.pid ended
[4] Done sudo mysqld_safe --skip-grant-tables
here is the odp.err
140115 19:25:41 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
140115 19:25:41 InnoDB: The InnoDB memory heap is disabled
140115 19:25:41 InnoDB: Mutexes and rw_locks use GCC atomic builtins
140115 19:25:41 InnoDB: Compressed tables use zlib 1.2.8
140115 19:25:41 InnoDB: Using Linux native AIO
140115 19:25:41 InnoDB: Initializing buffer pool, size = 128.0M
140115 19:25:41 InnoDB: Completed initialization of buffer pool
140115 19:25:41 InnoDB: highest supported file format is Barracuda.
140115 19:25:41 InnoDB: Waiting for the background threads to start
140115 19:25:42 Percona XtraDB (http://www.percona.com) 5.5.34-MariaDB-31.1 started; log sequence number 38562281
140115 19:25:42 [Note] Plugin 'FEEDBACK' is disabled.
140115 19:25:42 [ERROR] /usr/bin/mysqld: unknown option '--skip-grant-tables'
140115 19:25:42 [ERROR] Aborting
140115 19:25:42 InnoDB: Starting shutdown...
140115 19:25:42 InnoDB: Shutdown completed; log sequence number 38562281
140115 19:25:42 [Note] /usr/bin/mysqld: Shutdown complete
140115 19:25:42 mysqld_safe mysqld from pid file /var/lib/mysql/odp.pid ended
140115 19:35:48 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
140115 19:35:48 InnoDB: The InnoDB memory heap is disabled
140115 19:35:48 InnoDB: Mutexes and rw_locks use GCC atomic builtins
140115 19:35:48 InnoDB: Compressed tables use zlib 1.2.8
140115 19:35:48 InnoDB: Using Linux native AIO
140115 19:35:48 InnoDB: Initializing buffer pool, size = 128.0M
140115 19:35:48 InnoDB: Completed initialization of buffer pool
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
140115 19:35:48 InnoDB: Retrying to lock the first data file
InnoDB: Unable to lock ./ibdata1, error: 11
InnoDB: Check that you do not already have another mysqld process
InnoDB: using the same InnoDB data or log files.
140115 19:37:28 InnoDB: Unable to open the first data file
InnoDB: Error in opening ./ibdata1
140115 19:37:28 InnoDB: Operating system error number 11 in a file operation.
InnoDB: Error number 11 means 'Resource temporarily unavailable'.
InnoDB: Some operating system error numbers are described at
InnoDB: http://dev.mysql.com/doc/refman/5.5/en/operating-system-error-codes.html
140115 19:37:28 InnoDB: Could not open or create data files.
140115 19:37:28 InnoDB: If you tried to add new data files, and it failed here,
140115 19:37:28 InnoDB: you should now edit innodb_data_file_path in my.cnf back
140115 19:37:28 InnoDB: to what it was, and remove the new ibdata files InnoDB created
140115 19:37:28 InnoDB: in this failed attempt. InnoDB only wrote those files full of
140115 19:37:28 InnoDB: zeros, but did not yet use them in any way. But be careful: do not
140115 19:37:28 InnoDB: remove old data files which contain your precious data!
140115 19:37:28 [ERROR] Plugin 'InnoDB' init function returned error.
140115 19:37:28 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
140115 19:37:28 [ERROR] mysqld: Can't lock aria control file '/var/lib/mysql/aria_log_control' for exclusive use, error: 11. Will retry for 30 seconds
I have also tried the solution where you move the ibdata1 and copy it back with -a to no success.
The result of mysqld_safe --skip-grant-tabels
[odp@odp ~]$ mysqld_safe --skip-grant-tabels &
[4] 3555
[odp@odp ~]$ 140115 19:49:21 mysqld_safe Logging to '/var/lib/mysql/odp.err'.
touch: cannot touch '/var/lib/mysql/odp.err': Permission denied
chmod: cannot access '/var/lib/mysql/odp.err': Permission denied
140115 19:49:21 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
/usr/bin/mysqld_safe: line 138: /var/lib/mysql/odp.err: Permission denied
rm: cannot remove '/var/lib/mysql/odp.pid': Permission denied
/usr/bin/mysqld_safe: line 182: /var/lib/mysql/odp.err: Permission denied
touch: cannot touch '/var/lib/mysql/odp.err': Permission denied
chown: cannot access '/var/lib/mysql/odp.err': Permission denied
chmod: cannot access '/var/lib/mysql/odp.err': Permission denied
140115 19:49:21 mysqld_safe mysqld from pid file /var/lib/mysql/odp.pid ended
/usr/bin/mysqld_safe: line 138: /var/lib/mysql/odp.err: Permission denied
[4] Exit 1 mysqld_safe --skip-grant-tables
any advice is greatly appreciated
Last edited by odp (2014-01-15 19:46:39)OK super random, it works now.
First off I too took and added skip-grant-tables to [mysqld] /etc/mysql/my.cnf
restarted mysqld and finally had passwordless login. From within mysql i ran
UPDATE mysql.user SET Password=PASSWORD('password') WHERE User='root';
FLUSH PRIVILEGES; -
Access Denied creating user accounts through vba
Hello,
I have a MS-Access application that runs on a Windows 2012 server. My customer logs into the server using RDP. The MS-Access application is started up automatically by means of the environment variable in the user settings. The customer needs to be able
to create new windows users for this application, simply by clicking a button.
The VBA script to create users works, because when I start up the MS-Access application with my own logged on Administrators account, the new users get created. If my customer tries it, he gets 'Access Denied' error. I have added his user account to
the Power Users group, but that did not solve the problem. I also tried to make him member of the DCOM Users Group, the 'Access Denied' error remains...
I do not want to give him administrator priviliges, because he is 'just a customer'...
What do I need to do for this setup to work? I tried altering some DCom settings, but frankly I do not have enough knowledge to feel comfortable with this. Hope anybody can help me out here...
best regards, RobIs this a standalone server? Only administrators can create user accounts, so there is no work around for that. You could look at something that has the administrator account/password stored and launch PSEXEC or something else in an elevated session behind
the scenes but that is a security volunerability because the credentials are stored.
If the account is being created in an Active Directory environment you could delegate permissions to the appropriate OU for your customer.
Mark B. Cooper, President and Founder of PKI Solutions Inc., former Microsoft Senior Engineer and subject matter expert for Microsoft Active Directory Certificate Services (ADCS). Known as “The PKI Guy” at Microsoft for 10 years. -
Access Denied for User with Contribute Rights to a SP list
I have two users that I have given Contribute Rights on a SharePoint 2010 site - the SP list in question is inheriting permissions from the Parent site, as well as other lists in the site. These two users can edit items in the all other lists on the
site except for this one in question.
It is only one list that they cannot view or edit list items. They can view the items in the list, but when they try to open an item in display or edit form, it gives the access denied.
Other users on the site are NOT having these issues - with the same permissions.
I researched this problem and have tried various solutions with no luck. I have checked to see that there are NO item level permissions set up; I have deleted the user from the site collection, then added them back, with no luck.
I am at a loss on what to do.
Please helpTimestamp Process
TID Area Category
EventID Level Message Correlation
03/11/2014 10:41:06.17 OWSTIMER.EXE (0x01E4) 0x0AD0 SharePoint Server Search Administration
dmg4 Verbose Groups for process identity 'DOMAIN\spadmin': 'DOMAIN\Domain Users', 'Everyone', 'SHAREPOINT\WSS_ADMIN_WPG', 'SHAREPOINT\WSS_RESTRICTED_WPG_V4', 'SHAREPOINT\WSS_WPG', 'BUILTIN\IIS_IUSRS', 'BUILTIN\Performance Monitor Users', 'BUILTIN\Users',
'BUILTIN\Administrators', 'NT AUTHORITY\SERVICE', 'CONSOLE LOGON', 'NT AUTHORITY\Authenticated Users', 'NT AUTHORITY\This Organization', 'NT SERVICE\SPTimerV4', 'LOCAL', 'DOMAIN\Group Policy Creator Owners', 'DOMAIN\Department_Schedules_ReadWrite', 'DOMAIN\Sage50_ReadWrite',
'DOMAIN\GrainCleaners_ReadWrite', 'DOMAIN\Domain Admins', 'DOMAIN\IT Department', 'DOMAIN\RDP_Users', 'DOMAIN\Engineering_ReadWrite', 'DOMAIN\Inventory_ReadWrite', 'DOMAIN\Schema Admins', 'DOMAIN\FabTrol', 'DOMAIN\Enterprise Admins', 'DOMAIN\Software', 'DOMAIN\Denied
RODC Password Replication Group', 17e8c7b4-fa35-4040-ac83-fe55f721590d
03/11/2014 10:41:06.17 OWSTIMER.EXE (0x01E4) 0x0AD0 SharePoint Server Search Administration
dmg1 High Group WSS_WPG... 17e8c7b4-fa35-4040-ac83-fe55f721590d
03/11/2014 10:41:06.17 OWSTIMER.EXE (0x01E4) 0x0AD0 SharePoint Server Search Administration
dmg2 High Group WSS_WPG: DOMAIN\spadmin 17e8c7b4-fa35-4040-ac83-fe55f721590d
03/11/2014 10:41:06.17 OWSTIMER.EXE (0x01E4) 0x0AD0 SharePoint Server Search Administration
dmg2 High Group WSS_WPG: NT AUTHORITY\LOCAL SERVICE 17e8c7b4-fa35-4040-ac83-fe55f721590d
03/11/2014 10:41:06.17 OWSTIMER.EXE (0x01E4) 0x0AD0 SharePoint Server Search Administration
dmg2 High Group WSS_WPG: DOMAIN\spservice 17e8c7b4-fa35-4040-ac83-fe55f721590d
03/11/2014 10:41:06.17 OWSTIMER.EXE (0x01E4) 0x0AD0 SharePoint Server Search Administration
dmg2 High Group WSS_WPG: DOMAIN\SearchSvc 17e8c7b4-fa35-4040-ac83-fe55f721590d
03/11/2014 10:41:06.17 OWSTIMER.EXE (0x01E4) 0x0AD0 SharePoint Server Search Administration
dmg2 High Group WSS_WPG: DOMAIN\spContent 17e8c7b4-fa35-4040-ac83-fe55f721590d
03/11/2014 10:41:06.17 OWSTIMER.EXE (0x01E4) 0x0AD0 SharePoint Server Search Administration
dmg2 High Group WSS_WPG: DOMAIN\WebAnalProcessSvc 17e8c7b4-fa35-4040-ac83-fe55f721590d
03/11/2014 10:41:06.17 OWSTIMER.EXE (0x01E4) 0x0AD0 SharePoint Server Search Administration
dmg2 High Group WSS_WPG: DOMAIN\svcAppPoolSecure 17e8c7b4-fa35-4040-ac83-fe55f721590d
03/11/2014 10:41:06.17 OWSTIMER.EXE (0x01E4) 0x0AD0 SharePoint Server Search Administration
dmg2 High Group WSS_WPG: NT AUTHORITY\SYSTEM 17e8c7b4-fa35-4040-ac83-fe55f721590d
03/11/2014 10:41:06.17 OWSTIMER.EXE (0x01E4) 0x0AD0 SharePoint Server Search Administration
dmg1 High Group WSS_ADMIN_WPG... 17e8c7b4-fa35-4040-ac83-fe55f721590d
03/11/2014 10:41:06.17 OWSTIMER.EXE (0x01E4) 0x0AD0 SharePoint Server Search Administration
dmg2 High Group WSS_ADMIN_WPG: BUILTIN\Administrators 17e8c7b4-fa35-4040-ac83-fe55f721590d
03/11/2014 10:41:06.17 OWSTIMER.EXE (0x01E4) 0x0AD0 SharePoint Server Search Administration
dmg2 High Group WSS_ADMIN_WPG: DOMAIN\spadmin 17e8c7b4-fa35-4040-ac83-fe55f721590d
03/11/2014 10:41:06.17 OWSTIMER.EXE (0x01E4) 0x0AD0 SharePoint Server Search Administration
dmg2 High Group WSS_ADMIN_WPG: DOMAIN\rawtecadmin 17e8c7b4-fa35-4040-ac83-fe55f721590d
03/11/2014 10:50:15.56 w3wp.exe (0x0098) 0x19B8 SharePoint Foundation
Monitoring b4ly Medium Leaving Monitored Scope (Request (GET:https://portal.emw.ca:443/ehs/Lists/InvestigationReports/DispForm.aspx?ID=40&Source=https%3A%2F%2Fportal%2Eemw%2Eca%2Fehs%2FLists%2FInvestigationReports%2FMyInvestigations%2Easpx&ContentTypeId=0x0100E352DB580E29424FB1C52A1D93E09345&IsDlg=1)).
Execution Time=115.2334 0c90a46f-e4ea-46b5-a566-e7a9f404c0aa
03/11/2014 10:50:15.66 w3wp.exe (0x0098) 0x16CC SharePoint Foundation
Monitoring nasq Medium Entering monitored scope (Request (GET:https://portal.emw.ca:443/ehs/_layouts/AccessDenied.aspx?Source=https%3A%2F%2Fportal%2Eemw%2Eca%2Fehs%2FLists%2FInvestigationReports%2FDispForm%2Easpx%3FID%3D40%26Source%3Dhttps%253A%252F%252Fportal%252Eemw%252Eca%252Fehs%252FLists%252FInvestigationReports%252FMyInvestigations%252Easpx%26ContentTypeId%3D0x0100E352DB580E29424FB1C52A1D93E09345%26IsDlg%3D1&Type=list&name=%7BD3F44F01%2DC738%2D409A%2DA491%2DDD0F905CC83B%7D&IsDlg=1))
03/11/2014 10:50:15.66 w3wp.exe (0x0098) 0x16CC SharePoint Foundation
Logging Correlation Data xmnv Medium Name=Request (GET:https://portal.emw.ca:443/ehs/_layouts/AccessDenied.aspx?Source=https%3A%2F%2Fportal%2Eemw%2Eca%2Fehs%2FLists%2FInvestigationReports%2FDispForm%2Easpx%3FID%3D40%26Source%3Dhttps%253A%252F%252Fportal%252Eemw%252Eca%252Fehs%252FLists%252FInvestigationReports%252FMyInvestigations%252Easpx%26ContentTypeId%3D0x0100E352DB580E29424FB1C52A1D93E09345%26IsDlg%3D1&Type=list&name=%7BD3F44F01%2DC738%2D409A%2DA491%2DDD0F905CC83B%7D&IsDlg=1) 9446cae0-8ef5-4ffa-aad8-798d3139a2e7 -
ActiveSync 401 Access Denied, invalid user/password?
Hi everyone,
Just getting started on trying out Exchange Activesync and I'm having a few problems.
First, a little background:
Windows 2000 Server
Exchange 2003 with SP2
Global Settings , Mobile Service Properties:
* User Initiated synchronization
* up to date notifications via smtp and text messaging
* notifications to user specified smtp address
* direct push over https
* outlook mobile access
* unsupported devices
* all enabled *
All Exchange Features tab options enabled in 'nick' user account mobile services
Outlook Web Access works properly for everyone with a proper root CA SSL cert (thawte).
Treo 650 Sprint with Palm EAS upgrade and VersaMail 3.5.
Versamail set to Exchange ActiveSync, pointing to the external Exchange host, SSL checked.
I go to sync messages and it begins "receiving" a few times before erroring out telling me that my username/password isnt correct (which it is.. unless it's a formatting issue).
VersaMail responds with: There was a problem with syncing. The server did not recognize your username and/or password. Please check and try again.
Details include: AirSAMStateMachine.c 2214 5 HTTP/1.1 401 Access Denied Server: Microsoft-IIS/5.0 Date: Thu, 22 Mar 2007 21:44:16 GMT WWW-Authenticate:
It obviously does not appear to be an SSL problem (which is just about all I can find information online over), but rather an authentication issue.. but I know definitively that the username and password are correct.
I have tried entering the Username as follows based on random posts ive come across:
nick
domain\nick
domain/nick
/domain/nick
DOMAIN/nick
all of which fail with the same error.. I turn around and login to the OWA over SSL with a username of domain\nick and the same password, and it works fine.
Anyone have any idea what I'm missing here?
Post relates to: Treo 650 (Sprint)I'm also having this exact issue, did you find a resolution? Thanks in advance
-
Adobe acrobat 9 Pro Convert to PDF Access Denied for users
I recently installed IE 9 on my computer (windows 7 ultimate 64 bit). From this moment on I cannot convert web page to pdf. I am getting " permission denied", code 0.
Can anyone help me?Good day astryian,
Acrobat 9's development was completed while IE8 was still in beta. The PDFMaker Add-in from Acrobat 9 was never designed for use with IE9. You may want to try printing to the Adobe PDF printer from IE9 instead. If the results you receive contain either missing or garbled text, please refer to the following knowledgebase document: http://kb2.adobe.com/cps/896/cpsid_89623.html
Thank you,
David
Adobe Technical Response Team -
Hi all
I have been trying to do some work in the catalog manager.
I login as Administrator in online mode ...
I can get to the shared folder, system folder.
When I go to users I can access /users/Administrator
However, I cannot seem to access the other users folders
I get
Access Denied for user to path /users/username
Any idea how to fix this?
I have tried looking at the permissions and such but i thought the administrator would have access to all users folders in the catalog manager
Thanks in advancehi,
Will this help you http://obiee-blog.info/administration-tool/error-access-denied-for-user-to-path/
http://www.rittmanmead.com/2010/01/obiee-10g-web-catalog-best-practices/
http://www.biblogs.com/2010/01/18/obiee-10g-web-catalog-%E2%80%9Cbest-practices%E2%80%9D/
Cheers,
kk -
Error: Access Denied while opening the Sharepoint 2010 site.
Dear All,
When I am trying to open the site I am getting followinh error,
Error:
Error: Access Denied
Current User
You are currently signed in as: DomainName\Administrator
Sign in as a different user
Go
back to site
Can anybody please tell me how ro resolve this isse ?
Thanks and Regard's
Harish PatilHi,
Run the PowerShell cmdlet to list and check the users permisssion on SharePoint site. You may refer to the articles below.
Get Users Permissions List on SharePoint Webs – PowerShell Script
http://mkdot.net/mknetug/mk_sp/b/darko/archive/2010/10/01/get-users-permissions-list-on-sharepoint-webs-powershell-script.aspx
How to Check Effective Permissions of a User in Each Site in a Site Collection in Sharepoint 2007 and Sharepoint 2010 using Powershell
http://rahulrashu.blogspot.com/2011/12/how-to-check-effective-permissions-of_11.html
Hope that helps.
Ivan-Liu
TechNet Community Support -
well as the topic says I get an access denied exception. This is when I try to connect to the database
java.sql.SQLException: Access denied for user 'Java'@'localhost' (using password: YES)
I get the same problem when I try to connect with the root user.
this is the code I'm using, ignore the threads as they do not matter
devil_server.java
import java.io.*;
import java.net.MalformedURLException;
import java.net.*;
import java.sql.*;
import java.util.*;
public class devil_server
//variable types concerning userthreads
static public int uid;
static public int nou;
static public ServerSocket skanal;
public static Vector users = new Vector();
public static Vector usernames = new Vector();
public static String user;
public static String pass;
public static void main(String arg[])
try {
System.out.println("write the user used to access the mysql database with Devil Chat");
user = Keyboard.readString(); //read mysql username from keyboard
System.out.println("write the password used to access the mysql database with Devil Chat");
String pass = Keyboard.readString(); //read password for user from keyboard
uid = 0;
nou = 0; //Number Of Users
skanal = new ServerSocket(5555);
new Thread(new devil_server_user(uid)).start();
while(true)
if(uid>nou)
String buffer = "buffer";
String userl = "user";
users.add(buffer);
usernames.add(userl);
new Thread(new devil_server_user(uid)).start();
nou++;
}//end while
}/*end try*/ catch (Exception ex) {
ex.printStackTrace();
}//end catch
//con.close
} //end main
}//end classdevil_server_user.java
import java.io.*;
import java.net.MalformedURLException;
import java.net.*;
import java.util.*;
import java.sql.*;
public class devil_server_user implements Runnable
public devil_server_user (int uid){this.uid=uid;};
public int uid;
public Socket kanal;
public InetAddress ip;
public InputStream streamin;
public OutputStream streamout;
public BufferedReader bufferind;
public PrintWriter printout;
public String lastuserin;
public String userinput;
public String sip;
public int isadmin;
//variable types concerning mysql database connectivity
public Statement stmt;
//public Statement rstmt;
public ResultSet rs;
public Connection conn;
public void run()
try {
System.out.println("Listening on port 5555");
System.out.println("Waiting for clients");
kanal = devil_server.skanal.accept();
devil_server.uid++;
ip = kanal.getInetAddress();
sip = ip.toString();
sip = sip.replace("/","");
isadmin = 0;
if(sip.equals("127.0.0.1"))
isadmin = 1;
} catch (Exception ex) {
ex.printStackTrace();
try {
System.out.println("Incomming request: "+ ip);
streamin = kanal.getInputStream();
System.out.println("Input ready");
streamout = kanal.getOutputStream();
System.out.println("Output ready");
devil_server.users.set(this.uid, printout = new PrintWriter(streamout));
printout = (PrintWriter)devil_server.users.get(this.uid);
bufferind = new BufferedReader(new InputStreamReader(streamin));
catch (IOException e){
e.printStackTrace();
try {
Class.forName("com.mysql.jdbc.Driver").newInstance();
conn = DriverManager.getConnection("jdbc:mysql://127.0.0.1:3306/Java?user="+devil_server.user+"&password=s"+devil_server.pass);
stmt = conn.createStatement();
stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
} catch (Exception e) {
e.printStackTrace();
//String request = bufferind.readLine();
//System.out.println("message from "+ip+" : "+request);
//printout.flush();
//forbindelse
try {
userinput = (String)bufferind.readLine();
} catch(Exception e) {
e.printStackTrace();
while(!userinput.startsWith("/name"))
try {
userinput = (String)bufferind.readLine();
} catch(Exception e) {
e.printStackTrace();
try
stmt = conn.createStatement();
stmt.executeUpdate("INSERT INTO devilchat_users (ip, username, isadmin) VALUES('"+sip+"',' "+userinput.substring(6)+"','"+isadmin+"')");
new Thread(new devil_server_broadcast("/say "+userinput.substring(6)+" has joined devilchat")).start();
devil_server.usernames.set(this.uid, userinput.substring(6));
printout.println("/knock"); //knocks to the client
printout.flush();
userinput = (String)bufferind.readLine();
} catch(Exception e) {
e.printStackTrace();
while(!userinput.startsWith("/knock"))
try {
userinput = (String)bufferind.readLine(); //waiting for client to knock back
} catch(Exception e) {
e.printStackTrace();
printout.println("/ready"); //tells client it's ready to read userinput
printout.flush();
int spoken = 0;
System.out.println(devil_server.usernames.get(this.uid)+": has connected");
new Thread(new devil_server_usercheck()).start();
//starter l�kke som checker for nye input fra useren
while(true)
try{
userinput = (String)bufferind.readLine();
if(!userinput.equals(lastuserin))
if(userinput.startsWith("/name"))
stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
rs = stmt.executeQuery("SELECT * FROM devilchat_users WHERE uid='"+this.uid+"'");
rs.absolute(this.uid);
String oldname = rs.getString("username"); // get old name from database and save it in a string before applying the new name
stmt = conn.createStatement();
stmt.executeUpdate("UPDATE devilchat_users set username='"+userinput.substring(6)+"' WHERE uid ='"+this.uid+"'");
//start a broadcast to tell the name has changed
new Thread(new devil_server_broadcast("/namechange *** "+oldname+" has changed their name to "+userinput.substring(6)+" ***")).start();
//change the username in the vector containing usernames
devil_server.usernames.set(this.uid, userinput.substring(6));
//start a new listcheck so the list can be updated
new Thread(new devil_server_usercheck()).start();
else if(userinput.startsWith("/say"))
stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
rs = stmt.executeQuery("SELECT * FROM devilchat_users WHERE uid='"+this.uid+"'");
rs.absolute(this.uid);
String sname = rs.getString("username");
String say1 = userinput.substring(6);
userinput = "/say "+sname+": "+say1;
spoken++;
stmt = conn.createStatement();
stmt.executeUpdate("UPDATE devilchat_users set spoken='"+spoken+"' WHERE uid ='"+this.uid+"'");
new Thread(new devil_server_broadcast(userinput)).start();
else if(userinput.startsWith("/quit"))
stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
rs = stmt.executeQuery("SELECT * FROM devilchat_users WHERE uid='"+this.uid+"'");
rs.absolute(this.uid);
String name = rs.getString("username");
printout.println("/quit "+name+" has left devilchat"); //tells client it's ready to read userinput
printout.flush();
devil_server.usernames.set(this.uid, "user");
devil_server.users.set(this.uid, "buffer");
new Thread(new devil_server_broadcast("/quit "+name+" has left devilchat")).start();
conn.close();
kanal.close();
break;
lastuserin = userinput;
catch(Exception e) {
e.printStackTrace();
}this is the full exception handling
java.sql.SQLException: Access denied for user 'Java'@'localhost' (using password
: YES)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1056)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:957)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3376)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3308)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:894)
at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3808)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1256)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2032)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:729)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:302)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
:283)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at devil_server_user.run(devil_server_user.java:71)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at devil_server_user.run(devil_server_user.java:97)
at java.lang.Thread.run(Unknown Source)
I have tried the org driver too and I have tried (url, user, pass) and (url?user=user&password=pass)
Edited by: Angelwinged_Devil on Mar 13, 2008 6:04 AMwell it's pretty weird, because I'm trying to make some kind of pattern with the install file I made, although... the install file works and looks like this
import java.io.*;
import java.net.*;
import java.sql.*;
public class install
public static void main(String[] args) {
try {
// The newInstance() call is a work around for some
//older java implementations
//org.gjt.mm.mysql.Driver or com.mysql.jdbc.driver
Class.forName("org.gjt.mm.mysql.Driver").newInstance();
} catch (Exception ex) {
ex.printStackTrace();
try {
System.out.println("write the user used to access the mysql database with Devil Chat");
String user = Keyboard.readString(); //read mysql username from keyboard
System.out.println("write the password used to access the mysql database with Devil Chat");
String pass = Keyboard.readString(); //read password for user from keyboard
Connection conn = DriverManager.getConnection("jdbc:mysql://127.0.0.1:3306/mysql", user, pass);
Statement stmt = conn.createStatement();
stmt.executeUpdate("CREATE DATABASE IF NOT EXISTS Java");
System.out.println("Database has been created");
Connection con = DriverManager.getConnection("jdbc:mysql://127.0.0.1:3306/Java", user, pass);
Statement nstmt = con.createStatement();
nstmt.executeUpdate("CREATE TABLE IF NOT EXISTS devilchat_users ("+
"uid int NOT NULL AUTO_INCREMENT, PRIMARY KEY(uid), "
+"username varchar(25), isadmin bool, spoken int, ip varchar(15))");
System.out.println("Table has been created");
con.close();
conn.close();
} catch (SQLException ex) {
// handle any errors
System.out.println("SQLException: " + ex.getMessage());
System.out.println("SQLState: " + ex.getSQLState());
System.out.println("VendorError: " + ex.getErrorCode() + "\n");
} -
In a few simple pages, I add/change/delete and list data from
a MYSQL table. It works fine 90 percent of the time. The other 10
percent I get an Access Denied SQL error. If I simply click my
SEARCH button again to list the database, it always works. It is as
if there is some sort of lock on data I have updated and it needs a
second or two to release it. I have tried looping the SQL upon
receiving an error, but this does not work. The page must return
without displaying data, then click again, and then it is
successful.
As I said, this only happens 10 percent of the time, and even
less if I am not so quick going to this list immediately after
making a table update. This happens on my local PC as well as well
as when hosted on the web.
This sound familiar to anyone ?
KEN
Below is an example error page:
Error Executing Database Query.
Access denied for user 'root'@'localhost' (using password:
NO)
The error occurred in
C:\ColdFusion\wwwroot\SGBC\FC\icPsn.cfc: line 309
Called from C:\ColdFusion\wwwroot\SGBC\AM40\apPsnList.cfm:
line 67
Called from using password: line -1
Called from using password: line -1
307 : </cfif>
308 : <cfif this.st_record.sg_fname IS NOT "">
309 : AND psn.FirstName LIKE '%#this.st_record.sg_fname#%'
310 : </cfif>
311 : ORDER BY psn.LastName ,
SQLSTATE 28000
SQL SELECT psn.ID , psn.LastName , psn.FirstName , psn.Descr
, psn.Filename , psn.UPDttm , psn.Up_Psn_ID , psn.EmailAddress ,
psn.PsnPswd , psn.Active , psn.Phone , psn.Ext , psn.ImageDir FROM
person psn WHERE psn.Active = 1 ORDER BY psn.LastName ,
psn.FirstName
VENDORERRORCODE 1045
DATASOURCE dcw0101tst1Update:
I think this was caused by a CFTRANSACTION tag I had around
the SQL. Apparently, at least on Windows servers, this caused
contention on the folder or files in use by MySQL, and I assume
Windows denied access, and thus the error. It seems CFTRANSACTION
caused a lock of some sort which resolves within a second or two,
but if you update a record and then try to access that same table
immediately, the lock as not been released, at least some
percentage of the time. Since taking out CFTRANSACTION, I haven't
experienced this error. -
JDeveloper/MySql: 'access denied'
I'm trying to develop a web application using JDeveloper/MySql...
My 'try-out' servlet ends here:
conn = DriverManager.getConnection("jdbc:mysql://localhost/eyes?user=me&password=pwd");
saying
"Access denied for user 'me'@'localhost.localdomain' (using password: YES) 11045 228000"
user me has been granted 'all' and the database eyes is accessible via the commandline.
Any help is appreciated!This is MySQL issue not JDeveloper.
Anyway this problem usually occurs when:
1. there is not localhost or hostname in "user" table (mysql).
So check whether user table contains two rows for user, one row for "localhost" and the second row for hostname or single row where "%" (any host) is in hostname column.
Example:
mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1810 to server version: 4.1.5-gamma-standard
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> \u mysql
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> select * from user where user = 'test2';
| Host | User | Password | Select_priv | Insert_priv | Update_priv | Delete_priv | Create_priv | Drop_priv | Reload_priv | Shutdown_priv | Process_priv | File_priv | Grant_priv | References_priv | Index_priv | Alter_priv | Show_db_priv | Super_priv | Create_tmp_table_priv | Lock_tables_priv | Execute_priv | Repl_slave_priv | Repl_client_priv | ssl_type | ssl_cipher | x509_issuer | x509_subject | max_questions | max_updates | max_connections |
| localhost | test2 | 35a7d8163f9d93b2 | Y | Y | Y | Y | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | | | | | 0 | 0 | 0 |
| machinename | test2 | 35a7d8163f9d93b2 | Y | Y | Y | Y | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | N | | | | | 0 | 0 | 0 |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------2. common mistake is when user is created and privileges granted and administrator didn't flush hosts and privileges.
So login as root and execute "flush hosts" and "flush privileges" commands.
Example:
mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1812 to server version: 4.1.5-gamma-standard
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> flush hosts;
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
Maybe you are looking for
-
I just bought a new iMac and used the Migration Assistant to transfer my files. Initially, all was working, but now a week later, I get the message that the application manager is missing, and I cannot get Photoshop and InDesign to launch. For my per
-
7.1 CE EHP1 server0 not starting (rc-1501)
Hi SAP Java Experts, We recently installed 7.1 CE EHP1 with Oracle 10.2.0.4.for a SAP MII project. The system ran fine for two weeks, but now when we try to start the Java instance, the jstart process hangs and server0 never starts. The tail of the d
-
How can i import external data into folders in iCloud?
I currently have all my iPhoto folders stored on a external harddrive (removed from iPhoto) and would like to put them in iCloud. The unfortunate thing is that i have an Macbook Air, and not enough memory to put all the folders back in iPhoto to have
-
Verizon DSL Firewall settings & iChat
I currently use Verizon DSL utilizing a wireless Westell Versalink (Model #327W) modem. My current firewall setting is: *Typical Security (Medium)* *The medium security setting only allows basic Internet functionality by default, just like High level
-
Does anyone know the status of the new CMYK monitor display Apple is developing?
Does anyone know the status of the new CMYK monitor display Apple is developing?