- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SAMBA error connecting to host:139 (Invalid argume...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2002 07:41 AM
тАО05-08-2002 07:41 AM
Can someone please tell me how to get samba to function???????
I've been struggling. I tried executing the DIAGNOSIS.txt and get the following error when I smbclient -L HOST:
error connecting to 148.98.133.208:139 (Invalid argument)
What does this mean? How do I fix it? Why is samba such a pain????
Tom
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2002 07:50 AM
тАО05-08-2002 07:50 AM
Re: SAMBA error connecting to host:139 (Invalid argument)
" -L This option allows you to look at what services are available on
a server. You use it as "smbclient -L host" and a list should
appear. The -I option may be useful if your NetBIOS names don't
match your tcp/ip dns host names or if you are trying to reach a
host on another network."
and for the -I option:
" -I IP address
IP address is the address of the server to connect to. It should
be specified in standard "a.b.c.d" notation.
Normally the client would attempt to locate a named SMB/CIFS
server by looking it up via the NetBIOS name resolution mechanism
described above in the name resolve order parameter above. Using
this parameter will force the client to assume that the server is
on the machine with the specified IP address and the NetBIOS name
component of the resource being connected to will be ignored.
There is no default for this parameter. If not supplied, it will
be determined automatically by the client as described above."
so try using the -I in conjunction with the -L option.
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2002 08:41 AM
тАО05-08-2002 08:41 AM
Re: SAMBA error connecting to host:139 (Invalid argument)
Thanks for the reply. -I didn't change anything. Here's the complete error:
./smbclient -L cathm208
added interface ip=148.98.133.208 bcast=148.98.133.255 nmask=255.255.255.0
error connecting to 148.98.133.208:139 (Invalid argument)
Connection to cathm208 failed
Here's what my smb.conf looks like:
[global]
workgroup = rls
server string = Samba Server
log file = /var/opt/samba/log.%m
max log size = 1000
security = user
encrypt passwords = no
socket options = TCP_NODELAY
local master = no
read only = no
preserve case = yes
short preserve case = no
dos filetime resolution = yes
syslog = 0
[homes]
comment = Home Directories
[tmp]
path = /tmp
[rls]
path = /208data2/rls
writable = true
I'm using inetd to start samba.
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2002 09:52 AM
тАО05-08-2002 09:52 AM
Solutionmark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2002 10:16 AM
тАО05-08-2002 10:16 AM
Re: SAMBA error connecting to host:139 (Invalid argument)
You're on the right track...
I removed the entries in /etc/services and /etc/inetd.conf and started the samba as daemons and I'm listing available shares.
Now I'm trying to connect from a windows nt box and I'm getting:
System error 86 has occurred.
The specified network password is not correct.
I tried setting the password with smbpasswd, but that didn't help.
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2002 10:30 AM
тАО05-08-2002 10:30 AM
Re: SAMBA error connecting to host:139 (Invalid argument)
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2002 08:15 PM
тАО05-08-2002 08:15 PM
Re: SAMBA error connecting to host:139 (Invalid argument)
hope you won't mind attaching your smb.conf.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2002 04:33 AM
тАО05-09-2002 04:33 AM
Re: SAMBA error connecting to host:139 (Invalid argument)
I'm still having problems connecting from NT. I modified the registry by executing NT4_PlainPassword.reg. I have the same user ID and password on the client and server. I get the following error when I execute "net view cathm208":
System error 5 has occurred.
Access is denied.
And I get this error when I execute the "net use" command:
System error 1240 has occurred.
The account is not authorized to login from this station.
Please see the smb.conf in my previous message.
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2002 06:14 AM
тАО05-09-2002 06:14 AM
Re: SAMBA error connecting to host:139 (Invalid argument)
encrypt passwords = yes
and creating a smbpasswd file entry in
/opt/samba/bin/smbpasswd -a unixusername unixuserpassword
or if you decide to leave
encrypt passwords = no in the smb.conf file, then please refer to these to Microsoft articles to help change the registry for your clients with unencrypted passwords. For NT please refer to article Q166730 and for WIN2000 the article is Q244627
I hope this will help.
Sandra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-09-2002 06:43 AM
тАО05-09-2002 06:43 AM
Re: SAMBA error connecting to host:139 (Invalid argument)
It finally works!
I set the workgroup on the PC, then turned on password encryption, and presto. (:-)
Thanks to Sandra and Mark for your help and inspiration.
Tom