SAMBA configuration
hi,
i have posted this problem in over 10 different forums but no reply yet received. plz help me here. if i am not clear with what my problem is plz reply so that i can explain what else details are required. my pc is connected in a LAN recently i have started using Linux. i have configured my samba so that i can share my files. My PC ip address is 10.100.96.44. here is few lines from my samba conf file. workgroup = MYGROUP netbios name = MYPCNAME i am able to access other PC's which are in my subnet (10.100.96.*) with the NETBIOS name but to access other PC's i should use their ip address (eg. 10.100.97.*) Also PC's in my subnet can access my system with my NETBIOS name (MYPCNAME) but systems in other subnet can't. when i was using windows i was able to access all PC's (regradless of which subnet they are in) with their netbios names. our lan uses Dynamic IP addressing. please can someone help me with what my smb.conf file should contain to access all PC's with their netbios names? thank u PS: when i enter ipconfig in windows i get the following details. " Windows IP Configuration Ethernet adapter Local Area Connection: Connection-specific DNS Suffix : IP Address : 10.100.96.44 Subnet MAsk : 255.255.255.0 Default Gateway : 10.100.96.4 " may be this would help in determining what my smb.conf should contain - Fedora core 4 (64 bit) - AMD 64 |
To communicate outside your local network or into another workgoup, you need a WINS server to resolve names to ip numbers.
Also, samba doesn't find/browse.. The smbclient & nmblookup programmes do this. You can setup samba to be a wins server with the "wins support = yes" option, then tell the dhcp server to supply a wins address to everybody. |
i have already enabled the wins support.
i am posting my smb.conf file here. please suggest necessary changes. # Samba config file created using SWAT # from 127.0.0.1 (127.0.0.1) # Date: 2005/10/31 22:05:16 # Global parameters [global] workgroup = DA-IICT netbios name = STEALTH server string = AI inside I outside log file = /var/log/samba/%m.log max log size = 0 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = /etc/printcap hosts allow = 10.100.95. 10.100.96. 127. dns proxy = No wins support = yes name resolve order = wins lmhosts hosts bcast ldap ssl = no winbind uid = 16777216-33554431 winbind gid = 16777216-33554431 cups options = raw [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No |
Just do the dhcp server additions to tell everyone to use the wins server..
|
i am a newbie to linux so can you please tell me how to add that dhcp thing
|
Below is an example dhcpd (ISC) configuration file,
the line "option netbios-name-servers 192.168.77.1;" is the one for WINS. Code:
authoritative; |
That would depend on whether the network's dhcp server is Linux or a M$ variety..
Better to ask the network admin to make the changes.. |
thnk u. i am on to it. will reply as soon as it gets over.
thanks again 4 ur help |
what happen is your problem rectify???????
Reply. plzzz Rizwan. |
hi rizwan
i kinda didnt try it out yet. i learnt from my administrator that my sytem should act as a WINS server and others should connect to my PC while i forward my requests to the college WINS server. so i didnt try out the dhcp thing. |
All times are GMT -5. The time now is 03:27 PM. |