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

Notices

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

Rep: Reputation: 31
[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..
 
Old 12-09-2007, 12:02 AM   #2
cjcox
Member
 
Registered: Jun 2004
Posts: 305

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).
 
  


Reply


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 04:58 AM
Dlink DWL-G520+ AccessPoint or Ad-Hoc, Samba access? xbaez Linux - Wireless Networking 11 06-29-2006 08:06 AM
How to design routing protocol for ad-hoc networks with time guarantee? ArthurHuang Linux - Networking 0 05-05-2006 12:03 AM
Broadcast in ad hoc networks rickthemick Linux - Networking 2 10-29-2004 09:49 AM
SAMBA: display of share names is OK but files names are wrong superandrzej Linux - Software 5 02-02-2004 10:14 AM


All times are GMT -5. The time now is 08:02 PM.

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