[Samba] XP SP1a can join domain but not log in.

Brad Sagowitz brad at sagowitz.com
Wed Jul 14 13:34:37 GMT 2004


I've posted this before but had to leave town and wasn't able to follow
up... I'm still having this problem.  Here is what is in the logs when I try
and log in.

[2004/07/14 07:58:02, 0] smbd/password.c:authorise_login(863)
  authorise_login: rejected invalid user nobody

Original Message:
Wondering if anyone can help.

Here is my situation, I have a RH 7.3 machine running a compiled from source
rpm version of samba 2.2.7.

We have been a win98se (which works great) shop for sometime but are
migrating to XP Pro machines slowly.

I can get the XP machine to join the domain (and the machine account is
created in both the /etc/passwd and /etc/samba/smbpasswd file) but when I
reboot and try and login as a user on the domain I get the following error:

"Windows cannot connect to the domain, either because the doamin controller
is down or otherwise unavailable, or becuase your computer account was not
found.  Please try again later. If this message continuses to appear,
contact your system administrator for assistance."

Now I can just log into the local machine and map a drive no problem and
i've done the sign or seal hack.

Anyone have anythoughts?

Thanks,
Brad



here is the globals,netlogon, and home section of my smb.conf file

[global]
        nt acl support = yes
        smb passwd file = /etc/samba/smbpasswd
        nt pipe support = yes
        domain master = yes
        encrypt passwords = yes
        short preserve case = no
        wins support = yes
        max log size = 5000
        password level = 4
        nt status support = yes
        nt smb support = yes
        security = user
        local master = yes
        passwd program = /usr/bin/passwd %u
        dns proxy = no
        valid users = root, at users, at root
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        printcap name = /etc/printcap
        logon script = %U.bat
        passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
        writeable = yes
        prefered master = yes
        domain admin group = +ntadmin
        domain logons = yes
	  unix password sync = Yes
        workgroup = JDMC
        server string = JDMC Samba Server
        log file = /var/log/samba/%m.log
        netbios name = THE-SCOOP
        load printers = no
        os level = 64
        add user script = /usr/sbin/useradd -d /dev/null -g 501 -s
/bin/false -M %u

[netlogon]
        path = /home/netlogon
        public = no
        read only = yes

[homes]
        path = %H
        volume = Private
        writable = yes
        comment = Private Share
        valid users = %S
        browseable = no
        create mode = 0764
        directory mode = 0775



More information about the samba mailing list