smbldap-tools: no write access to parent

Jérôme Tournier jerome.tournier at idealx.com
Sun Apr 4 21:56:11 GMT 2004


Le Sun, Apr 04, 2004 at 04:58:11AM +0200, Graham Leggett a ecrit:
> The problem turns out to be the ./configure.pl script for smbldap-tools.
> When the bind DN was imported from smb.conf, it put an extra set of 
> double quotes around the DN, like this: ""cn=Manager"".
> Is it possible to update smbldap-tools to be aware of double quotes when 
> importing the config?
This patch should fix the problem
-- 
Jérôme
-------------- next part --------------
--- configure.pl.orig	2004-04-04 23:54:11.000000000 +0200
+++ configure.pl	2004-04-04 23:54:44.000000000 +0200
@@ -107,6 +107,7 @@ while (<CONFIGFILE>) {
 
 		# we remove any %U from the smb.conf that can't be used here
 		$value=~s/\%U//;
+		$value=~s/"//g;
 
                 $config{$param} = $value;
 


More information about the samba-technical mailing list