[Samba] net ads join / kinit /.conf syntax

kaze kaze at voicenet.com
Thu Feb 19 05:35:25 GMT 2004


--> From: Michael Brown [mailto:sambalist at mikro-net.com]
--> Sent: Wednesday, February 18, 2004 7:50 PM
...
--> On Wed, 18 Feb 2004 18:38:44 -0500
--> "kaze" <kaze at voicenet.com> wrote:
--> > [root at ImediaArchive root]# kinit
--> > -bash: kinit: command not found
--> > [root at ImediaArchive root]#
--> > [root at ImediaArchive root]# klist
--> > -bash: klist: command not found
-->
--> You have to install kerberos first (either MIT or Heimdal); it
--> seems you don't
--> have it on your system.
--> You can find the source tarball for MIT Kerberos here:
-->
--> http://web.mit.edu/kerberos/dist/index.html
-->
--> Hope this helps.
-->
--> Michael Brown

Yeah! I feel farther along, but it still doesn't work.

I installed the krb5-workstation-1.3.1-6.i386.rpm and after re-reading
http://www.samba.org/samba/docs/man/domain-member.html#ads-member restored
/etc/krb5.conf to its original state.

[root at ImediaArchive root]#
[root at ImediaArchive root]#  rpm -qa | egrep krb5
krb5-libs-1.3.1-6
pam_krb5-2.0.4-1
krb5-workstation-1.3.1-6
[root at ImediaArchive root]#
[root at ImediaArchive root]# kinit
-bash: kinit: command not found
[root at ImediaArchive root]#
[root at ImediaArchive root]# ls -laF /usr/local/bin
total 8
drwxr-xr-x    2 root     root         4096 Oct  7 07:16 ./
drwxr-xr-x   11 root     root         4096 Feb 11 11:33 ../
[root at ImediaArchive root]#

/usr/local/bin is where the "Installing and Configuring UNIX Client
Machines" section of
http://web.mit.edu/kerberos/www/krb5-1.3/krb5-1.3.1/doc/krb5-install.html
says kinit and the rest will be. Is there some other package I need to
install or some script to run?

Of course "net ads join ..." still returns "failed: Cannot find KDC for
requested realm"

What to do?
 - kaze



More information about the samba mailing list