[Samba] session setup failed: NT_STATUS_LOGON_FAILURE

2005-01-26 Thread Choudary Mumtaz
I am trying to configure a OPENLDAP+SAMBA server and I am getting the following 
error message:
session setup failed: NT_STATUS_LOGON_FAILURE
when I run the following command:
smbclient -L localhost -U Administrator
Password:
session setup failed: NT_STATUS_LOGON_FAILURE
 
Does anybody know, where do I need to look to fix it?
Thank you.



-
Do you Yahoo!?
 Yahoo! Search presents - Jib Jab's 'Second Term'
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] session setup failed: NT_STATUS_LOGON_FAILURE

2005-01-05 Thread john . debella
Hi,

I'm having trouble joining a Samba 2.2.7a server running on RH9 into a 
domain that is being served by a Windows 2003 server running AD in mixed 
mode. The server successfully joins the domain when using smbpasswd, 
however, when running smbclient -L localhost  I get the following error:

session setup failed: NT_STATUS_LOGON_FAILURE

Also when attempting to access shares from windows clients I'm prompted 
for a username and password, however, no accounts ever get granted access. 
We have another samba server with the same config, (RH9 and same samba 
version), and it is working fine.

I'm including my smb.conf file below.

Has anyone else run into this problem?

-John
-

[global]
   workgroup = BEDFORD
   netbios name = AMLINK
 
  security = domain
  encrypt passwords = yes
  password server = bedford03-dc.atb.teradyne.com
   wins server = 131.101.77.31
   server string = Linux ClearCase Server %v %h
   log file = /var/log/samba/%m.log
   log level = 4
   max log size = 4000
   username map = /etc/samba/smbusers
   read raw = no
   oplocks = no
   kernel oplocks = no
   level2 oplocks = no
   create mask = 0774
   directory mask = 0775
   map archive = No
   preserve case = yes
   dont descend = /view
   deadtime = 0
   hide dot files = no

[vobs]
   path = /export/vobs
   browsable = yes
   writable = yes
   public = yes
   comment = Vob Storage
[hwvobs]
   path = /export/vobs/hw_vobs
   browsable = yes
   writable = yes
   public = yes
   comment = HWEngVobs

[triggers]
   path = /var/adm/atria/triggers
   browsable = yes
   writable = no
   write list = vobadm
   force group = vobgrp
   force create mode = 664
   force directory mode = 775
   public = yes
   comment = storage for clearcase triggers
   csc policy = disable

[profiles]
   path = /var/adm/atria/profiles
   browsable = yes
   writable = no
   write list = vobadm
   force group = vobgrp
   force create mode = 664
   force directory mode = 775
   public = yes
   comment = storage for clearcase profiles
   csc policy = disable


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] session setup failed: NT_STATUS_LOGON_FAILURE

2004-06-06 Thread jd

Trying to log into my samba server for the first time and I get this
failure:

[EMAIL PROTECTED] ~]$ smbclient -L cherubino -d 3
lp_load: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file
/usr/local/etc/smb.conf
Processing section [global]
added interface ip=10.61.70.2 bcast=10.61.70.255 nmask=255.255.255.0
added interface ip=209.195.149.104 bcast=209.195.149.127
nmask=255.255.255.224
Client started (version 3.0.3pre2).
resolve_lmhosts: Attempting lmhosts lookup for name cherubino0x20
resolve_wins: Attempting wins lookup for name cherubino0x20
resolve_wins: WINS server resolution selected and no WINS servers listed.
resolve_hosts: Attempting host lookup for name cherubino0x20
Connecting to 10.61.70.2 at port 445
Password:
Doing spnego session setup (blob length=58)
got OID=1 3 6 1 4 1 311 2 2 10
got principal=NONE
Got challenge flags:
Got NTLMSSP neg_flags=0x608b0215
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x60080215
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x60080215
SPNEGO login failed: Logon failure
session setup failed: NT_STATUS_LOGON_FAILURE

I guess I'm missing something trivial... Samba version 3.0.3pre2 on
FreeBSD 4.10-PRERELEASE

Thanx for any suggestions...
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] session setup failed: NT_STATUS_LOGON_FAILURE

2003-01-20 Thread Johnson, Dave S.
Title: session setup failed: NT_STATUS_LOGON_FAILURE





I know this subject has been beaten to death .. but I haven't been able to find a solution .. so here it is again:


I can join the my Windows DOMAIN without issue.


[djohns1@lmsprfc24208a djohns1]$ smbclient -L mspap01u 
added interface ip=192.168.240.53 bcast=192.168.240.255 nmask=255.255.255.0
added interface ip=192.168.131.1 bcast=192.168.131.255 nmask=255.255.255.0
Password: 
session setup failed: NT_STATUS_LOGON_FAILURE


If I use localhost instead of mspap01u I get a list of shares locally. No matter what I do to my smb.conf file locally I get denied EVERYWHERE in the DOMAIN when trying to connect to Windows machines. I am using SECURITY=DOMAIN andPASSWORD SERVER = *

[djohns1@lmsprfc24208a djohns1]$ smbclient //vmspap01caa/prod -W NA -U djohns1
added interface ip=192.168.240.53 bcast=192.168.240.255 nmask=255.255.255.0
added interface ip=192.168.131.1 bcast=192.168.131.255 nmask=255.255.255.0
Password: 
session setup failed: NT_STATUS_LOGON_FAILURE


I know there's communication there because I get some output if I use -N :
[djohns1@lmsprfc24208a djohns1]$ smbclient //vmspap01caa/prod -W NA -N
added interface ip=192.168.240.53 bcast=192.168.240.255 nmask=255.255.255.0
added interface ip=192.168.131.1 bcast=192.168.131.255 nmask=255.255.255.0
Anonymous login successful
Domain=[NA] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
tree connect failed: NT_STATUS_ACCESS_DENIED


I have several HP-UX 11.00 machines with Samba 2.2.3a running on them with SECURITY=DOMAIN and all of the users can access the shares without issue. I just can't get anywhere on the DOMAIN with smbclient ... 

testparm output:

# Global parameters
[global]
 coding system = 
 client code page = 850
 code page directory = /etc/codepages
 workgroup = NA
 netbios name = LMSPRFC24208A
 netbios aliases = 
 netbios scope = 
 server string = Dave Johnson's Samba Server
 interfaces = 
 bind interfaces only = No
 security = DOMAIN
 encrypt passwords = Yes
 update encrypted = No
 allow trusted domains = Yes
 hosts equiv = 
 min passwd length = 5
 map to guest = Never
 null passwords = No
 obey pam restrictions = No
 password server = *
 smb passwd file = /etc/samba/smbpasswd
 root directory = 
 pam password change = No
 passwd program = /usr/bin/passwd
 passwd chat = *new*password* %n\n *new*password* %n\n *changed*
 passwd chat debug = No
 username map = 
 password level = 0
 username level = 0
 unix password sync = No
 restrict anonymous = No
 lanman auth = Yes
 use rhosts = No
 admin log = No
 log level = 5
 syslog = 1
 syslog only = No
 log file = /var/log/samba/log.%m
 max log size = 50 timestamp logs = Yes
 debug hires timestamp = No
 debug pid = No
 debug uid = No
 protocol = NT1
 large readwrite = Yes
 max protocol = NT1
 min protocol = CORE
 read bmpx = No
 read raw = Yes
 write raw = Yes
 nt smb support = Yes
 nt pipe support = Yes
 nt status support = Yes
 announce version = 4.9
 announce as = NT
 max mux = 50
 max xmit = 16644
 name resolve order = lmhosts host wins bcast
 max ttl = 259200
 max wins ttl = 518400
 min wins ttl = 21600
 time server = No
 unix extensions = No
 change notify timeout = 60
 deadtime = 0
 getwd cache = Yes
 keepalive = 300
 lpq cache time = 10
 max smbd processes = 0
 max disk size = 0
 max open files = 1
 name cache timeout = 660
 read size = 16384
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 stat cache size = 50
 use mmap = Yes
 total print jobs = 0
 load printers = Yes
 printcap name = /etc/printcap
 disable spoolss = No
 enumports command = 
 addprinter command = 
 deleteprinter command = 
 show add printer wizard = Yes
 os2 driver map = 
 strip dot = No
 mangling method = hash
 character set = 
 mangled stack = 50
 stat cache = Yes
 domain admin group = 
 domain guest group = 
 machine password timeout = 604800
 add user script = 
 delete user script = 
 logon script = 
 logon path = \\%N\%U\profile
 logon drive = 
 logon home = \\%N\%U
 domain logons = No
 os level = 20
 lm announce = Auto
 lm interval = 60
 preferred master = Auto
 local master = Yes
 domain master = Auto
 browse list = Yes
 enhanced browsing = Yes
 dns proxy = No
 wins proxy = No
 wins server = 199.21.57.20,199.21.56.57
 wins support = No
 wins hook = 
 kernel oplocks = Yes
 lock spin count = 3
 lock spin time = 10
 oplock break wait time = 0
 add share command = 
 change share command = 
 delete share command = 
 config file = 
 preload = 
 lock dir = /var/cache/samba
 pid directory = /var/run/samba
 utmp directory = 
 wtmp directory = 
 utmp = No
 default service = 
 message command = 
 dfree command = 
 valid chars = 
 remote announce = 
 remote browse sync = 
 socket address = 0.0.0.0
 homedir map = 
 time offset = 0
 NIS homedir = No
 source environment = 
 panic action = "">
 hide local users = No
 host msdfs = No
 winbind uid = winbind gid = 
 template homedir = 

RE: [Samba] session setup failed: NT_STATUS_LOGON_FAILURE

2003-01-20 Thread LaSusa, Dan
Title: Message



I'm 
kinda new to this, so you may have already tried all of this and then 
somebut I'm just trying to help...

1. Winbind IS running right? (I'm assuming so, but just 
checking)
2. What do you get if you run "wbinfo -t" ?

Dan

  
  -Original Message-From: Johnson, Dave S. 
  [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 
  4:31 AMTo: '[EMAIL PROTECTED]'Subject: [Samba] 
  session setup failed: NT_STATUS_LOGON_FAILURE
  I know this subject has been beaten to death .. but I haven't 
  been able to find a solution .. so here it is again: 
  I can join the my Windows DOMAIN without issue. 
  [djohns1@lmsprfc24208a djohns1]$ smbclient -L mspap01u 
  added interface ip=192.168.240.53 
  bcast=192.168.240.255 nmask=255.255.255.0 added 
  interface ip=192.168.131.1 bcast=192.168.131.255 nmask=255.255.255.0 
  Password: session setup failed: 
  NT_STATUS_LOGON_FAILURE 
  If I use localhost instead of mspap01u I get a list of shares 
  locally. No matter what I do to my smb.conf file locally I get denied 
  EVERYWHERE in the DOMAIN when trying to connect to Windows machines. I 
  am using SECURITY=DOMAIN andPASSWORD SERVER = *
  [djohns1@lmsprfc24208a djohns1]$ smbclient //vmspap01caa/prod 
  -W NA -U djohns1 added interface ip=192.168.240.53 
  bcast=192.168.240.255 nmask=255.255.255.0 added 
  interface ip=192.168.131.1 bcast=192.168.131.255 nmask=255.255.255.0 
  Password: session setup failed: 
  NT_STATUS_LOGON_FAILURE 
  I know there's communication there because I get some output 
  if I use -N : [djohns1@lmsprfc24208a djohns1]$ 
  smbclient //vmspap01caa/prod -W NA -N added interface 
  ip=192.168.240.53 bcast=192.168.240.255 nmask=255.255.255.0 added interface ip=192.168.131.1 bcast=192.168.131.255 
  nmask=255.255.255.0 Anonymous login successful 
  Domain=[NA] OS=[Windows 5.0] Server=[Windows 2000 LAN 
  Manager] tree connect failed: 
  NT_STATUS_ACCESS_DENIED 
  I have several HP-UX 11.00 machines with Samba 2.2.3a running 
  on them with SECURITY=DOMAIN and all of the users can access the shares 
  without issue. I just can't get anywhere on the DOMAIN with smbclient 
  ... 
  testparm output:  
  # Global parameters [global] 
   coding system = 
   client code 
  page = 850  
  code page directory = /etc/codepages  workgroup = NA 
   netbios name = 
  LMSPRFC24208A  netbios aliases = 
   netbios 
  scope =  
  server string = Dave Johnson's Samba Server  interfaces = 
   bind 
  interfaces only = No  security = DOMAIN 
   encrypt passwords 
  = Yes  
  update encrypted = No  allow trusted domains = 
  Yes  hosts 
  equiv =  min 
  passwd length = 5  map to guest = Never 
   null passwords = 
  No  obey pam 
  restrictions = No  password server = * 
   smb passwd file = 
  /etc/samba/smbpasswd  root directory = 
   pam 
  password change = No  passwd program = 
  /usr/bin/passwd  passwd chat = *new*password* 
  %n\n *new*password* %n\n *changed*  passwd chat debug = 
  No  username 
  map =  
  password level = 0  username level = 0 
   unix password sync 
  = No  
  restrict anonymous = No  lanman auth = Yes 
   use rhosts = 
  No  admin 
  log = No  
  log level = 5  syslog = 1  syslog only = No 
   log file = 
  /var/log/samba/log.%m  max log size = 
  50 timestamp logs = Yes 
   debug hires 
  timestamp = No  debug pid = No 
   debug uid = 
  No  protocol 
  = NT1  large 
  readwrite = Yes  max protocol = NT1 
   min protocol = 
  CORE  read 
  bmpx = No  
  read raw = Yes  write raw = Yes 
   nt smb support = 
  Yes  nt pipe 
  support = Yes  nt status support = 
  Yes  
  announce version = 4.9  announce as = NT 
   max mux = 
  50  max xmit 
  = 16644  
  name resolve order = lmhosts host wins bcast  max ttl = 259200 
   max wins ttl = 
  518400  min 
  wins ttl = 21600  time server = No 
   unix extensions = 
  No  change 
  notify timeout = 60  deadtime = 0 
   getwd cache = 
  Yes  
  keepalive = 300  lpq cache time = 10 
   max smbd processes 
  = 0  max 
  disk size = 0  max open files = 
  1  name 
  cache timeout = 660  read size = 16384 
   socket options = 
  TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192  stat cache size = 50 
   use mmap = 
  Yes  total 
  print jobs = 0  load printers = Yes 
   printcap name = 
  /etc/printcap  disable spoolss = No 
   enumports command 
  =  
  addprinter command =  deleteprinter command = 
   show add 
  printer wizard = Yes  os2 driver map = 
   strip dot = 
  No  mangling 
  method = hash  character set = 
   mangled 
  stack = 50  
  stat cache = Yes  domain admin group = 
   domain 
  guest group =  machine password timeout = 
  604800  add 
  user script =  delete user script = 
   logon 
  script =  
  logon path = \\%N\%U\profile  logon drive = 
   logon home 
  = \\%N\%U  
  domain logons = No  os level = 20 
   lm announce = 
  Auto  lm 
  interval = 60  preferred master = 
  Auto  local 
  master = Yes  domain mas