[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> </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. All names =
are in=20
all LMHOSTS and HOSTS files on both Win & Linux machines. All =
other=20
smbclient tests worked fine. Can see shares from Linux on Win, =
only=20
reverse not (from Win to Linux). Can also connect to a Wins share =
from=20
Samba srvr. It seems that the Linux box doesn't respond to name=20
queries. How can I fix it?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV> </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> panic action =
=3D=20
/usr/share/samba/panic-action %d<BR> workgroup =3D=20
PRIVATE<BR> netbios name =3D SAMBA<BR> server =
string =3D %h=20
server (samba %v)<BR> security =3D user<BR> =
encrypt=20
passwords =3D yes<BR> smb passwd file =3D=20
/etc/samba/smbpasswd<BR> guest ok =3D no<BR> =
null=20
passwords =3D Yes<BR> passwd program =3D /usr/bin/passwd=20
%u<BR> passwd chat debug =3D yes<BR> debug level =
=3D=20
3<BR> log level =3D 3<BR> passwd chat =3D=20
*Enter\snew\SUNIX\spassword:*%n\n *Retype\snew\SUNIX\spassword:*=20
%n\n*passwd:\spassword\supdated*.<BR> unix password sync =3D =
yes<BR> syslog =3D 0<BR> log file =3D=20
/var/log/samba/log.%m<BR> max log size =3D =
1000<BR> socket=20
options =3D TCP_NODELAY SO_RCVBUF=3D8192 =
SO_SNDBUF=3D8192<BR> domain=20
logons =3D no<BR> local master =3D yes<BR> os =
level =3D=20
64<BR> preferred master =3D yes<BR> domain =
master =3D yes=20
<BR> enhanced browsing =3D yes<BR> wins support =
=3D =20
yes<BR> printcap name =3D /etc/printcap<BR> load =
printers=20
=3D yes<BR> print command =3D lp -d%p -oraw %s; rm =
%s<BR> =20
lpq command =3D lpstat -o%p<BR> lprm command =3D cancel=20
%p-%j<BR> queuepause command =3D disable %p<BR> =20
queueresume command =3D enable %p<BR> show add printer =
wizard =3D=20
yes<BR> printing =3D lprng<BR> preserve case =3D =
no<BR> short preserve case =3D no<BR> default =
case =3D=20
lower<BR> case sensitive =3D no</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>[netlogon]<BR> comment =3D =
network Logon=20
Service<BR> path =3D /home/samba/netlogon<BR> =
guest ok =3D=20
yes<BR> share modes =3D no<BR> hosts allow =3D =
192.168.0.=20
192.168.1. 127.</FONT></DIV>
<DIV> </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> </DIV>
<DIV>[homes]<BR> comment =3D Home =
Directories<BR> =20
browseable =3D no<BR> writable =3D yes<BR> valid =
users =3D=20
%S<BR> create mode =3D 0664<BR> directory mode =
=3D=20
0775<BR> map to guest =3D bad user</DIV>
<DIV> </DIV>
<DIV>[tmp]<BR> comment =3D Temporary file =
space<BR> path =3D=20
/tmp<BR> read only =3D no<BR> public =3D =
yes</DIV>
<DIV> </DIV>
<DIV>[public]<BR> comment =3D Public Stuff<BR> =
path =3D=20
/home/samba<BR> public =3D yes<BR> writable =3D=20
yes<BR> printable =3D no<BR> write list =3D =
@staff</DIV>
<DIV> </DIV>
<DIV>[thabusdir]<BR> comment =3D Thabu's =
Service<BR> path=20
=3D /home/thabu<BR> valid users =3D thabu root =
Thabu<BR> =20
public =3D no<BR> writable =3D yes<BR> printable =
=3D no</DIV>
<DIV> </DIV>
<DIV><BR>[myshare]<BR> comment =3D Thabu and Antoinette's=20
stuff<BR> path =3D /home/public<BR> valid users =
=3D thabu=20
antoinette Thabu Antoinette<BR> public =3D =
no<BR> writable=20
=3D yes<BR> printable =3D no<BR> create mask =3D =
0765<BR></DIV>
<DIV>***************************************************************</DIV=
>
<DIV> </DIV>
<DIV>Thanks</DIV>
<DIV> </DIV>
<DIV>Thabu</DIV>
<DIV> </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> </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> </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> 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> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </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> </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