SMB Piece Storage¶
SMB (Server Message Block), also known as CIFS, is a common network file sharing protocol. You can store Automatic Disk Unlock pieces on SMB network shares hosted by Windows servers, NAS devices, or other file servers.
Overview¶
You upload your base64-encoded piece to an SMB network share. During boot, Automatic Disk Unlock connects to the SMB share using credentials and retrieves the piece file.
Configuration Format¶
:smb,host=192.168.1.100,user=username,pass='OBSCURED_PASSWORD':share/path/to/share.txt
host: Hostname or IP address of the SMB serveruser: Username for SMB authenticationpass: Obscured password for the SMB usershare/path/to/piece.txt: Share name and path to the piece file
Setup Instructions¶
Step 1: Obscure the Password¶
Automatic Disk Unlock requires the SMB password to be obscured before adding it to the configuration.
-
In the Unraid WebGUI, navigate to Settings → Automatic Disk Unlock
-
In the Obscure Value section, enter the password
-
Click Obscure
-
Copy the obscured value that appears
What is Obscuring?
Obscuring encodes the password so it's not stored in plain text in the configuration file. While not encryption, it prevents casual observation.
Step 2: Prepare location string¶
:smb,host=192.168.1.100,user=username,pass='OBSCURED_VALUE':share/autounlock/piece.txt
Replace:
192.168.1.100with your SMB server addressusernamewith your SMB usernameOBSCURED_VALUEwith the obscured password from Step 1share/autounlock/piece.txtwith your share name and path
Step 3: Add to Automatic Disk Unlock Configuration¶
-
In the Unraid WebGUI, navigate to Settings → Automatic Disk Unlock
-
Test the location:
- Paste the location string into the Test Location input field
- Click Test to verify the piece can be retrieved
- Confirm the test succeeds
-
Add to configuration:
- Navigate back to the Configuration section
- Add the location string to the Download Locations text area
- Click Save