There are several reasons why KeePassXC might not be able to access your SMB server when browsing for databases. Here are the most common causes and solutions:
1. File Browser Limitations
KeePassXC's built-in file browser may not support network browsing for SMB shares directly. It typically only shows locally mounted filesystems. This is a common limitation in many applications.
Solutions:
- Mount the SMB share to your local filesystem first, then browse to the mount point
- Use the full UNC path or network path directly in the file dialog (e.g.,
\\server\share\database.kdbx on Windows or smb://server/share/database.kdbx on Linux/Mac)
2. SMB Protocol Version Mismatch
Your SMB server might be using a protocol version that your client system doesn't support by default.
Solutions:
3. Authentication Issues
The file browser might not have access to your SMB credentials.
Solutions:
- Mount the SMB share with proper credentials before opening KeePassXC
- On Linux:
sudo mount -t cifs //server/share /mnt/point -o username=youruser
- On Windows: Map the network drive with saved credentials
- On macOS: Connect to the server via Finder first
4. Network Discovery Problems
Your system might not be discovering the SMB server properly.
Solutions:
- Ensure both devices are on the same network/subnet
- Check firewall settings (ports 445 and 139 for SMB)
- Try accessing by IP address instead of hostname
- Verify the SMB/CIFS service is running on the server
5. Permissions and Security Settings
Modern systems have stricter SMB security requirements.
Solutions:
- Ensure your user account has proper permissions on the SMB share
- Check if SMB signing is required and configure accordingly
- Disable SMB1 if possible (it's insecure and often blocked)
6. Operating System Specific Issues
Linux:
- Install necessary packages:
sudo apt install cifs-utils (Debian/Ubuntu)
- Check if the share is mounted:
mount | grep cifs
Windows:
- Ensure "Network Discovery" is enabled
- Check Windows Credential Manager for saved credentials
macOS:
- Verify SMB sharing is enabled in System Preferences
- Try connecting via Finder's "Go > Connect to Server" first
Recommended Approach:
- Mount the share first at the OS level before opening KeePassXC
- Use a consistent mount point so KeePassXC can always find your database
- Consider using a sync solution (like Syncthing or cloud storage) as an alternative to direct SMB access
- Set up auto-mounting so the share is always available when you need it
If the issue persists, try accessing the SMB share through your system's file manager first to ensure it's working properly, then navigate to the mounted location in KeePassXC.