Derek Jennings wrote:

  > Hmm... Looks OK just like mine...
  > Here is my /etc/samba/smb.conf file for you to compare.
  >
  > #======================= Global Settings
=====================================
  > [global]
  >         smb passwd file = /etc/samba/smbpasswd
  >         printing = cups
  >         dns proxy = no
  >         security = user
  >         encrypt passwords = yes
  >         workgroup = WORKGROUP
  >         server string = Samba Server %v
  >         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
  >         log file = /var/log/samba/log.%m
  >         load printers = yes
  >         max log size = 50
  >
  > [homes]
  >         writable = yes
  >         comment = Home Directories
  >
  > [printers]
  >    comment = All Printers
  >    path = /var/spool/samba
  >    browseable = no
  > # to allow user 'guest account' to print.
  >    guest ok = yes
  >    writable = no
  >    printable = yes
  >    create mode = 0700
  > # =====================================
  > # print command: see above for details.
  > # =====================================
  >    print command = lpr-cups -P %p -o raw %s -r   # using client side
printer
  > drivers.
  >
  > [print$]
  >    path = /var/lib/samba/printers
  >    browseable = yes
  >    read only = yes
  >    write list = @adm root
  >
  >
  > [Windows]
  >         path = /mnt/windows
  >
  >


Here is mine:

[global]
        smb passwd file = /etc/samba/smbpasswd
        path = /mnt/win_d2/Public
        auto services = Anne_Public
        printing = cups
        dns proxy = no
        encrypt passwords = yes
        valid users = Andy,Gillian,Micky,nigel
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        printcap name = lpstat
        max log size = 50
        preferred master = no
        writable = yes
        security = user
        server string = Samba Server %v
        workgroup = WORKGROUP
        comment = Anne_Public
        netbios name = Anne_Linux
        log file = /var/log/samba/log.%m
        load printers = yes
        default = Anne_Public
        write list = Andy,Gillian,Micky,nigel
[homes]
        path =
        comment = Home Directories

[printers]
      comment = All Printers
      path = /var/spool/samba
      browseable = no

[print$]
      path = /var/lib/samba/printers
      browseable = yes
      read only = yes
      write list = @adm root

[Anne_Public]
        user = Andy,Gillian,Micky,nigel,@users
        write list = Andy,Gillian,Micky,nigel,@users

What about the [homes] line that has no path?  Should it have?

I do wonder about the Netbios name, too.  It shows up on Neetwork
Neighbourhood as Anne_linux, and Andy got a return ping from Anne_linux,
but my Mdk shell prompt is anne-linux.

Any comments, please?

Anne





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to