Greetings everyone, I've been trying to setup samba domain controller with an Fedora DS LDAP backend. Every time I attempt to provision samba I receive the error message. [root at Linux64test samba-4.0.0alpha17]# ./source4/setup/provision --realm=REDACTED.LOCAL --domain=REDACTED --server-role='domain controller' --ldapadminpass=Redacted --ldap-backend-type=fedora-ds --adminpass=Redacted --server-role=dc --ldap-backend-forced-uri='ldap://redacted:389' You have specified to use an fixed URI ldap://threat03:389 for connecting to your LDAP server backend.? This is NOT RECOMMENDED, as our default communiation over ldapi:// is more secure and much less prone to unexpected failure or interaction Looking up IPv4 addresses Looking up IPv6 addresses No IPv6 address will be assigned Traceback (most recent call last): ? File "./source4/setup/provision", line 267, in ? ??? useeadb=eadb, next_rid=opts.next_rid, lp=lp) ? File "bin/python/samba/provision/__init__.py", line 1671, in provision ??? setup_ds_path=setup_ds_path) ? File "bin/python/samba/provision/backend.py", line 582, in __init__ ??? ldap_backend_forced_uri=ldap_backend_forced_uri, NameError: global name 'ldap_backend_forced_uri' is not defined [root at Linux64test samba-4.0.0alpha17]# Server kernel version Linux Linux64test 2.6.18-238.19.1.el5 #1 SMP Fri Jul 15 07:31:24 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux I have tried to run the provisioning with and without the --ldap-backend-forced-uri and receive the same error message. Is anyone familiar with this issue and know a possible work around? I'm assuming this is a bug and not a feature. If you need anymore info Please ask. Thanks Clinton Popovich 720-295-4038
Andrew Bartlett
2011-Nov-03 21:43 UTC
[Samba] Samba4alpha17 provisioning fails (external LDAP backend)
On Thu, 2011-11-03 at 08:33 -0700, Clint Popovich wrote:> Greetings everyone, > > I've been trying to setup samba domain controller with an Fedora DS LDAP backend. Every time I attempt to provision samba I receive the error message.This never actually worked, is no longer supported. We just have not finished removing the code. The only backend we support is the internal LDB backend. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org