LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   [samba] how to reslov names in Ad-hoc networks ? (https://www.linuxquestions.org/questions/linux-server-73/%5Bsamba%5D-how-to-reslov-names-in-ad-hoc-networks-605351/)

jabka 12-08-2007 05:14 AM

[samba] how to reslov names in Ad-hoc networks ?
 
Hello,..

maybe this is the wrong place i will be glad if it will be forwarded to the correct place.

On my lpatop i have samba shares (Debian Testing) and the configuration is here :

Code:

[global]
workgroup = MSHOME
netbios name = acerium
security = share
server string = %h server
[iso]
        path = /mnt/hda2/iso
        browsable = yes
        writeable = no
        guest ok =yes
        comment = ISO files (mostly debian related)

[movies]
        forceuser = Temp
        path = /mnt/hda2/movie
        comment = Guess what ?
        browsable = yes
        guest ok=yes
        writeable = no

[download]
        forceuser = Temp
        path = /mnt/hda3/download
        comment = Guess what ?
        browsable = yes
        guest ok=yes
        writeable = no

[games]
        forceuser = Temp
        path = /mnt/hda2/games
        comment = Guess what
        browsable = yes
        guest ok=yes
        writeable = no

When i work with routers (i get an ip and get all the names from nameservers)
i can easily accsed by smb://acerium (servername) or can be checked by smbclient -L //acerium
but when i work with Ad-Hoc i can't resolve.

when i try to check smb://work_group i get no computers in your workgroup. (from memory maybe it said in diffrent words)

maybe it is related to the thing that the samba server isn't the main one ?

Thank you in advance..

cjcox 12-08-2007 11:02 PM

I'll take a stab.. not sure exactly what you mean.

First, you may want to ensure that your samba server becomes the master browser. If there's no domain controller, I think it is wise to do this. Look at domain master option in smb.conf. Might also want to explore the idea of making samba a PDC... if that makes sense.

Depending on your network config, the above may not be desirable, but you may want to look at the remote browse sync option (if there are two networks and you want to have a global network neighborhood and you can't do the above).


All times are GMT -5. The time now is 05:07 PM.