ubuntuusers.de

von windows auf gemeinsamen ordenr zugreifen

Status: Ungelöst | Ubuntu-Version: Ubuntu 5.10 (Breezy Badger)
Antworten |

redcan

Anmeldungsdatum:
1. Mai 2006

Beiträge: Zähle...

hallo zusammen,

hab leider keine lösung bei der forum/wiki suche gefunden.

folgendes problem
freigegebener ordner (/home/redcan rechte auf 777) allgemeine windows-verteilung "dieser rechner ist ein WINS-Server"
nun möchte ich mit win xp auf den ordner zugreifen
anmelungsfenster bei win geöffnet, benutzername und kennwort eingeben (gleich wie bei ubunturechner), aber nichts passiert, kein einloggen.

hat jemand einen tipp was ich falsch mache

danke vorab

redcan

ditsch Team-Icon

Avatar von ditsch

Anmeldungsdatum:
13. November 2005

Beiträge: 12007

Wohnort: Schönbrunn

Was meinst du mit »nichts passiert«? Gibt XP keine Fehlemeldung aus? Hast du denn auch den Samba-Benutzer angelegt bzw. auf security=user umgestellt? Es könnte wahrscheinlich auch helfen, den entsprechenden Teil deiner smb.conf einzusehen.

Chrissss Team-Icon

Anmeldungsdatum:
31. August 2005

Beiträge: 37971

zeig doch mal deine /etc/samba/smb.conf

Tschuess
Christoph

redcan

(Themenstarter)

Anmeldungsdatum:
1. Mai 2006

Beiträge: 12

xp, keine fehlermeldung.

smb.conf

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

wins support = yes
[homes]
   comment = Home Directories
   browseable = no

# By default, the home directories are exported read-only. Change next
# parameter to 'yes' if you want to be able to write to them.
   writable = no

# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
   create mask = 0700

# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
   directory mask = 0700

# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
;   comment = Network Logon Service
;   path = /home/samba/netlogon
;   guest ok = yes
;   writable = no
;   share modes = no

[printers]
   comment = All Printers
   browseable = no
   path = /tmp
   printable = yes
   public = no
   writable = no
   create mode = 0700

# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no
# Uncomment to allow remote administration of Windows print drivers.
# Replace 'ntadmin' with the name of the group your admin users are
# members of.
;   write list = root, @ntadmin

# A sample share for sharing your CD-ROM with others.
;[cdrom]
;   comment = Samba server's CD-ROM
;   writable = no
;   locking = no
;   path = /cdrom
;   public = yes

# The next two parameters show how to auto-mount a CD-ROM when the
#	cdrom share is accesed. For this to work /etc/fstab must contain
#	an entry like this:
#
#       /dev/scd0   /cdrom  iso9660 defaults,noauto,ro,user   0 0
#
# The CD-ROM gets unmounted automatically after the connection to the
#
# If you don't want to use auto-mounting/unmounting make sure the CD
#	is mounted on /cdrom
#
;   preexec = /bin/mount /cdrom
;   postexec = /bin/umount /cdrom



[daten_linux]
path = /home/xpuser
available = yes
browseable = no
public = yes
writable = yes

Chrissss Team-Icon

Anmeldungsdatum:
31. August 2005

Beiträge: 37971

a) Es fehlt in deine smb.conf ein Eintrag wie "security = user" bzw. "security = share"
b) Die Freigabe [daten_linux] ist unnötig, da du schon [homes] freigegeben hast, das ist das Homeverzeichniss des jeweiligen Users

Tschuess
Christoph

redcan

(Themenstarter)

Anmeldungsdatum:
1. Mai 2006

Beiträge: 12

hallo christoph,

super, security = shared wars, vielen dank !!!!

Antworten |