Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SAMBA-DC] How can I upload data in ldif (or any other) format? #134

Open
gredwhite opened this issue Oct 3, 2023 · 1 comment
Open
Labels

Comments

@gredwhite
Copy link

I use following docker-compose file:

version: '3.4'

services:
  samba:
    image: instantlinux/samba-dc:latest
    container_name: samba-dc
    cap_add:
      - CAP_SYS_ADMIN
    hostname: my.company
    environment:
      DOMAIN_ACTION: provision
      REALM: inno.tech
    volumes:
      - etc:/etc/samba
      - lib:/var/lib/samba
    ports:
      - "389:389"
    secrets:
      - samba-admin-password

volumes:
  etc:
  lib:

secrets:
  samba-admin-password:
    file: secrets.yaml

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

@gredwhite gredwhite changed the title [SAMBA_DC] How can I upload data in ldif (or any other) format? [SAMBA-DC] How can I upload data in ldif (or any other) format? Oct 3, 2023
@instantlinux
Copy link
Owner

To transfer data, you can join a samba-dc to an existing, running Active Directory controller. So far as I know, from samba-tool there isn't a way to import an ldif backup file exported by a no-longer-existing, shut-down Active Directory controller. If I were trying to do this, I'd look at other tools like Apache Directory Studio or perhaps the Microsoft AD manager: they can import / export ldif files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants