PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Samba SUSE9.1 und XP Zugriff nicht möglich!



Splash7
04.09.04, 12:42
Hy! Wer ist Profi?
Ich versuche mit einer Windows XP Prof. Maschine auf einen SUSE 9.1 Server zuzugreifen.
Ich sehe das Samba Icon in der Netzwerkungebung. Wenn ich es öffne erhalte ich folgende Fehlermeldung:

http://www.linuxforen.de/forums/attachment.php?attachmentid=9876&stc=1

Meine Sambakonfiguration sieht wie folgt aus:

# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE
# Date: 2004-07-21
[global]
workgroup = LINUX
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
printer admin = @ntadmin, root, administrator
username map = /etc/samba/smbusers
map to guest = Bad User
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
security = user
encrypt passwords = yes
passdb backend = smbpasswd:smbpasswd
server string = Samba
add machine script =
domain master = false
domain logons = no
local master = no
preferred master = auto
load printers = no
ldap suffix = dc=example,dc=com
netbios name = WebserverB
[homes]
comment = Home Directories
valid users = %S
browseable = No
read only = No
inherit permissions = Yes
guest ok = no
printable = no
[profiles]
comment = Network Profiles Service
path = %H
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700
browseable = yes
guest ok = no
printable = no
[users]
comment = All users
path = /home
read only = No
inherit permissions = Yes
veto files = /aquota.user/groups/shares/
browseable = yes
guest ok = no
printable = no
[groups]
comment = All groups
path = /home/groups
read only = No
inherit permissions = Yes
browseable = yes
guest ok = no
printable = no
;; [pdf]
;; comment = PDF creator
;; path = /var/tmp
;; printable = yes
;; print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z
;; create mask = 0600
;; browseable = yes
;; guest ok = no
;; [printers]
;; comment = All Printers
;; path = /var/tmp
;; printable = yes
;; create mask = 0600
;; browseable = no
;; guest ok = no
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
browseable = yes
guest ok = no
printable = no

Ich bin verzweifelt!

Vielen Dank im Voraus!

drcux
04.09.04, 13:09
User angelegt?

Splash7
04.09.04, 13:39
Ja mit:

/etc/samba/smbpasswd –a [Username]

dabei steht
-a für add User in pw-File
[Username] für Linux-User

aber ich kann keinen User und PW eingeben. Die Aufforderung kommt erst gar nicht!

poweradmin
05.09.04, 00:47
hey,

na ein backend für die passwort db reicht ja wohl. Änder doch erst mal das hier:

passdb backend = smbpasswd

gruss poweradmin

drcux
05.09.04, 22:03
/etc/samba/smbpasswd –a [Username]


# whereis smbpasswd
smbpasswd: /usr/bin/smbpasswd

Splash7
06.09.04, 08:46
hey,

na ein backend für die passwort db reicht ja wohl. Änder doch erst mal das hier:

passdb backend = smbpasswd

gruss poweradmin


habe ich rausgenommen - aber leider gleiches Verhalten...

poweradmin
06.09.04, 15:17
hey,
hast du es schon mal lokal versucht auf einer konsole mit:
smbclient -L samba
Was passiert wenn du dann dein passwort eingegeben hast?

drcux
06.09.04, 16:13
# whereis smbpasswd
smbpasswd: /usr/bin/smbpasswd

nicht /etc/samba/smbpasswd, das ist eine Textdatei...

Splash7
06.09.04, 18:14
hey,
hast du es schon mal lokal versucht auf einer konsole mit:
smbclient -L samba
Was passiert wenn du dann dein passwort eingegeben hast?

Folgende Fehlermeldung erscheint:
Connection to Samba faild

Was mache ich falsch? :confused:

TheDodger
06.09.04, 20:43
IMHO gabe es bei WinXP Probleme mit einem Samba zu connecten, da M$ mal wieder die Anmeldeart geändert hat.

Das hier hab ich mal vor einiger Zeit im Netz gefunden, und das hat auch so bei den XP Kisten in der Firma funktioniert:



Mit folgender Änderung im Policy Editor von Windows XP Professional kann man diesem an einen Linux-Samba Server anbinden:
Systemsteuerung - Verwaltung - Lokale Sicherheitsrichtlinien - Lokale Richtlinien - Sicherheitsoptionen.
Dort ändert man unter dem Punkt Netzwerkzugriff: 'Modell für gemeinsame Nutzung und Sicherheitsmodell für lokale Konten' von 'Nur Gast' auf 'Klassisch'.

Danach der typische Windowsneustart und schon kann man die Sambafreigaben benutzen.

Splash7
06.09.04, 21:49
Habs versucht jedoch leider funtioniert es immer noch nicht! :confused:

Bin jetzt echt langsam am Ende meines Latein! :rolleyes: