On Sat, 2003-03-29 at 11:26, richard bown wrote:
> # Global parameters
> [global]
>         workgroup = MDKGROUP
>         netbios name = FW-GB7TF
>         server string = Samba Server %v
>         encrypt passwords = Yes
>         map to guest = Bad User
>         log file = /var/log/samba/log.%m
>         max log size = 50
>         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>         printcap name = cups
>         domain logons = Yes
>         dns proxy = No
>         printer admin = @adm
>         printing = cups
>  

This looks fine though you might try deleting the 'map to guest' entry.
You also don't have a publicly defined share. Try adding one with:

[public]
        comment = Public Share
        path = /home/path_to_shared_dir
        writeable = Yes
        create mask = 0664
        guest ok = Yes
        sync always = Yes
        oplocks = Yes

Make sure that you chown and chgrp the directory to a user readable by
the login user. Remember that for directories you'll also need to set
the execute bit. Eg, 
   chmod 775 /home/PublicShare
   chown sambauser:samba /home/PublicShare

Also, check  that you don't have any errant 'interfaces', 'hosts allow'
or 'hosts deny' entries in smb.conf. If you do, verify that the masks
and addressing is sane.

What does the contents of your smbusers file show?

> [homes]
>         comment = Home Directories
>         read only = No
>         browseable = No
>  
> [printers]
>         comment = All Printers
>         path = /var/spool/samba
>         create mask = 0700
>         guest ok = Yes
>         printable = Yes
>         print command = lpr-cups -P %p -o raw %s -r   # using client
> side printer drivers.
>         browseable = No
>  
> [print$]
>         path = /var/lib/samba/printers
>         write list = @adm root
>         guest ok = Yes
>  
> [pdf-generator]
>         comment = PDF Generator (only valid users)
>         path = /var/tmp
>         printable = Yes
>         print command = /usr/share/samba/scripts/print-pdf %s ~%u
> //%L/%u %m %I
> "%J" &
> 



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

Reply via email to