Hi,
I am running Centos5.1, trying to configure samba now. I am quite new in this area and hope help from the list.
I could not connect to it from a windows xp pc
From the console, I log in and do a
smbclient -L localhost -U%
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.0.25b-0.el5.4]
Sharename Type Comment --------- ---- ------- samba Disk IPC$ IPC IPC Service (Samba 3.0.25b-0.el5.4) Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.0.25b-0.el5.4]
Server Comment --------- ------- ANTIOCH Samba 3.0.25b-0.el5.4
Workgroup Master --------- ------- MYGROUP ANTIOCH
Could you pls help. Thanks
David
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of david chong Sent: Thursday, May 22, 2008 6:21 AM To: CentOS mailing list Subject: [CentOS] samba question
Hi,
I am running Centos5.1, trying to configure samba now. I am quite new in this area and hope help from the list.
I could not connect to it from a windows xp pc
From the console, I log in and do a
smbclient -L localhost -U%
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.0.25b-0.el5.4]
Sharename Type Comment --------- ---- ------- samba Disk IPC$ IPC IPC Service (Samba 3.0.25b-0.el5.4) Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.0.25b-0.el5.4]
Server Comment --------- ------- ANTIOCH Samba 3.0.25b-0.el5.4
Workgroup Master --------- ------- MYGROUP ANTIOCH
Could you pls help. Thanks
David ----------------------------------------------- Did you do any basic network trouble shooting like ping the samba server from the windows host by servername and the ip addy? Start there. You should also need to disable windows simple file sharing in the Tools Menu. Have a look at wiki.centos.org there is great how to there about how to do all this. You will also need to define samba or unix users on your samba server. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Thursday 22 May 2008 14:11:31 John wrote:
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of david chong Sent: Thursday, May 22, 2008 6:21 AM To: CentOS mailing list Subject: [CentOS] samba question
Hi,
I am running Centos5.1, trying to configure samba now. I am quite new in this area and hope help from the list.
I could not connect to it from a windows xp pc
From the console, I log in and do a
smbclient -L localhost -U%
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.0.25b-0.el5.4]
Sharename Type Comment --------- ---- ------- samba Disk IPC$ IPC IPC Service (Samba 3.0.25b-0.el5.4)
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.0.25b-0.el5.4]
Server Comment --------- ------- ANTIOCH Samba 3.0.25b-0.el5.4 Workgroup Master --------- ------- MYGROUP ANTIOCH
Could you pls help. Thanks
David
Did you do any basic network trouble shooting like ping the samba server from the windows host by servername and the ip addy? Start there. You should also need to disable windows simple file sharing in the Tools Menu. Have a look at wiki.centos.org there is great how to there about how to do all this. You will also need to define samba or unix users on your samba server.
If you haven't done samba troubleshooting before google for it. There is a very good guide out there - the copy I have is *way* out of date so I won't offer it.
Anne
david chong wrote:
Hi,
I am running Centos5.1, trying to configure samba now. I am quite new in this area and hope help from the list.
I could not connect to it from a windows xp pc
From the console, I log in and do a
smbclient -L localhost -U%
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.0.25b-0.el5.4]
Sharename Type Comment --------- ---- ------- samba Disk IPC$ IPC IPC Service (Samba 3.0.25b-0.el5.4)
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.0.25b-0.el5.4]
Server Comment --------- ------- ANTIOCH Samba 3.0.25b-0.el5.4 Workgroup Master --------- ------- MYGROUP ANTIOCH
Could you pls help. Thanks
David
Hi David,
I recommend you this: http://www.samba.org/samba/docs/man/Samba-Guide/
This is IMHO an excellent guide made by the good folks at samba.org.
Very basically, you need to edit /etc/samba/smb.conf and define your shares there. The default file is abundantly commented.
You can have your server validate the accesses using locally stored samba/users accounts or even validate with a SMB/CIFS PDC (Winblows or Samba).
Hope this helped a bit!
Guy Boisvert, ing. IngTegration inc.
david chong wrote:
Hi,
I am running Centos5.1, trying to configure samba now. I am quite new in this area and hope help from the list.
Have you ever tried going through the Samba Howto or the Using Samba book material that comes free with samba in html format?
If you want help, then you need to tell us also what you have done...why should we try to walk you through each and every step?
Have you ever tried going through the Samba Howto or the Using Samba book material that comes free with samba in html format?
If you want help, then you need to tell us also what you have done...why should we try to walk you through each and every step?
Hi All,
Thanks for all your suggestions.
No, I don't mean to ask you walking me step by step.
Actually I am following the "Samba 3 By Example" and stuck at the very first example. I copied the whole smb.conf but cannot connect to my box. I can ping to it and ssh to it though.
I notice in the example running "smbclient -L localhost -U%" will output the line below: ADMIN$ IPC IPC Service (Samba 3.0.20)
but from my C5.1, I don't have this line, other lines are the same, can anyone explain this line, wondering if this is where the problem lies.
I notice in the example running "smbclient -L localhost -U%" will output the line below: ADMIN$ IPC IPC Service (Samba 3.0.20)
but from my C5.1, I don't have this line, other lines are the same, can anyone explain this line, wondering if this is where the problem lies.
Run testparm and tell us what your share definitions are...if any.
cheers,
Christopher
Run testparm and tell us what your share definitions are...if any.
[root@antioch david]# testparm Load smb config files from /etc/samba/smb.conf Processing section "[samba]" Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions
[global] workgroup = MYGROUP security = SHARE
[samba] path = /home/samba guest ok = Yes
Thanks David
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of david chong Sent: Thursday, May 22, 2008 10:19 PM To: CentOS mailing list Subject: Re: [CentOS] samba question
Have you ever tried going through the Samba Howto or the Using Samba book material that comes free with samba in html format?
If you want help, then you need to tell us also what you have done...why should we try to walk you through each and every step?
Hi All,
Thanks for all your suggestions.
No, I don't mean to ask you walking me step by step.
Actually I am following the "Samba 3 By Example" and stuck at the very first example. I copied the whole smb.conf but cannot connect to my box. I can ping to it and ssh to it though.
I notice in the example running "smbclient -L localhost -U%" will output the line below: ADMIN$ IPC IPC Service (Samba 3.0.20)
but from my C5.1, I don't have this line, other lines are the same, can anyone explain this line, wondering if this is where the problem lies. ------------------------------
Can you ping the Samba Server by the Server name?
"root@localhost]ping yourservernamehere"
All your line means, is that is the administrative share "\servername\admin$". OK, if you did the example in the from "Samba 3 by Example", then you will be able to connect via anonimously to the samba server from the Windows machine. That is providing that you have the correct file permissions on the Samba Server in question.
For that you will use the commands "chmod & chown". Full access is needed to the folder that is shared in samba using that example. When using chown and chmod be sure to use the "-R Option", to make the changes apply recursively to the shared folder.
I honestly know that if your indeed using that example it will work if followed step by step.
Have a Blast :-D!, JohnStanley _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 5/23/08, John jses27@gmail.com wrote:
Can you ping the Samba Server by the Server name?
Pinging server name, From the server itself can ping. However from winxp client cannot ping by server name, can only ping by ip address.
[root@antioch david]# ping -c3 antioch PING antioch.mc (127.0.0.1) 56(84) bytes of data. 64 bytes from antioch.mc (127.0.0.1): icmp_seq=1 ttl=64 time=0.094 ms 64 bytes from antioch.mc (127.0.0.1): icmp_seq=2 ttl=64 time=0.068 ms 64 bytes from antioch.mc (127.0.0.1): icmp_seq=3 ttl=64 time=0.048 ms
--- antioch.mc ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2000ms rtt min/avg/max/mdev = 0.048/0.070/0.094/0.018 ms
david chong wrote:
On 5/23/08, John jses27@gmail.com wrote:
Can you ping the Samba Server by the Server name?
Pinging server name, From the server itself can ping.
Irrevelant to network problems FYI.
However from winxp client cannot ping by server name, can only ping by ip address.
Okay, no network problems it seems.
Do you have netbios over tcp/ip enabled on your windows xp box?
On 5/23/08, Christopher Chan christopher@ias.com.hk wrote:
Do you have netbios over tcp/ip enabled on your windows xp box?
If I can ping to other windows xp boxes by name, does it mean I have netbios over tcp/ip enabled?
C:\Documents and Settings\user>ping ws03
Pinging ws03 [192.168.0.33] with 32 bytes of data:
Reply from 192.168.0.33: bytes=32 time<1ms TTL=128 Reply from 192.168.0.33: bytes=32 time<1ms TTL=128 Reply from 192.168.0.33: bytes=32 time<1ms TTL=128 Reply from 192.168.0.33: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.0.33: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms
Thanks David
On Fri, May 23, 2008 at 12:09 AM, david chong davidchong144@gmail.com wrote:
Pinging server name, From the server itself can ping. However from winxp client cannot ping by server name, can only ping by ip address.
This probably means that your Win XP hosts file doesn't have the name in it....
mhr
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of david chong Sent: Thursday, May 22, 2008 3:21 AM To: CentOS mailing list Subject: [CentOS] samba question
Hi,
I am running Centos5.1, trying to configure samba now. I am quite new in this area and hope help from the list.
I could not connect to it from a windows xp pc
You should really look into the Samba Mailing list...... https://lists.samba.org/mailman/listinfo/samba
I only use two mailing lists (Linux that is...) Centos and Samba...... Following your thread, you likely need to add the server to the hosts and lmhosts files on your XP boxes, as was already mentioned.... Dennis
On 5/24/08, Dennis McLeod dmcleod@foranyauto.com wrote:
You should really look into the Samba Mailing list...... https://lists.samba.org/mailman/listinfo/samba Following your thread, you likely need to add the server to the hosts and lmhosts files on your XP boxes, as was already mentioned....
Thanks! will check with the samba list, I am with Centos list only for the moment...
I also notice that I can see the workgroup (MYGROUP) in "My Network Places" but cannot double click into it to see the centos share.
On Fri, 23 May 2008, Dennis McLeod wrote:
-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of David chong Sent: Thursday, May 22, 2008 3:21 AM To: CentOS mailing list Subject: [CentOS] samba question
Hi,
I am running Centos5.1, trying to configure samba now. I am quite new in this area and hope help from the list.
I could not connect to it from a windows xp pc
You should really look into the Samba Mailing list...... https://lists.samba.org/mailman/listinfo/samba
I only use two mailing lists (Linux that is...) Centos and Samba...... Following your thread, you likely need to add the server to the hosts and lmhosts files on your XP boxes, as was already mentioned....
Or simply fix DNS. If your DNS is broken, it will cause all kinds of problems. Maintaining hosts or lmhosts files for more than 1 or 2 machines is insanity. Setting up an internal DNS server is trivial compared to setting up samba. I would suggest you take the time to learn how.
Hope this helps.
Regards,