[Samba] Problem of access samba from rh8

Steve Blackwell steve.blackwell at eer.com
Tue Mar 4 19:24:36 GMT 2003


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


More information about the samba mailing list