[Samba] net utility (3.0.12) acting strange

Robert Gehr robert.gehr at baumann-gmbh.de
Tue Mar 22 07:56:57 GMT 2005


Hi all

I am running a Suse-9.1 distribution on a server and have
been runnig samba from 3.0.4 up to 3.0.11 succesfully on the beast.
I have got openldap 2.2.11 running and the server works as a PDC
using the LDAP repository
I always downloaded the sources compiled the stuff and off it went without
any
problems.

Yesterday I compiled the 3.0.12 on the machine and when I fired it up I
realized certain strange things concernig the "net utility"

If I do a: "net user -Uusername%passwd -S PDC" I get
Could not connect to server PDC
The username or password was not correct.

The username and password is correct because if I run this command with the
net utility version 3.0.11 it works.
If I do a "net groupmap list" with the 3.0.12 version it also works.

If I get the "net" binary (version 3.0.12) from another server running
suse-9.0 it also works.

On both servers suse-9.1 and suse-9.0 I installed the the same tar ball
(3.0.12) yesterday, compiled the source using exactly the same configure
options and compiled the code without any errors only a couple of compiler
warnings.

My configure options:
./configure --prefix=/usr/local/samba-3.0.12-run --with-ldap
--with-smbmount
--enable-cups=yes --with-acl-support

On the 9.1 server where it is broken, ldd gives:

 linux-gate.so.1 =>  (0xffffe000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x4001f000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x40050000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40062000)
        libdl.so.2 => /lib/libdl.so.2 (0x40078000)
        libldap-2.2.so.7 => /usr/local/lib/libldap-2.2.so.7 (0x4007b000)
        liblber-2.2.so.7 => /usr/local/lib/liblber-2.2.so.7 (0x400a9000)
        libc.so.6 => /lib/tls/libc.so.6 (0x400b5000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x401ca000)
        libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x401e0000)
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x40210000)

The compiler version is:
gcc -v
Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada
--disable-checking --libdir=/usr/lib --enable-libgcj
--with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib
--with-system-zlib --enable-shared --enable-__cxa_atexit i586-suse-linux
Thread model: posix
gcc version 3.3.3 (SuSE Linux)

The linker:

ld -version
GNU ld version 2.15.90.0.1.1 20040303 (SuSE Linux)
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
root at baadm1:/usr/local/samba-3.0.12-run/bin # man ld


On the Suse-9.0 Server the gcc version is 3.3.1 and ld gives
2.14.90.0.5 20030722 (SuSE Linux)


What am I missing here?????????????????????????????????

--
Best Regards
Robert Gehr


 "It you want to live a happy life, tie it to a goal -
    not to people or things."
      ~ Albert Einstein
         o
      /\ /_      o__
    o*  ~(_)     ,>/'_      o__
Robert Gehr     (_)\(_)     ,>/'_   o__       o__
Baumann GmbH, 92224 Amberg (_)\(_)  ,>/'_     ,>/'
visit: http://www.baumann-gmbh.de  (_)\(_)   (_)\(_)
--
To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba

-------------------------------------------------------

-- 
Best Regards
Robert Gehr


	"It you want to live a happy life, tie it to a goal -  
				not to people or things."
						~ Albert Einstein                             
         o
      /\ /_      o__
    o*  ~(_)     ,>/'_      o__
Robert Gehr     (_)\(_)     ,>/'_   o__       o__
Baumann GmbH, 92224 Amberg (_)\(_)  ,>/'_     ,>/'
visit: http://www.baumann-gmbh.de  (_)\(_)   (_)\(_)


More information about the samba mailing list