[Samba] squeeze samba 3.5.6 mac osx snow leopard

Joris Heinrich jhn at malin-easy.de
Tue Apr 19 17:13:48 MDT 2011


Hello,

today i updated my debian lenny server to squeeze. The samba server
updated to 3.5.6. No problems to connect windows clients. But Mac OSX
Snow Leopard
get an wrong password error...

testparm -v:

[global]
    dos charset = CP850
    unix charset = UTF-8
    display charset = LOCALE
    workgroup = WORKGROUP
    realm =
    netbios name = FILE1
    netbios aliases =
    netbios scope =
    server string = file2.int.stayfriends.de
    interfaces =
    bind interfaces only = No
    security = USER
    auth methods =
    encrypt passwords = Yes
    update encrypted = No
    client schannel = Auto
    server schannel = Auto
    allow trusted domains = Yes
    map to guest = Never
    null passwords = No
    obey pam restrictions = No
    password server = *
    smb passwd file = /etc/samba/smbpasswd
    private dir = /etc/samba
    passdb backend = smbpasswd
    algorithmic rid base = 1000
    root directory =
    guest account = nobody
    enable privileges = Yes
    pam password change = No
    passwd program =
    passwd chat = *new*password* %n\n *new*password* %n\n *changed*
    passwd chat debug = No
    passwd chat timeout = 2
    check password script =
    username map =
    password level = 0
    username level = 0
    unix password sync = No
    restrict anonymous = 0
    lanman auth = Yes
    ntlm auth = Yes
    client NTLMv2 auth = Yes
    client lanman auth = No
    client plaintext auth = No
    preload modules =
    dedicated keytab file =
    kerberos method = default
    map untrusted to domain = No
    log level = 3 passdb:5 auth:10
    syslog = 1
    syslog only = No
    log file =
    max log size = 5000
    debug timestamp = Yes
    debug prefix timestamp = No
    debug hires timestamp = Yes
    debug pid = No
    debug uid = No
    debug class = No
    enable core files = Yes
    smb ports = 445 139
    large readwrite = Yes
    max protocol = NT1
    min protocol = CORE
    min receivefile size = 0
    read raw = Yes
    write raw = Yes
    disable netbios = No
    reset on zero vc = No
    acl compatibility = auto
    defer sharing violations = Yes
    nt pipe support = Yes
    nt status support = Yes
    announce version = 4.9
    announce as = NT
    max mux = 50
    max xmit = 16644
    name resolve order = lmhosts wins host bcast
    max ttl = 259200
    max wins ttl = 518400
    min wins ttl = 21600
    time server = No
    unix extensions = No
    use spnego = Yes
    client signing = auto
    server signing = No
    client use spnego = Yes
    client ldap sasl wrapping = plain
    enable asu support = No
    svcctl list =
    deadtime = 0
    getwd cache = Yes
    keepalive = 300
    lpq cache time = 30
    max smbd processes = 0
    paranoid server security = Yes
    max disk size = 0
    max open files = 16384
    socket options = TCP_NODELAY IPTOS_LOWDELAY
    use mmap = Yes
    hostname lookups = No
    name cache timeout = 660
    ctdbd socket =
    cluster addresses =
    clustering = No
    ctdb timeout = 0
    load printers = No
    printcap cache time = 750
    printcap name =
    cups server =
    cups encrypt = No
    cups connection timeout = 30
    iprint server =
    disable spoolss = No
    addport command =
    enumports command =
    addprinter command =
    deleteprinter command =
    show add printer wizard = Yes
    os2 driver map =
    mangling method = hash2
    mangle prefix = 1
    max stat cache size = 256
    stat cache = Yes
    machine password timeout = 604800
    add user script =
    rename user script =
    delete user script =
    add group script =
    delete group script =
    add user to group script =
    delete user from group script =
    set primary group script =
    add machine script =
    shutdown script =
    abort shutdown script =
    username map script =
    logon script =
    logon path = \\%N\%U\profile
    logon drive =
    logon home = \\%N\%U
    domain logons = No
    init logon delayed hosts =
    init logon delay = 100
    os level = 20
    lm announce = Auto
    lm interval = 60
    preferred master = No
    local master = Yes
    domain master = Auto
    browse list = Yes
    enhanced browsing = Yes
    dns proxy = No
    wins proxy = No
    wins server =
    wins support = No
    wins hook =
    kernel oplocks = Yes
    lock spin time = 200
    oplock break wait time = 0
    ldap admin dn =
    ldap delete dn = No
    ldap group suffix =
    ldap idmap suffix =
    ldap machine suffix =
    ldap passwd sync = no
    ldap replication sleep = 1000
    ldap suffix =
    ldap ssl = start tls
    ldap ssl ads = No
    ldap deref = auto
    ldap follow referral = Auto
    ldap timeout = 15
    ldap connection timeout = 2
    ldap page size = 1024
    ldap user suffix =
    ldap debug level = 0
    ldap debug threshold = 10
    eventlog list =
    add share command =
    change share command =
    delete share command =
    preload =
    lock directory = /var/run/samba
    state directory = /var/lib/samba
    cache directory = /var/cache/samba
    pid directory = /var/run/samba
    utmp directory =
    wtmp directory =
    utmp = No
    default service =
    message command =
    get quota command =
    set quota command =
    remote announce =
    remote browse sync =
    socket address = 0.0.0.0
    nmbd bind explicit broadcast = Yes
    homedir map = auto.home
    afs username map =
    afs token lifetime = 604800
    log nt token command =
    time offset = 0
    NIS homedir = No
    registry shares = No
    usershare allow guests = No
    usershare max shares = 100
    usershare owner only = Yes
    usershare path = /var/lib/samba/usershares
    usershare prefix allow list =
    usershare prefix deny list =
    usershare template share =
    panic action =
    perfcount module =
    host msdfs = Yes
    passdb expand explicit = No
    idmap backend = tdb
    idmap alloc backend =
    idmap cache time = 604800
    idmap negative cache time = 120
    idmap uid =
    idmap gid =
    template homedir = /home/%D/%U
    template shell = /bin/false
    winbind separator = \
    winbind cache time = 300
    winbind reconnect delay = 30
    winbind enum users = No
    winbind enum groups = No
    winbind use default domain = No
    winbind trusted domains only = No
    winbind nested groups = Yes
    winbind expand groups = 1
    winbind nss info = template
    winbind refresh tickets = No
    winbind offline logon = No
    winbind normalize names = No
    winbind rpc only = No
    create krb5 conf = Yes
    comment =
    path =
    username =
    invalid users =
    valid users =
    admin users =
    read list =
    write list =
    printer admin =
    force user =
    force group =
    read only = No
    acl check permissions = Yes
    acl group control = No
    acl map full control = Yes
    create mask = 0660
    force create mode = 00
    security mask = 0777
    force security mode = 00
    directory mask = 0770
    force directory mode = 00
    directory security mask = 0777
    force directory security mode = 00
    force unknown acl user = No
    inherit permissions = No
    inherit acls = No
    inherit owner = No
    guest only = No
    administrative share = No
    guest ok = No
    only user = No
    hosts allow =
    hosts deny =
    allocation roundup size = 1048576
    aio read size = 0
    aio write size = 0
    aio write behind =
    ea support = No
    nt acl support = Yes
    profile acls = No
    map acl inherit = No
    afs share = No
    smb encrypt = auto
    block size = 1024
    change notify = Yes
    directory name cache size = 100
    kernel change notify = Yes
    max connections = 0
    min print space = 0
    strict allocate = No
    strict sync = No
    sync always = No
    use sendfile = No
    write cache size = 0
    max reported print jobs = 0
    max print jobs = 1000
    printable = No
    printing = cups
    cups options =
    print command =
    lpq command = %p
    lprm command =
    lppause command =
    lpresume command =
    queuepause command =
    queueresume command =
    printer name =
    use client driver = No
    default devmode = Yes
    force printername = No
    printjob username = %U
    default case = lower
    case sensitive = Auto
    preserve case = Yes
    short preserve case = Yes
    mangling char = ~
    hide dot files = Yes
    hide special files = No
    hide unreadable = No
    hide unwriteable files = No
    delete veto files = No
    veto files =
    hide files =
    veto oplock files =
    map archive = Yes
    map hidden = No
    map system = No
    map readonly = yes
    mangled names = Yes
    store dos attributes = No
    dmapi support = No
    browseable = Yes
    access based share enum = No
    blocking locks = Yes
    csc policy = manual
    fake oplocks = No
    locking = Yes
    oplocks = Yes
    level2 oplocks = Yes
    oplock contention limit = 2
    posix locking = Yes
    strict locking = Auto
    share modes = Yes
    dfree cache time = 0
    dfree command =
    copy =
    preexec =
    preexec close = No
    postexec =
    root preexec =
    root preexec close = No
    root postexec =
    available = Yes
    volume =
    fstype = NTFS
    set directory = No
    wide links = Yes
    follow symlinks = Yes
    dont descend =
    magic script =
    magic output =
    delete readonly = No
    dos filemode = No
    dos filetimes = Yes
    dos filetime resolution = No
    fake directory create times = No
    vfs objects =
    msdfs root = No
    msdfs proxy =

my smb.conf:

[global]
        server string = file2.xxxxxxx.de

    # preventing mac to use own cal, if default set Yes, unix and mac
will create there own permissions and ignore create mask and directory mask
    passdb backend = smbpasswd
    lanman auth = Yes
    ntlm auth = Yes
    client NTLMv2 auth = Yes
    client lanman auth = Yes
    client plaintext auth = Yes
    wide links = Yes
        unix extensions = no
        dns proxy = No
        read only = No
        create mask = 0660
        directory mask = 0770
        load printers = No

        #Logging Options:

        #seperating logfiles in machines
        # log file = /var/log/samba/%m.log
        # option (an integer in kilobytes) Default 5000
        #max log size = 50
        # example debugging locking
        # log level = 2 locking:5
        #log level = 2
        log level = 3 passdb:5 auth:10

# Tuning Options

        socket options = TCP_NODELAY IPTOS_LOWDELAY
        # Default yes. This parameter controls whether or not the server
will support the raw read SMB requests when transferring data to client
        # If enabled, raw reads allow reads of 65535 bytes in one
packet. This typically provides a major performance benefit
        #read raw = yes
       
        # Default yes. This parameter controls whether or not the server
will support raw write SMB's when transferring                           
        # data from clients. You should never need to change this parameter.
        #write raw = yes                  
                                          
        # Default: max xmit = 16644
        #max xmit = 65535

        # Default is 0. Disconect clients in x minutes if they have no
activity and open files
        #dead time = 15                   

# end global section

# shares are defined here


[CD]

log output:

tail -f /var/log/samba/log.smbd
[2011/04/20 01:09:08.931791,  3] smbd/process.c:1485(process_smb)
  Transaction 726 of length 53 (0 toread)
[2011/04/20 01:09:08.931842,  3] smbd/process.c:1294(switch_message)
  switch message SMBecho (pid 3493) conn 0x0
[2011/04/20 01:09:08.931862,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/04/20 01:09:08.931892,  3] smbd/reply.c:4978(reply_echo)
  echo 1 times
[2011/04/20 01:09:35.727108,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/04/20 01:09:41.740378,  3] smbd/process.c:1485(process_smb)
  Transaction 727 of length 53 (0 toread)
[2011/04/20 01:09:41.740440,  3] smbd/process.c:1294(switch_message)
  switch message SMBecho (pid 3493) conn 0x0
[2011/04/20 01:09:41.740459,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/04/20 01:09:41.740488,  3] smbd/reply.c:4978(reply_echo)
  echo 1 times
[2011/04/20 01:09:49.884570,  3] smbd/oplock.c:895(init_oplocks)
  init_oplocks: initializing messages.
[2011/04/20 01:09:49.884766,  3]
smbd/oplock_linux.c:224(linux_init_kernel_oplocks)
  Linux kernel oplocks enabled
[2011/04/20 01:09:49.885820,  3] smbd/process.c:1485(process_smb)
  Transaction 0 of length 51 (0 toread)
[2011/04/20 01:09:49.885864,  3] smbd/process.c:1294(switch_message)
  switch message SMBnegprot (pid 3566) conn 0x0
[2011/04/20 01:09:49.885883,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/04/20 01:09:49.885952,  3] smbd/negprot.c:586(reply_negprot)
  Requested protocol [NT LM 0.12]
[2011/04/20 01:09:49.886062,  3] smbd/negprot.c:404(reply_nt1)
  using SPNEGO
[2011/04/20 01:09:49.886079,  3] smbd/negprot.c:691(reply_negprot)
  Selected protocol NT LM 0.12
[2011/04/20 01:09:53.732832,  3] smbd/process.c:1485(process_smb)
  Transaction 1 of length 186 (0 toread)
[2011/04/20 01:09:53.732876,  3] smbd/process.c:1294(switch_message)
  switch message SMBsesssetupX (pid 3566) conn 0x0
[2011/04/20 01:09:53.732891,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/04/20 01:09:53.732917,  3]
smbd/sesssetup.c:1436(reply_sesssetup_and_X)
  wct=12 flg2=0xc801
[2011/04/20 01:09:53.732934,  3]
smbd/sesssetup.c:1190(reply_sesssetup_and_X_spnego)
  Doing spnego session setup
[2011/04/20 01:09:53.732949,  3]
smbd/sesssetup.c:1232(reply_sesssetup_and_X_spnego)
  NativeOS=[Mac OS X 10.6.7] NativeLanMan=[SMBFS 1.6.6] PrimaryDomain=[]
[2011/04/20 01:09:53.732982,  3]
smbd/sesssetup.c:806(reply_spnego_negotiate)
  reply_spnego_negotiate: Got secblob of size 32
[2011/04/20 01:09:53.733008,  5]
auth/auth.c:487(make_auth_context_subsystem)
  Making default auth method list for standalone security=user, encrypt
passwords = yes
[2011/04/20 01:09:53.733024,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend sam
[2011/04/20 01:09:53.733037,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'sam'
[2011/04/20 01:09:53.733046,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend sam_ignoredomain
[2011/04/20 01:09:53.733056,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'sam_ignoredomain'
[2011/04/20 01:09:53.733067,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend unix
[2011/04/20 01:09:53.733077,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'unix'
[2011/04/20 01:09:53.733086,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend winbind
[2011/04/20 01:09:53.733096,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'winbind'
[2011/04/20 01:09:53.733122,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend wbc
[2011/04/20 01:09:53.733133,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'wbc'
[2011/04/20 01:09:53.733142,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend smbserver
[2011/04/20 01:09:53.733152,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'smbserver'
[2011/04/20 01:09:53.733163,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend trustdomain
[2011/04/20 01:09:53.733173,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'trustdomain'
[2011/04/20 01:09:53.733182,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend ntdomain
[2011/04/20 01:09:53.733192,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'ntdomain'
[2011/04/20 01:09:53.733202,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend guest
[2011/04/20 01:09:53.733212,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'guest'
[2011/04/20 01:09:53.733222,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend netlogond
[2011/04/20 01:09:53.733233,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'netlogond'
[2011/04/20 01:09:53.733242,  5] auth/auth.c:383(load_auth_module)
  load_auth_module: Attempting to find an auth method to match guest
[2011/04/20 01:09:53.733254,  5] auth/auth.c:408(load_auth_module)
  load_auth_module: auth method guest has a valid init
[2011/04/20 01:09:53.733265,  5] auth/auth.c:383(load_auth_module)
  load_auth_module: Attempting to find an auth method to match sam
[2011/04/20 01:09:53.733275,  5] auth/auth.c:408(load_auth_module)
  load_auth_module: auth method sam has a valid init
[2011/04/20 01:09:53.733298,  3] libsmb/ntlmssp.c:65(debug_ntlmssp_flags)
  Got NTLMSSP neg_flags=0xa0080205
[2011/04/20 01:09:53.733312,  5] auth/auth.c:97(get_ntlm_challenge)
  auth_get_challenge: module guest did not want to specify a challenge
[2011/04/20 01:09:53.733323,  5] auth/auth.c:97(get_ntlm_challenge)
  auth_get_challenge: module sam did not want to specify a challenge
[2011/04/20 01:09:53.733337,  5] auth/auth.c:132(get_ntlm_challenge)
  auth_context challenge created by random
[2011/04/20 01:09:53.733348,  5] auth/auth.c:133(get_ntlm_challenge)
  challenge is:
[2011/04/20 01:09:53.813393,  3] smbd/process.c:1485(process_smb)
  Transaction 2 of length 546 (0 toread)
[2011/04/20 01:09:53.813431,  3] smbd/process.c:1294(switch_message)
  switch message SMBsesssetupX (pid 3566) conn 0x0
[2011/04/20 01:09:53.813447,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/04/20 01:09:53.813467,  3]
smbd/sesssetup.c:1436(reply_sesssetup_and_X)
  wct=12 flg2=0xc801
[2011/04/20 01:09:53.813482,  3]
smbd/sesssetup.c:1190(reply_sesssetup_and_X_spnego)
  Doing spnego session setup
[2011/04/20 01:09:53.813497,  3]
smbd/sesssetup.c:1232(reply_sesssetup_and_X_spnego)
  NativeOS=[Mac OS X 10.6.7] NativeLanMan=[SMBFS 1.6.6] PrimaryDomain=[]
[2011/04/20 01:09:53.813526,  3] libsmb/ntlmssp.c:747(ntlmssp_server_auth)
  Got user=[user] domain=[FILE1] workstation=[MACBOOKPRO-A0CC] len1=24
len2=240
[2011/04/20 01:09:53.813558,  5] auth/auth_util.c:211(make_user_info_map)
  Mapping user [FILE1]\[user] from workstation [MACBOOKPRO-A0CC]
[2011/04/20 01:09:53.813575,  5] auth/auth_util.c:122(make_user_info)
  attempting to make a user_info for user (user)
[2011/04/20 01:09:53.813585,  5] auth/auth_util.c:132(make_user_info)
  making strings for user's user_info struct
[2011/04/20 01:09:53.813595,  5] auth/auth_util.c:164(make_user_info)
  making blobs for user's user_info struct
[2011/04/20 01:09:53.813605, 10] auth/auth_util.c:182(make_user_info)
  made an encrypted user_info for user (user)
[2011/04/20 01:09:53.813616,  3] auth/auth.c:216(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user
[FILE1]\[user]@[MACBOOKPRO-A0CC] with the new password interface
[2011/04/20 01:09:53.813637,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  mapped user is: [FILE1]\[user]@[MACBOOKPRO-A0CC]
[2011/04/20 01:09:53.813648, 10] auth/auth.c:228(check_ntlm_password)
  check_ntlm_password: auth_context challenge created by random
[2011/04/20 01:09:53.813658, 10] auth/auth.c:230(check_ntlm_password)
  challenge is:
[2011/04/20 01:09:53.813669, 10] auth/auth.c:256(check_ntlm_password)
  check_ntlm_password: guest had nothing to say
[2011/04/20 01:09:53.813686,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2011/04/20 01:09:53.813699,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2011/04/20 01:09:53.813710,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/04/20 01:09:53.813762,  5] passdb/pdb_smbpasswd.c:527(getsmbfilepwent)
  getsmbfilepwent: returning passwd entry for user user, uid 1010
[2011/04/20 01:09:53.813871,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2011/04/20 01:09:53.813888,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2011/04/20 01:09:53.813898,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2011/04/20 01:09:53.813927,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/04/20 01:09:53.813976,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2011/04/20 01:09:53.813988,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2011/04/20 01:09:53.813997,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2011/04/20 01:09:53.814072,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/04/20 01:09:53.814105,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2011/04/20 01:09:53.814118,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2011/04/20 01:09:53.814127,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2011/04/20 01:09:53.814143,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/04/20 01:09:53.814176,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2011/04/20 01:09:53.814188,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2011/04/20 01:09:53.814198,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2011/04/20 01:09:53.814214,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/04/20 01:09:53.814246,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2011/04/20 01:09:53.814258,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2011/04/20 01:09:53.814268,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2011/04/20 01:09:53.814281,  5]
passdb/pdb_interface.c:1473(lookup_global_sam_rid)
  lookup_global_sam_rid: looking up RID 513.
[2011/04/20 01:09:53.814294,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2011/04/20 01:09:53.814304,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2011/04/20 01:09:53.814314,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2011/04/20 01:09:53.814349,  5] passdb/pdb_smbpasswd.c:527(getsmbfilepwent)
  getsmbfilepwent: returning passwd entry for user user, uid 1010
[2011/04/20 01:09:53.814364,  5] passdb/pdb_smbpasswd.c:578(getsmbfilepwent)
  getsmbfilepwent: end of file reached.
[2011/04/20 01:09:53.814420,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2011/04/20 01:09:53.814435,  5]
passdb/pdb_interface.c:1536(lookup_global_sam_rid)
  Can't find a unix id for an unmapped group
[2011/04/20 01:09:53.814454,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/04/20 01:09:53.814468,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/04/20 01:09:53.814504,  3]
../libcli/auth/ntlm_check.c:392(ntlm_password_check)
  ntlm_password_check: NTLMv2 password check failed
[2011/04/20 01:09:53.814625,  3]
../libcli/auth/ntlm_check.c:585(ntlm_password_check)
  ntlm_password_check: LM password, NT MD4 password in LM field and LMv2
failed for user user
[2011/04/20 01:09:53.814637,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2011/04/20 01:09:53.814648,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2011/04/20 01:09:53.814658,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/04/20 01:09:53.814674,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/04/20 01:09:53.814687,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2011/04/20 01:09:53.814697,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2011/04/20 01:09:53.814707,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/04/20 01:09:53.814719,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2011/04/20 01:09:53.814729,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2011/04/20 01:09:53.814739,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2011/04/20 01:09:53.814753,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/04/20 01:09:53.814765,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/04/20 01:09:53.814776,  3] smbd/sec_ctx.c:210(push_sec_ctx)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2011/04/20 01:09:53.814786,  3] smbd/uid.c:429(push_conn_ctx)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2011/04/20 01:09:53.814796,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2011/04/20 01:09:53.814854,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/04/20 01:09:53.814869,  5] auth/auth.c:268(check_ntlm_password)
  check_ntlm_password: sam authentication for user [user] FAILED with
error NT_STATUS_WRONG_PASSWORD
[2011/04/20 01:09:53.814884,  2] auth/auth.c:314(check_ntlm_password)
  check_ntlm_password:  Authentication for user [user] -> [user] FAILED
with error NT_STATUS_WRONG_PASSWORD
[2011/04/20 01:09:53.814895,  5] auth/auth_util.c:2119(free_user_info)
  attempting to free (and zero) a user_info structure
[2011/04/20 01:09:53.814905, 10] auth/auth_util.c:2123(free_user_info)
  structure was created for user
[2011/04/20 01:09:53.814922,  3] smbd/error.c:80(error_packet_set)
  error packet at smbd/sesssetup.c(111) cmd=115 (SMBsesssetupX)
NT_STATUS_LOGON_FAILURE
[2011/04/20 01:09:56.259511,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/04/20 01:09:56.259568,  3] smbd/connection.c:31(yield_connection)
  Yielding connection to
[2011/04/20 01:09:56.259643,  3] smbd/server.c:906(exit_server_common)
  Server exit (failed to receive smb request)
[2011/04/20 01:09:56.348185,  3] smbd/oplock.c:895(init_oplocks)
  init_oplocks: initializing messages.
[2011/04/20 01:09:56.348373,  3]
smbd/oplock_linux.c:224(linux_init_kernel_oplocks)
  Linux kernel oplocks enabled
[2011/04/20 01:09:56.351533,  3] smbd/process.c:1485(process_smb)
  Transaction 0 of length 51 (0 toread)
[2011/04/20 01:09:56.351575,  3] smbd/process.c:1294(switch_message)
  switch message SMBnegprot (pid 3567) conn 0x0
[2011/04/20 01:09:56.351595,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/04/20 01:09:56.351661,  3] smbd/negprot.c:586(reply_negprot)
  Requested protocol [NT LM 0.12]
[2011/04/20 01:09:56.351780,  3] smbd/negprot.c:404(reply_nt1)
  using SPNEGO
[2011/04/20 01:09:56.351796,  3] smbd/negprot.c:691(reply_negprot)
  Selected protocol NT LM 0.12
[2011/04/20 01:10:00.311024,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/04/20 01:10:00.311085,  3] smbd/connection.c:31(yield_connection)
  Yielding connection to
[2011/04/20 01:10:00.311156,  3] smbd/server.c:906(exit_server_common)
  Server exit (failed to receive smb request)
[2011/04/20 01:10:14.548920,  3] smbd/process.c:1485(process_smb)
  Transaction 728 of length 53 (0 toread)
[2011/04/20 01:10:14.548980,  3] smbd/process.c:1294(switch_message)
  switch message SMBecho (pid 3493) conn 0x0
[2011/04/20 01:10:14.548999,  3] smbd/sec_ctx.c:310(set_sec_ctx)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2011/04/20 01:10:14.549028,  3] smbd/reply.c:4978(reply_echo)
  echo 1 times

Any idea ?

Thanks for your help...


Best regards


JHN


More information about the samba mailing list