[Samba] Samba 3 and Windows Server 2003

Bryan Haro bharo at bvi7-37.fwi.com
Sun Oct 12 20:12:41 GMT 2003

Okay, I'm trying to get my samba server to talk to my Windows 2003 domain
running in native 2003 mode.  First, while trying to add the samba server
with the "net ads join" command, it just wouldn't work.  I wouldn't get an
error or a confirmation, I'd just be sent back to the command prompt.  My
krb5.conf file is setup properly and when I run a kinit command, it runs
fine.   Anyway, I gave up on that as I really don't need full ADS domain

Now, when I try to join the domain with just "net join" I get a response
saying that the samba server successfully joined the domain.  Everything
looks good in my smb.conf file and I have corresponding users in the domain
and on the linux box so I start up the daemons, go to one of my win 2003
servers and try to open a share on the samba server.  Everytime I try, I
keep getting a password prompt.  Putting in a domain username and password
just brings the password prompt back up.  Here's what my log file says:

[2003/10/12 14:16:39, 0]
  connect_to_domain_password_server: unable to setup the NETLOGON
credentials to machine BHNS1. Error was 
[2003/10/12 14:16:39, 0] auth/auth_domain.c:domain_client_validate(167)
  domain_client_validate: Domain password server not available.

Here's a quick look at my smb.conf file
        workgroup = TEST
        server string = 
        interfaces = eth0
        bind interfaces only = Yes
        security = DOMAIN
        password server =
        client lanman auth = No
        client plaintext auth = No
        log file = /var/log/samba/log.%m
        max log size = 50
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        dns proxy = No
        wins server =
        ldap ssl = no
        valid users = samba_valid
        admin users = samba_valid
        read list = samba_ro
        write list = samba_rw

Back when I was running a 2000 server and Samba 2, I had no problems.  I
have a feeling 2003 is probably the issue.  Has anyone here been able to get
samba 3 and a 2003 domain to play along?

More information about the samba mailing list