While accessing the samba shares using "net view", it fails with "System error 1326 has occurred"

Solution Verified - Updated -

Issue

  • Unable to browse samba shares from Windows clients (i.e: WinXP, Windows 7). net view fails with System error 1326 has occurred error, However net use x: \\server\share works properly.

i.e:

C:\> net use X: \\server\share
(maps the drive successfully) and
C:\> net view \\server
(lists the various services).

But doing this:

C:\> net view
gives an error message:
System error 1326 has occurred.
Logon failure: unknown user name or bad password.

And clicking on "Computers Near Me" or Network Neighborhood gives a dialog box:

Workgroup is not accessible.
The network name cannot be found.

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Samba

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content