Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 12-08-2007, 05:14 AM   #1
Registered: Sep 2005
Distribution: Debian unstable && Kazit (reformated knoppix)
Posts: 194

Rep: Reputation: 31
[samba] how to reslov names in Ad-hoc networks ?


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 :

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

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

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

        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..
Old 12-08-2007, 11:02 PM   #2
Registered: Jun 2004
Posts: 307

Rep: Reputation: 42
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).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba Wireless Ad-Hoc Jansport_Kiefer Linux - Wireless Networking 3 12-13-2007 03:58 AM
Dlink DWL-G520+ AccessPoint or Ad-Hoc, Samba access? xbaez Linux - Wireless Networking 11 06-29-2006 07:06 AM
How to design routing protocol for ad-hoc networks with time guarantee? ArthurHuang Linux - Networking 0 05-04-2006 11:03 PM
Broadcast in ad hoc networks rickthemick Linux - Networking 2 10-29-2004 08:49 AM
SAMBA: display of share names is OK but files names are wrong superandrzej Linux - Software 5 02-02-2004 09:14 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration