EN Product and technical documentation are preserved in the packet’s original English. WeserCode navigation and controls follow your selected site language.
Documentation · VERSION 0.9.0

Walkthrough: existing OpenLDAP and Samba lab

This walkthrough applies to the established WSL test lab: OpenLDAP and phpLDAPadmin, an already configured Samba lab service, and AccessScope in separate C

Editorial review
i
Source-aligned documentation preview

This v0.9.0 page is preserved from the supplied documentation packet and remains marked for editorial approval. Product behavior and limitations are stated as documented; this preview is not a claim of external acceptance or certification.

This walkthrough applies to the established WSL test lab: OpenLDAP and phpLDAPadmin, an already configured Samba lab service, and AccessScope in separate Compose projects. It does not install a general-purpose production Samba domain.

Confirm identities before enrolling

An LDAP user's login is its actual uid. The earlier example entries were cn=username1 lastname1 with uid=ulastname1 and cn=username2 lastname2 with uid=ulastname2. Searching for uid=user1 did not match those entries.

Query only your authorized lab:

cd ~/projects/ldap
docker compose exec openldap ldapsearch   -x -LLL -H ldap://localhost   -D "cn=admin,dc=example,dc=org" -W   -b "dc=example,dc=org" '(objectClass=posixAccount)' dn uid cn

The -W option prompts for the password. Do not put the actual directory password into shared instructions.

Samba enrollment and folder check

The previously supplied custom lab image contains /opt/lab.py. It is not an AccessScope built-in and must already exist in that Samba container.

docker compose exec samba python3 /opt/lab.py enroll ulastname1
docker compose exec samba smbclient //localhost/shared -U ulastname1

The lab tool prompts for an SMB password and can update the user's LDAP password as described by that tool. Check the impact on your lab logins. In smbclient, use ls, mkdir NAME and exit; Linux shell commands such as docker or ls -lah are not smbclient commands.

Connect AccessScope

Use a persistent approved shared Docker network. Configure OpenLDAP/RFC2307 at openldap:389 and dc=example,dc=org only for this isolated plaintext LDAP test. Create a separate SMB credential with the enrolled account, such as LAB\ulastname1.

Add the SMB source \samba\shared. Select the directory for identity resolution, then grant the source to the investigator profile.

Review/enforce the lab's SMB allowlist. The shipped enable-smb-lab.sh assumes exact container/network names and IPv4 prerequisites. Run it only after reviewing those assumptions, and rerun after relevant recreation/restarts.

Investigate

Test metadata read and inspect \samba\shared. Search the directory by actual uid/display name. Review nested directory groups in Access Relationships. Samba UID/GID SID labels may resolve for display, but an OpenLDAP identity is not a native AD SID or a reconstructed Windows token.

Do not conclude that a successful graph proves a user can perform every operation on the share. Keep the real smbclient test and storage ACL/mapping evidence as separate observations.

DOCUMENT CONTROL

Product baseline v0.9.0 · State schema 8 · Content reviewed 2026-11-06. This website rendering preserves the source packet's qualifiers, compatibility boundaries and acceptance status.

WESERCODE ONE / CUSTOMER PORTAL

One customer account for every product.

Support tickets, order inquiries, and verified license and subscription records in one secure workspace.

Open customer portal ↗
BUILT BY WESERCODE · BREMEN

Make access easier to understand.

Discuss an evaluation, deployment question or the product roadmap with WeserCode.

Talk to WeserCode ↗