TNG-2.4.1; 1st domain logon succeeds, none after that

Paul J Collins pjdc at eircom.net
Wed Apr 19 21:12:25 GMT 2000


>>>>> "Luke" == Luke Kenneth Casson Leighton <lkcl at samba.org> writes:

    Luke> hmmm... *curious*...  what difference does it make if the usernames are
    Luke> odd or even-length number of characters?

Domain: SNOWBUG
Server: STO-KERRIG
Wks: QUIRM

Pseudopolis, my original NT VMWare session has gone totally gaga on
me, so I have done a fresh one, containing NT 4, VMWare Toolbox and
SP4.

I logged in as SNOWBUG\root, no problem.  Logged out and tried to log in a
SNOWBUG\cathy.  "Domain not available".

Shut down NT.  Shut down Samba.  Start Samba.  Start NT.

Logged in as SNOWBUG\cathy.  No problem.  Log out and log in right
away as SNOWBUG\henry, no problem.  Repeat this about five times or
so.

Log in as QUIRM\Administrator to have a look at the logs.  The last
log I had open was the Security log, and when Event Viewer tries to
show it to me, I get a message saying "The handle is invalid" and asks
me do I want to select another server to administer.  All I can do is
quit Event Viewer.

I log out and try to log in as SNOWBUG\sneakums and I get the "domain
not available" error.

[ DIVERSION: I believe some of the weirdness I experienced using
  Pseudopolis can be explained by the fact that my original Samba set
  up was a work-group set up and that for each account
  PSEUDOPOLIS\sneakums, PSEUDOPOLIS\henry and PSEUDOPOLIS\cathy, there
  was a corresponding account on STO-KERRIG, with identical
  passwords. ]

I reboot the machine and log in as SNOWBUG\henry, having added him to
the Unix domadmin group, which is mapped to "Domain Admins", so that I
can look at the logs.  I notice one 3006 (SMB too short) in the System
log.  I select Security.  "Handle is invalid".  I go back to System,
and now there is *another* 3006!  I can keep doing this and every
time, I get a new 3006.

Here is the event detail again:

0000: 00 00 3c 00 02 00 86 00   ..<...?.
0008: 00 00 00 00 be 0b 00 80   ....¾..?
0010: 00 00 00 00 00 00 00 00   ........
0018: 48 64 4a 80 00 00 00 00   HdJ?....
0020: 00 00 00 00 00 00 00 00   ........
0028: ff 53 4d 42 25 00 00 00   ÿSMB%...
0030: 00 88 01 00 00 00 00 00   .?......
0038: 00 00 00 00 00 00 00 00   ........
0040: 01 00 e0 19 64 00 c0 02   ..à.d.À.
0048: 0a 04 00 00 00 00 00 04   ........
0050: 00 38 00 00 00 00 00 3c   .8.....<
0058: 00 00 00 00 00 05 00 00   ........
0060: 32 00 00 00               2...     


After all this, I log out and try to log in as SNOWBUG\cathy and I get
a "domain controller not found" error.

I hope you can make use of all this, cos I am just confused.

As ever, I have logs @ 100.  Holler if you want me to look for
something in 'em.

Paul.

---BEGIN "smb.conf"---

[global]
debug level = 100
guest account = ftp
#client schannel = no
#server schannel = no

netbios name = STO-KERRIG
server string = Samba (Primary DC)
workgroup = SNOWBUG
interfaces = 172.16.252.1/16 127.0.0.1/8

domain group map = /usr/local/samba-TNG/private/domaingroup.map 
#domain alias map = /usr/local/samba-TNG/private/domainalias.map 

security = user 
domain logons = yes 
encrypt passwords = yes 

os level = 65 
domain master = yes 
preferred master = yes 
local master = yes 

wins support = yes 
time server = yes 

logon script = login.bat 
logon drive = H:
logon home = \\STO-KERRIG\%U
logon path = \\STO-KERRIG\profile\%U

#print related junk
print command = /usr/bin/lpr -r -P%p %s
lpq command = /usr/bin/lpq -P%p
lprm command = /usr/bin/lprm -P%p %j
printcap name = /etc/printcap
load printers = yes

[homes] 
browseable = no 
writable = yes 
comment = Users' home directories 

[netlogon] 
path = /usr/local/samba-TNG/netlogon 
writable = no 
guest ok = no 
comment = PDC netlogon share 

[profile]
path = /usr/local/samba-TNG/profile
writeable = yes

[printers]
printing = bsd
comment = All Printers
path = /tmp
browseable = no
guest ok = yes
writable = no
printable = yes

[print$]
path = /usr/local/samba-TNG/print
writable = yes
guest ok = yes

---END "smb.conf"---

-- 
Paul Collins <sneakums at eircom.net> - - - - - [ A&P,a&f ]
 GPG: 0A49 49A9 2932 0EE5 89B2  9EE0 3B65 7154 8131 1BCD
 PGP: 88BA 2393 8E3C CECF E43A  44B4 0766 DD71 04E5 962C
"Linux: it's just this operating system, you know?"



More information about the samba-ntdom mailing list