How can I upload data in ldif (or any other) format? #18
-
I have ldif file and I want to upload it to server ? Is there way to do it ? I tried to do it via samba-tool but no luck please help |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 16 replies
-
Hello You can create a bind mount to upload the files, are you using the docker compose file or To bind to a existing container, commit a new image and run it again with the bind command like described here To bind using docker compose check here Here you can check how to backup and restore a domain controller. Any trouble please let me know. |
Beta Was this translation helpful? Give feedback.
-
Where should I put ldif file on container side to Samba read it during/after startup ? |
Beta Was this translation helpful? Give feedback.
-
here you are trying to use a instantlinux/samba-dc:latest image that don't use the usr/local/samba but /var/lib/samba, the /usr/local/samba is created when samba is compiled from source |
Beta Was this translation helpful? Give feedback.
-
If you want to use the instalinux image, try to locate the sam.ldb, maybe in |
Beta Was this translation helpful? Give feedback.
Try adding the LDB_MODULES_PATH to the command, change the lib64 to lib or check the correct path