extended provision-backend

Oliver Liebel oliver at itc.li
Mon Aug 3 15:51:02 MDT 2009

hi andrew,

i have implemented and tested some of the new features:
- added slapd-path -parameter to provision backend
- added your patches
- check if another instance of slapd is running during 
provision-backend, if yes, exit with error-message
- auto start slapd after provision-backend has finished without errors 
(ldapi only) and noother slapd is running

then i upgraded  my "old" s4a9-version  from git, and now i run
into a strange error, when running final provision.
looks like that:

#> setup/provision --realm=ldap.local.site --domain=LDAP 
--server-role='domain controller'  --ldap-backend=ldapi 
--ldap-backend-type=openldap --password=linux --username=samba-admin  
Setting up share.ldb
Setting up secrets.ldb
Traceback (most recent call last):
  File "setup/provision", line 188, in <module>
  File "bin/python/samba/provision.py", line 1041, in provision
    credentials=credentials, lp=lp)
  File "bin/python/samba/provision.py", line 640, in setup_secretsdb
    "LDAPADMINPASS_B64": b64encode(credentials.get_password())
  File "bin/python/samba/provision.py", line 187, in setup_add_ldif
  File "bin/python/samba/__init__.py", line 191, in add_ldif
    for changetype, msg in self.parse_ldif(ldif):
ValueError: unable to parse ldif string

then i tried out a complete unpatched and unmodified s4a9 from git,
but same errors.

any ideas ?


More information about the samba-technical mailing list