Loading ...
Sorry, an error occurred while loading the content.

problems with customized samba

Expand Messages
  • cherrytreeproduction
    Hi! I have installed the customized samba as it is described in the readme of the file Configuring Samba on the LS.zip in the download section...i wanted to
    Message 1 of 1 , Apr 11, 2005
    • 0 Attachment
      Hi!
      I have installed the customized samba as it is described in the readme
      of the file "Configuring Samba on the LS.zip" in the download
      section...i wanted to rename the printer, supress the info share,
      allow hidden and archive files....

      But now i have encountered 2 Problems:
      1) I cant execute smb_install.sh directly from the webbrowser....if i
      write the whole filename i can just download the file....but i can
      execute it over ssh, so it isnt a problem

      2) After i apply my custom std_smb.conf i can only browse my folders
      on all shares.....but i cannot see the files....i am a Linux Noob...so
      i dont know what causes my problem....but i want to learn...i also get
      this message in the log file everytime i apply a config: "Generation
      samba phd_mkcode terminee" > is this normal??

      Here is my custom std_smb.conf:
      [global]
      client code page = 850
      character set = ISO8859-15
      workgroup = HOME
      server string = zentale Filestation
      socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
      dns proxy = No
      netbios name = LINKSTATION
      os level = 1
      wins server =

      security = user
      encrypt passwords = Yes
      obey pam restrictions = Yes
      pam password change = Yes
      passwd program = /usr/bin/passwd %u
      passwd chat = *New*password* %n\n *Retype*new*password* %n\n
      *passwd:*all*authentication*tokens*updated*successfully*
      unix password sync = yes
      guest account = nobody
      null passwords = yes
      guest only = no
      username level = 12
      password level = 8
      map to guest = Bad User

      log level = 1
      log file = /var/log/samba/samba.log
      max log size = 10

      preserve case = yes
      short preserve case = yes

      invalid users = mail, deamon, adt
      admin users = root
      username map = /etc/samba/smbusers

      getwd cache = yes
      printcap name = /etc/printcap
      load printers = yes
      printing = lprng

      nt acl support = no
      map archive = yes
      map system = yes
      map hidden = yes
      create mask = 777
      force create mode = 777
      directory mask = 777
      force directory mode = 777

      [Laserdrucker]
      comment = Laserdrucker
      path = /mnt/spool/samba
      print command = /usr/bin/lpr -Plp -r %s
      printer admin = root
      browsable = no
      printable = yes
      public = yes
      ###Laserdrucker###
      [media]
      comment = Media
      path = /mnt/media
      browsable = yes
      printable = no
      writable = yes
      guest ok = yes
      ###media###
      [audio]
      comment = Audio
      path = /mnt/audio
      browsable = yes
      printable = no
      writable = yes
      guest ok = yes
      ###audio###
      [music-vids]
      comment = Musikvideos
      path = /mnt/music-vids
      browsable = yes
      printable = no
      writable = yes
      guest ok = yes
      ###music-vids###
      [ftp-share]
      comment = FTP-Share
      path = /mnt/ftp-share
      browsable = yes
      printable = no
      writable = yes
      valid users = guest,root_phd, @hdusers
      ###ftp-share###
      [fotos]
      comment = Familienfotos
      path = /mnt/fotos
      browsable = yes
      printable = no
      writable = yes
      guest ok = yes
      recycle bin = .trash
      ###fotos###
      [fotos-2]
      comment = Fotos-2
      path = /mnt/fotos-2
      browsable = yes
      printable = no
      writable = yes
      valid users = mak,alex,root_phd,
      recycle bin = .trash
      ###fotos-2###
      [install]
      comment = Installationo
      path = /mnt/install
      browsable = yes
      printable = no
      writable = yes
      guest ok = yes
      ###install###
      [ls_config]
      comment = Configuration LinkStation
      path = /mnt/ls_config
      browsable = yes
      printable = no
      writable = yes
      valid users = root_phd,mak,
      ###ls_config###
      #####END#####

      and here is my usb_add.conf:
      [BackupUSBDisk]
      comment = USB-Disk fuer Backup
      path = /mnt2/usbdisk1
      browsable = yes
      printable = no
      writable = yes
      guest ok = yes
      veto files = /0*/
      ###BackupUSBDisk

      As u can see i just want to protect the fotos-2-folder from being
      accessed by my mom :)
    Your message has been successfully submitted and would be delivered to recipients shortly.