Question by:


    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
    Good Question?

    Featured Post

    Top 20 Free Digital Forensic Investigation Tools

    20 of the best free tools that will help you conduct a digital forensic investigation. Whether it’s for an internal human resources case, an investigation into unauthorized access to a server, or if you just want to learn a new skill, these suites and utilities will help you!

    Top Expert Contributor

    Essential articles and videos from the Experts

    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 Experts Exchange video Micro Tutorial, I'm going to show how small business owners who use Google Apps can save money by setting up what is called a catch-all email address in their Gmail accounts. By using the catch-all feature, small busin…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

    More valuable questions with Expert answers

    Question: Hi, Is there a more efficient way to capture the 1st IP address from the output of the HOST command. Currently I have the following: (CODE) Thx Nev

    Answer: On the other hand, if your goal is just to make sure that the returned address is an IPv4 address just use the "-4" option of "host" VAR=$(host -4 bbc.co.uk 2>/dev/null | awk '/has address/ {print $NF; exit}') echo $VAR ## if empty the host...

    Question: I have four RHEL6.4 vmware servers that perform specific backup duties and nothing else. Users need to log in to the server remotely via SSH as the servers are located on physical hardware in a geographically diverse area. I can log in...

    Answer: Problem resolved. My approach was wrong. I hadn't figured out that the users had locked out their accounts! (These particular users are remote support technicians from an external company). So, pam_tally2 --user=userid --reset fixed the...

    Question: A client has granted our internal server access to their internal MSSQL server. I now need to setup an external server to access their MSSQL server. It's going to take a couple of weeks for their IT department to grant access to the new IP...

    Answer: Yes you can set routing rules for your internal the application to use an internal IP address and have the router forward the request to the clients server but wouldn't it be easier and safer if you can just VPN into their network?

    Question: using http://www.asterisk.org/downloads/asterisknow on vmware workstation Got stuck at configure TCP\IP no respond.

    Answer: Okay, here is a video, I've created especially for you, as you seem to be struggling with AsterixNOW installation on a virtual machine hosted on VMware Workstation. Here you go click here... (http://vexpert.me/AsterixNOW) ...


    Extend your technology team with the Experts Exchange community.

    — trusted by —

    Who answers my questions?Our community has technology experts around the world.




    Expert in:

    • Storage-Other
    • Unix OS
    • VMware
    • Linux
    • Networking-Other




    Expert in:

    • Hardware-Other
    • Laptops/Notebooks
    • Linux
    • Linux Distributions
    • Storage Hardware

    Richardson Porto



    Dr. Klahn





    Expert in:

    • Hardware-Other
    • Components
    • Laptops/Notebooks
    • PCs
    • Printers and Scanners




    Expert in:

    • Unix OS
    • Linux
    • Linux Distributions
    • Networking-Other
    • Apache Web Server

    Emmanuel Adebayo



    Expert in:

    • MS Legacy OS
    • Microsoft IIS Web Server
    • Windows 7
    • Windows Server 2003
    • Windows Server 2008

    Carlos Ijalba





    Expert in:

    • Storage-Other




    Expert in:

    • Linux

    Jan Springer



    Expert in:

    • Routers
    • Cisco
    • DNS
    • Linux
    • Networking-Other

    RELATED TOPICS view all topics

    1. Linux
    2. Linux Distributions
    3. Networking-Other
    4. Linux Security
    5. Linux OS Dev
    6. DNS
    7. Email Servers
    8. Apache Web Server
    9. Software Firewalls
    10. Network Management