On Mon, 7 Mar 2005 13:26:10 +0000, Anne Wilson
<[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Friday 04 Mar 2005 01:27, Christopher Taylor wrote:
> > > 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.
> > >
> Hi, Christopher.  Sorry for the delay - I've been away.
> 
> > 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
> Check that this *exactly* matches the entries on your windows boxes.  Case
> sensitivity has messed up a lot of networks.  If you can, change the network
> name on all boxes to lower-case.  The reason for that is that windows doesn't
> always do what it says it's doing, and you need to be absolutely sure that
> the network name matches.
> 
> >  server string = Samba Server %v
> >  message command = /usr/bin/linpopup "%f" "%m" %s; rm %s
> If you don't use winpopup you can get rid of that one.
> 
> >  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
> OK
> 
> >  pam password change = yes
> You probably don't need that.
> 
> >  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
> I believe you only need that if you are mapping user names that you can't
> match across systems.  I'd comment it out unless you are certain you need it.
> 
> >  socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> OK
> 
> > /usr/share/samba/scripts/smbldap-groupshow.pl %g|awk '/^gidNumber:/ {print
> > $2}' dns proxy = no
> I doubt if you need that.
> 
> >  [homes]
> >  comment = Home Directories
> >  browseable = no
> >  writable = yes
> 
> > ;[printers]
> > ;comment = All Printers
> > ;path = /var/spool/samba
> > ;browseable = no
> Only needed if you are sharing printers across the network.
> > # 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
> But it probably doesn't make sense to have this enabled if the other bit
> isn't.  My printers section is:
> 
> [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: see above for details.
> # =====================================
>   print command = lpr-cups -P %p -o raw %s -r   # using client side printer
> drivers.
> #   print command = lpr-cups -P %p %s # using cups own drivers (use generic
> PostScript on clients).
> # If you install drivers on the server, you will want to uncomment this so
> # clients request the driver
>   use client driver = yes
> 
> [print$]
>   path = /var/lib/samba/printers
>   browseable = yes
>   write list = @adm root
>   guest ok = yes
>   inherit permissions = yes
>   # Settings suitable for Winbind:
>   # write list = @"Domain Admins" root
>   # force group = +@"Domain Admins"
> 
> but I do share printers.
> 
> > [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
> 
> OK - remind me just what your problem was, and also what you've done about
> adding samba users.  Also, has every samba user got an account on your
> computer?
> 
> 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)
> 
> iD8DBQFCLFZ4kFAvMr/nNX8RAqidAJ9Q3ik7vrjlCto5QUPfVahR3Qs+XwCgl5mB
> YoDKgtUsNWmMnp4Dom7gRcc=
> =s+nd
> -----END PGP SIGNATURE-----
> 

Anne,

Thanks for getting back.  I had a problem last night and had to
re-install 10.1.  This time I selected everything available (game
station, work station, servers, etc.).  After installing, I went to
the control panel and went to Samba mounts.  I searched for servers
and the Windows pc was found.  Somewhere along the line it asked me
for a user, password, and domain.  I put this in and was able to mount
the two harddrives.  At this point I would have to say the problem is
solved.  I did not really add a Samba user, I just put in my regular
login info when it asked.  Is there anything else I should be doing?

-- 
Christopher Taylor - Registered Linux User #383327

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