samba olé

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • samba olé

    also. ich habe folgende smb.conf

    Code:
    [global]
    
    	workgroup = SPACE
    	netbios name = SUN
    	server string = sun
    	browsable = yes
    	hosts allow = 192.168.100. 127.
    
    	printcap name = /etc/printcap
    	load printers = yes
    	printing = cups
    
    	log file = /var/log/samba/%m.log
    	max log size = 4096
    
    	security = USER
    	map to guest = Bad User
    	invalid users = root
    	password level = 8
    	username level = 8
    	encrypt passwords = yes
    	os level = 50
    	smb passwd file = /etc/samba/smbpasswd
    
    	username map = /etc/samba/smbusers
    	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    
    	interfaces = 192.168.100.1/24,127.0.0.1/8
    	bind interfaces only = yes
    
    
    #============================ Share Definitions ==============================
    
    [printers]
    	comment = All Printers
    	path = /var/spool/samba
    	browseable = no
    	printable = yes
    
    [filestuff]
    	comment = filestuff
    	path = /space/share/filestuff
    	valid users = markus
    	public = no
    	browsable = yes
    	writeable = yes
    ;	create mask = 0765
    nun will ich die freigaben auf user-ebene machen. also kein normales SHARE verwenden. allerdings komme ich auf die share nicht drauf.

    auf die maschine selbt komme ich mittlerweile drauf. nur die share will noch ein password und user haben.

    wer weiss rat?

    gestern hatte es mal funktioniert. ich meine da aber SHARE als security verwendet zu haben. aber das will ich eben nicht (mehr). durcken klappt ohne probleme.

    ich setze redhat 9 und win-xp ein.
    INFO: Erst suchen, dann posten![color=red] | [/color]MANUAL(s): PHP | MySQL | HTML/JS/CSS[color=red] | [/color]NICE: GNOME Do | TESTS: Gästebuch[color=red] | [/color]IM: Jabber.org |



  • #2
    wenn du security user hat, musst die user in die smbpasswd eintragen...

    aber ich denke mal das hat du gemacht.

    aber die Passwortabfrage ist Standart beu security user
    tata
    moqui

    [COLOR=red]Ich will keine unaufgeforderten Mails über PHP Fragen. Es gibt ein Forum hier! Und ich bin nicht Scripter für jeden, der mir ne Mail schreibt![/COLOR]

    Kommentar


    • #3
      ja. einen smb-user habe ich entsprechend angelegt.

      was mich wundert ist nur, dass ich nicht drauf komme.
      INFO: Erst suchen, dann posten![color=red] | [/color]MANUAL(s): PHP | MySQL | HTML/JS/CSS[color=red] | [/color]NICE: GNOME Do | TESTS: Gästebuch[color=red] | [/color]IM: Jabber.org |


      Kommentar


      • #4
        hast dich mit genau dem user angemeldet?

        stell mal sicher, dass der user "markus" in der smbpasswd und in der /etc/passwd steht.

        wenn du mal ganz sicher gehen willst, mach mal das valid user argument weg...hatte mit dem auch schon Schwierigkeiten.
        Zuletzt geändert von Moqui; 18.05.2003, 16:23.
        tata
        moqui

        [COLOR=red]Ich will keine unaufgeforderten Mails über PHP Fragen. Es gibt ein Forum hier! Und ich bin nicht Scripter für jeden, der mir ne Mail schreibt![/COLOR]

        Kommentar


        • #5
          valid user habe ich mal rausgenommen. geht aber dennoch nicht.

          Code:
          [root@sun samba]# cat smbusers 
          # Unix_name = SMB_name1 SMB_name2 ...
          root = administrator admin
          nobody = guest pcguest smbguest
          markus = MEIN NAME
          [root@sun samba]# cat smbpasswd 
          markus:500:*verschlüsselt*:*verschlüsselt*:[UX         ]:LCT-3EC24CF8:
          [root@sun samba]#
          INFO: Erst suchen, dann posten![color=red] | [/color]MANUAL(s): PHP | MySQL | HTML/JS/CSS[color=red] | [/color]NICE: GNOME Do | TESTS: Gästebuch[color=red] | [/color]IM: Jabber.org |


          Kommentar


          • #6
            smb passwd file = /etc/samba/smbpasswd
            da müssen die user und passwörter rein

            smbpasswd -a <user>
            tata
            moqui

            [COLOR=red]Ich will keine unaufgeforderten Mails über PHP Fragen. Es gibt ein Forum hier! Und ich bin nicht Scripter für jeden, der mir ne Mail schreibt![/COLOR]

            Kommentar


            • #7
              schon klar. habe ich ja auch.
              Code:
              [root@sun samba]# cat smbpasswd 
              markus:500:*verschlüsselt*:*verschlüsselt*:[UX         ]:LCT-3EC24CF8:
              [root@sun samba]#
              INFO: Erst suchen, dann posten![color=red] | [/color]MANUAL(s): PHP | MySQL | HTML/JS/CSS[color=red] | [/color]NICE: GNOME Do | TESTS: Gästebuch[color=red] | [/color]IM: Jabber.org |


              Kommentar


              • #8
                dann nimm mal das ganze zeug mit der usernamemap raus....hab ich bei mir auch net...meiner läuft auf USER und funktioniert

                ich hab nur ne config mit smbpasswd
                tata
                moqui

                [COLOR=red]Ich will keine unaufgeforderten Mails über PHP Fragen. Es gibt ein Forum hier! Und ich bin nicht Scripter für jeden, der mir ne Mail schreibt![/COLOR]

                Kommentar


                • #9
                  die usermap brauche ich doch, da ich bei windoof unter einem anderen namen angemeldet bin.

                  kannst du mal bitte deine datei posten, oder mailen?
                  INFO: Erst suchen, dann posten![color=red] | [/color]MANUAL(s): PHP | MySQL | HTML/JS/CSS[color=red] | [/color]NICE: GNOME Do | TESTS: Gästebuch[color=red] | [/color]IM: Jabber.org |


                  Kommentar


                  • #10
                    mal zum vergelich....das ist meine cfg

                    Code:
                    ; Configurationsfile für SAMBA
                    ; Martin Mayer
                    ; @ 15.04.2003 - 19:42
                    
                    
                    [global]
                    
                    ; Netzwerk
                       socket address = 192.168.101.15
                       interfaces = 192.168.101.0/255.255.255.0
                       bind interfaces only = yes
                    
                    ; Workgroup in der der Server ist
                      workgroup = Martin-Net
                    
                    ; NetBios Name
                      netbios name = linux
                    
                    ; Beschreibung des Servers
                      server string = linux
                    
                    
                    ;  Anmeldung
                      security = user
                      encrypt passwords = yes
                    
                    ;  Dot Files
                    hide dot files = No
                    
                    ;
                    ; Options
                    ;
                    
                    ; Automatically load the printer list (from /etc/printcap by default)
                      load printers = yes
                    
                    ; Gives better performance
                      socket options = TCP_NODELAY
                    ;
                    ; Files and directories
                    ;
                    
                    ; Maximale Log-File Grösse
                      max log size = 50
                    
                    ;  SAMBA Passwort File
                      smb passwd file = /etc/samba/smbpasswd
                    
                    ;
                    ; Name browsing
                    ;
                    
                    ; Allow the host to participate in master browser elections
                      local master = yes
                    
                    ; Browser
                      preferred master = yes
                    
                    ; DNS lookups
                      dns proxy = no 
                    
                    [homes]
                      comment = home Verzeichnis
                      browseable = no
                      writable = yes
                      force directory mode = 0755
                      force create mode = 0755
                    
                    [printers]
                      comment = All printers
                      path = /var/spool/lpd
                      browseable = no
                      guest ok = no
                      writable = no
                      printable = yes
                    
                    [root]
                      comment = root Verzeichnis
                      path = /
                      public = no
                      writeable = yes
                      printable = no
                      browseable = no
                      force create mode = 0775
                      force directory mode = 0775
                    
                    [second]
                      comment = 2. Platte
                      path = /second
                      public = no
                      writeable = yes
                      printable = no
                      force create mode = 0775
                      force directory mode = 0775
                    
                    [mp3]
                      comment = MP3's
                      path = /mp3
                      public = no
                      writeable = yes
                      printable = no
                      force create mode = 0775
                      force directory mode = 0775
                    
                    [downloads]
                      comment = Downloads
                      path = /downloads
                      public = no
                      writeable = yes
                      printable = no
                      force create mode = 0775
                      force directory mode = 0775
                    
                    [videos]
                      comment = videos
                      path = /videos
                      public = no
                      writeable = yes
                      printable = no
                      force create mode = 0775
                      force directory mode = 0775
                    
                    [www]
                      comment = Apache-WWW-Root
                      path = /www
                      public = no
                      writeable = yes
                      printable = no
                      browseable = no
                      force create mode = 0775
                      force directory mode = 0775
                    
                    [third]
                      comment = 3. Platte
                      path = /third
                      public = no
                      writeable = yes
                      printable = no
                      browseable = no
                      force create mode = 0775
                      force directory mode = 0775
                    
                    [backup]
                      comment = Backup Partition
                      path = /backup
                      public = no
                      writeable = yes
                      printable = no
                      browseable = no

                    schnapp dir doch die und änder sie ab...nach deinen vorstellungen
                    Zuletzt geändert von Moqui; 18.05.2003, 16:39.
                    tata
                    moqui

                    [COLOR=red]Ich will keine unaufgeforderten Mails über PHP Fragen. Es gibt ein Forum hier! Und ich bin nicht Scripter für jeden, der mir ne Mail schreibt![/COLOR]

                    Kommentar


                    • #11
                      ich bin unter windoof auch unter nem anderen user angemeldet....und es tut auch so

                      mein user unter linux/smb ist mm und unter windoof bin ich mit root angemeldet

                      was du noch machen kannst...lass mal testparm laufen und kuck dir mal smbstatus an, ob er irgendwelche argumente nicht kennt
                      tata
                      moqui

                      [COLOR=red]Ich will keine unaufgeforderten Mails über PHP Fragen. Es gibt ein Forum hier! Und ich bin nicht Scripter für jeden, der mir ne Mail schreibt![/COLOR]

                      Kommentar


                      • #12
                        mhm. schon komisch. ich teste grad noch rum und werde gleich posten, was dann ist.
                        INFO: Erst suchen, dann posten![color=red] | [/color]MANUAL(s): PHP | MySQL | HTML/JS/CSS[color=red] | [/color]NICE: GNOME Do | TESTS: Gästebuch[color=red] | [/color]IM: Jabber.org |


                        Kommentar


                        • #13
                          und was sagt die Maschine?
                          tata
                          moqui

                          [COLOR=red]Ich will keine unaufgeforderten Mails über PHP Fragen. Es gibt ein Forum hier! Und ich bin nicht Scripter für jeden, der mir ne Mail schreibt![/COLOR]

                          Kommentar


                          • #14
                            im moment komme ich gar nicht mehr drauf...
                            Code:
                            [global]
                            
                            	; NETWORKING
                            
                            	socket address = 192.168.100.1
                            	interfaces = 192.168.100.1/24
                            	bind interfaces only = yes
                            ;	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
                            
                            	; WINDOWS
                            
                            	workgroup = SPACE
                            	netbios name = SUN
                            	server string = sun
                            	browsable = yes
                            ;	hosts allow = 192.168.100. 127.
                            ;	hide dot files = no
                            
                            	; NAME BROWSING
                            
                            ;	local master = yes
                            ;	preferred master = yes
                            ;	dns proxy = no
                            
                            	; PRINTER
                            
                            	printcap name = /etc/printcap
                            	load printers = yes
                            	printing = cups
                            
                            	; LOG
                            
                            	log file = /var/log/samba/%m.log
                            	max log size = 4096
                            
                            	; LOGIN
                            
                            	security = USER
                            	encrypt passwords = yes
                            	username map = /etc/samba/smbusers
                            	smb passwd file = /etc/samba/smbpasswd
                            	map to guest = nobody
                            ;	map to guest = Bad User
                            ;	invalid users = root
                            ;	password level = 8
                            ;	username level = 8
                            ;	os level = 50
                            
                            
                            
                            
                            #============================ Share Definitions ==============================
                            
                            [printers]
                            	comment = All Printers
                            	path = /var/spool/samba
                            	browseable = no
                            	printable = yes
                            
                            [filestuff]
                            	comment = filestuff
                            	path = /space/share/filestuff
                            ;	valid users = markus
                            ;	public = no
                            	browsable = yes
                            	writeable = yes
                            ;	create mask = 0765
                            windows-eingabe....
                            Code:
                            C:\>net view \\sun
                            Systemfehler 5 aufgetreten.
                            
                            Zugriff verweigert
                            
                            C:\>
                            INFO: Erst suchen, dann posten![color=red] | [/color]MANUAL(s): PHP | MySQL | HTML/JS/CSS[color=red] | [/color]NICE: GNOME Do | TESTS: Gästebuch[color=red] | [/color]IM: Jabber.org |


                            Kommentar


                            • #15
                              wie gesagt...nimm mal meine cfg und änder sie ab...nimm mal alle shares bis auf "root" raus und leg mal deine smbpasswd neu an...

                              wie du im anhang sehen kannst tut meine cfg einwandfrei...

                              wenn das tun sollte, kanns ja deine shares rein nehmen

                              nimm einfach meine und behalt sie bei, bis auf die interfaces und die shares (bis auf root) und teste es
                              Angehängte Dateien
                              tata
                              moqui

                              [COLOR=red]Ich will keine unaufgeforderten Mails über PHP Fragen. Es gibt ein Forum hier! Und ich bin nicht Scripter für jeden, der mir ne Mail schreibt![/COLOR]

                              Kommentar

                              Lädt...
                              X