+ -
当前位置:首页 → 问答吧 → samba smbpasswd问题

samba smbpasswd问题

时间:2011-11-20

来源:互联网

ubuntu11.10,用的是Apache Tomcat/7.0.22,在官方网站下的包。放在/opt/tomcat路径下。
浏览器用的是自带的firefox。
tomcat-users.xml文件配置如下
--------------------------------------------------------------------------------------------------------------------------------
<?xml version='1.0' encoding='utf-8'?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<tomcat-users>
<!--
NOTE: By default, no user is included in the "manager-gui" role required
to operate the "/manager/html" web application. If you wish to use this app,
you must define such a user - the username and password are arbitrary.
-->
<!--
NOTE: The sample user and role entries below are wrapped in a comment
and thus are ignored when reading this file. Do not forget to remove
<!.. ..> that surrounds them.
-->
<!--
<role rolename="tomcat"/>
<role rolename="manager-gui"/>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="both" password="tomcat" roles="tomcat,manager-gui"/>
<user username="manage" password="tomcat" roles="manager-gui"/>
-->
</tomcat-users>
------------------------------------------------------------------------------------------------------------------------------------------------
用以上的账户配置,用户名和密码怎么都不对,曾经用apt-get装过一次,后来删除掉了。
怎么解决啊?请大家帮帮忙!

作者: jammes   发布时间: 2011-11-20