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!
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?
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-1909000033-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
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?) NBNS Name query NB <My PDC><20> NBNS Name query response NB <MY PDC IP address> NBNS Name query NBSTAT *<00><00><00>.... NBNS Name query response NBSTAT TCP 33115 > netbios-ssn [SYN] blah... TCP netbias-ssn > 33115 [SYN, ACK] blah... TCP 33115 > netbios-ssn [ACK] blah... NBSS Session request to <My PDC><20> from <My Linux box><00> NBSS Positive 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