Re: Samba und Windows ... ???
- From
- Mark Seuffert (Pirates) <captain@...>
- Date
Hai Andreas@...! > Im Prinzip funktioniert ja alles, Shares (z.b. die Homes) sind für den > jeweils angemeldeten Benutzer auf Windows ebenso sichbar, die der Drucker > ==> funktioniert alles. Wenn ich jetzt den Windows-Rechner neu boote, > verbindet er das Netzlaufwerk nicht mehr automatisch beim Start --> > Netzwerkressource nicht verfügbar. Wenn ich jetzt in der > DOS-Eingabeaufforderung z.B. NET TIME \\SERVER eingebe, funktioniert es > auch nicht. Hmm zwei Ideen, womit ich diese Art Probleme bisher immer löste: 1. Hast DU Windowsrechner voll TCP-IP eingerichtet, auch den Nameserver auf Deinen Linuxrechner (oder was-auch-immer) eingerichtet? 'ping hostname' funktioniert. 2. Schalte mal sambaserver kurzzeitig auf eine höhere Debugstufe und schau über was sich das Logfile beschwert, Windows muss sich beim Einloggen anmelden (so ists bei mir). 'debug level = 3-5 ;irgendwas größer 2 für debug' 3. (doch noch eine Idee) In den Netzwerkeigenschaften hast Du "Client für Microsoft Netzwerk" als primäre Netzwerkanmelung (zumindest heisst es bei Win9x so) und Username + Passwort sind bei Windows und Linux gleich + du meldest dich auch mindestens einmal bei Windows mit Username _UND_ _RICHTIGEM_ Passwort an (windows speichert das dann in seiner Passwortliste). Meine smb.conf für alle Fälle zum testen anbei, Gruß Moak -- Mark "Moak" Seuffert, Pirates Technologies, http://www.pirate.de . . . . . . . . . . . . . _.´(._.´(._.´(._.´(._.´(._.´(._.´(._.´(._.´(._.´(._.´(._.´(._.´(. Alles hat ein Ende, leider auch das Wochenende. ; /etc/smb.conf, last changed June 2001 by Moak <captain@...> [global] workgroup = pirates username map = /etc/smb.map guest account = nobody security = user keep alive = 60 os level = 2 map to guest = Bad User interfaces = 192.168.1.100/255.255.255.0 socket options = TCP_NODELAY hosts allow = localhost, 192.168.1. client code page = 850 character set = ISO8859-1 dead time = 0 ; Code page and character set is needed for WINDOWS (german code page) ; Btw we don't use enrypted passwords, Windows admins should read C:\Windows\network.txt ; Dead time MUST be zero, because some windows clients are stupid (use automounter if you need) ; Here some performance optimazions (you normaly want them): level2 oplocks = True read raw = no write cache size = 262144 getwd cache = yes wins support = no dns proxy = No ; These setting seems to cause shit and make Windows even more unstable, better don't use it! ; kernel oplocks = false ; oplocks = yes printing = bsd printcap name = /etc/printcap.network load printers = yes ; We use a customized printcap, which exports only the raw printer device(s) # debug level = 2 ; Uncomment this, if you want to integrate your server ; into an existing net e.g. with NT-WS to prevent nettraffic ; local master = no ; Next lines are our local shares: ; We have a local guest group (guess the password, hehe). Guests have read only access on ; some directories, done with file permissions (chmod), so admins have to look on this!!! ; Hint: Whenever you create new guest accounts, don't forget to forbit login/ftp etc AND ; better match all guest accounts to one ID as we do, ; see /etc/passwd /etc/shaddow /etc/group /etc/smb.map. [homes] comment = Home browseable = no writeable = yes create mode = 0640 directory mask = 0750 [fileserver] comment = Pirates Fileserver path = /samba-root/ valid users = root @users @guests ; NEVER enable the next line or guests will have full access!!! ; force group = users writable = yes create mode = 0664 directory mask = 0775 [ftpserver] comment = Pirates FTP-Server path = /ftp-root/pub/ valid users = root @users @guests ; NEVER enable the next line or guests will have full access!!! ; force group = users writable = yes create mode = 0664 directory mask = 0775 [www] comment = Pirates Webserver path = /www-root/ valid users = root @www force group = www writable = yes create mode = 0664 directory mask = 0775 [fax] comment = Eingehende Faxe path = /var/spool/fax/incoming valid users = root @users writable = yes create mode = 0640 [cdrom] comment = CD-Rom path = /cdrom valid users = root @users @guests read only = yes locking = no root preexec = /bin/mount /cdrom -o conv=binary ; root postexec = /bin/umount /cdrom ; A postexec is not needed, we eigther don't use a deadtime (better use automounter) [printers] comment = Printer browseable = no printable = yes public = no read only = yes create mode = 0700 directory = /tmp ; See printcap above, we export only the raw printing device(s) ; Don't forget to use apsfilter with PRINT_RAW_SUPPRESS_FORMFEED="yes"
Thread
In reply to: Samba und Windows ... ??? Andreas_at_krauss-privat.de <Andreas@...>