[Samba] Strange error

Lars Roland lroland at gmail.com
Tue Nov 23 12:38:10 GMT 2004


Hi all.

I have samba 3.0.8 running on a redhat 7.3 server, I can join a domain
using rpc, but if I use ads then I get

 -------------------------------
[root at x2scan root]# net ads join Computers -W SOFTCOM -U addtodomain
addtodomain's password:
[2004/11/19 14:38:07, 0] utils/net_ads.c:ads_startup(186)
   ads_connect: No such file or directory
 [root at x2scan root]#
 -------------------------------
 
Why do this error ocure ?, I have used the same options before so I am
sure that it must work (that is, smb.conf is configured 100% correct
so the problem does not lie there, also I have a debian sarge
installation that can join the same domain with the same command
using. If i run ldd on the net program then i get:

 -------------------------------
[root at x2scan websafe2.0]# ldd /usr/bin/net
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x4001a000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x40048000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40059000)
        libdl.so.2 => /lib/libdl.so.2 (0x4006e000)
        libpopt.so.0 => /usr/lib/libpopt.so.0 (0x40071000)
        libgssapi_krb5.so.2 => /usr/kerberos/lib/libgssapi_krb5.so.2
(0x40078000)
        libkrb5.so.3 => /usr/kerberos/lib/libkrb5.so.3 (0x4008a000)
        libcrypto.so.2 => /lib/libcrypto.so.2 (0x400e2000)
        libk5crypto.so.3 => /usr/kerberos/lib/libk5crypto.so.3 (0x401a5000)
        libcom_err.so.3 => /usr/kerberos/lib/libcom_err.so.3 (0x401b5000)
        libldap.so.2 => /usr/lib/libldap.so.2 (0x401b7000)
        liblber.so.2 => /usr/lib/liblber.so.2 (0x401e0000)
        libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
        libsasl.so.7 => /usr/lib/libsasl.so.7 (0x401eb000)
        libssl.so.2 => /lib/libssl.so.2 (0x401f6000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x40223000)
        libpam.so.0 => /lib/libpam.so.0 (0x40229000)
 -------------------------------

this seams to be correct. The only problem left as far as I can see is
that this computer in the past has been a part of a windows domian,
can I somehow flush all of the samba config/cache so I amm 100% sure
that I am starting from scratch ?.


Regards.

Lars Roland


More information about the samba mailing list