Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Ubuntu Help
Reload this Page Need Guru - Can't map Linux drive from XP box
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Ubuntu Help Discussion and help about Ubuntu, Kubuntu, Xubuntu, and all the Ubuntu family

Reply
 
Thread Tools Display Modes
Old 05-13-2008   #1 (permalink)
brianguy
Just Joined!
 
Join Date: May 2008
Posts: 4
Need Guru - Can't map Linux drive from XP box

Hopefully someone can help as this is really getting frustrating. I’ve always been a WinBlows guy and was recently convinced to forego buying Windows Home Server and install Ubuntu 8.04 Server on an old system instead. The price was right and a good opportunity to pick up some Linux, so I agreed and loaded it as my new file server. Problem so far has been that none of the disparate Guides/Docs I’ve run across fixes my problem. (I have one XP system (thru LinkSys router) and just want to use the Linux box to store mp3s/images/photos for local and remote access and php web development).

The Ubuntu 8.04 Server load went well enough but I cannot map the drive in XP. The XP box runs Zone Alarm and all the necessary IPs have been “trusted.” I can ping the Linux box in Windows and vice versa so they do see each other. From XP, I can SSH into the Linux box (using Tunnelier) and copy files over with no problem, etc., so they are talking to one another. My XP box & Linux box both share the same Username/Password.

The problem comes when I try to actually map the drive in XP so I can just drag/drop files into the Linux share. I select “Map Network Drive” in XP, assign drive letter, etc and then get prompted for my username/pswd. I put it in but it doesn’t connect and won’t create the mapped drive. Can anyone tell me what to do next? Have been working on it for about two weeks now and am obviously missing something. Including my “smb.conf” file below.

Thanks!



[global]

workgroup = MYNET
server string = %h server (Samba, Ubuntu)
; wins support = no
; wins server = w.x.y.z
dns proxy = no
; name resolve order = lmhosts host wins bcast

#### Networking ####

; interfaces = 127.0.0.0/8 eth0
; bind interfaces only = true

#### Debugging/Accounting ####

log file = /var/log/samba/log.%m
max log size = 1000
; syslog only = no
syslog = 0
panic action = /usr/share/samba/panic-action %d


####### Authentication #######

; security = user
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
; guest account = nobody
invalid users = root
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user

########## Domains ###########

; domain logons = yes
; logon path = \\%N\profiles\%U
; logon path = \\%N\%U\profile
; logon drive = H:
; logon home = \\%N\%U
; logon script = logon.cmd
; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u

########## Printing ##########

; load printers = yes
; printing = bsd
; printcap name = /etc/printcap
; printing = cups
; printcap name = cups

############ Misc ############

; include = /home/samba/etc/smb.conf.%m
socket options = TCP_NODELAY
; message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &
; domain master = auto
; idmap uid = 10000-20000
; idmap gid = 10000-20000
; template shell = /bin/bash
; winbind enum groups = yes
; winbind enum users = yes
; usershare max shares = 100
usershare allow guests = yes

#======================= Share Definitions =======================

;[homes]
; comment = Home Directories
; browseable = no
; read only = yes
; create mask = 0700
; directory mask = 0700
; valid users = %S
;[netlogon]
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
; read only = yes
; share modes = no

;[profiles]
; comment = Users profiles
; path = /home/samba/profiles
; guest ok = no
; browseable = no
; create mask = 0600
; directory mask = 0700

[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
; write list = root, @ntadmin

;[cdrom]
; comment = Samba server's CD-ROM
; read only = yes
; locking = no
; path = /cdrom
; guest ok = yes

; preexec = /bin/mount /cdrom
; postexec = /bin/umount /cdrom

[mp3s]
path = /home/MP3
writable = yes
brianguy is offline   Reply With Quote
Old 05-13-2008   #2 (permalink)
coopstah13
Linux Enthusiast
 
coopstah13's Avatar
 
Join Date: Nov 2007
Location: MA, USA
Posts: 505
did you add the user you are trying to use for mapping as a samba user? you need to use smbpasswd and assign the user a samba password to use for authentication
coopstah13 is offline   Reply With Quote
Old 05-13-2008   #3 (permalink)
brianguy
Just Joined!
 
Join Date: May 2008
Posts: 4
Yes, I added my username & password (it's identical to the xp box and lowercase). When I attempt to map the Linux drive in XP it asks for UN/Pswd but just never authenticates. I know it must be something minor since the boxes both see each other, but I haven't really found any comprehensive guides that cover 8.04...Hoping for a guru so I can stay away from Uncle Bill & Windows Home Server...

Thanks
brianguy is offline   Reply With Quote
Old 05-14-2008   #4 (permalink)
brianguy
Just Joined!
 
Join Date: May 2008
Posts: 4
Nobody has used 8.04 as a simple file server with XP before? Should I reload the Linux box with an older version? Anybody run into this issue?
brianguy is offline   Reply With Quote
Old 05-15-2008   #5 (permalink)
brianguy
Just Joined!
 
Join Date: May 2008
Posts: 4
LOL...OK...Now I see why Bill Gates is the richest man in America...
brianguy is offline   Reply With Quote
Old 05-16-2008   #6 (permalink)
coopstah13
Linux Enthusiast
 
coopstah13's Avatar
 
Join Date: Nov 2007
Location: MA, USA
Posts: 505
8.04 has been out for 2 weeks...

you could try installing webmin, it will give you an easy to use web interface to configure it, sometimes its much easier to get things going that way, also, i'm not sure that you actually registered as a samba user, not just as a linux user, you need to link the linux user account to a samba user account using smbpasswd, is this what you did?
coopstah13 is offline   Reply With Quote
Old 05-16-2008   #7 (permalink)
secondmouse
Just Joined!
 
Join Date: May 2008
Posts: 21
What's the error message(s) showing in your /var/log/samba/log.smbd and /var/log/samba/log.nmbd when the authentication failed? Also what's the group name on your xp box? Is it the same as you specified in your smb.conf - MYNET?
secondmouse is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 10:13 PM.

Powered by vBulletin 3.6.8 ©2000 - 2007, content relevant URLs by vBSEO, Property of Core Root.

Content Relevant URLs by vBSEO 3.0.0