LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-04-2010, 05:46 AM   #1
Linux Fan
LQ Newbie
 
Registered: Jun 2008
Posts: 29

Rep: Reputation: 15
Mapping linux folder to windows drive


I'm have a server running linux ver:
Linux version 2.4.22-1.2115.nptl (bhcompile@daffy.perf.redhat.com) (gcc version 3.2.3 20030422 (Red Hat Linux 3.2.3-6)) #1 Wed Oct 29 15:42:51 EST 2003

from my windows xp machine I can see that there are three shared folders using : 1- run then \\10.1.2.4
I can map tow of these folders to a network drive using the root credentials.
but when I tried to map the third one (it was mapped before) I got the following errors:
first asking to insert the password again
http://www.freeimagehosting.net/uploads/b8c6de71a8.jpg

then:
asking to put the password but as a gust
http://www.freeimagehosting.net/uploads/f71a929af4.jpg

Anybody can help?????

Last edited by Linux Fan; 02-04-2010 at 05:48 AM.
 
Old 02-04-2010, 07:42 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
Which directories are you exporting? Are they read-only? What is the ownership and permissions of the directories and what are they used for? Who should have access?

The "guest" user in Samba is often mapped to the "nobody" user in Linux when guests are allowed and the user is unknown or not authorized to access the share.

Does the Samba server use "smbpasswd" or "tdbsam" for authenticating users?

Please post your /etc/samba/smb.conf to help answer many of these questions.
 
Old 02-04-2010, 08:42 AM   #3
Linux Fan
LQ Newbie
 
Registered: Jun 2008
Posts: 29

Original Poster
Rep: Reputation: 15
thank you jschiwal
Actually I can mount/home/lowers but the prob in /home/vss
[root@automation2 root]# ls -l /home/
total 188
drwxr-xr-x 10 root root 4096 Mar 4 2008 automation4
drwxr-xr-x 10 root root 4096 Mar 4 2008 automation_awtar
drwxr-xr-x 10 root root 4096 Feb 13 2008 automation_gear
drwxr-xr-x 11 root root 4096 Jan 17 2008 automation_vj
drwxr-xr-x 4437 vss games 150858 Feb 2 07:00 lowres
drwx------ 2 nagios nagios 4096 Aug 27 2007 nagios
drwxrwxrwx 7 hisham hisham 4096 Jan 17 2008 packages
drwxr-xr-x 2 root root 4096 Jan 24 2006 scripts
-rw-r--r-- 1 root root 8 Jan 17 2008 test
drwxr-xr-x 7 vss root 4096 Dec 24 2007 vss
drwx------ 7 vss vss 4096 May 17 2005 vss2


I used to access the shared folders with the root username and password.
+++++++++++++++++++++++++++++++++++++++++++++++
/etc/samba/smb.conf
[lowres]
path = /home/lowres
public = yes
guest ok = yes
only guest = yes
writable = yes
browseable = yes
read only = no


[vss]
comment = vss for music plus projects
path = /home/vss
valid users = vss
public = no
writable = yes
; printable = no
create mask = 0765
browseable = yes

# The following two entries demonstrate how to share a directory so that two
# users can place files there that will be owned by the specific users. In this
# setup, the directory should be writable by both users and should have the
# sticky bit set on it to prevent abuse. Obviously this could be extended to
# as many users as required.
;[myshare]
; comment = Mary's and Fred's stuff
; path = /usr/somewhere/shared
; valid users = mary fred
; public = no
; writable = yes
; printable = no
; create mask = 0765

++++++++++++++++++++++++++++++++++++++++++++=
[root@automation2 root]# more /home/vss/users.txt
Admin = users\admin\ss.ini
Guest = users\guest\ss.ini
Zooz = users\zooz\ss.ini
Hisham = users\hisham\ss.ini
Anu = users\anu\ss.ini
Wael = users\wael\ss.ini


I hope that will help, and thank u again
 
  


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
mapping a windows network drive andy1974 Linux - Networking 8 02-01-2011 05:09 PM
Mapping a windows drive letter to my desktop linux box sir_com Linux - Newbie 2 05-28-2008 12:52 AM
Windows to Linux - Remote Desktop / Mapping Linux home directory as drive. goldenmongoose Linux - Server 2 05-02-2007 02:15 AM
Mapping a windows drive to a Linux box tbthorpe Linux - Networking 6 02-21-2005 01:48 PM
Mapping drive from Windows to Linux rkingndayton Linux - Networking 1 10-15-2003 10:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:29 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration