Re: smb.conf

From: Stephen Harris (cyberdiction_at_hotmail.com)
Date: 12/01/03

  • Next message: jaster: "Re: Nework Problems"
    Date: Mon, 01 Dec 2003 19:02:51 GMT
    
    

    "Dave" <davethepave@yahoo.com> wrote in message
    news:pan.2003.11.30.15.12.17.710996@yahoo.com...
    > Would someone mind cut-and-pasting their smb.conf file, or at least the
    > portion thereof, which shows the code which sets up Samba for file-sharing
    > and access from an XP machine? Thanks.
    >
    > Currently, my XP machine file manager can see the workgroup in which the
    > Linux machine is located as well as the Samba server, but Samba server
    > will not allow access.
    >
    >

    This is a permission problem. I saw someone advise using adduser.
    If you haven't gotten very far with this, erase samba 2.2.8 and
    download and install the 3.01pre3 which works well and is automated
    for some of the configuration tasks.

    With version 3.+ after adduser the command is smbpasswd -a username
    The username must also be on the win xp machine.

    If you want to initially use the swat program change
    only_from = localhost to only_from = 127.0.0.1
    because though they are supposed to be equivalent, they are not,
    if you are using RH9.
    Also change in swat: disable = yes to disable = no
    or maybe it is enable = no should be changed to enable = yes
    I forget whether it is in terms of disable or enable but
    the default setting is incorrect so change to the opposite.

    To get a feel for this create a username account called root
    with administrative priveleges on the win xp machine assuming
    you have pro (there may be problems with home) and logon
    to both machines as root. If you have root in both smbpasswd
    and windows xp users this will likely work for file sharing
    both ways. Next try the user "everyman" on both machines.
    If the connection doesn't work both ways you will see that
    the problem rests in groups and permissions. Also if you
    want to share printers you will need guest ok = yes in
    the [printer] share section. If you use google, you can find
    posts about this on the linux.samba group and Howto.
    On the linux side I use Xsmbrowser for graphical network.
    I spent two weeks on this so read docs when it comes to printing.

    Regards,
    Stephen


  • Next message: jaster: "Re: Nework Problems"

    Relevant Pages

    • Can only print from some windows machines
      ... I still have a problem with my samba printing mechanism. ... then the jobs are saved there as root. ... # Browser Control Options: ...
      (SunManagers)
    • Re: explicit dcache <-> user-space cache coherency, sys_mark_dir_clean(), O_CLEAN
      ... All that's required is that Samba has a dcache entry for each path ... every path component from the share root ... generation counters of individual directories, ...
      (Linux-Kernel)
    • Re: Printing from Samba
      ... I am running Samba 1.3 ... Running cupsaddsmb, I initially got an error: ... valid users = %U root ...  The command is all on one line. ...
      (comp.os.linux.networking)
    • Re: Help Sought with Samba pseudo printer for PDF...
      ... >Anonymously Produce PDF documents via a PDF Pseudo Printer in Samba. ... The Samba-provided username is used to generate the email ... # to query our LDAP server to get the user's SMTP email address and full ...
      (RedHat)
    • Printing from Samba
      ... I am running Samba 1.3 ... I initially got an error: "No Windows printer drivers ... comment = User's home directory ... valid users = %U root ...
      (comp.os.linux.networking)