AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only

SAMBA 3.5.6 SPNEGO login failed

  • 1.  SAMBA 3.5.6 SPNEGO login failed

    Posted Mon February 21, 2011 07:08 AM

    Originally posted by: luois8753


    Dear all,

    I have samba 3.0.25c running well on AIX5.3. Back end is smbpasswd.I have root access. The requirement is to prevent users from setting the same password as the previous one, but this version could not work. So I installed the latest version 3.5.6. I copied the old smb.conf to the folder in which the new version was installed, also copied secrets.tdb and smbpasswd into /private folder.

    Stopped the old smbd and nmbd and started the new ones, and ran testparm,
    run smbpasswd -a User ID,
    smbpasswd -e User ID
    so far so good.

    Then user use X window to change the password and got following error:
    SPNEGO log in failed : log on failure
    Could not connect to machine AAA, NT_STATUS_LOGON_FAILURE

    Strange thing is after I ran smbpasswd -D 10, the system still referred to the old path to find a file as below:
    Opening cache file at /opt/p-ware/samba/3.0.25c/var/locks/gen-cache.t-d-b
    Cache

    Below is result after i run test-par-m:
    global
    work-group = CPADM001
    server string = PLNDEVSCHD
    passwd program = /usr/es/sbin/cluster/utilities/clpasswd %u
    passwd chat = *New*password* %n\n *new*password* %n\n *
    passwd chat timeout = 20
    unix password sync = Yes
    log file = /opt/pware/samba/3.5.6/var/log.%m
    max log size = 50
    client use spnego = No
    load printers = No
    dns proxy = No
    follow symlinks = No

    homes
    comment = Home Directory for %u
    path = /home/%S
    valid users = %S
    read only = No
    create mask = 0600
    directory mask = 0700
    browseable = No

    home
    comment = Home Directories
    path = /home
    read only = No
    create mask = 0600
    directory mask = 0700
    browseable = No

    ASM_SSM
    comment = ASM/SSM Telex Directory
    path = /opt/netline/sched/telex
    valid users = imtfwc, imtspk, imtwkw
    read only = No
    create mask = 0644
    directory mask = 0775

    SCR_telex
    comment = SCR Telex Directory
    path = /opt/netline/slot/telex
    valid users = imtfwc, imtspk, imtwkw
    read only = No
    create mask = 0644
    directory mask = 0775

    Could you please help me to fix this? I don't know where else I can check.
    Does any body had similar problem like this with current version 3.5.6

    Thanks in advance

    Mike
    #AIX-Forum