Re: [Samba] Problem of access samba from rh8

2003-03-05 Thread Steve Blackwell
Good morning Patrick,

I followed your suggestions and got the same response. There was no 
information in the log files.

I fired up ethereal and did some poking around. Here's what I found.

When I enter my username and password, these packets get sent/received.

SMB Negotiate Protocol Request
SMB Negotiate Protocol Response
SMB Session Setup AndX Request, User: My Workgroup/My User Name
SMB Session Setup AndX Response
SMB Tree Connect AndX Request, Path: \\My PDC\IPC$
SMB Tree Connect AndX Response
LANMAN  NetShareEnum Request
LANMAN  NetShareEnum Response
Looks OK so far...

TCP 33114  netbios-ssn [FIN, ACK] blah, blah
TCP netbios-ssn  33114 [FIN, ACK] blah, blah
TCP 33114  netbias-ssn [ACK] blah
Next comes several DNS requests with the response of No such name (Why 
are these requests ging out to the internet?)

NBNSName query NB My PDC20
NBNSName query response NB MY PDC IP address
NBNSName query NBSTAT *00
NBNSName query response NBSTAT
TCP 33115  netbios-ssn [SYN] blah...
TCP netbias-ssn  33115 [SYN, ACK] blah...
TCP 33115  netbios-ssn [ACK] blah...
NBSSSession request to My PDC20 from My Linux box00
NBSSPositive session response
TCP 33115  netbios-ssn [ACK] blah...
SMB Negotiate protocol request
SMB Negotiate protocol response
*** And here is the problem ***

SMB Session Setup andX Request, User: My Workgroup/GUEST

OK, so how did my user name change from what I typed in and what shows up 
correctly above to GUEST which explains why I get the message about not 
having privilege to browse any shares?

On 2003.03.05 06:34 Patrick Kwan wrote:
HI Seteve:

Are you using winbind?
I havn't using it before, I have no idea about it.
Or you can try to find out which part cause the problem.

According your description you are access to the NT PDC box from a
redhat8
box with samba and winbind running, right?
Please shutdown the samba and winbind in the redhat 8 then try the
following:
 -connect the NT PDC again,
 -connect the another windows client
And see what happen in the %m.log file.

Good luck!

Patrick
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Problem of access samba from rh8

2003-03-04 Thread Steve Blackwell
Hi Patrick,

Had I paid closer attention to your original e-mail I would have noticed 
that you were using KDE and Konqueror whereas I am using GNOME and 
Nautilus.

I tried using the settings that Shane Kennedy suggested but I still get 
the same result.

Is there some way to get more information to find out's going on here? I 
don't see anything happening in the log files when I try to access the 
shares.

Thanks,
Steve
On 2003.03.03 20:44 Patrick Kwan wrote:
Hi Steve,

I do another test today, I changed my desktop to Gnome and use Nautilus
to access the samba server, I can access all shares this times.
It show that some wrong with the KDE's Konqueror or something else, I
will
search the KDE's website wheather it's known problems or only my problem.
Right now, I'm using LinuxNeihgbourhood to browse the network and access
shares because I like to use KDE Desktop.
Patrick

 Hey Patrick,

 I have a similar issue that I have reported here before but I never got
 an  answer.

 The only difference I see between what you describe and what I see, is
 that I get an error dialog saying:

 You do not have sufficient permission to view Share. This is strange
 to  me since I appear to log on OK because I can see all the shares but
 I get  this message when I try to access one of them.

 I'm using RH8 with all the latest updates and these samba rpms

 samba-common-2.2.7-2
 samba-2.2.7-2
 samba-client-2.2.7-2

 I haven't had time to investigate this further so I would be interested
 in  anything that you find out.

 Steve.

 On 2003.03.02 20:45 Patrick Kwan wrote:
 Hello,

 I already setup a samba server as PDC for windows client to logon and
 working fine now with the following config:
 - redhat 7.3
 - samba 2.2.7a

 Then I try to access the samba share from Redhat 8, I can use
 smbclient to
 access the share without problem but I can't access the share with
 KDE's Konqueror (smb://NetbiosName/), it can show all shares, when I
 double one
 of share, it can show the login dialogue box, then I enter the correct
 username and password but nothing displayed, it seem to try connecting
 the
 share.

 So, I check the samba.log file, but it show that the user is connected
 to the service successfully.

 Any body have this issue before?
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba


--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Problem of access samba from rh8

2003-03-04 Thread Steve Blackwell
On 2003.03.04 19:52 Patrick Kwan wrote:
Hello Steve,

You can set the log level=1 (or 1) in smb.conf to see more info. in
the
log file.
Or how about post your smb.conf file and sate your config/problem again
here!
OK. Here is my smb.conf file. I've taken out all the cruft to make it 
easier to read.

[global]
   workgroup = My Workgroup
   server string = Blackwell's development machine
   local master = no
   hosts allow = my network address/my netmask 127.0.0.1
   log file = /var/log/samba/%m.log
   max log size = 0
   dns proxy = no
   log level = 1
And that's it. Remember that all I'm trying to do it to use Nautilus to 
browse a share on the file server which is an NT box. What happens is this:

1) I enter smb:/// into Nautilus, Nautilus shows My Workgroup
2) I double click on My Workgroup, Nautilus shows the computers in the 
workgroup including the PDC
3) I double click on the PDC, I get a question box asking for my user name 
and password,
4) I enter my user name and password, Nautilus shows the contents of the 
PDC including the shared directory
5) I double click on the shared directory, Nautilus displays a dialog, 
You do not have the permission necessary to view the contents of Share

However if I enter

smbmount //PDC/Share /home/steve/tmp -o 
username=username,password=password

I can then go to /home/steve/tmp and do an ls and see the contents of 
Share which means that I have the correct username and password at least.

Here is the output of the log files. Clearly there are some errors but I 
don't know what they mean:

log.winbindd

...
[2003/04/03 12:09:51, 1] lib/debug.c:debug_message(258)
  INFO: Debug class all level = 1  (pid 864 from pid 864)
[2003/04/03 12:09:52, 1] nsswitch/winbind_util.c:init_domain_list(150)
  Added domain My workgroup (S-1-5-21-190933-1062429835-2033415169)
[2003/04/03 12:09:52, 1] nsswitch/winbind_util.c:init_domain_list(152)
  Getting trusted domain list
[2003/04/03 12:09:52, 0] nsswitch/winbind_util.c:winbindd_param_init(323)
  winbind uid range missing or invalid
log.nmbd

...
[2003/04/03 12:09:51, 0] nmbd/nmbd.c:main(794)
  Netbios nameserver version 2.2.7 started
  Copyright Andrew Tridell and the Samba Team 1994-2002
[2003/04/03 12:09:51, 1] lib/debug.c:debug_message(258)
  INFO: Debug class all level = 1  (pid 855 from pid 855)
[2003/04/03 12:09:55, 0] 
nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 23267 received with no 
matching record
[2003/04/03 12:09:55, 0] 
nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 23268 received with no 
matching record
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Fwd: Re: [Samba] Problem of access samba from rh8[steve.blackwell@eer.com]

2003-03-04 Thread Steve Blackwell
Oops! meant to cc to the list

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Problem of access samba from rh8

2003-03-03 Thread Steve Blackwell
Hey Patrick,

I have a similar issue that I have reported here before but I never got an 
answer.

The only difference I see between what you describe and what I see, is 
that I get an error dialog saying:

You do not have sufficient permission to view Share. This is strange to 
me since I appear to log on OK because I can see all the shares but I get 
this message when I try to access one of them.

I'm using RH8 with all the latest updates and these samba rpms

samba-common-2.2.7-2
samba-2.2.7-2
samba-client-2.2.7-2
I haven't had time to investigate this further so I would be interested in 
anything that you find out.

Steve.

On 2003.03.02 20:45 Patrick Kwan wrote:
Hello,

I already setup a samba server as PDC for windows client to logon and
working fine now with the following config:
- redhat 7.3
- samba 2.2.7a
Then I try to access the samba share from Redhat 8, I can use smbclient
to
access the share without problem but I can't access the share with KDE's
Konqueror (smb://NetbiosName/), it can show all shares, when I double
one
of share, it can show the login dialogue box, then I enter the correct
username and password but nothing displayed, it seem to try connecting
the
share.
So, I check the samba.log file, but it show that the user is connected to
the service successfully.
Any body have this issue before?
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Problem of access samba from rh8

2003-03-03 Thread Patrick Kwan
Hi Steve,

I do another test today, I changed my desktop to Gnome and use Nautilus
to access the samba server, I can access all shares this times.

It show that some wrong with the KDE's Konqueror or something else, I will
search the KDE's website wheather it's known problems or only my problem.

Right now, I'm using LinuxNeihgbourhood to browse the network and access
shares because I like to use KDE Desktop.


Patrick


 Hey Patrick,

 I have a similar issue that I have reported here before but I never got
 an  answer.

 The only difference I see between what you describe and what I see, is
 that I get an error dialog saying:

 You do not have sufficient permission to view Share. This is strange
 to  me since I appear to log on OK because I can see all the shares but
 I get  this message when I try to access one of them.

 I'm using RH8 with all the latest updates and these samba rpms

 samba-common-2.2.7-2
 samba-2.2.7-2
 samba-client-2.2.7-2

 I haven't had time to investigate this further so I would be interested
 in  anything that you find out.

 Steve.

 On 2003.03.02 20:45 Patrick Kwan wrote:
 Hello,

 I already setup a samba server as PDC for windows client to logon and
 working fine now with the following config:
 - redhat 7.3
 - samba 2.2.7a

 Then I try to access the samba share from Redhat 8, I can use
 smbclient to
 access the share without problem but I can't access the share with
 KDE's Konqueror (smb://NetbiosName/), it can show all shares, when I
 double one
 of share, it can show the login dialogue box, then I enter the correct
 username and password but nothing displayed, it seem to try connecting
 the
 share.

 So, I check the samba.log file, but it show that the user is connected
 to the service successfully.

 Any body have this issue before?
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Problem of access samba from rh8

2003-03-02 Thread Patrick Kwan
Hello,

I already setup a samba server as PDC for windows client to logon and
working fine now with the following config:
- redhat 7.3
- samba 2.2.7a

Then I try to access the samba share from Redhat 8, I can use smbclient to
access the share without problem but I can't access the share with KDE's
Konqueror (smb://NetbiosName/), it can show all shares, when I double one
of share, it can show the login dialogue box, then I enter the correct
username and password but nothing displayed, it seem to try connecting the
share.

So, I check the samba.log file, but it show that the user is connected to
the service successfully.

Any body have this issue before?

Thanks for your kindly help!






-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba