Win2000 SP2 & Samba 2.2.2 "There is no user session key for the specified logon session."
ofer at changind.com
Fri Nov 16 17:59:06 GMT 2001
Well, I used Red Hat's samba 2.2.1a rpm, along with the included conf file,
and it worked for me. It never hurts to use redhat's stuff (they have some
useful patches), and you can compare conf files to see what might be wrong.
Also, if you open up a samba distribution, look for the file:
Read this carefully to understand how to setup accounts for users and
From: samba-ntdom-admin at lists.samba.org
[mailto:samba-ntdom-admin at lists.samba.org]On Behalf Of Garrett Ellis
Sent: Wednesday, November 14, 2001 4:05 PM
To: Samba Domain Controller
Subject: Win2000 SP2 & Samba 2.2.2 "There is no user session key for the
specified logon session."
Hello, everyone. I've been trying this for days now; and I am close to
the point of giving up. Any help I can get would be greatly appreciated.
Description of the problem follows:
I am trying to configure Samba 2.2.2 (compiled from source) as a PDC for
Win2000 clients. Here is my config file. It looks exactly like the
example that comes with the tarball; this is because after rewriting
smb.conf ~50 times I decided to use a clone of the example just in case
I really am missing something.
logon drive = H:
logon home = \\PDC\%u
logon path = \\%N\profiles\%u
writeable = yes
create mask = 0600
directory mask = 0700
After compiling 2.2.2, (no special ./configure options, just stock
default), I created the above conf file. /usr/local/samba/lib/smb.conf.
Then I :
* touch /usr/local/samba/private/smbpasswd
* smbpasswd -a root
(password given for root, root successfully added to smbpasswd)
* groupadd machines
useradd -g machines -d /dev/null -s /bin/false BOX$
* smbpasswd -a -m BOX
(pressed enter twice for the machine password, successfully added)
* smbpasswd -a gellis
(entered a password for me, gellis is also my linux username when not
root, successfully added to smbpasswd)
I have two Windows 2000 workstations that I am trying to join to this
new domain called "SAMBA". One is running SP-1, the other runs SP-2.
When I attempt to add a computer to the domain "SAMBA", it immediately
prompts me for a username and password, so I enter:
(root's password as given to smbpasswd)
I then receive the error message:
"There is no user session key for the specified logon session."
I've been getting this error message for days now; and I've tried the
following versions of Samba:
2.2.0 (There is no user session key for the specified logon session.)
2.2.1 (There is no user session key for the specified logon session.)
2.2.1a (There is no user session key for the specified logon session.)
2.2.2 (There is no user session key for the specified logon session.)
2.2.3-pre (cvs) (There is no user session key for the specified logon
Samba-tng 2.6 (Successfully joined a domain; but TNG has no support for
domain admins according to the manpages, so it is entirely useless to me
until it can support domain administrators.)
So, I thought I would be smart and search support.microsoft.com for that
error message. Well, not atypical of Microsoft, their support site is
absolutely useless, so I've taken to searching google and samba web
pages. It seems that nobody has had this error, and if they have, they
haven't posted anything about it. I will now attempt to answer some base
configuration questions that I will likely be receiving:
My Linux (PDC to be) Machine
Debian Linux 2.2r3
Static Kernel 2.4.12
Samba 2.2.2 (currently), installed in /usr/local/samba/. Samba was
compiled from source with no special options.
My two Windows boxes run SP1 on one and SP2 on the other. I have
administrative accounts on the machines. One of these machines has just
been reinstalled and still gives me the same error; so I am confident
the error is not caused by a corrupt 2000 installation.
Does anyone have any suggestions? I would really like to make this work.
I see so many people on this list successfully joining W2K machines to
domains and I know this can work; I just want to know how! :)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1103 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-ntdom/attachments/20011116/609ad06e/smb.conf.obj
More information about the samba-ntdom