[opensuse] openSUSE 11.0 cannot get samba to work
Hi all, I've stumbled on a problem I've had before... SAMBA problem. I reinstalled my machine with openSUSE 11.0 ( former 10.3 ). I've copied the smb.conf file from the previous installation and restarted the samba server. Now I have a lot of problems: - No one can access my shares. Windows machines claim they cannot see my machine. - With smb_kio I can access almost all machine. A few exceptions a two linux machines configured with security=share - with mount.cifs I can access all shares in the network Here is what I have done: - Used three samba version: Original, openSUSE Updates and Samba/Stable from openSUSE Repositories. - Tried a lot of smb.conf files... What I know: - Samba insists on not working. - The Network PDC is an openSUSE 10.3 with samba on LDAP. - Well... on the previous versions, smb used to be listening on ports TCP/139/445. When I issue a "netcat -anp | grep smb', only this pops up: tcp 0 0 192.168.0.13:55641 192.168.0.251:389 ESTABLISHED 9839/smbd unix 3 [ ] STREAM CONNECTED 39575 9839/smbd I have googled for answers but... I was unable to find any solutions for my problem. Could it be an upgrade issue ? openSUSE 10.3 uses samba 3.0.x and openSUSE 11.0 uses samba 3.2.x. Can anyone point me out in the right direction on how to solve this ? Thanks -- Rui Santos http://www.ruisantos.com/ Veni, vidi, Linux! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On the Windows machines that cannot "see" the Linux machine, did you
try Start -> Run -> \\192.168.12.50 (or whatever the IP of your
machine is)? I've seen the same issue, replaced a RedHat 7.3 machine,
copied the smb.conf file but the Windows machines can't see the new
openSUSE 11.0 machine in their network browser.
On Mon, Sep 15, 2008 at 10:08 AM, Rui Santos
Hi all,
I've stumbled on a problem I've had before... SAMBA problem.
I reinstalled my machine with openSUSE 11.0 ( former 10.3 ). I've copied the smb.conf file from the previous installation and restarted the samba server.
Now I have a lot of problems: - No one can access my shares. Windows machines claim they cannot see my machine. - With smb_kio I can access almost all machine. A few exceptions a two linux machines configured with security=share - with mount.cifs I can access all shares in the network
Here is what I have done: - Used three samba version: Original, openSUSE Updates and Samba/Stable from openSUSE Repositories. - Tried a lot of smb.conf files...
What I know: - Samba insists on not working. - The Network PDC is an openSUSE 10.3 with samba on LDAP. - Well... on the previous versions, smb used to be listening on ports TCP/139/445. When I issue a "netcat -anp | grep smb', only this pops up: tcp 0 0 192.168.0.13:55641 192.168.0.251:389 ESTABLISHED 9839/smbd unix 3 [ ] STREAM CONNECTED 39575 9839/smbd
I have googled for answers but... I was unable to find any solutions for my problem. Could it be an upgrade issue ? openSUSE 10.3 uses samba 3.0.x and openSUSE 11.0 uses samba 3.2.x. Can anyone point me out in the right direction on how to solve this ?
Thanks
-- Rui Santos http://www.ruisantos.com/
Veni, vidi, Linux!
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, 2008-09-15 at 11:41 -0400, Andrew Joakimsen wrote:
Now I have a lot of problems: - No one can access my shares. Windows machines claim they cannot see my machine. - With smb_kio I can access almost all machine. A few exceptions a two linux machines configured with security=share - with mount.cifs I can access all shares in the network
Do you have the port opened in the firewall? -- Michael S. Dunsavage -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Michael S. Dunsavage wrote:
On Mon, 2008-09-15 at 11:41 -0400, Andrew Joakimsen wrote:
Now I have a lot of problems: - No one can access my shares. Windows machines claim they cannot see my machine. - With smb_kio I can access almost all machine. A few exceptions
a
two linux machines configured with security=share - with mount.cifs I can access all shares in the network
Hi Michael,
Do you have the port opened in the firewall?
I have no Firewall... -- Rui Santos http://www.ruisantos.com/ Veni, vidi, Linux! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, 16 Sep 2008 04:06:34 Rui Santos wrote:
Michael S. Dunsavage wrote:
On Mon, 2008-09-15 at 11:41 -0400, Andrew Joakimsen wrote:
Now I have a lot of problems: - No one can access my shares. Windows machines claim they cannot see my machine. - With smb_kio I can access almost all machine. A few exceptions
a
two linux machines configured with security=share - with mount.cifs I can access all shares in the network
Hi Michael,
Do you have the port opened in the firewall?
I have no Firewall...
So the openSuse firewall (which is installed and enabled by default) has been disabled through Yast (Security and Users -> FIrewall)? -- =================================================== Rodney Baker VK5ZTV rodney.baker@iinet.net.au =================================================== Only presidents, editors, and people with tapeworms have the right to use the editorial "we."
Rodney Baker wrote:
On Tue, 16 Sep 2008 04:06:34 Rui Santos wrote:
Michael S. Dunsavage wrote:
On Mon, 2008-09-15 at 11:41 -0400, Andrew Joakimsen wrote:
Now I have a lot of problems: - No one can access my shares. Windows machines claim they cannot see my machine. - With smb_kio I can access almost all machine. A few exceptions
a
two linux machines configured with security=share - with mount.cifs I can access all shares in the network
Hi Michael,
Do you have the port opened in the firewall?
I have no Firewall...
So the openSuse firewall (which is installed and enabled by default) has been disabled through Yast (Security and Users -> FIrewall)?
Well. Sort of... I disabled it in the Runlevels Area... Both 'iptables -L' and 'iptables -L -t nat' have "empty" results. No rule is loaded. -- Rui Santos http://www.ruisantos.com/ Veni, vidi, Linux! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Andrew Joakimsen wrote:
On the Windows machines that cannot "see" the Linux machine, did you try Start -> Run -> \\192.168.12.50 (or whatever the IP of your machine is)? I've seen the same issue, replaced a RedHat 7.3 machine, copied the smb.conf file but the Windows machines can't see the new openSUSE 11.0 machine in their network browser.
Hi Andrew. Thanks for your reply. I've tried that... The error is: 'No network provider accepted the given network path.' Regards, -- Rui Santos http://www.ruisantos.com/ Veni, vidi, Linux! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi Rui, is NMB working? If samba refuses to run, I would suggest to run an strace on samba, as "strace -f -o /tmp/samba.strace rcsmb start. I think it could be helpful if you posted the output of "testparm -v", to show any problems with the configuration and to give us some clues. Kind regards, Martin Am Monday 15 September 2008 16:08:37 schrieb Rui Santos:
Hi all,
I've stumbled on a problem I've had before... SAMBA problem.
I reinstalled my machine with openSUSE 11.0 ( former 10.3 ). I've copied the smb.conf file from the previous installation and restarted the samba server.
Now I have a lot of problems: - No one can access my shares. Windows machines claim they cannot see my machine. - With smb_kio I can access almost all machine. A few exceptions a two linux machines configured with security=share - with mount.cifs I can access all shares in the network
Here is what I have done: - Used three samba version: Original, openSUSE Updates and Samba/Stable from openSUSE Repositories. - Tried a lot of smb.conf files...
What I know: - Samba insists on not working. - The Network PDC is an openSUSE 10.3 with samba on LDAP. - Well... on the previous versions, smb used to be listening on ports TCP/139/445. When I issue a "netcat -anp | grep smb', only this pops up: tcp 0 0 192.168.0.13:55641 192.168.0.251:389 ESTABLISHED 9839/smbd unix 3 [ ] STREAM CONNECTED 39575 9839/smbd
I have googled for answers but... I was unable to find any solutions for my problem. Could it be an upgrade issue ? openSUSE 10.3 uses samba 3.0.x and openSUSE 11.0 uses samba 3.2.x. Can anyone point me out in the right direction on how to solve this ?
Thanks
-- Rui Santos http://www.ruisantos.com/
Veni, vidi, Linux!
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Martin Jedamzik wrote:
Hi Rui,
Hi Martin,
is NMB working? Apparently yes... If samba refuses to run, I would suggest to run an strace on samba, as "strace -f -o /tmp/samba.strace rcsmb start. I think it could be helpful if you posted the output of "testparm -v", to show any problems with the configuration and to give us some clues.
Attached to this email are both strace of nmb and smb. Since they were to big I gzip'ed them. You can also find the "testparm -v" output.
Kind regards,
Thanks for your help,
Martin
-- Rui Santos http://www.ruisantos.com/ Veni, vidi, Linux! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Martin Jedamzik wrote:
Hi Rui,
Hi Martin,
is NMB working? Apparently yes... If samba refuses to run, I would suggest to run an strace on samba, as "strace -f -o /tmp/samba.strace rcsmb start. I think it could be helpful if you posted the output of "testparm -v", to show any problems with the configuration and to give us some clues.
Attached to this email are both strace of nmb and smb. Since they were to big I gzip'ed them. You can also find the "testparm -v" output.
Kind regards,
Thanks for your help,
Martin
-- Rui Santos http://www.ruisantos.com/ Veni, vidi, Linux!
Rui Santos wrote:
Hi all,
I've stumbled on a problem I've had before... SAMBA problem.
I reinstalled my machine with openSUSE 11.0 ( former 10.3 ). I've copied the smb.conf file from the previous installation and restarted the samba server.
Now I have a lot of problems: - No one can access my shares. Windows machines claim they cannot see my machine. - With smb_kio I can access almost all machine. A few exceptions a two linux machines configured with security=share - with mount.cifs I can access all shares in the network
Here is what I have done: - Used three samba version: Original, openSUSE Updates and Samba/Stable from openSUSE Repositories. - Tried a lot of smb.conf files...
What I know: - Samba insists on not working. - The Network PDC is an openSUSE 10.3 with samba on LDAP. - Well... on the previous versions, smb used to be listening on ports TCP/139/445. When I issue a "netcat -anp | grep smb', only this pops up: tcp 0 0 192.168.0.13:55641 192.168.0.251:389 ESTABLISHED 9839/smbd unix 3 [ ] STREAM CONNECTED 39575 9839/smbd
I have googled for answers but... I was unable to find any solutions for my problem. Could it be an upgrade issue ? openSUSE 10.3 uses samba 3.0.x and openSUSE 11.0 uses samba 3.2.x. Can anyone point me out in the right direction on how to solve this ?
Thanks
Well, I figured out what the problem was: I'm using LDAP for login purposes. The ldap client was not configured properly. The options nss_base_passwd, nss_base_shadow and nss_base_group were not configured as they should be at /etc/ldap. Since /etc/nsswitch.conf was configured with "group: files, ldap" ( not compat ), the smb daemon was unable to start correctly . After I managed to correct the ldap definitions, I restarted nscd, nmbd and smbd and, all started to work as it should... Many thanks to all of you who helped me on this subject. -- Rui Santos http://www.ruisantos.com/ Veni, vidi, Linux! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi again, It seems that nscd's cache was supporting my claims. Of course it was only for a short period. Here are a few corrections on what I'm experiencing: On /etc/nsswitch.conf there is a line containing 'group: files ldap'. smb does NOT start correctly with this setting. If I remove the ldap entry from that specific line, smb binds itself to the required ports but, when someone tries to access the specif share, an error "the group name could not be found" appears. ( I'm using LDAP client as authentication source ) I'm assuming there is a problem with samba-3.2.x and the ldap/pam configuration on my machine. I was able to test it on another openSUSE 11.0 x86_64 on the network and, the behavior is the same. For now, I'm disabling samba-server :( as I need to authenticate myself... Before I write a BUG report on openSUSE Bugzilla: - Can anyone corroborate this "so mentioned" bug of samba-3.2.x not starting with an openldap authentication scheme ? - Can anyone claim success on installing a samba server along with openldap authentication ? I also find it strange that I'm the only one experiencing this problem. It is not a usual setup but, I thinks it is also not so rare... Thanks again for your help, -- Rui Santos http://www.ruisantos.com/ Veni, vidi, Linux! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Rui Santos wrote:
Hi all,
I've stumbled on a problem I've had before... SAMBA problem.
I reinstalled my machine with openSUSE 11.0 ( former 10.3 ). I've copied the smb.conf file from the previous installation and restarted the samba server.
Now I have a lot of problems: - No one can access my shares. Windows machines claim they cannot see my machine. - With smb_kio I can access almost all machine. A few exceptions a two linux machines configured with security=share - with mount.cifs I can access all shares in the network
Here is what I have done: - Used three samba version: Original, openSUSE Updates and Samba/Stable from openSUSE Repositories. - Tried a lot of smb.conf files...
What I know: - Samba insists on not working. - The Network PDC is an openSUSE 10.3 with samba on LDAP. - Well... on the previous versions, smb used to be listening on ports TCP/139/445. When I issue a "netcat -anp | grep smb', only this pops up: tcp 0 0 192.168.0.13:55641 192.168.0.251:389 ESTABLISHED 9839/smbd unix 3 [ ] STREAM CONNECTED 39575 9839/smbd
I have googled for answers but... I was unable to find any solutions for my problem. Could it be an upgrade issue ? openSUSE 10.3 uses samba 3.0.x and openSUSE 11.0 uses samba 3.2.x. Can anyone point me out in the right direction on how to solve this ?
Thanks
Well, I've managed to work around this problem. Hi had guest account option in a share section. On openSUSE 10.3, I had no problem with this setup. on openSUSE 11.0, I do... This workaround is enough for me... Thanks all for your help. -- Rui Santos http://www.ruisantos.com/ Veni, vidi, Linux! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Andrew Joakimsen
-
Martin Jedamzik
-
Michael S. Dunsavage
-
Rodney Baker
-
Rui Santos