Help Please
Yanan Yin
yy at imageone.co.jp
Fri May 18 11:24:48 GMT 2001
Dear Samba Development Team members,
I tried to install Samba 2.0.7-ja-2.2 on a Sun solaris OS5.5 machine. Once
installed and started, I could not access the Solaris machine from Win98.
Could you please give us some hint about what could be the possible cause
for such problem?
Here is what I did:
1) Compile with gcc using the following option
./configure --with-i18n-swat
2) Install samba according to the instructions given by
http://www.samba.gr.jp/doc/tech/samba_inst.html
make install
mkdir /usr/local/samba/var/locks
chmod 755 /usr/local/samba/var/locks
touch /usr/local/samba/var/locks/STATUS..LCK
vi /etc/services (backup in services.010518)
to add lines:
netbios-ns 137/udp
netbios-ssn 139/tcp
swat 901/tcp
vi /etc/inetd.conf (backup in inetd.conf.010518)
to add lines:
netbios-ssn stream tcp nowait root /usr/local/samba/bin/smbd smbd
netbios-ns dgram udp wait root /usr/local/samba/bin/nmbd nmbd
swat stream tcp nowait.400 root /usr/local/samba/bin/swat
swat
smdb has following optional variables
-l/var/adm/smblogs/log -s/usr/local/samba/smb.conf
nmbd and swat has the following:
-l/var/adm/smblogs/log
kill -HUP `ps -ef | grep inetd | grep -v grep|awk '{print $2}'`
3) I set up my configuration file using the smb.conf.default inside the
example directory of the distribution package as shown in the attched.
4) Try open the Solaris machine from Win98 and got the following error:
[2001/05/18 18:18:18, 1] smbd/reply.c:reply_sesssetup_and_X(927)
Rejecting user 'iwbc': authentication failed
[2001/05/18 18:18:19, 1] smbd/reply.c:reply_sesssetup_and_X(927)
Rejecting user 'iwbc': authentication failed
[2001/05/18 18:18:36, 1] smbd/reply.c:reply_sesssetup_and_X(927)
Rejecting user 'iwbc': authentication failed
[2001/05/18 18:18:36, 1] smbd/reply.c:reply_sesssetup_and_X(927)
Rejecting user 'iwbc': authentication failed
5) By debuggin the source in smbd, it turned out that the password is empty
as shown below which is the first and the biggest problem. Also, I was told
that the password given by Win98 to Samba should be an encrypted password.
But it seems Samba does not think so.
[2001/05/18 20:04:15, 1] passdb/pass_check.c:pass_check(770)
debug: return anyway: checking user=[iwbc] pass=[]
[2001/05/18 20:04:15, 1] passdb/pass_check.c:pass_check(770)
debug: return anyway: checking user=[iwbc] pass=[]
[2001/05/18 20:04:15, 1] passdb/pass_check.c:pass_check(770)
debug: return anyway: checking user=[iwbc] pass=[]
This statement was added for debugging purpose inside the said file.
The configuration file was checked using testparm and no error was found.
Please help.
Thanks in advance.
Best Regards,
Yanan Yin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smb.conf
Type: application/octet-stream
Size: 8991 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20010518/3c749fe2/smb.obj
-------------- next part --------------
-------------------------------------------------------------------
Yanan Yin, Ph.D., yy at imageone.co.jp
Manager, Geo Engineering Group, Earth Information Business Division
ImageONE Co., Ltd., URL: http://www.imageone.co.jp
TEL: +81-3-5908-2857(direct) +81-3-5908-2800, FAX: +81-3-5908-2801
More information about the samba-technical
mailing list