Author Topic: Samba share is not visible in lan  (Read 8584 times)

ZS-Man

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Samba share is not visible in lan
« on: January 09, 2015, 11:21:00 am »
Hi, I have Zentyal4 installed as PDC. Win7 and Linux client joined to domain, users can login. On zentyal is created share folder, but this share is not visible on clients in browse network.  Manual connection by IP address of PDC works fine.

So is there any additional settings for show zentyal shares by netwok browsing?
Browsing shares on another server (freenas) connected to zentyal domain works fine.
Thanks.

NerdPlow

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Samba share is not visible in lan
« Reply #1 on: January 21, 2015, 09:05:52 pm »
I have the same issue;
  I can manually navigate to the share (and use it fine) ,  but it will NOT simply show in Windows7.

 
 I have also tried to manually change and add smb.conf to include
  (note:  you need to change the smb.conf.mas file to make changes permanent)

wins support = yes
local master = yes
preferred master =yes


No change ,  Still not visible to Win7 network .

 I have also played with all settings re: dhcp/dns, etc,  still have found no solution.


pls HALPz :)


itanczos

  • Zen Apprentice
  • *
  • Posts: 37
  • Karma: +1/-0
    • View Profile
Re: Samba share is not visible in lan
« Reply #2 on: January 21, 2015, 11:15:11 pm »
The network discovery code not implemented in Samba4!
 

NerdPlow

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Samba share is not visible in lan
« Reply #3 on: January 22, 2015, 12:01:49 am »
would this explain why all seemed fine when I was using 3.5?   (I have not upgraded, I am working with a fresh install of 4)


Is there a work around for this, or samba addon ?   

« Last Edit: January 22, 2015, 12:29:03 am by NerdPlow »

NerdPlow

  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Samba share is not visible in lan
« Reply #4 on: January 22, 2015, 02:05:23 pm »
can anyone else confirm? 
 
I cant help but think there is just something silly I am missing here - I read that one person with this issue had a dns setup issue, but they did not specify.  I have re-re-re-checked all I can think of

thx
« Last Edit: January 22, 2015, 02:39:05 pm by NerdPlow »

puntino80

  • Zen Apprentice
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: Samba share is not visible in lan
« Reply #5 on: March 02, 2015, 11:44:34 pm »
Hi is there a solution for this problem?i can't find a solution..

jag_rdmo

  • Zen Apprentice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: Samba share is not visible in lan
« Reply #6 on: March 03, 2015, 08:32:56 am »
Same problem Here, no solution found. It's really annoying.
Users will see it as a drawback from before  :'(

puntino80

  • Zen Apprentice
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: Samba share is not visible in lan
« Reply #7 on: March 03, 2015, 09:47:51 pm »
i don't understand if is a problem of zentyal 4 or if there is something to configure

kissmaniac

  • Zen Apprentice
  • *
  • Posts: 23
  • Karma: +1/-0
    • View Profile
Re: Samba share is not visible in lan
« Reply #8 on: March 09, 2015, 10:10:29 am »
Sure it's annoying.
I ve try many system for supporting file sharing
freenas => serveur is discovered by network (under win 7 & 8.1)
nas4free ==> same
synology => same
zentyal 3.4 ==> same 
zentyal 3.5 ==> no more (dont look for configuration a long time)
zentyal 4.0 ==> no more (even by changing smb.conf.mas with addition of local master/preferred master/win support)
This is really annoying, because common user dont know how to add a network directory, they only know how to search on network their server.
without this function, i all have to mix installation with
- zentyal (dhcp, openldap, openvpn, may be groupware is enough stable)
- NAS  (file sharing, owncloud, zarafa)

puntino80

  • Zen Apprentice
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: Samba share is not visible in lan
« Reply #9 on: March 09, 2015, 10:38:31 am »
KISSMANIAC :"This is really annoying, because common user dont know how to add a network directory, they only know how to search on network their server."

this is the real problem..i don't understand why this thing is not annoying others people..

kissmaniac

  • Zen Apprentice
  • *
  • Posts: 23
  • Karma: +1/-0
    • View Profile
Re: Samba share is not visible in lan
« Reply #10 on: March 10, 2015, 10:11:15 am »
The problem is linked to a known bug on samba/unbuntu.
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1321369

The service nmbd allowing network discover is not started.
First workaround is to launch nmbd service manually : sudo service nmbd start.
After Zentyal server is detected by windows machine.

I have not found currently how to correct the starting of service nmbd. Installation of samba 4.2 ?

itanczos

  • Zen Apprentice
  • *
  • Posts: 37
  • Karma: +1/-0
    • View Profile
Re: Samba share is not visible in lan
« Reply #11 on: March 10, 2015, 04:50:24 pm »
The problem is linked to a known bug on samba/unbuntu.
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1321369

The service nmbd allowing network discover is not started.
First workaround is to launch nmbd service manually : sudo service nmbd start.
After Zentyal server is detected by windows machine.

I have not found currently how to correct the starting of service nmbd. Installation of samba 4.2 ?

The Zentyal deliberately does not start the nmbd service.

In vain I start it manually nmbd the service does not work!
« Last Edit: March 10, 2015, 04:54:35 pm by itanczos »

kissmaniac

  • Zen Apprentice
  • *
  • Posts: 23
  • Karma: +1/-0
    • View Profile
Re: Samba share is not visible in lan
« Reply #12 on: March 11, 2015, 03:55:51 pm »
i spent almost night trying nmbd service starting at boot without success. I am very far from being an unix user.
Last time i build a linux core i was 15 years old ( 35 five now....)
I am confusing between upstart an traditionnal sysvinit system for booting service...
may be i ll try zentyal 3.4 instead of 4.0 snif.


cpservicespb

  • Zen Apprentice
  • *
  • Posts: 20
  • Karma: +0/-1
    • View Profile
Re: Samba share is not visible in lan
« Reply #13 on: March 14, 2015, 11:30:15 pm »
The network discovery code not implemented in Samba4!

You are not quite right.
Samba4 consists actually of 2 pieces of code: Samba4 and Samba3 code.
Neighborhood visibility functionality is at Samba3 code part.
At the moment neighborhood browsing doesn' t work if Samba4 acts as AD DC, and net browsing is not implemented in samba4 daemon and samba4 daemon doesn' t start nmbd daemon responsible for it.
But if Samba4 acts not as AD DC, nmbd can be to start, and you will see Zentyal server computer in your neighborhood environment at Windows.
And there is 2nd but: I got neighborhood browsing working even with AD DC Samba4 for earlier 4.1.x branch versions, for the latest i didn' t check. I told developers about this 'magic' variables where such condition could be reached at. May be they closed up this way.

puntino80

  • Zen Apprentice
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: Samba share is not visible in lan
« Reply #14 on: March 18, 2015, 11:24:37 am »

But if Samba4 acts not as AD DC, nmbd can be to start, and you will see Zentyal server computer in your neighborhood environment at Windows.

Sorry but in zentyal what is the procedure to disable AD DC?i'm confusing