typos in SAMBA_3_0 CVS

jpulz at frm2.tu-muenchen.de jpulz at frm2.tu-muenchen.de
Mon Mar 17 10:22:54 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi,

i tried to compile the current CVS today and found a typo and missing
arguments.

i append a small diff, that fixes these problems..

also it would be very nice if someone could add some lines to
'configure.in' to have a option "--with-ldap-base" like it is for
kerberos. this helps alot if openldap is installed in a non standard way.

- --> diff
- --- smbwrapper/smbsh.c_org   Tue Feb 25 13:10:26 2003
+++ smbwrapper/smbsh.c       Mon Mar 17 11:08:47 2003
@@ -92,7 +92,7 @@
                smbw_setshared("PASSWORD", p);
        }

- -       setenv("PS1", "smbsh$ ");
+       setenv("PS1", "smbsh$ ", 1);

        sys_getwd(wd);

@@ -101,18 +101,18 @@
        smbw_setshared(line, wd);

        slprintf(line,sizeof(line)-1,"%s/smbwrapper.so", libd);
- -       etenv("LD_PRELOAD", line);
+       setenv("LD_PRELOAD", line, 1);

        slprintf(line,sizeof(line)-1,"%s/smbwrapper.32.so", libd);

        if (file_exist(line, NULL)) {

slprintf(line,sizeof(line)-1,"%s/smbwrapper.32.so:DEFAULT", libd);
- -               setenv("_RLD_LIST", line);
+               setenv("_RLD_LIST", line, 1);
                slprintf(line,sizeof(line)-1,"%s/smbwrapper.so:DEFAULT",
libd);
- -               setenv("_RLDN32_LIST", line);
+               setenv("_RLDN32_LIST", line, 1);
        } else {
                slprintf(line,sizeof(line)-1,"%s/smbwrapper.so:DEFAULT",
libd);
- -               setenv("_RLD_LIST", line);
+               setenv("_RLD_LIST", line, 1);
        }

        {
- --> eo diff

thanks and regards
joerg

- --
      _/_/_/_/ _/_/_/   _/      _/      _/_/   Joerg Pulz
     _/       _/    _/ _/_/  _/_/     _/   _/  TU Muenchen
    _/       _/    _/ _/ _/_/ _/          _/   ZWE-FRM-II
   _/_/_/   _/_/_/   _/  _/  _/ _/_/    _/     Lichtenbergstrasse 1
  _/       _/_/     _/      _/        _/       85747 Garching
 _/       _/  _/   _/      _/      _/          Tel.: +49 (0)89-289-14708
_/       _/    _/ _/      _/     _/_/_/_/      Fax : +49 (0)89-289-14666
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+daIBSPOsGF+KA+MRAnoZAJ9XXztQSHPM6w9H45Q8xuHxwSJ4hACgr78G
CrcLLl6DJt5zK3wcxplw4P4=
=SgV8
-----END PGP SIGNATURE-----



More information about the samba-technical mailing list