On Thu, 3 Mar 2005 12:18:35 +0000, Anne Wilson
<[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Christopher, I just looked at your forum, particularly about the Samba
> problem.  I did see that someone advised you to use LinNeighborhood (this is
> one of several options for viewing shares) and assumed that I had missed
> something in the thread.  Neither LN nor anything else will help you if you
> have mistakes in your /etc/samba/smb.conf.  If you have not edited that file
> yet make a backup file (cp /etc/samba/smb.conf /etc/samba/smb.conf.orig)
> before you edit.  There's a lot of really useful comments in the file, but
> you will want a slimmer working copy.
> 
> If you have already edited it, post a copy here.
> 
> Have you added samba users yet?  Again, ask if you need help.
> 
> Please also make it clear which windows version(s) are running on the other
> boxes - there may be slight differences in what's needed.
> 
> Anne
> - --
> Registered Linux User No.293302 (http://counter.li.org/)
> Have you visited http://twiki.mdklinuxfaq.org yet?  Mandrake at all levels
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
> 
> iD8DBQFCJwCbkFAvMr/nNX8RAuNiAKCE9UPEMgeYwWgoAOto+2nRNJ4/ygCdHook
> JocAcBZvhucaWNNBE+J0xgI=
> =2Za+
> -----END PGP SIGNATURE-----
> 

Here is the contents of the file.  Sorry so big. I removed all lines
starting with "#" to try and reduce the size.  Should I have sent as
an attachment?


 [global]
 workgroup = MSHOME
 server string = Samba Server %v
 message command = /usr/bin/linpopup "%f" "%m" %s; rm %s
 printcap name = cups
 load printers = yes
 printing = cups
 printer admin = @adm
 log file = /var/log/samba/log.%m
 max log size = 50
 map to guest = bad user
 security = user
 encrypt passwords = yes
 smb passwd file = /etc/samba/smbpasswd
 unix password sync = Yes
 pam password change = yes
 passwd chat = *New*UNIX*password* %n\n *Re*ype*new*UNIX*password* %n\n \
;*passwd:*all*authentication*tokens*updated*successfully*
 username map = /etc/samba/smbusers
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
/usr/share/samba/scripts/smbldap-groupshow.pl %g|awk '/^gidNumber:/ {print $2}'
 dns proxy = no 
 [homes]
 comment = Home Directories
 browseable = no
 writable = yes
;[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 = lpr-cups -P %p -o raw %s -r   # using client side
printer drivers.
;use client driver = yes
[print$]
   path = /var/lib/samba/printers
   browseable = yes
   write list = @adm root
   guest ok = yes
   inherit permissions = yes
[pdf-gen]
   path = /var/tmp
   guest ok = No
   printable = Yes
   comment = PDF Generator (only valid users)
   printing = bsd
   printcap name = cups
   #print command = /usr/share/samba/scripts/print-pdf file path
win_path recipient IP &
   print command = /usr/share/samba/scripts/print-pdf "%s" "%H"
"//%L/%u" "%m" "%I" "%J" &
    lpq command = /bin/true

;[tmp]
;   comment = Temporary file space
;   path = /tmp
;   read only = no
;   public = yes

 [public]
 comment = Public Stuff
 path = /home/samba/public
 public = yes
 writable = no
 write list = @staff
;[fredsprn]
;   comment = Fred's Printer
;   valid users = fred
;   path = /homes/fred
;   printer = freds_printer
;   public = no
;   writable = no
;   printable = yes
;[fredsdir]
;   comment = Fred's Service
;   path = /usr/somewhere/private
;   valid users = fred
;   public = no
;   writable = yes
;   printable = no
;[pchome]
;  comment = PC Directories
;  path = /usr/pc/%m
;  public = no
;  writable = yes
;[myshare]
;   comment = Mary's and Fred's stuff
;   path = /usr/somewhere/shared
;   valid users = mary fred
;   public = no
;   writable = yes
;   printable = no
;   create mask = 0765

[HPPhotoSmart|HPPhotoSmart]
printer = HPPhotoSmart
comment = HPPhotoSmart
 printable = yes
browseable = no
create mode = 0700
writable = yes
guest ok = yes

-- 
Christopher Taylor

If this message is sent to a mailing list please 'Reply to List' or
re-write the To field.
This will save on a lot of duplicate emails going out.

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to