PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : von windows auf linux zugreifen



MSchlick
22.01.07, 15:13
Wenn ich von Windows auf linux zugreifen will, seh ich zwar den frei gegebenen ordner share, kann jedoch nicht dadrauf zugreifen.

meine smb.conf:


# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2006-11-27
[global]
workgroup = MSHEIMNETZ
printcap name = cups
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
usershare allow guests = Yes
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain master = No
usershare max shares = 100
domain logons = No
security = user

## Share disabled by YaST
# [homes]
# comment = Home Directories
# valid users = %S, %D%w%S
# browseable = No
# read only = No
# inherit acls = Yes

## Share disabled by YaST
# [profiles]
# comment = Network Profiles Service
# path = %H
# read only = No
# store dos attributes = Yes
# create mask = 0600
# directory mask = 0700

## Share disabled by YaST
# [users]
# comment = All users
# path = /home
# read only = No
# inherit acls = Yes
# veto files = /aquota.user/groups/shares/

## Share disabled by YaST
# [groups]
# comment = All groups
# path = /home/groups
# read only = No
# inherit acls = Yes

[printers]
comment = All Printers
path = /var/tmp/
printable = Yes
create mask = 0600
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers/
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775

## Share disabled by YaST
# [netlogon]

[share]
comment = Freigabe
inherit acls = yes
path = /home/ms/share/
read only = no
guest ok = yes
case sensitive = no
strict locking = no
msdfs proxy = no
public = yes
writable = yes
chmod = 777


hab noch ein bissel bei [share] experimentiert, jedoch ohne erfolg.

Es kommt immer, wenn ich den Ordner share öffnen will:

Auf \\Dhcpp4\share kann nicht zugegriffen werden.
Der Netzwerkname wurde nicht gefunden.

Beim drucker will er immer ein passwort. Allerdings funktioniert keins(user-name + user-pw, root+root-pw)

Kenny@Knoppix
22.01.07, 15:31
Wenn ich von Windows auf linux zugreifen will, seh ich zwar den frei gegebenen ordner share, kann jedoch nicht dadrauf zugreifen.

meine smb.conf:


# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2006-11-27
[global]
workgroup = MSHEIMNETZ
printcap name = cups
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
usershare allow guests = Yes
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain master = No
usershare max shares = 100
domain logons = No
security = user
## Share disabled by YaST
# [homes]
# comment = Home Directories
# valid users = %S, %D%w%S
# browseable = No
# read only = No
# inherit acls = Yes

## Share disabled by YaST
# [profiles]
# comment = Network Profiles Service
# path = %H
# read only = No
# store dos attributes = Yes
# create mask = 0600
# directory mask = 0700

## Share disabled by YaST
# [users]
# comment = All users
# path = /home
# read only = No
# inherit acls = Yes
# veto files = /aquota.user/groups/shares/

## Share disabled by YaST
# [groups]
# comment = All groups
# path = /home/groups
# read only = No
# inherit acls = Yes

[printers]
comment = All Printers
path = /var/tmp/
printable = Yes
create mask = 0600
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers/
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775

## Share disabled by YaST
# [netlogon]

[share]
comment = Freigabe
inherit acls = yes
path = /home/ms/share/
read only = no
guest ok = yes
case sensitive = no
strict locking = no
msdfs proxy = no
public = yes
writable = yes
chmod = 777


hab noch ein bissel bei [share] experimentiert, jedoch ohne erfolg.

Es kommt immer:

oben "share" anstatt "user" und mach den slash weg und versuch dann ein /etc/init.d/samba restart!

MSchlick
22.01.07, 15:47
das gleiche Problem ist immernoch. Hab auch neu gestartet.
Auf die Drucker kann ich jezt ohne PW zugreifen

# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2006-11-27
[global]
workgroup = MSHEIMNETZ
printcap name = cups
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
usershare allow guests = Yes
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain master = No
usershare max shares = 100
domain logons = No
security = share

## Share disabled by YaST
# [homes]
# comment = Home Directories
# valid users = %S, %D%w%S
# browseable = No
# read only = No
# inherit acls = Yes

## Share disabled by YaST
# [profiles]
# comment = Network Profiles Service
# path = %H
# read only = No
# store dos attributes = Yes
# create mask = 0600
# directory mask = 0700

## Share disabled by YaST
# [users]
# comment = All users
# path = /home
# read only = No
# inherit acls = Yes
# veto files = /aquota.user/groups/shares/

## Share disabled by YaST
# [groups]
# comment = All groups
# path = /home/groups
# read only = No
# inherit acls = Yes

[printers]
comment = All Printers
path = /var/tmp/
printable = Yes
create mask = 0600
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers/
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775

## Share disabled by YaST
# [netlogon]

[share]
comment = Freigabe
inherit acls = yes
path = /home/ms/share
read only = no
guest ok = yes
case sensitive = no
strict locking = no
msdfs proxy = no
public = yes
writable = yes
chmod = 777

nunja
23.01.07, 23:59
Nunja, entschuldige die dämliche Frage denn die Angeben stehen nirgendwo. Welche Linuxzusammenstellung und welche Windows Version verwendest Du?
Und an welchem Rechner hängt der Drucker?

Ich verwende hier z.B. kein SAMBA um von Windows 98SE und XP Prof. auf den Drucker unter Fedora Core 4 zugreifen zu können. Das geht per IPP.
Auch die SAMBA Einstellungen für die Dateizugriffe auf /$HOME/$USER und /public die Du so angegeben hast sind bei mir mit weniger Zeilen erledigt.

MSchlick
24.01.07, 15:08
die einstellungen wurden automatisch eingestellt.
Drucker hatte ich mal installiert, braucht ihn aber nicht unbedingt.
Es geht mir nur um den ordner share, der nicht gefunden werden kann(er wird aber angezeigt).

Kenny@Knoppix
24.01.07, 16:04
das gleiche Problem ist immernoch. Hab auch neu gestartet.
Auf die Drucker kann ich jezt ohne PW zugreifen

# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2006-11-27
[global]
workgroup = MSHEIMNETZ
printcap name = cups
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
usershare allow guests = Yes
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain master = No
usershare max shares = 100
domain logons = No
security = share

## Share disabled by YaST
# [homes]
# comment = Home Directories
# valid users = %S, %D%w%S
# browseable = No
# read only = No
# inherit acls = Yes

## Share disabled by YaST
# [profiles]
# comment = Network Profiles Service
# path = %H
# read only = No
# store dos attributes = Yes
# create mask = 0600
# directory mask = 0700

## Share disabled by YaST
# [users]
# comment = All users
# path = /home
# read only = No
# inherit acls = Yes
# veto files = /aquota.user/groups/shares/

## Share disabled by YaST
# [groups]
# comment = All groups
# path = /home/groups
# read only = No
# inherit acls = Yes

[printers]
comment = All Printers
path = /var/tmp/
printable = Yes
create mask = 0600
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers/
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775

## Share disabled by YaST
# [netlogon]

[share]
comment = Freigabe
inherit acls = yes
path = /home/ms/share
read only = no
guest ok = yes
case sensitive = no
strict locking = no
msdfs proxy = no public = yes
writable = yes
chmod = 777


das mal wegmachen dann reststart samba

MSchlick
24.01.07, 18:03
very very thx
es geht!!!!!

werde mich mal nach den Befehlen erkundigen, was da falsch war.

THX