https://bugzilla.novell.com/show_bug.cgi?id=271182 Summary: LDAPSMB - Modifying username to smbacct broken Product: openSUSE 10.2 Version: Final Platform: x86-64 OS/Version: openSUSE 10.2 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: novell@mycave.us QAContact: qa@suse.de The 'pdbedit' operation generated by ldapsmb when modifying a posixAccount to an smbacct fails with an error stating the user does not exist. The generated 'pdbedit' operation is '/usr/bin/pdbedit -u "joe"'. The correct 'pdbedit' operation should be '/usr/bin/pdbedit -a -u "joe"' as demonstrated in the output below. paradigm:~ # ldapsmb --add --user joe adding user: [joe] (with uidNumber: 1003) paradigm:~ # ldapsmb --modify --user joe --smbacct --debug 5 ldapsmb:parse_smbconf(2067) parsing [testparm] ldapsmb:ldap_search(2067) ################### query LDAP ###################### ldapsmb:ldap_search(2060) search with: ldapsmb:ldap_search(2060) base "ou=People, dc=paradigm-eng,dc=net" ldapsmb:ldap_search(2060) filter "(&(objectclass=posixAccount)(uid=joe))" ldapsmb:ldap_search(2060) attrs "*" ldapsmb:ldap_search(2060) scope "sub" ldapsmb:ldap_search(2060) gave no error ldapsmb:ldap_search(2060) found 1 matching entrie(s) ldapsmb:ldap_search(2060) found entry with dn: "uid=joe,ou=People,dc=paradigm-eng,dc=net" ldapsmb:ldap_search(2060) ################ finished LDAP query ################ ldapsmb:main(2067) modifying user: [joe] ldapsmb:ldap_usermodify(2067) modified posixAccount of user [joe]. ldapsmb:ldap_usermodify(2067) modifying samba account of user [joe]. ldapsmb:ldap_usermodify(2067) /usr/bin/pdbedit -u "joe" Username not found! ldapsmb:ldap_usermodify(2067) modifying samba account of user [joe] failed. ldapsmb:refresh_nscd(2067) reloading nscd paradigm:~ # pdbedit -a -u "joe" new password: retype new password: Unix username: joe NT username: joe Account Flags: [U ] User SID: S-1-5-21-2508077465-3927049956-1099553510-1002 Primary Group SID: S-1-5-21-2508077465-3927049956-1099553510-513 Full Name: joe Home Directory: \\peng\joe HomeDir Drive: M: Logon Script: logon.bat Profile Path: \\peng\profiles\.msprofile Domain: PENG Account desc: Workstations: Munged dial: Logon time: 0 Logoff time: 9223372036854775807 seconds since the Epoch Kickoff time: 9223372036854775807 seconds since the Epoch Password last set: Thu, 03 May 2007 22:11:59 MST Password can change: Thu, 03 May 2007 22:11:59 MST Password must change: 9223372036854775807 seconds since the Epoch Last bad password : 0 Bad password count : 0 Logon hours : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF paradigm:~ # -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.