[Samba] help

House, Ian ian_house at mentorg.com
Mon Dec 9 08:56:01 GMT 2002


Please unsubscribe me from this newsletter
Thank you

-----Original Message-----
From: samba-request at lists.samba.org
[mailto:samba-request at lists.samba.org]
Sent: 08 December 2002 17:00
To: samba at lists.samba.org
Subject: samba digest, Vol 1 #1956 - 1 msg


Send samba mailing list submissions to
	samba at lists.samba.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.samba.org/mailman/listinfo/samba
or, via email, send a message with subject or body 'help' to
	samba-request at lists.samba.org

You can reach the person managing the list at
	samba-admin at lists.samba.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of samba digest..."


Today's Topics:

   1. Re: Permissions problem (Thabu Pienaar)

--__--__--

Message: 1
Reply-To: "Thabu Pienaar" <thabu at computer-net.co.za>
From: "Thabu Pienaar" <thabu at computer-net.co.za>
To: <samba at lists.samba.org>
Date: Sun, 8 Dec 2002 06:07:53 +0200
Subject: [Samba] Re: Permissions problem

This is a multi-part message in MIME format.

------=_NextPart_000_006A_01C29E80.2539C260
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I've done some testing....

from the Samba server, 'smbclient -B 192.168.0.255' samba returns a name =
query failed to find-error.  All names  are in all LMHOSTS and HOSTS =
files on both Win & Linux machines.  All other smbclient tests worked =
fine.  Can see shares from Linux on Win, only reverse not (from Win to =
Linux).  Can also connect to a Wins share from Samba srvr.  It seems =
that the Linux box doesn't respond to name queries.  How can I fix it?



Here is my smb.conf file...
*************************************************************************=
***
[global]
   panic action =3D /usr/share/samba/panic-action %d
   workgroup =3D PRIVATE
   netbios name =3D SAMBA
   server string =3D %h server (samba %v)
   security =3D user
   encrypt passwords =3D yes
   smb passwd file =3D /etc/samba/smbpasswd
   guest ok =3D no
   null passwords =3D Yes
   passwd program =3D /usr/bin/passwd %u
   passwd chat debug =3D yes
   debug level =3D 3
   log level =3D 3
   passwd chat =3D *Enter\snew\SUNIX\spassword:*%n\n =
*Retype\snew\SUNIX\spassword:* %n\n*passwd:\spassword\supdated*.
   unix password sync =3D yes
   syslog =3D 0
   log file =3D /var/log/samba/log.%m
   max log size =3D 1000
   socket options =3D TCP_NODELAY SO_RCVBUF=3D8192 SO_SNDBUF=3D8192
   domain logons =3D no
   local master =3D yes
   os level =3D 64
   preferred master =3D yes
   domain master =3D yes=20
   enhanced browsing =3D yes
   wins support =3D  yes
   printcap name =3D /etc/printcap
   load printers =3D yes
   print command =3D lp -d%p -oraw %s; rm %s
   lpq command =3D lpstat -o%p
   lprm command =3D cancel %p-%j
   queuepause command =3D disable %p
   queueresume command =3D enable %p
   show add printer wizard =3D yes
   printing =3D lprng
   preserve case =3D no
   short preserve case =3D no
   default case =3D lower
   case sensitive =3D no

[netlogon]
   comment =3D network Logon Service
   path =3D /home/samba/netlogon
   guest ok =3D yes
   share modes =3D no
   hosts allow =3D 192.168.0. 192.168.1. 127.


#=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D Share Definitions =
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D

[homes]
   comment =3D Home Directories
   browseable =3D no
   writable =3D yes
   valid users =3D %S
   create mode =3D 0664
   directory mode =3D 0775
   map to guest =3D bad user

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

[public]
   comment =3D Public Stuff
   path =3D /home/samba
   public =3D yes
   writable =3D yes
   printable =3D no
   write list =3D @staff

[thabusdir]
   comment =3D Thabu's Service
   path =3D /home/thabu
   valid users =3D thabu root Thabu
   public =3D no
   writable =3D yes
   printable =3D no


[myshare]
   comment =3D Thabu and Antoinette's stuff
   path =3D /home/public
   valid users =3D thabu antoinette Thabu Antoinette
   public =3D no
   writable =3D yes
   printable =3D no
   create mask =3D 0765

***************************************************************

Thanks

Thabu

  ----- Original Message -----=20
  From: Thabu Pienaar=20
  To: samba at lists.samba.org=20
  Sent: Friday, December 06, 2002 12:07 AM
  Subject: Permissions problem


  Help Please

  When I try to connect from Win XP Pro to my Samba Server, I get this =
error...

  "Samba is not accessible. You might not have permissiont o use this =
network resource....." (attached error gif).=20
   I have a smbpasswd file created from /etc/passwd, configured exactly =
like my XP username and password.

  Thanks


  Thabu Pienaar
  *****************
  ComputerNet
  Witrivier / White River
  Suid-Afrika / South Africa
  +27 (0) 83 349-6588

------=_NextPart_000_006A_01C29E80.2539C260
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1126" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>I've done some testing....</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>from the Samba server, 'smbclient -B =
192.168.0.255'=20
samba returns a name query failed to find-error.&nbsp; All names&nbsp; =
are in=20
all LMHOSTS and HOSTS files on both Win &amp; Linux machines.&nbsp; All =
other=20
smbclient tests worked fine.&nbsp; Can see shares from Linux on Win, =
only=20
reverse not (from Win to Linux).&nbsp; Can also connect to a Wins share =
from=20
Samba srvr.&nbsp; It seems that the Linux box doesn't respond to name=20
queries.&nbsp; How can I fix it?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV></FONT></DIV>
<DIV>
<DIV><FONT face=3DArial size=3D2>Here is my smb.conf =
file...</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>****************************************************************=
************</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>[global]<BR>&nbsp;&nbsp; panic action =
=3D=20
/usr/share/samba/panic-action %d<BR>&nbsp;&nbsp; workgroup =3D=20
PRIVATE<BR>&nbsp;&nbsp; netbios name =3D SAMBA<BR>&nbsp;&nbsp; server =
string =3D %h=20
server (samba %v)<BR>&nbsp;&nbsp; security =3D user<BR>&nbsp;&nbsp; =
encrypt=20
passwords =3D yes<BR>&nbsp;&nbsp; smb passwd file =3D=20
/etc/samba/smbpasswd<BR>&nbsp;&nbsp; guest ok =3D no<BR>&nbsp;&nbsp; =
null=20
passwords =3D Yes<BR>&nbsp;&nbsp; passwd program =3D /usr/bin/passwd=20
%u<BR>&nbsp;&nbsp; passwd chat debug =3D yes<BR>&nbsp;&nbsp; debug level =
=3D=20
3<BR>&nbsp;&nbsp; log level =3D 3<BR>&nbsp;&nbsp; passwd chat =3D=20
*Enter\snew\SUNIX\spassword:*%n\n *Retype\snew\SUNIX\spassword:*=20
%n\n*passwd:\spassword\supdated*.<BR>&nbsp;&nbsp; unix password sync =3D =

yes<BR>&nbsp;&nbsp; syslog =3D 0<BR>&nbsp;&nbsp; log file =3D=20
/var/log/samba/log.%m<BR>&nbsp;&nbsp; max log size =3D =
1000<BR>&nbsp;&nbsp; socket=20
options =3D TCP_NODELAY SO_RCVBUF=3D8192 =
SO_SNDBUF=3D8192<BR>&nbsp;&nbsp; domain=20
logons =3D no<BR>&nbsp;&nbsp; local master =3D yes<BR>&nbsp;&nbsp; os =
level =3D=20
64<BR>&nbsp;&nbsp; preferred master =3D yes<BR>&nbsp;&nbsp; domain =
master =3D yes=20
<BR>&nbsp;&nbsp; enhanced browsing =3D yes<BR>&nbsp;&nbsp; wins support =
=3D&nbsp;=20
yes<BR>&nbsp;&nbsp; printcap name =3D /etc/printcap<BR>&nbsp;&nbsp; load =
printers=20
=3D yes<BR>&nbsp;&nbsp; print command =3D lp -d%p -oraw %s; rm =
%s<BR>&nbsp;&nbsp;=20
lpq command =3D lpstat -o%p<BR>&nbsp;&nbsp; lprm command =3D cancel=20
%p-%j<BR>&nbsp;&nbsp; queuepause command =3D disable %p<BR>&nbsp;&nbsp;=20
queueresume command =3D enable %p<BR>&nbsp;&nbsp; show add printer =
wizard =3D=20
yes<BR>&nbsp;&nbsp; printing =3D lprng<BR>&nbsp;&nbsp; preserve case =3D =

no<BR>&nbsp;&nbsp; short preserve case =3D no<BR>&nbsp;&nbsp; default =
case =3D=20
lower<BR>&nbsp;&nbsp; case sensitive =3D no</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>[netlogon]<BR>&nbsp;&nbsp; comment =3D =
network Logon=20
Service<BR>&nbsp;&nbsp; path =3D /home/samba/netlogon<BR>&nbsp;&nbsp; =
guest ok =3D=20
yes<BR>&nbsp;&nbsp; share modes =3D no<BR>&nbsp;&nbsp; hosts allow =3D =
192.168.0.=20
192.168.1. 127.</FONT></DIV>
<DIV>&nbsp;</DIV><FONT face=3DArial size=3D2>
<DIV><BR>#=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D Share Definitions=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D</DIV>
<DIV>&nbsp;</DIV>
<DIV>[homes]<BR>&nbsp;&nbsp; comment =3D Home =
Directories<BR>&nbsp;&nbsp;=20
browseable =3D no<BR>&nbsp;&nbsp; writable =3D yes<BR>&nbsp;&nbsp; valid =
users =3D=20
%S<BR>&nbsp;&nbsp; create mode =3D 0664<BR>&nbsp;&nbsp; directory mode =
=3D=20
0775<BR>&nbsp;&nbsp; map to guest =3D bad user</DIV>
<DIV>&nbsp;</DIV>
<DIV>[tmp]<BR>&nbsp;&nbsp; comment =3D Temporary file =
space<BR>&nbsp;&nbsp; path =3D=20
/tmp<BR>&nbsp;&nbsp; read only =3D no<BR>&nbsp;&nbsp; public =3D =
yes</DIV>
<DIV>&nbsp;</DIV>
<DIV>[public]<BR>&nbsp;&nbsp; comment =3D Public Stuff<BR>&nbsp;&nbsp; =
path =3D=20
/home/samba<BR>&nbsp;&nbsp; public =3D yes<BR>&nbsp;&nbsp; writable =3D=20
yes<BR>&nbsp;&nbsp; printable =3D no<BR>&nbsp;&nbsp; write list =3D =
@staff</DIV>
<DIV>&nbsp;</DIV>
<DIV>[thabusdir]<BR>&nbsp;&nbsp; comment =3D Thabu's =
Service<BR>&nbsp;&nbsp; path=20
=3D /home/thabu<BR>&nbsp;&nbsp; valid users =3D thabu root =
Thabu<BR>&nbsp;&nbsp;=20
public =3D no<BR>&nbsp;&nbsp; writable =3D yes<BR>&nbsp;&nbsp; printable =
=3D no</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>[myshare]<BR>&nbsp;&nbsp; comment =3D Thabu and Antoinette's=20
stuff<BR>&nbsp;&nbsp; path =3D /home/public<BR>&nbsp;&nbsp; valid users =
=3D thabu=20
antoinette Thabu Antoinette<BR>&nbsp;&nbsp; public =3D =
no<BR>&nbsp;&nbsp; writable=20
=3D yes<BR>&nbsp;&nbsp; printable =3D no<BR>&nbsp;&nbsp; create mask =3D =

0765<BR></DIV>
<DIV>***************************************************************</DIV=
>
<DIV>&nbsp;</DIV>
<DIV>Thanks</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thabu</DIV>
<DIV>&nbsp;</DIV></FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dthabu at computer-net.co.za =
href=3D"mailto:thabu at computer-net.co.za">Thabu=20
  Pienaar</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dsamba at lists.samba.org=20
  href=3D"mailto:samba at lists.samba.org">samba at lists.samba.org</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Friday, December 06, 2002 =
12:07=20
  AM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Permissions =
problem</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=3DArial size=3D2>Help Please</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>When I try to connect from Win XP Pro =
to my Samba=20
  Server, I get this error...</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>"Samba is not accessible. You might =
not have=20
  permissiont o use this network resource....." (attached error gif).=20
  </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>&nbsp;I have a smbpasswd file created =
from=20
  /etc/passwd, configured exactly like my XP username and =
password.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Thabu=20
  Pienaar<BR>*****************<BR>ComputerNet<BR>Witrivier / White=20
  River<BR>Suid-Afrika / South Africa<BR>+27 (0) 83 =
349-6588</FONT></DIV>
  <DIV><FONT face=3DArial =
size=3D2></FONT>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_006A_01C29E80.2539C260--



--__--__--

_______________________________________________
samba mailing list
samba at lists.samba.org
http://lists.samba.org/mailman/listinfo/samba


End of samba Digest



More information about the samba mailing list