[Samba] Samba password problem when in domain

Koen Vermeer k.vermeer at i-optics.net
Mon Jan 26 16:38:56 GMT 2009


Hi,

In our network, I have set up a samba server in a workgroup. We're now migrating
to a domain, using SBS 2003. When I locally login on XP and access the samba
server, it works just fine. But, when I login on the domain and then try to
access the same samba box, it doesn't accept my password.

The username for my samba account and account on the domain are the same. Also,
the name of the domain is the same as the name of the workgroup.

My smb.conf is like this:

[global]
        workgroup = I-OPTICS
        netbios name = FILESERVER
        server string = File server
        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spas
sword:* %n\n *password\supdated\ssuccessfully* .
        unix password sync = Yes
        log level = 2
        load printers = No
        printcap name = /dev/null
        ldap ssl = start tls
        printing = bsd
        print command = lpr -r -P'%p' %s
        lpq command = lpq -P'%p'
        lprm command = lprm -P'%p' %j

[homes]
        valid users = %S
        read only = No
        browseable = No

The log file contains:

[2009/01/26 17:37:35,  2] smbd/sesssetup.c:setup_new_vc_session(1363)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old
resources.
[2009/01/26 17:37:35,  2] smbd/sesssetup.c:setup_new_vc_session(1363)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old
resources.
[2009/01/26 17:37:35,  2] auth/auth.c:check_ntlm_password(318)
  check_ntlm_password:  Authentication for user [koen] -> [koen] FAILED with
error NT_STATUS_WRONG_PASSWORD

Any idea what's going on here? Not being able to access the files on the samba
server when logged into the domain makes migrating rather difficult...

Best,
Koen




More information about the samba mailing list