URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID14
Нить номер: 61
[ Назад ]

Исходное сообщение
"Samba+ADS"

Отправлено Stir , 03-Ноя-04 21:46 
Есть Samba 3.0.7 на FreeBSD 5.2.1 при попытке присоеденить машину к AD выдает такое:

admin@host:/usr/local/etc/rc.d# net ads join -U admin%pass -d3
[2004/11/03 11:07:05, 3] param/loadparm.c:lp_load(3897)
  lp_load: refreshing parameters
[2004/11/03 11:07:05, 3] param/loadparm.c:init_globals(1307)
  Initialising global parameters
[2004/11/03 11:07:05, 3] param/params.c:pm_process(566)
  params.c:pm_process() - Processing configuration file "/usr/local/etc/smb.conf"
[2004/11/03 11:07:05, 3] param/loadparm.c:do_section(3390)
  Processing section "[global]"
[2004/11/03 11:07:05, 2] lib/interface.c:add_interface(79)
  added interface ip=xxx.xxx.xxx.xxx bcast=xxx.xxx.xxx.255 nmask=255.255.255.0
[2004/11/03 11:07:05, 3] libads/ldap.c:ads_connect(247)
  Connected to LDAP server xxx.xxx.xxx.yyy
[2004/11/03 11:07:05, 3] libads/ldap.c:ads_server_info(2324)
  got ldap server name dc@DOMAIN.COM, using bind path: dc=DOMAIN,dc=COM
[2004/11/03 11:07:05, 3] libads/sasl.c:ads_sasl_spnego_bind(204)
  ads_sasl_spnego_bind: got OID=1 2 840 48018 1 2 2
[2004/11/03 11:07:05, 3] libads/sasl.c:ads_sasl_spnego_bind(204)
  ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2
[2004/11/03 11:07:05, 3] libads/sasl.c:ads_sasl_spnego_bind(204)
  ads_sasl_spnego_bind: got OID=1 2 840 113554 1 2 2 3
[2004/11/03 11:07:05, 3] libads/sasl.c:ads_sasl_spnego_bind(204)
  ads_sasl_spnego_bind: got OID=1 3 6 1 4 1 311 2 2 10
[2004/11/03 11:07:05, 3] libads/sasl.c:ads_sasl_spnego_bind(211)
  ads_sasl_spnego_bind: got server principal name =dc@DOMAIN.COM
[2004/11/03 11:07:05, 1] libsmb/clikrb5.c:ads_krb5_mk_req(313)
  krb5_cc_get_principal failed (No such file or directory)
[2004/11/03 11:07:05, 1] libsmb/clikrb5.c:ads_krb5_mk_req(321)
  krb5_get_credentials failed for dc$@DOMAIN.COM (Unknown error: -1765328343)
[2004/11/03 11:07:05, 0] utils/net_ads.c:ads_startup(183)
  ads_connect: Unknown error: -1765328343
[2004/11/03 11:07:05, 2] utils/net.c:main(792)
  return code = -1

PS: Домен на Win2k3


Содержание

Сообщения в этом обсуждении
"Samba+ADS"
Отправлено Андрей , 03-Ноя-04 22:31 
Поставить heimdal из портов.
Собрать самбу с поддержкой портового heimdal (make -DKRB5_HOME=/usr/local)