Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Problem on mounting windows xp share

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
der_wolf
n00b
n00b
Posts: 3
Joined: Thu Apr 08, 2004 8:12 pm
Location: Worms :-) Germany

Problem on mounting windows xp share

  • Quote

Post by der_wolf » Thu Jun 03, 2004 9:18 am

Hi @all,

i set up a fileserver and try to backup my win xp home edition data....
but i'm unable to connect to mount my share

vitaserv root # mount -t smbfs -o username="Janina Mohr",password=gxybg4823 //katinka/test /mnt/janina/
INFO: Debug class all level = 4 (pid 3944 from pid 3944)
doing parameter security = user
doing parameter encrypt passwords = yes
doing parameter smb passwd file = /etc/samba/private/smbpasswd
doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
doing parameter interfaces = lo eth0
doing parameter hosts allow = 127.0.0.1 192.168.0.0/24
doing parameter hosts deny = 0.0.0.0/0
doing parameter os level = 33
doing parameter dns proxy = no
doing parameter client code page = 850
doing parameter character set = ISO8859-1
pm_process() returned Yes
opts: rw
opts: username=Janina Mohr
opts: password=fdsfsdfds879
mount.smbfs started (version 2.2.8a)
added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
added interface ip=192.168.0.8 bcast=192.168.0.255 nmask=255.255.255.0
resolve_lmhosts: Attempting lmhosts lookup for name katinka<0x20>
getlmhostsent: lmhost entry: 127.0.0.1 localhost
resolve_hosts: Attempting host lookup for name katinka<0x20>
Connecting to 192.168.0.12 at port 139
timeout connecting to 192.168.0.12:139
Error connecting to 192.168.0.12 (Operation already in progress)
3944: Connection to katinka failed
SMB connection failed

also i see my smb share folders but not the content :(

can anybody help me please ??

christian

P.S on windows 2k prof everything runs well

my smb.conf

[global]

# 1. Server Naming Options:
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = HELP

# netbios name is the name you will see in "Network Neighbourhood",
# but defaults to your hostname
netbios name = Vitaserv

# server string is the equivalent of the NT Description field
server string = Samba Server %v



# 3. Logging Options:
# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/log.%m

# Put a capping on the size of the log files (in Kb).
max log size = 50

# Set the log (verbosity) level (0 <= log level <= 10)
log level = 4

# 4. Security and Domain Membership Options:
# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page. Do not enable this if (tcp/ip) name resolution does
# not work for all the hosts in your network.
; hosts allow = 192.168.1. 192.168.2. 127.


# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = user

# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
# Encrypted passwords are required for any use of samba in a Windows NT domain
# The smbpasswd file is only required by a server doing authentication, thus
# members of a domain do not need one.
encrypt passwords = yes
smb passwd file = /etc/samba/private/smbpasswd




# 5. Browser Control and Networking Options:
# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
interfaces = lo eth0

hosts allow = 127.0.0.1 192.168.0.0/24
hosts deny = 0.0.0.0/0


# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
os level = 33

# 6. Domain Control Options:
# Enable this if you want Samba to be a domain logon server for
# Windows95 workstations or Primary Domain Controller for WinNT and Win2k
; domain logons = yes

# if you enable domain logons then you may want a per-machine or
# per user logon script
# run a specific logon batch file per workstation (machine)
; logon script = %m.bat
# run a specific logon batch file per username
; logon script = %U.bat

# Where to store roaming profiles for WinNT and Win2k
# %L substitutes for this servers netbios name, %U is username
# You must uncomment the [Profiles] share below
; logon path = \\%L\Profiles\%U

# Where to store roaming profiles for Win9x. Be careful with this as it also
# impacts where Win2k finds it's /HOME share
; logon home = \\%L\%U\.profile

# 7. Name Resolution Options:
# All NetBIOS names must be resolved to IP Addresses
# 'Name Resolve Order' allows the named resolution mechanism to be specified
# the default order is "host lmhosts wins bcast". "host" means use the unix
# system gethostbyname() function call that will use either /etc/hosts OR
# DNS or NIS depending on the settings of /etc/host.config, /etc/nsswitch.conf
# and the /etc/resolv.conf file. "host" therefore is system configuration
# dependant. This parameter is most often of use to prevent DNS lookups
# in order to resolve NetBIOS names to IP Addresses. Use with care!
# The example below excludes use of name resolution for machines that are NOT
# on the local network segment
# - OR - are not deliberately to be known via lmhosts or via WINS.
; name resolve order = wins lmhosts bcast

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
; wins support = yes

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z

# WINS Proxy - Tells Samba to answer name resolution queries on
# behalf of a non WINS capable client, for this to work there must be
# at least one WINS Server on the network. The default is NO.
; wins proxy = yes

# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The built-in default for versions 1.9.17 is yes,
# this has been changed in version 1.9.18 to no.
dns proxy = no


# Enabling internationalization:
# you can match a Windows code page with a UNIX character set.
# Windows: 437 (US), 737 (GREEK), 850 (Latin1 - Western European),
# 852 (Eastern Eu.), 861 (Icelandic), 932 (Cyrillic - Russian),
# 936 (Japanese - Shift-JIS), 936 (Simpl. Chinese), 949 (Korean Hangul),
# 950 (Trad. Chin.).
# UNIX: ISO8859-1 (Western European), ISO8859-2 (Eastern Eu.),
# ISO8859-5 (Russian Cyrillic), KOI8-R (Alt-Russ. Cyril.)
# This is an example for french users:
client code page = 850
character set = ISO8859-1


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


[Sicherung]
writeable = yes
printable = no
write list = "Christian Wolf","Thomas Mohr",wolf,vita_timber
path = /Sicherung
create mask = 0765
comment = Daten aller Rechner
valid users = vita_timber,"Christian Wolf","Thomas Mohr"
public = yes
Top
RobMcM
Apprentice
Apprentice
User avatar
Posts: 170
Joined: Fri Jul 11, 2003 7:08 pm
Location: Leeds, UK

  • Quote

Post by RobMcM » Thu Jun 03, 2004 1:19 pm

you might like to edit out your password, unless its just for testing...
Keyboard error or no keyboard present. Press F1 to continue.
Top
Jesore
Apprentice
Apprentice
User avatar
Posts: 232
Joined: Wed Jul 17, 2002 4:32 pm
Location: Nürnberg Germany

  • Quote

Post by Jesore » Thu Jun 03, 2004 3:05 pm

First of all, when pasting config files, please delete the comments first. It is so hard to find the real activated options this way as the config files tend to be quite long and there is no syntax highlighting here.
In you share section there are some really nonsense options.
"public = yes" means guests are allowed on that share, so a "valid users" doesn't make sense here. Also when you set "writeable" to yes you don't nee a "write list", that is only for generally forbidding writing (writeable = no) and allowing it to some specified users.

To your problem - if I get it right katinka ist the WinXP home box, right? So you try to mount a shared folder from that box on Linux. Pure shooting into the blue, but is there any form of desktop firewall activated on that win box? At least it sounds like it, as you simply got a connection timeout according to the debug messages. Try a

Code: Select all

telnet 192.168.0.12 139
to see if anything is responding. If no then something generally forbids connections, so you don't have a samba problem.

Jesore
Top
Post Reply

3 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic