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

Paul J Collins pjdc at
Tue Apr 18 21:37:03 GMT 2000

>>>>> "Paul" == Paul J Collins <sneakums at> writes:

    Paul> I just finished builing 2.4.1 with enable-profile.  I'll be
    Paul> trying it this evening.

Okay.  I rebuilt Samba with enable-profile.  I installed it into a
fresh directory.  I created a new domain SNOWBUG, in the same fashion
that I created ONDIOLINE.

I log in as SNOWBUG\root; no problems.  I log out and log back in as
root: the domain is not available and my cached account information is
used.  I log out again.  I attempt to log in as one of my normal
domain users, and I am told that the domain is not available.

The text of the message in the Event Log refers to an RPC not
executing; is this significant?

Weirdness:  When I log in successfully as SNOWBUG\root, and scroll
down the event log, I get to about three screens down and I get a
message saying "The handle is invalid".

I then try with the schannel options.

Same result.  I log in as another user, the profile is created.  Log
out and try to log in as SNOWBUG\root and I get the domain controller
not found error.  Nothing about a slow network connection, though.

Below is my smb.conf and my smbpasswd with the hashes removed.

I have preserved logs from these two sessions; there's a lot there, so
if you want me to look for something specific, or to send you a
certain file, please do holler.

Another weird thing: I have been occassionally seeing a strange dialog
flashing up on the screen when I log off the domain, but it disappears
before I can read it.  It looks vaguely like an Abort/Retry/Cancel


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

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

netbios name = STO-KERRIG
server string = Samba (Primary DC)
workgroup = SNOWBUG
interfaces =

domain group map = /usr/local/samba-TNG/private/ 
domain alias map = /usr/local/samba-TNG/private/ 

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 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

browseable = no 
writable = yes 
comment = Users' home directories 

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

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

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

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

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

---BEGIN "smbpasswd"---
root:0:::[           ]:LCT-FFFFFFFF:
PSEUDOPOLIS$:507:::[W          ]:LCT-38FCCD7D:
sneakums:501:::[           ]:LCT-FFFFFFFF:
henry:503:::[           ]:LCT-FFFFFFFF:
cathy:506:::[           ]:LCT-FFFFFFFF:
---END "smbpasswd"---

Paul Collins <sneakums at> - - - - - [ 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