i am migrating my application to use SMB2 protocol using smbj package. i am getting STATUS_ACCESS_DENIED (0xc0000022): Create failed.
Below is the code which i have used to make the connection. i checked my credentials and access as well , i am using the same for SMB1 connection.
Please guide me what i am doing wrong.
SMBClient client = new SMBClient();
try (Connection connection = client.connect(serverName)) {
AuthenticationContext ac = new AuthenticationContext(userName, password.toCharArray(), domain);
Session session = connection.authenticate(ac);
hi Team,
i am migrating my application to use SMB2 protocol using smbj package. i am getting STATUS_ACCESS_DENIED (0xc0000022): Create failed. Below is the code which i have used to make the connection. i checked my credentials and access as well , i am using the same for SMB1 connection. Please guide me what i am doing wrong.
SMBClient client = new SMBClient(); try (Connection connection = client.connect(serverName)) { AuthenticationContext ac = new AuthenticationContext(userName, password.toCharArray(), domain); Session session = connection.authenticate(ac);