Posted on 2006-02-06
Last Modified: 2011-10-03
I got the above mentioned error message when testing my samba configuration at the linux server
smbclient //linux/user
I don't get this error when I us
smbclient //linux/root

or when I use the following command I found somewhere on the internet

smbclient //linux/username -W USERS -U username

This syntax is not very helpfull when trying to connect with a windows client. What do I need to change in order to log on with the normal smbclient //linux/user syntax

I looked at the explanation under NT_STATUS_LOGON_FAILURE in experts exchange, but this didn't do the trick

attached my smb.conf
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2005-03-22
      workgroup = TUX-NET
      printing = cups
      printcap name = cups
      printcap cache time = 750
      cups options = raw
      printer admin = @ntadmin, root, administrator
      username map = /etc/samba/smbusers
      map to guest = Bad User
      include = /etc/samba/dhcp.conf
      logon path = \\%L\profiles\.msprofile
      logon home = \\%L\%U\.9xprofile
      logon drive = P:
      add machine script = /usr/sbin/useradd  -c Machine -d /var/lib/nobody -s /bin/false %m$
      domain logons = Yes
      domain master = Yes
      local master = Yes
      os level = 65
      preferred master = Yes

      path= /home
      comment = Public Folder
      public = yes
      only guest = yes
      force directory mode = 777
      delete read only = 777
      wide links = no
      force create mode =777
      directory mode = 777

      comment = Home Directories
      users = %S
      browseable = No
      read only = No
      inherit acls = Yes

      comment = Network Profiles Service
      path = %H
      read only = No
      store dos attributes = Yes
      create mask = 0600
      directory mask = 0700

      comment = All users
      valid users = @users
      writeable = yes
      veto files = /aquota.user/groups/shares/
      path = /home
      inherit acls = Yes
      read only = No

      comment = All groups
      path = /home/groups
      read only = No
      inherit acls = Yes

      comment = All Printers
      path = /var/tmp
      printable = Yes
      create mask = 0600
      browseable = No

      comment = Printer Drivers
      path = /var/lib/samba/drivers
      write list = @ntadmin root
      force group = ntadmin
      create mask = 0664
      directory mask = 0775

      comment = Network Logon Service
      path = /var/lib/samba/netlogon
      write list = root
Question by:Johan_oelen
    1 Comment
    LVL 14

    Accepted Solution


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
    Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now