Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
28 views

Losing my mind with Linux permissions inside of Docker

I want to a accomplish a relatively simple task, which is to be able to read and write from a samba share that is attached to docker. I have several services sharing the same volume, they are mostly ...
Ícaro Lorran's user avatar
0 votes
1 answer
42 views

How to remove multiple entries by a single ldap request in unboundid?

I investigated https://docs.ldap.com/ldap-sdk/docs/javadoc/com/unboundid/ldap/sdk/DeleteRequest.html and looks like it allows to remove only a single entry(with subtree if delete subtree control is ...
gstackoverflow's user avatar
0 votes
0 answers
41 views

samba-tool command line fails when Fedora 40 python3.12 site-package samba attempts to import ldb

After installing all the samba related packages (see first block below) using dnf on my new Fedora 40 machine, including samba-tools, the samba-tool execution on the command line fails per the second ...
RG85's user avatar
  • 21
0 votes
0 answers
27 views

Failed to send nameservice request for __MSBROWSE__

jcifs.netbios.NameServiceClientImpl : Failed to send nameservice request for __MSBROWSE__ java.net.SocketException: Invalid argument at java.base/sun.nio.ch.DatagramChannelImpl.send0(Native Method)...
Rabbit DT's user avatar
0 votes
0 answers
43 views

Error occurred in 'make' command for modifying SAMBA 4.20.2 in ubuntu 22.04.4

I downloaded samba source 4.20.2 and built and installed it on ubuntu 22.04.4 server successfully. I am planning to modify a few sources for use within the company, build them, and then use them. I am ...
Youngsun Kang's user avatar
2 votes
1 answer
144 views

Secure communication between a daemon and D-Bus on Linux

So I have a daemon which is used to authenticate users via Azure Entra Id (the daemon is Himmelblaud). I'm writing a session D-Bus service (the bare bones here) to provide SSO creds to various apps ...
David Mulder's user avatar
  • 7,977
0 votes
0 answers
55 views

Windows Executable on Linux Samba Server

this is my first help request but i follow the site since a lot...I wrote an application in c# to interact with MariaDB, i set up a slackware SQL server and because the server joined an Active ...
Diego Gavani's user avatar
0 votes
0 answers
62 views

How to request for an oplock from linux client?

I am learning on Samba, I have gone through the documentation on oplock feature now on my local(Ubuntu) i created a SMB server with default config (oplock enabled) when i access this share from ...
coder_a's user avatar
  • 109
0 votes
0 answers
89 views

Samba server in Solr Docker image, on localhost

Why Accessing the data inside Solr is cumbersome. Need to ssh into /var/solr directory, and then use command-line operations. So instead, if I can just expose the data directory to a Samba share, and ...
M A's user avatar
  • 1
0 votes
0 answers
65 views

Tamir.SharpSSH connection Timeout

We're facing a problem when trying to move files using Tamir.SharpSSH dll library from a server to another. The server is a Windows server 2016 and the destination server is a RHEL 8.8 server with ...
SimBe's user avatar
  • 1
0 votes
1 answer
298 views

KRB5CCNAME is missing

The problem is I have no KRB5CCNAME in $_SERVER[] (php) for LDAP search. I login to the server via kerberos gssapi, from Ubuntu to Windows Server 2012, using Samba. On my site (PHP), I authorize with ...
Akuro's user avatar
  • 1
0 votes
1 answer
44 views

Centos Samba Access to NTFS mounted drive...Access Denied

Noob here. I am having a problem with accessing an NTFS drive mounted on a Centos 9 server. I mounted it at /mnt/ntfs and configured a basic open SAMBA server for testing purposes. I can lock it ...
JohnP's user avatar
  • 1
0 votes
0 answers
21 views

How to get the requested file in a Linux Samba Server?

I need to process a file before it is requested via smb. Actually I am not able to get the information about the requested path directly. It is only possible over the Syslogs in the Samba Logs. In the ...
Fabian Gieshoff's user avatar
0 votes
0 answers
26 views

Samba user change password, change on the intranet portal

Is it possible that if a user changes the password of a Samba user within Windows, it will also be changed in an Intranet portal and in a Webmail?
Szilágyi Dániel's user avatar
0 votes
1 answer
258 views

Performance issues with Spring Integration SMB inbound channel adapter

I am using Spring Integration 6.0.5 and trying to configure an inbound channel adapter for smb. I have it working and reading files but the performance is poor and I cannot seem to influence how many ...
jdh961502's user avatar
  • 165
0 votes
0 answers
37 views

Disconnected Network Drive while connecting to windows using samba

We are facing an issue when we are trying to auto-mount a Samba share drive on a Windows EC2 instance. However, when we manually mount it or run the PowerShell script manually, it connects ...
Arnabi Pramanik's user avatar
-3 votes
1 answer
1k views

Get NT_STATUS_ACCESS_DENIED from smbClient / Samba despite Linux root

I always get the access denied error when I try to connect smbClient to my samba shared directory. So I try to use: sudo smbclient "\\leon-pop-os\img_mount" -U root I get as Expected: ...
Leon Mamerow's user avatar
0 votes
0 answers
62 views

Are GPO Scheduled Tasks fully supported in Samba 4.17.12 and if so why does mine not work?

I'm running samba 4.17.12 on Debian Bullseye configured as Active Directory Domain Name Server. I've implemented several other GPO policies without any problem, but now I tried to do a Scheduled Task ...
Matthew Crandall's user avatar
0 votes
0 answers
41 views

How to make the symlink behaviour of Python's os.walk deterministic across different file ssytem types

I have a weird probelm with os.walk in Python 3. To illustrate let's have a directory fs with the following structure: fs ├── data1.txt ├── data2.txt ├── data3.txt ├── dir │   ├── file1.txt │   ├── ...
halloleo's user avatar
  • 10.3k
0 votes
0 answers
20 views

Visual Studio 2019 editor destroys Linux soft link from Samba share, how to avoid this bad behavior?

This is an annoying problem. Let me elaborate it. Environment: I have a Ubuntu 20.04 Linux machine which have some C/C++ code in /home/chj/gitw/bookcode-linux/TLPI, some .c file(e.g. $TLPI/lib/...
Jimm Chen's user avatar
  • 3,737
2 votes
1 answer
2k views

Authentication Failure On Samba Shares After Upgrading To MacOS Sonoma 14.3

Problem: I have a Samba server, version 4.15.13-Ubuntu. Everything works fine but I have problems to authenticate Shares with Sonoma 14.3 (all previous Mac versions work, Windos clients work). I can ...
user4633410's user avatar
0 votes
0 answers
57 views

Folders on Asus NAS share created by Windows client not accessible from Linux

I've seen a lot of such issues related to Samba however my issue is the share is on an Asus router so I don;t have a lot of options for changing settings. Asus router with Samba share. Connection ...
Walter ZAMBOTTI's user avatar
0 votes
0 answers
368 views

How does -net smb=<path> work in Termux without root (no low ports)?

I find I can map a host folder to linux client using smbmount in Termux qemu, though it won't work for a Win9x client. Qemu uses the installed Samba, but smbd -D, run independently, always crashes for ...
MikeYates's user avatar
0 votes
0 answers
23 views

Is there way to get page number N during pagination request without iterating over previous pages?

Currently I use SimplePagedResultsControl and my code looks similar to example on that page: https://docs.ldap.com/ldap-sdk/docs/javadoc/com/unboundid/ldap/sdk/controls/SimplePagedResultsControl.html ...
gstackoverflow's user avatar
0 votes
0 answers
70 views

Having Trouble Running SambaCry exploit

errorI'm testing the Sambacry Vulnerability with the exploit from Github. My current machine is Kali Linux 2021 and Python version is 2.7.18. I have already installed the Impacket. But I still have ...
Paing Thet Kyaw's user avatar
1 vote
0 answers
31 views

fwrite in 'r+'-mode on Samba share

Since the upgrade from samba protocol SMB1 to SMB2, it seems that fwrite can't act in "r+"-mode on files on a mounted samba share anymore. Errno is set to EOPNOTSUPP (Operation not supported)...
manµ's user avatar
  • 47
1 vote
1 answer
47 views

Why does StandardOpenOption.CREATE not work on SMB via Ubuntu?

I have a Windows file server which is mounted to an Ubuntu server at /mnt/DrawingsPB. The mount point is using the SMB protocol to manage files on the Windows server. I am trying to create a file and ...
Cardinal System's user avatar
1 vote
0 answers
175 views

In samba can vfs FULL_AUDIT be configured not to use syslog

It seems that FULL_AUDIT automatically uses the syslog facility, but I would rather it just wrote to a file in /var/log/samba/ I know how to configure syslog to do that, but I'd prefer to use the &...
Chris Harvey's user avatar
0 votes
0 answers
65 views

git clone authentication failed when AD auth changed

Recently we changed the authentication method at the backend for AD as NTLM V2 in the Samba auth methods and while this was changed, though the server login and other login methods to RHEL7 machine ...
Akhil S's user avatar
  • 29
0 votes
1 answer
41 views

Is there way to setup `primaryGroupId` for user using ldif?

I want to setup PrimaryGroupId for user. For that purpose I've created the with content: dn: CN=user_2,CN=Users,DC=my,DC=company changetype: modify replace: primaryGroupID primaryGroupID: 501 But ...
gstackoverflow's user avatar
1 vote
1 answer
759 views

How to execute cmd command in the container up with TestContainers?

I can execute command (inside the container started with testcontainers) from cmd. I want to execute the same comamnd from testcontainers api / # LDB_MODULES_PATH=/usr/lib/samba/ldb/ ldbmodify -H /var/...
gstackoverflow's user avatar
2 votes
0 answers
302 views

Stale file handles when copying files to network share (SMB) with std::fs::copy

I've written a tiny program to copy files to a network share in a systematic manner in Rust using std::fs::copy to do the heavy lifting. The network share is a CIFS mount on Linux via samba. It used ...
Aleksandar Dimitrov's user avatar
2 votes
1 answer
120 views

ConvertStringSidToSidA("S-1-22-1-1", &sid) fails with invalid sid for Unix_User+1

I tried a simple three line hello world program, which tries to get the SID for Unix_User+1: bash -c 'getent passwd "Unix_User+1"' Unix_User+1:*:4278190081:4278190081:U-Unix_User\1,S-1-22-1-...
Cedric Blancher's user avatar
0 votes
0 answers
37 views

Powershell run with C# cannot call samba

I'm having trouble executing commands by running Powershell in C#. powerShellProcess1 = new Process(); powerShellProcess1.StartInfo.FileName = "powershell.exe"; powerShellProcess1.StartInfo....
eddie4005's user avatar
7 votes
1 answer
9k views

samba-ad-dc.service: Skipped due to 'exec-condition'

OS: Debian 12 (bookworm) When I try to start samba, systemctl start samba runs with no output, but systemctl status samba outputs: * samba-ad-dc.service - Samba AD Daemon Loaded: loaded (/lib/...
sbivcy's user avatar
  • 71
0 votes
1 answer
1k views

How to create a ldap BIND_DN for samba active directory

I am trying to setup samba active directory users authentication for my Django app. I working in linux. I don't have access to windows active directory. I got a docker image smblds for samba AD DC on ...
Deepali Joshi's user avatar
0 votes
1 answer
1k views

How to run samba server in testContainers based on existing docker-compose

I have following docker-compose file for local development: version: '3.4' networks: mynetwork: services: samba: image: instantlinux/samba-dc:latest container_name: samba-dc cap_add: ...
gstackoverflow's user avatar
5 votes
1 answer
170 views

Mounted samba drive with Java but the drive label isn't updating in file explorer?

I'm working on a Java GUI application that can unmount and mount Samba shares to a specific letter drive. The drives are successfully unmounted and mounted when the user selects, however the drive ...
rhowell's user avatar
  • 1,177
0 votes
1 answer
409 views

Airflow: download file before send email with EmailOperator

I have Airflow DAG, where function _query executes query in Hive and saves result in network folder with SambaHook. #... def _query(query_params_callable: Callable, params: Mapping[str, Any], sql, ...
Alexander Lopatin's user avatar
0 votes
0 answers
661 views

How to run a powershell script in a GPO to change Windows administrator password?

I have a domain with Samba 4. I use a workstation with Windows 10 and RSAT to administer it. I want to create a GPO to change the Windows administrator user password. Create the script below. Running ...
campos's user avatar
  • 305
0 votes
0 answers
362 views

How to access network shared folders in Android

I'm trying to build an application where I want to perform file operations on Shared Drives. I can share a folder over network in Windows or Linux and then access it in another Windows machine (using ...
Anirudh Kachroo's user avatar
0 votes
0 answers
1k views

Why is "permission denied" always in samba share?

On Ubuntu 22.04 created a share, but it not working, Permission denied. Samba log: [2023/07/20 11:31:53.762349, 0] ../../source3/smbd/service.c:168(chdir_current_service) chdir_current_service: ...
Spici's user avatar
  • 1
0 votes
0 answers
66 views

How to create user in Samba server using jcif library?

I start Samba server using following docker-compose: services: samba: image: instantlinux/samba-dc:latest container_name: samba-dc cap_add: - CAP_SYS_ADMIN hostname: my.company ...
gstackoverflow's user avatar
0 votes
0 answers
879 views

jcifs.smb.SmbAuthException: Logon failure: unknown user name or bad password [Samba]

I try to save file on a Samba server but get the error: jcifs.smb.SmbAuthException: Logon failure: unknown user name or bad password. at jcifs.smb.SmbTransportImpl.checkStatus2(SmbTransportImpl....
gstackoverflow's user avatar
0 votes
0 answers
2k views

jcifs.smb.SmbException: This client does not support the negotiated dialect

I run samba server locally using following docker compose file: samba: image: instantlinux/samba-dc:latest container_name: samba-dc cap_add: - CAP_SYS_ADMIN hostname: my....
gstackoverflow's user avatar
0 votes
0 answers
1k views

create a folder share for each user and visible only to the user who has the right

I would like, under windows server 2022, to create a file share for each user, and that only the user can see this share. let me explain, for example, I would like to create a user1 share for user ...
slevign's user avatar
-3 votes
1 answer
267 views

Is there way to communicate with samba server using SAMR protocol from java application

I start Samba server using following docker-compose: services: samba: image: instantlinux/samba-dc:latest container_name: samba-dc cap_add: - CAP_SYS_ADMIN hostname: my.company ...
gstackoverflow's user avatar
0 votes
0 answers
34 views

Samba Ubuntu Android no acces

Hi I want to share files from Android with my Ubunut via WLAN ● smbd.service - Samba SMB Daemon Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled) Active: ...
jento's user avatar
  • 47
0 votes
1 answer
814 views

Samba 4: Unable to add attribute to LDAP schema

I am trying to add a new attribute to a group to my existing LDAP/AD Schema. I use Samba 4 as AD Domain Controller. For this I am using a Docker Container which runs samba4. This is my LDIF File I am ...
NKnuelle's user avatar
  • 282
0 votes
1 answer
4k views

"The network name cannot be found" error while accessing SMB thru C#

I am doing a programmatically access of a SMB Network Shared Drive using C# I saw this thread How to provide user name and password when connecting to a network share which let's you define UNC path ...
CSAPawn's user avatar
  • 77

1
2 3 4 5
21