[Samba] Simple configuration and not working.

Vincent.Badier at alcatel.fr Vincent.Badier at alcatel.fr
Wed Sep 10 15:08:01 GMT 2003


>Can you retest against RC3.  There was a change in the NTLMv2 behavior
>that might help.

Thank you for your response!!

I checked with rc3, and now this work with such a smb.conf.

I tried to join AD domain, as this will our final use, with a modified
smb.conf.
Somme error occured when attempting to join, but it succeded.
I can list domain users and groups.

Then i can't connect with my domain account. With a windows client, it ask
me to enter a username and password again and again.
I increase the log verbose and saw that auth suceeded, and just after, a
new auth attemp with empty domain/username so i don't understand why this
happen.
I noticed that this didn't occured when i was with 2.2.x.

I can provide the log connection attemp if needed


Thank for your help and for your excellent work!!
Vincent


smb.conf

[global]
        workgroup = MYAD
        realm = MYAD.AD.MYDOMAIN.COM
        netbios name = FRMASSMEP03
        server string = %h server (Samba %v)
        security = DOMAIN
        update encrypted = Yes
        password server = ip.of.my.dc
        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .
        client lanman auth = No
        client plaintext auth = No
        log level = 3 passdb:5 auth:10 winbind:2
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 8000
        preferred master = No
        local master = No
        domain master = No
        dns proxy = No
        wins server = ip.of.my.dc
        ldap ssl = no
        idmap uid = 10000-20000
        idmap gid = 10000-20000
        winbind separator = +
        invalid users = root

[myshare]
        path = /mnt/alcanet/mastw2k
        valid users = MYAD+mylogon
        admin users = MYAD+mylogon
        read only = No



Somes lines of the log :

[2003/09/10 16:18:26, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(500)
  NativeOS=[Windows 2002 2600 Service Pack 1] NativeLanMan=[Windows 2002
5.1]
[2003/09/10 16:18:26, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(286)
  Got user=[mylogon] domain=[MYAD] workstation=[MYHOSTNAME] len1=24 len2=24
[2003/09/10 16:18:26, 5] auth/auth_util.c:make_user_info_map(216)
  make_user_info_map: Mapping user [MYAD]\[mylogon] from workstation
[MYHOSTNAME]
....
[2003/09/10 16:18:26, 3] auth/auth.c:check_ntlm_password(265)
  check_ntlm_password: winbind authentication for user [mylogon] succeeded
....
[2003/09/10 16:18:26, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(476)
  Doing spnego session setup
[2003/09/10 16:18:26, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(500)
  NativeOS=[Windows 2002 2600 Service Pack 1] NativeLanMan=[Windows 2002
5.1]
[2003/09/10 16:18:26, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(286)
  Got user=[] domain=[] workstation=[MYHOSTNAME] len1=1 len2=0
[2003/09/10 16:18:26, 5] auth/auth_util.c:make_user_info_map(216)
  make_user_info_map: Mapping user []\[] from workstation [MYHOSTNAME]
[2003/09/10 16:18:26, 5] auth/auth_util.c:make_user_info(132)
  attempting to make a user_info for  ()







More information about the samba mailing list