Link to home
Start Free TrialLog in
Avatar of Johan_oelen
Johan_oelen

asked on

NT_STATUS_LOGON_FAILURE.

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
[global]
      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

            
[public]
      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

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

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

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

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

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

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

[netlogon]
      comment = Network Logon Service
      path = /var/lib/samba/netlogon
      write list = root
ASKER CERTIFIED SOLUTION
Avatar of Pablo Allietti
Pablo Allietti
Flag of Uruguay image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial