# / opt / pbis / bin / samba-interop-install --help Usage: / opt / pbis / bin / samba-interop-install {options} [smbd path] Samba and copies the installs machine password from the PowerBroker Identity Services' database to Samba's. Options are: --help Show this help message --install Configure smbd to use interop libraries --uninstall Deconfigure smbd's use of interop libraries --check-version Ensure the version of smbd is supported --loglevel {level} Set the logging to error (default), warning, info, verbose or debug One of the options, --install, --ininstall, or --check-version must be passed. The last argument is the path to smbd. If not specified, it will be automatically detected.
# /opt/pbis/bin/samba-interop-install --check-version Found smbd version 3.6.6 Samba version supported
# /opt/pbis/bin/samba-interop-install --install --loglevel debug [CheckSambaVersion() /builder/src-buildserver/Platform-7.1/src/linux/samba-interop/tools/samba-interop-install.c:500] Found smbd version 3.6.6 [InstallWbclient() /builder/src-buildserver/Platform-7.1/src/linux/samba-interop/tools/samba-interop-install.c:587] Link /usr/lib/x86_64-linux-gnu/libwbclient.so.0 already points to /opt/pbis/lib/libwbclient.so.0 [AddSambaLoadPath() /builder/src-buildserver/Platform-7.1/src/linux/samba-interop/tools/samba-interop-install.c:1100] Samba is already in the load order [SetPassword() /builder/src-buildserver/Platform-7.1/src/linux/samba-interop/pstore-plugin/samba-pstore-plugin.c:459] Wrote machine password for domain CORP in secrets.tdb Install successful
[global] security = ADS workgroup = CONTOSO realm = CONTOSO.COM machine password timeout = 0
[shared-folder] comment = Test shared folder path = / home / shared-folder valid users = CONTOSO \ User1, CONTOSO \ User2, @CONTOSO \ Administrators ^ domain read only = No
# testparm
Source: https://habr.com/ru/post/174497/
All Articles