- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: samba
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
Forums
Discussions
Discussions
Discussions
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
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
03-26-2002 07:06 PM
03-26-2002 07:06 PM
I'm running Linux 7.2 and I want config. Samba
I can see samba server but not access share
Attach is my smb.conf
Any help will be appreciated
Goran
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2002 09:58 PM
03-26-2002 09:58 PM
Re: samba
Have you started 'smbd' ? (usually /etc/rc.d/init.d/smbd start), and does it give any errors (listed in /var/log/messages) when you do so?
Can you see the List of shares (//machine/IPC$) when accessing just '\\machine' ?
What user are you using on your PC? Is this user a valid user on the Linux box? or have you created a mapping using 'smbusers' ?
Is your PC running Windows? If so, which one?
What share are you trying to access? I noticed that you've got 'tmp', 'home', and 'share' listed there, as well as the 'homes' (user) shares.
Get back to us with that, and we'll continue on a little bit further :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2002 04:20 AM
03-27-2002 04:20 AM
Re: samba
I see your smb.conf.
Are you using non-encripted password?
If you want to enable encripted password,
you have to modify smb.conf.
And check your firewall settings using
# ipchains -L
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2002 10:36 PM
03-27-2002 10:36 PM
Re: samba
your
Have you started 'smbd' ? (usually /etc/rc.d/init.d/smbd start), and does it give any errors (listed in /var/log/messages) when you do so?
atash my last./var/log/messages
Can you see the List of shares (//machine/IPC$) when accessing just '\\machine'
I can't see the list of shares \\machine(tasa)
"bad command or file name "
I'm using valid user on the Linux box
My PC is running Windows 98 and I have
hosts with users
and lmhost with users
What share are you trying to access? I noticed that you've got 'tmp', 'home', and 'share' listed there, as well as the 'homes' (user) shares
In net.ner. I can see just smb server?
Hi Nari,
I not using non-encripted password but I want to connect with NT
To eenable encripted password what to modify in smb.conf
Regards
Goran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2002 04:18 AM
03-28-2002 04:18 AM
Re: samba
if you want to encrypt passwords, you must only add a line
encrypt passwords = yes
to your smb.conf
You must then use smbpasswd to add user <-> password mappings.
Regarding your problems:
Try \\(IP-Adress)\share to access your server. I know some environments where there are problems with the name resolvation...
If you can access your samba this way, you can try to enable samba as wins server and add this in the configuration of the win98-pc...
If you still cannnot access your samba, I think you should check, if ports 137-139 are unblocked in a firewall between the samba-server and the win98 client.
HTH,
Christoph
P.S.: Do not forget to assign points :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2002 09:21 AM
03-28-2002 09:21 AM
Re: samba
netstat -an | grep 13[7-9]
to see if the deamons are listening. They should be listing on UDP ports 137 and 138 as well as TCP port 139.
Check the nmbd and smbd log files in /var/log. Names may vary.
See samba.org for more debug info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2002 01:02 PM
03-29-2002 01:02 PM
SolutionI had a look to your smb.conf file :
Here is (probably) a mistake :
smb passwd file = /usr/bin/smbpasswd
Normally, you should use this parameter to specify the location of the passwd file itself, not the program used to make it.
The passwd file can be found either in /etc or /etc/samba.
Remark 1 : make sure that the /usr/bin/smbpasswd binary was not corrupted. If it is the case, restore it from another machine running the same version of Samba, or re-install Samba.
Remark 2 : each remote user must have an account in both your smbpasswd database and the Unix /etc/passwd. For example, if you are connecting from windows using the user "goran", it must exist in /etc/passwd and in /etc/samba/smbpasswd.
To add a user in samba password database :
/usr/bin/smbpasswd -a goran
To change goran's password in samba database :
/usr/bin/smbpasswd goran
Good luck.
Kodjo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2002 08:28 AM
03-31-2002 08:28 AM
Re: samba
Thanks for respond its work now
New
If I use command ipfwadm
I got Warning: you must enable ip forwarding for packets to be forwarded at all
use "echo 1 "> /proc/sys/net/ipv4/ip_forward
For what is stand this and what should I do?
Regards
Goran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2002 02:14 PM
03-31-2002 02:14 PM
Re: samba
"pfwadm" : this command just help you set the kernel rules for network packet filtering. These rules apply to both incoming packets, outgoing packets and packets forwarded from a network interface to another.
According to the IP forwarding : normally, packet forwarding is disabled by default. To enable it, you must tell the kernel to do so by typing :
echo "1" >/proc/sys/net/ipv4/ip_forward
Warning 1 : you must know what you are doing because this is a security hole. For example if your LAN card eth0 is on your local subnet and ppp0 is you modem connection to the Internet, doing this allows packets to be forwarded from/to your local subnet to/from the Internet.
Warning 2 : if IP addresses from a subnet are not valid on the other one (this is mostly the case), you must set your ipfwadm rules to enable network address translation (NAT, also known as masquerading). This converts "on the fly" of packets routed from a subnet to another.
Good luck.
Kodjo
*****
Just for your information : it would have been a good idea to ask a new question in the forum. The reason for that is simple to understand : when people see "magic answer" icon (8-10 points given to a response), they skip to another question, so if you ask another question in the same thread, it will simply be ignored by most people.
*****
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2002 08:47 PM
04-02-2002 08:47 PM
Re: samba
Thank you for the reply and for your info about ask a new question in the forum. I didn't know that. You can see that I'm new.
Thank you
Goran