Before install, i get the defaults i configured when installed the
package. I set these to non used variables and created the nslcd.conf
myself.

* nslcd/ldap-bindpw: (password omitted)
* nslcd/ldap-starttls: false
* nslcd/ldap-base:  dc=example,dc=net/
* nslcd/ldap-reqcert:
* nslcd/ldap-uris:  ldap://127.0.0.1/
* nslcd/ldap-binddn:

And after

* nslcd/ldap-bindpw: (password omitted)
* nslcd/ldap-starttls: false
* nslcd/ldap-base: ou=groups,dc=example,dc=com
* nslcd/ldap-reqcert:
* nslcd/ldap-uris: ldap://ldap.example.com
* nslcd/ldap-binddn: cn=nslcd,ou=ldapclient1,ou=machines,dc=example,dc=com


If i understand the process, are debian scripts actually parsing out
options that you've configured and attempting to regenerate the config
file? Should it not be done the same as any other package with a
changed config file. You're prompted to install the package
maintaner's version or keep your own and have the ability of doing a
diff. Not to mention there doesn't actually seem to be any changes
needed in this case. Why even attempt to mess with the config file at
all?

Mark

On Wed, Feb 20, 2013 at 8:37 PM, Arthur de Jong <adej...@debian.org> wrote:
> On Tue, 2013-02-19 at 21:29 +0000, Mark Cunningham wrote:
>> Originally:
>> nslcd: 0.7.15+squeeze2
>> file: nslcd.orig
>>
>> After installing
>> nslcd: 0.7.15+squeeze3
>> file nslcd.conf
>>
>> diff nslcd.*
>> 16c16
>> < base ou=groups,dc=example,dc=com
>> ---
>> > base ou=users,ou=users,dc=example,dc=com
>
> Thanks, this provides some information to go on. Do you happen to have
> information from debconf after and perhaps before the upgrade? The
> configuration can be dumped with:
>   debconf-show nslcd
>
> If you don't have a backup of /var/cache/debconf/ it could be that an
> config.dat-old file is present with different information. Do you
> remember if there were any debconf prompts during the upgrade?
>
> Thanks,
>
> --
> -- arthur - adej...@debian.org - http://people.debian.org/~adejong --


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to