Ubuntu Pastebin

Paste from ezethnesthrown at Mon, 8 May 2017 11:49:33 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
Hello. 
I have a problem with following the Samba and LDAP guide (https://help.ubuntu.com/lts/serverguide/samba-ldap.html). 
I'm currently running Ubuntu Server v16.04. 
The guide is currently out-of-date so my external guide is at (https://bugs.launchpad.net/serverguide/+bug/1579209 at comment #8).
I'm having a problem at 'Adding Samba LDAP objects' where I need to run the command 'sudo smbldap-populate'.

The error says: [[
Unable to open /etc/smbldap-tools/smbldap.conf for reading !
Compilation failed in require at /usr/sbin/smbldap-populate line 30.
BEGIN failed--compilation aborted at /usr/sbin/smbldap-populate line 30.
]]

I have checked that "/etc/smbldap-tools/smbldap.conf" does not exist.
I used [[ tree / | grep "smbldap\.conf" ]] to find "smbldap.conf"
There are a few result which one of them is "smbldap.conf.gz" but I don't know where the main directory is to begin searching.
I don't even know if getting the configuration from the found gunzipped is the correct way.
Files in "/usr/sbin" seems like commands so I don't dare to touch it.
Download as text