Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru jmadero's Avatar
    Join Date
    Jul 2007
    Location
    California
    Posts
    2,004

    samba with Hardy


    I just posted another post about my digital camera but I am having issues configuring samba in hardy as well. My apartment has 3 networked computers (two vista, one Gutsy), and we have a server that stores all of our shared stuff. I can't see any of it any more (could with Gutsy). I don't remember if I had to do things to configure it properly or what. Here is my samba file:

    The network doesn't have a password or username. Thanks all



    [global]
    ; General server settings
    netbios name = joel
    server string =
    workgroup = MSHOMEMMym
    announce version = 5.0
    socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192

    passdb backend = tdbsam
    security = user
    null passwords = true
    username map = /etc/samba/smbusers
    name resolve order = hosts wins bcast

    wins support = yes

    printing = CUPS
    printcap name = CUPS

    syslog = 1
    syslog only = yes

    ; NOTE: If you need access to the user home directories uncomment the
    ; lines below and adjust the settings to your hearts content.
    ;[homes]
    ;valid users = %S
    ;create mode = 0600
    ;directory mode = 0755
    ;browseable = no
    ;read only = no
    ;veto files = /*.{*}/.*/mail/bin/

    ; NOTE: Only needed if you run samba as a primary domain controller.
    ; Not needed as this config doesn't cover that matter.
    ;[netlogon]
    ;path = /var/lib/samba/netlogon
    ;admin users = Administrator
    ;valid users = %U
    ;read only = no

    ; NOTE: Again - only needed if you're running a primary domain controller.
    ;[Profiles]
    ;path = /var/lib/samba/profiles
    ;valid users = %U
    ;create mode = 0600
    ;directory mode = 0700
    ;writeable = yes
    ;browseable = no

    ; NOTE: Inside this place you may build a printer driver repository for
    ; Windows - I'll cover this topic in another HOWTO.
    [print$]
    path = /var/lib/samba/printers
    browseable = yes
    guest ok = yes
    read only = yes
    write list = root
    create mask = 0664
    directory mask = 0775

    [printers]
    path = /tmp
    printable = yes
    guest ok = yes
    browseable = no

    ; Uncomment if you need to share your CD-/DVD-ROM Drive
    ;[DVD-ROM Drive]
    ;path = /media/cdrom
    ;browseable = yes
    ;read only = yes
    ;guest ok = yes

    [MyFiles]
    path = /media/shared/lan
    browseable = yes
    read only = no
    guest ok = no
    create mask = 0644
    directory mask = 0755
    force user = YOUR_USERNAME
    force group = YOUR_USERGROUP

  2. #2
    Just Joined!
    Join Date
    Feb 2007
    Location
    Queensland Australia
    Posts
    57
    I think your having the same problem as me. Can you actually see the networked computers but not anything thats shared on them?
    Are you getting a blank nautilus window?
    Can you see your shares using Konqueror?

    Kev

  3. #3
    Linux Guru jmadero's Avatar
    Join Date
    Jul 2007
    Location
    California
    Posts
    2,004
    I can't see the computers at all. I used to be able to see everything with no problem but really don't remember how I got it set up. Let me know if you make any progress.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru jmadero's Avatar
    Join Date
    Jul 2007
    Location
    California
    Posts
    2,004
    solved:

    I made a really basic samba file:

    sudo gedit /etc/samba/smb.conf

    I deleted everything and just put this:

    [global]
    workgroup = MSHOME
    netbios name = UBUNTU
    [share1]
    path = /media/shared/lan
    [share2]
    path = /media/shared/music
    comment = Some random files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •