Notices

Overclockers Forums > Software > Alternative Operating Systems
Alternative Operating Systems Linux, Mac, Unix Operating Systems and Applications
Forum Jump

can't map to my samba share from win7

Post Reply New Thread Subscribe Search this Thread
 
 
Thread Tools
Old 03-26-12, 11:06 AM Thread Starter   #1
papelboyl1
New Member



Join Date: Mar 2012

 
can't map to my samba share from win7


Code:
osaka# cat /usr/local/etc/smb.conf
[global]
netbios name = osaka
workgroup = AZUMANGA
#security = user
#hosts allow = 192.168.1.0/24 192.168.2.0/24
log file = /var/log/samba/log.%m
max log size = 10

[storage]
path = /storage/backup
public = yes
writable = yes
printable = no
osaka#
Code:
osaka# /usr/local/bin/testparm /usr/local/etc/smb.conf
Load smb config files from /usr/local/etc/smb.conf
max_open_files: increasing sysctl_max (11095) to minimum Windows limit (16384)
rlimit_max: increasing rlimit_max (11095) to minimum Windows limit (16384)
Processing section "[storage]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
	workgroup = AZUMANGA
	log file = /var/log/samba/log.%m
	max log size = 10
	idmap config * : backend = tdb

[storage]
	path = /storage/backup
	read only = No
	guest ok = Yes
osaka#
Code:
osaka# cat /etc/hosts
::1			localhost localhost.my.domain
127.0.0.1		localhost localhost.my.domain

192.168.1.13		osaka
192.168.1.15		yomi

192.168.2.13		osaka2
192.168.2.15		yomi2
osaka#
The contents of my FreeBSD server and Windows 7 hosts file is the same. 192.168.1.0/24 subnet is via my wifi router. While 192.168.2.0/24 is via my unmanaged gigabit switch.

on my windows 7 desktop, I change this setting: Start -> run -> secpol.msc
Local Policies -> Security Options -> Network Security: LAN Manager Authentication
Change NTVLM2 responses only to LM and NTLM - use NTLMV2 session security if negotiated

and restarted the machine as extra precaution. There's also no firewall running on both PC.


When I try mapping "\\osaka2\storage", Windows asks for a username/password so I supplied:
username= osaka\osaka-san or azumanga\osaka-san
password= **********

I then get the error message "supplied network password is not correct". I've searched the net and all seems to point changing the secpol.msc setting should do the trick. But obviously it's not working for me.

I looked at log.nmdb and log.smdb and log.winbindd (as these are the only ones that seems be growing in size and the timestamp is changing) and I didn't see anything related to my problem.

Any ideas? Thank you
papelboyl1 is offline   QUOTE Thanks
Old 03-26-12, 07:06 PM   #2
Stratus_ss
Overclockix Snake Charming Senior
Overclockers AltOS Content Editor

 
Stratus_ss's Avatar 

Join Date: Jan 2006
Location: Ontario Canada

 
did you run
Code:
smbpasswd -a <user name>
and add your user into samba?

__________________
HEAT
Those wishing to contribute to the AltOS section front page please PM me.

Leviathan41: "Playing with a controller because the mouse and keyboard is too easy is like racing with a bicycle because a car is too fast."

Chris Fisher "Windows is like Administration with training wheels"
Stratus_ss is offline Author Profile Folding Profile Heatware Profile   QUOTE Thanks
Old 03-26-12, 07:09 PM   #3
thideras
Banned Neckbeard Moderator
Premium Member #3

 
thideras's Avatar 

Join Date: May 2006
Location: South Dakota

 
If what Stratus_ss posted does not fix it, check the error logs on the server. Windows might think it is a authentication error, but it could be a setup issue in your configuration files or some other configuration issue on the server (folder permissions, SELinux, etc). These logs are usually located in /var/log/samba/ and then the computer that is trying to access the server.

__________________
Desktop: Gigabyte Z77X-UD5H | 3570k 4.6 GHz | 32 GB GSkill Ares | GTX 570 | 180 GB Intel & 2 TB total | Arch Linux and Windows 7
Main server: 30 TB raw disk | 2x Opteron 6134 | Asus KGPE-D16 | 128 GB RAM | IBM M1015 | CentOS 6.2
VM Server: Dell R710 | 2x E5645 | 288 GB RAM | 8x 300 GB Velociraptor | Xen Cloud Platform (XCP)
"That's not overkill, or a lot. That's just thiderastic." -txus.palacios

Current projects: Rackmount Overkill (New) | 30/45 hard drive server
Articles: Rack Mounting 101 | Dell Perc 5/i Throughput Benchmarks
Past projects: Software RAID | The Dragon Case
My Website


Want to talk directly to all the moderators at once? Call the Mod Hotline!
thideras is offline Author Profile Benching Profile Heatware Profile   QUOTE Thanks

Post Reply New Thread Subscribe


Overclockers Forums > Software > Alternative Operating Systems
Alternative Operating Systems Linux, Mac, Unix Operating Systems and Applications
Forum Jump

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Mobile Skin
All times are GMT -5. The time now is 02:59 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
You can add these icons by updating your profile information to include your Heatware ID, Benching Profile ID or your Folding/SETI profile ID. Edit your profile!
X

Welcome to Overclockers.com

Create your username to jump into the discussion!

New members like you have made this the best community on the Internet since 1998!


(4 digit year)

Why Join Us?

  • Share experience
  • Max out your hardware
  • Best forum members anywhere
  • Customized forum experience

Already a member?