gssftp 连接不上

beesman 2007-12-09 07:11:27
redhat enterprise 5 gssftp 连接不上
google搜过了,答案都试过都不行.

[seh@localhost xinetd.d]$ cat gssftp
# default: off
# description: The kerberized FTP server accepts FTP connections \
# that can be authenticated with Kerberos 5.
service ftp
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/kerberos/sbin/ftpd
server_args = -l
log_on_failure += USERID
disable = no
}

seh@localhost xinetd.d]$ cat krb5-telnet
# default: off
# description: The kerberized telnet server accepts normal telnet sessions, \
# but can also use Kerberos 5 authentication.
service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/kerberos/sbin/telnetd
log_on_failure += USERID
disable = no
}
service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
disable = no
}

[seh@localhost xinetd.d]$ netstat -a |grep ftp
tcp 0 0 *:ftp *:* LISTEN
[seh@localhost xinetd.d]$

[root@localhost xinetd.d]# netstat -tlnup |grep 21
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 4265/xinetd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2144/sendmail: acce
tcp 0 0 :::22 :::* LISTEN 2111/sshd

[root@localhost xinetd.d]# ftp 192.168.0.4
Connected to 192.168.0.4.
220 localhost.localdomain FTP server (Version 5.60) ready.
334 Using authentication type GSSAPI; ADAT must follow
GSSAPI accepted as authentication type
GSSAPI error major: An invalid name was supplied
GSSAPI error minor: Cannot determine realm for numeric host address
GSSAPI error: initializing context
GSSAPI authentication failed
334 Using authentication type KERBEROS_V4; ADAT must follow
KERBEROS_V4 accepted as authentication type
Kerberos V4 krb_mk_req failed: You have no tickets cached

Name (192.168.0.4:seh): root
331 Password required for root.
Password:
530 Login incorrect.
Login failed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
...全文
519 1 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
lk_cool 2008-02-29
  • 打赏
  • 举报
回复
http://yachi.idv.tw/blog/archives/2005/11/30/158/

23,216

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧