Johan de Vries
2004-Oct-04 06:20 UTC
[Samba] Repost: ads_connect: No such file or directory
Hi all, I like to ask my question again Is there something known about this ? The question is asked several times before in this group, but so far I didn't find any answer to the question Can somebody help me out ? I want to have Samba join a win2000 active directory I am using samba-3.0.7 This is compiled on a RedHat 9 machine with: --prefix=/usr --localstatedir=/var --with-configdir=/etc/samba --with-privatedir=/etc/samba --with-fhs --with-quotas --with-msdfs --with-smbmount --with-ads --with-pam --with-pam_smbpass --with-syslog --with-utmp --with-sambabook=/usr/share/swat/using_samba --with-swatdir=/usr/share/swat --with-libsmbclient --with-winbind --with-winbind-auth-challenge When I do a: net ads join -Uadministrator I get: [2004/10/01 13:21:07, 0] utils/net_ads.c:ads_startup(183) ads_connect: No such file or directory It appears the file: ads_connect is missing Where is ads_connect coming from ? Do I need more compile options ? Kerberos 1.2.7-10 is installed (rpm) including the development (rpm) OpenLdap 2.0.27-8 is installed (rpm) including the development (rpm) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Doug VanLeuven
2004-Oct-04 09:38 UTC
[Samba] Repost: ads_connect: No such file or directory
Johan de Vries wrote:>When I do a: net ads join -Uadministrator >I get: >[2004/10/01 13:21:07, 0] utils/net_ads.c:ads_startup(183) > ads_connect: No such file or directory > >It appears the file: ads_connect is missing >Where is ads_connect coming from ? >Do I need more compile options ? > > >Kerberos 1.2.7-10 is installed (rpm) including the development (rpm) >OpenLdap 2.0.27-8 is installed (rpm) including the development (rpm) > >The way to read this is from source file utils/net_ads.c inside function ads_startup, line (183) the error message returned by the call to the ads_connect function is "No such file or directory" Can't say I've seen this error at this place. Without digging deeper, it's either looking for one of the krb5 configuration files or one of the samba parameters for ldap is pointing to a non-existant file. Couple things to check Run testparm and look for errors in samba config. Follow the writeup in the The Official Samba-3 HOWTO and Reference Guide Samba ADS Domain Membership Earlier versions of MIT kerberos prior to 3 something, [libdefaults] at a minimum should look like this [libdefaults] default_realm = YOUR.KERBEROS.REALM default_tgs_enctypes = des-cbc-crc des-cbc-md5 default_tkt_enctypes = des-cbc-crc des-cbc-md5 permitted_enctypes = des-cbc-crc des-cbc-md5 If you get a more current kerberos, add rc4-hmac as the first enctype Regards, Doug
Apparently Analagous Threads
- Ads_connect: Server not found in Kerberos database
- Error joining Win2K domain: ads_connect: DSA is unavailable
- ADS and samba domain member: ads_connect: Cannot resolve network address for KDC in requested realm
- ads_connect: Program lacks support for encryption type
- ADS and samba domain member: ads_connect: Cannot resolve network address for KDC in requ