Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error returning browse list: NT_STATUS_ACCESS_DENIED

Status
Not open for further replies.

brunopt

IS-IT--Management
Mar 1, 2004
47
PT
Hello everyone

I having this problem almost a week, when i run the command smbclint -L machinename to view the list of shares it send me this error "Error returning browse list: NT_STATUS_ACCESS_DENIED" ie searched in the net but no luck. I have adding my linux server to my windows 2000 domain with no problem, and when i want to view the shares on my server no problem at all, but when i want to view the shares from a machine name i having this error but using smbclient -L machinename -U administrator, i insert the password and voilá.

I want to view it withou using a password!

What im i doing wrong

Thanks to all
 
You could use:[tt]
smbclient -L machinename -A authfile[/tt]
where authfile is a file containing:[tt]
username=zambujeira
password=ewy47tv2875[/tt]

(This should really be in the Samba forum )
 
You might also want to add the domain name to authfile:[tt]
username=zambujeira
password=ewy47tv2875
domain=skrugn[/tt]
 
hello and thanks for the help

but where is the authfile?
 
You would create authfile yourself and store it in your home directory.
 
can you give me some hints on how to create the file.

sorry but i´m new at linux

thanks once again for the help
 
Just use your favourite text editor. If you're using KDE, you probably have a choice of kate and kwrite, but nearly all systems have vi.

To start vi from a shell, type the command [tt]vi[/tt] . When the vi screen appears, type the command [tt]i[/tt] to start inserting, type in the file text, press Esc to stop insertion, type the command [tt]:w ~/authfile[/tt] and press Enter, which saves the file to your home directory with the name authfile (you can use a different filename if you want), then type the command [tt]:q[/tt] and Enter to exit.

Alternatively, since it's only a small file, you can create it directly from the shell. Type the command [tt]cat >~/authfile[/tt] (use a different filename if you want) and press Enter (there will be no response other than a line feed), then type in the lines of text, followed by Ctrl-Z to finish.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top