- Feb 8, 2004
- 12,604
- 15
- 81
I have mint 17 on a home server, ive set up samba and shared 1 directory. My windows laptop can see it and access it just fine! The other linux desktop cant see anything. 
Help?
			
			Help?
name resolve order = bcast host lmhosts winsNo. They don't run SambaCan the same command be used for Windows boxes?
That is not a "command". That is a configuration.Can the same command be used for Windows boxes?
I have a similar issue with my Linux laptop. It runs Ubuntu 12.04 LTS. When I click on Network in the file browser widget, and then click on "Windows Network", then it always comes up with an error. It doesn't show the browse list. I haven't been able to access my unRAID, QNAP, or Seagate GoFlex Home CIFS/SMB shares.
Be very, very careful with that. Lanman's hash has long since been compromised: http://en.wikipedia.org/wiki/LM_hashIn addition I had to add client lanman auth = Yes."
[/I]
Be very, very careful with that. Lanman's hash has long since been compromised: http://en.wikipedia.org/wiki/LM_hash
Try adding this to all the Linux boxes' smb.conf files:
The above definitely works when Windows is handling DHCP and DNS.Code:name resolve order = bcast host lmhosts wins
Inconsistent name resolution has been a long-standing problem with default configs (and worse, most "solutions" are to edit host files).
gksu gedit /etc/samba/smb.confThanks for the advice. This is for a home file server than isn't accessible outside of my intranet so I'm not worried much about it, but I'll make note for the future.
This is the smb.conf, sans comments, of the latest PC I had to deal with name resolution from other clients on (anonymized):Were do I put this in the smb.conf file? I opened the file using thecommand but no matter where I put it it doesn't seem to make a difference. Is there a special syntax I need to use?Code:gksu gedit /etc/samba/smb.conf
[global]
	workgroup = DOMAIN
	passdb backend = tdbsam
	printing = cups
	printcap name = cups
	printcap cache time = 750
	cups options = raw
	map to guest = Bad User
	include = /etc/samba/dhcp.conf
	logon path = \\%L\profiles\.msprofile
	logon home = \\%L\%U\.9xprofile
	logon drive = P:
	usershare allow guests = No
	idmap gid = 10000-20000
	idmap uid = 10000-20000
	kerberos method = secrets and keytab
	realm = DOMAIN.SUFFIX
	security = ADS
	template homedir = /home/%D/%U
	template shell = /bin/bash
	winbind offline logon = yes
	winbind refresh tickets = yes
	netbios name = HOSTNAME
	winbind use default domain = Yes
	winbind enum users = Yes
	winbind enum groups = Yes
	winbind nested groups = Yes
	winbind separator = +
   
	preferred master = no
	dns proxy = no
	name resolve order = bcast host lmhosts winssearch domainname.suffix
domain domainname.suffix
nameserver 192.168.1.1
nameserver 192.168.1.20
 
				
		