Re: samba Problem

From: Ryan Duff (ryan_at_duff-duff.net)
Date: 03/11/04

  • Next message: Peter Bürger: "wine and adobe photoshop?"
    To: fedora-list@redhat.com
    Date: Thu, 11 Mar 2004 13:28:30 -0500
    
    

    On Thu, 11 Mar 2004 12:38:56 -0500, Mario St-Gelais
    <legrimpeur@sympatico.ca> wrote:

    > Ryan Duff wrote:
    >
    >>
    >> Could you give me your info one more time with your setup and what you
    >> are trying to accomplish and I'll see if I notice anything that I
    >> changed that may help you out aswell. Everything works fine on my
    >> network right now, I'm at 100%... right where I want to be.
    >>
    >> Ryan
    >
    > Basically, all I am trying to do is acces this particular linux machine
    > using my laptop. What's weird, is that it used to work but not anymore.
    >
    > Thanks.
    >
    > Mario
    >
    > [global]
    > workgroup = localdomain
    > server string = samba server
    > hosts allow = 192.168.0. 127.
    > printcap name = /etc/printcap
    > load printers = yes
    > log file = /var/log/samba/%m.log
    > max log size = 50
    > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    > local master = no
    > os level = 20
    > preferred master = no
    > password server = None
    > security = SHARE
    > dns proxy = no
    > [homes]
    > comment = Home Directories
    > browseable = no
    > writeable = yes
    > [printers]
    > comment = All Printers
    > path = /var/spool/samba
    > browseable = no
    > printable = yes
    > [var]
    > hosts allow = 192.168.0.176 192.168.0.177 192.168.0.141 127.
    > writeable = yes
    > path = /var
    > [opt]
    > hosts allow = 192.168.0.176 192.168.0.177 192.168.0.141 127.
    > writeable = yes
    > path = /opt
    > [marst]
    > hosts allow = 192.168.0.176 192.168.0.177 192.168.0.141 127.
    > comment = root directory
    > path = /home
    > writeable = yes
    >
    >
    >
    >

    First thing I would do is change security to "user" and make sure you have
    a smb user created that matches the user/pass of your account on your
    laptop. Add anoter variable to the global section "valid users = (your
    username)" and add it again under your share. I had that problem at first
    too, I fixed it by changing security to user and then ran into the browse
    problem which I finally figured out yesterday. Let me know what happens
    after those suggestions. Here is part of my smb.conf file:

    Ryan

    ~~~~~~~~~~~~~

    [global]
            printcap name = /etc/printcap
            dns proxy = no
            netbios name = RyanLinux
            encrypt passwords = yes
            writeable = yes
            max log size = 50
            smb passwd file = /etc/samba/smbpasswd
            local master = no
            preferred master = no
            os level = 20
            socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
            password server = None
            log file = /var/log/samba/%m.log
            server string = RyanLinux
            load printers = yes
            security = user
            valid users = ryan,caitlin
            workgroup = Duff

    [homes]
            comment = Home Directories
            browseable = no
            writeable = yes

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

    [music]
            valid users = ryan,caitlin
            path = /mnt/music
            create mode = 0777
            directory mode = 777
            browseable = yes
            comment = Music
            writeable = yes

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Peter Bürger: "wine and adobe photoshop?"

    Relevant Pages

    • RE: Newbie Samba help (solved)
      ... server string = %h server ... comment = Home Directories ... directory mask = 0700 ... comment = All Printers ...
      (Debian-User)
    • Samba Unix Password Sync
      ... server string = Bison samba server ... load printers = yes ... comment = Home Directories ...
      (RedHat)
    • Re: 2 DNS names for same server during transition
      ... actually, i can add the printers via the new name if i use the FQDN, sorry. ... I wanted to create an additional DNS ... record for this server, with a new name that the server will soon be ... so i can start to change everyone's home directories to ...
      (microsoft.public.windows.server.dns)
    • Re: !!HELP!! Pulling my hair on this one. Printer problems. Really need some help on this.
      ... Yes Larry I have already moved them off of the SBS server and onto a high ... When the printers were connecte they did show as being offline. ... have workstations connected are plugged into the same. ...
      (microsoft.public.windows.server.sbs)
    • Re: 2nd Branch Server and Laptop configuration suggestion
      ... please share all printers and folders the laptop user ... This newsgroup only focuses on SBS technical issues. ... now, that way, each branch is independent of any possible Server down at ...
      (microsoft.public.windows.server.sbs)