The Samba-Bugzilla – Attachment 2139 Details for
Bug 4102
smbpasswd -a in ldap fails on uid that exists but has no sambaSamAccount objectClass
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
`smbpasswd -D 10 -a craig' output
smbpasswdlog (text/plain), 13.17 KB, created by
Craig Ringer
on 2006-09-14 06:37:38 UTC
(
hide
)
Description:
`smbpasswd -D 10 -a craig' output
Filename:
MIME Type:
Creator:
Craig Ringer
Created:
2006-09-14 06:37:38 UTC
Size:
13.17 KB
patch
obsolete
>Netbios name list:- >my_netbios_names[0]="BUCKET" >Trying to load: ldapsam:ldap://10.0.0.10 >Attempting to register passdb backend ldapsam >Successfully added passdb backend 'ldapsam' >Attempting to register passdb backend ldapsam_compat >Successfully added passdb backend 'ldapsam_compat' >Attempting to register passdb backend NDS_ldapsam >Successfully added passdb backend 'NDS_ldapsam' >Attempting to register passdb backend NDS_ldapsam_compat >Successfully added passdb backend 'NDS_ldapsam_compat' >Attempting to register passdb backend smbpasswd >Successfully added passdb backend 'smbpasswd' >Attempting to register passdb backend tdbsam >Successfully added passdb backend 'tdbsam' >Attempting to register passdb backend guest >Successfully added passdb backend 'guest' >Attempting to find an passdb backend to match ldapsam:ldap://10.0.0.10 (ldapsam) >Found pdb backend ldapsam >Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=BUCKET))] >smbldap_search: base => [dc=postnewspapers,dc=com,dc=au], filter => [(&(objectClass=sambaDomain)(sambaDomainName=BUCKET))], scope => [2] >The connection to the LDAP server was closed >smbldap_open_connection: ldap://10.0.0.10 >smbldap_open_connection: connection opened >ldap_connect_system: Binding to ldap server ldap://10.0.0.10 as "cn=smbd,dc=postnewspapers,dc=com,dc=au" >ldap_connect_system: succesful connection to the LDAP server >ldap_connect_system: LDAP server does support paged results >The LDAP server is succesfully connected >pdb backend ldapsam:ldap://10.0.0.10 has a valid init >Trying to load: smbpasswd >Attempting to find an passdb backend to match smbpasswd (smbpasswd) >Found pdb backend smbpasswd >pdb backend smbpasswd has a valid init >Attempting to find an passdb backend to match guest (guest) >Found pdb backend guest >pdb backend guest has a valid init >smbldap_search: base => [dc=postnewspapers,dc=com,dc=au], filter => [(&(uid=)(objectclass=sambaSamAccount))], scope => [2] >ldapsam_getsampwnam: Unable to locate user [craig] count=0 >getsampwnam (smbpasswd): search by name: craig >startsmbfilepwent_internal: opening file /etc/samba/smbpasswd >getsmbfilepwent: returning passwd entry for user guest, uid 10005 >getsmbfilepwent: returning passwd entry for user trina, uid 10021 >getsmbfilepwent: returning passwd entry for user judy, uid 10013 >getsmbfilepwent: returning passwd entry for user linda, uid 10016 >getsmbfilepwent: returning passwd entry for user subeditor, uid 10012 >getsmbfilepwent: returning passwd entry for user george, uid 10024 >getsmbfilepwent: returning passwd entry for user sarah, uid 10018 >getsmbfilepwent: returning passwd entry for user aja, uid 10033 >getsmbfilepwent: returning passwd entry for user jen, uid 10019 >getsmbfilepwent: returning passwd entry for user bret, uid 10030 >getsmbfilepwent: returning passwd entry for user iprint, uid 10039 >getsmbfilepwent: returning passwd entry for user gwenda, uid 10004 >getsmbfilepwent: returning passwd entry for user alison, uid 10036 >getsmbfilepwent: returning passwd entry for user karenr, uid 10020 >getsmbfilepwent: returning passwd entry for user tess, uid 10029 >getsmbfilepwent: returning passwd entry for user root, uid 0 >getsmbfilepwent: returning passwd entry for user lauren, uid 10043 >getsmbfilepwent: returning passwd entry for user bob, uid 10045 >getsmbfilepwent: returning passwd entry for user greg, uid 10046 >getsmbfilepwent: returning passwd entry for user patrick, uid 10000 >getsmbfilepwent: returning passwd entry for user adrian, uid 10047 >getsmbfilepwent: returning passwd entry for user Nicole Powers, uid 10048 >getsmbfilepwent: returning passwd entry for user loki, uid 10049 >getsmbfilepwent: returning passwd entry for user jona, uid 10050 >getsmbfilepwent: returning passwd entry for user julie, uid 10051 >getsmbfilepwent: returning passwd entry for user lisa, uid 10052 >getsmbfilepwent: returning passwd entry for user house, uid 10053 >getsmbfilepwent: returning passwd entry for user mcgov, uid 10028 >getsmbfilepwent: returning passwd entry for user nikki, uid 10054 >getsmbfilepwent: returning passwd entry for user productionuser0, uid 10055 >getsmbfilepwent: returning passwd entry for user vanessa, uid 10056 >getsmbfilepwent: end of file reached. >endsmbfilepwent_internal: closed password file. >Finding user craig >Trying _Get_Pwnam(), username as lowercase is craig >Get_Pwnam_internals did find user [craig]! >pdb_set_username: setting username craig, was >pdb_set_full_name: setting full name Craig Ringer, was >pdb_set_unix_homedir: setting home dir /home/craig, was NULL >pdb_set_domain: setting domain BUCKET, was >pdb_set_user_sid: setting user sid S-1-5-21-4241060337-550884436-1390382348-3000 >pdb_set_user_sid_from_rid: > setting user sid S-1-5-21-4241060337-550884436-1390382348-3000 from rid 3000 >smbldap_search: base => [ou=People,dc=postnewspapers,dc=com,dc=au], filter => [(&(objectClass=sambaGroupMapping)(gidNumber=100))], scope => [2] >ldapsam_getgroup: Did not find group >smbldap_search: base => [ou=People,dc=postnewspapers,dc=com,dc=au], filter => [(&(objectClass=sambaGroupMapping)(gidNumber=-1))], scope => [2] >ldapsam_getgroup: Did not find group >smbldap_search: base => [ou=People,dc=postnewspapers,dc=com,dc=au], filter => [(&(|(objectClass=posixGroup)(objectclass=sambaIdmapEntry))(gidNumber=-1))], scope => [2] >smbldap_search: base => [dc=postnewspapers,dc=com,dc=au], filter => [(&(objectClass=sambaIdmapEntry)(gidNumber=-1))], scope => [2] >smbldap_search: base => [ou=People,dc=postnewspapers,dc=com,dc=au], filter => [(&(objectClass=sambaGroupMapping)(gidNumber=-1))], scope => [2] >ldapsam_getgroup: Did not find group >smbldap_search: base => [ou=People,dc=postnewspapers,dc=com,dc=au], filter => [(&(|(objectClass=posixGroup)(objectclass=sambaIdmapEntry))(gidNumber=-1))], scope => [2] >smbldap_search: base => [dc=postnewspapers,dc=com,dc=au], filter => [(&(objectClass=sambaIdmapEntry)(gidNumber=-1))], scope => [2] >smbldap_search: base => [ou=People,dc=postnewspapers,dc=com,dc=au], filter => [(&(objectClass=sambaGroupMapping)(gidNumber=-1))], scope => [2] >ldapsam_getgroup: Did not find group >smbldap_search: base => [ou=People,dc=postnewspapers,dc=com,dc=au], filter => [(&(|(objectClass=posixGroup)(objectclass=sambaIdmapEntry))(gidNumber=-1))], scope => [2] >smbldap_search: base => [dc=postnewspapers,dc=com,dc=au], filter => [(&(objectClass=sambaIdmapEntry)(gidNumber=-1))], scope => [2] >smbldap_search: base => [ou=People,dc=postnewspapers,dc=com,dc=au], filter => [(&(objectClass=sambaGroupMapping)(gidNumber=-1))], scope => [2] >ldapsam_getgroup: Did not find group >smbldap_search: base => [ou=People,dc=postnewspapers,dc=com,dc=au], filter => [(&(|(objectClass=posixGroup)(objectclass=sambaIdmapEntry))(gidNumber=-1))], scope => [2] >smbldap_search: base => [dc=postnewspapers,dc=com,dc=au], filter => [(&(objectClass=sambaIdmapEntry)(gidNumber=-1))], scope => [2] >smbldap_search: base => [ou=People,dc=postnewspapers,dc=com,dc=au], filter => [(&(objectClass=sambaGroupMapping)(gidNumber=-1))], scope => [2] >ldapsam_getgroup: Did not find group >smbldap_search: base => [ou=People,dc=postnewspapers,dc=com,dc=au], filter => [(&(|(objectClass=posixGroup)(objectclass=sambaIdmapEntry))(gidNumber=-1))], scope => [2] >smbldap_search: base => [dc=postnewspapers,dc=com,dc=au], filter => [(&(objectClass=sambaIdmapEntry)(gidNumber=-1))], scope => [2] >smbldap_search: base => [ou=People,dc=postnewspapers,dc=com,dc=au], filter => [(&(objectClass=sambaGroupMapping)(gidNumber=-1))], scope => [2] >ldapsam_getgroup: Did not find group >smbldap_search: base => [ou=People,dc=postnewspapers,dc=com,dc=au], filter => [(&(|(objectClass=posixGroup)(objectclass=sambaIdmapEntry))(gidNumber=-1))], scope => [2] >smbldap_search: base => [dc=postnewspapers,dc=com,dc=au], filter => [(&(objectClass=sambaIdmapEntry)(gidNumber=-1))], scope => [2] >smbldap_search: base => [ou=People,dc=postnewspapers,dc=com,dc=au], filter => [(&(objectClass=sambaGroupMapping)(gidNumber=-1))], scope => [2] >ldapsam_getgroup: Did not find group >smbldap_search: base => [ou=People,dc=postnewspapers,dc=com,dc=au], filter => [(&(|(objectClass=posixGroup)(objectclass=sambaIdmapEntry))(gidNumber=-1))], scope => [2] >smbldap_search: base => [dc=postnewspapers,dc=com,dc=au], filter => [(&(objectClass=sambaIdmapEntry)(gidNumber=-1))], scope => [2] >smbldap_search: base => [ou=People,dc=postnewspapers,dc=com,dc=au], filter => [(&(objectClass=sambaGroupMapping)(gidNumber=-1))], scope => [2] >ldapsam_getgroup: Did not find group >smbldap_search: base => [ou=People,dc=postnewspapers,dc=com,dc=au], filter => [(&(|(objectClass=posixGroup)(objectclass=sambaIdmapEntry))(gidNumber=-1))], scope => [2] >smbldap_search: base => [dc=postnewspapers,dc=com,dc=au], filter => [(&(objectClass=sambaIdmapEntry)(gidNumber=-1))], scope => [2] >smbldap_search: base => [ou=People,dc=postnewspapers,dc=com,dc=au], filter => [(&(objectClass=sambaGroupMapping)(gidNumber=-1))], scope => [2] >ldapsam_getgroup: Did not find group >smbldap_search: base => [ou=People,dc=postnewspapers,dc=com,dc=au], filter => [(&(|(objectClass=posixGroup)(objectclass=sambaIdmapEntry))(gidNumber=-1))], scope => [2] >smbldap_search: base => [dc=postnewspapers,dc=com,dc=au], filter => [(&(objectClass=sambaIdmapEntry)(gidNumber=-1))], scope => [2] >smbldap_search: base => [ou=People,dc=postnewspapers,dc=com,dc=au], filter => [(&(objectClass=sambaGroupMapping)(gidNumber=-1))], scope => [2] >ldapsam_getgroup: Did not find group >smbldap_search: base => [ou=People,dc=postnewspapers,dc=com,dc=au], filter => [(&(|(objectClass=posixGroup)(objectclass=sambaIdmapEntry))(gidNumber=-1))], scope => [2] >smbldap_search: base => [dc=postnewspapers,dc=com,dc=au], filter => [(&(objectClass=sambaIdmapEntry)(gidNumber=-1))], scope => [2] >smbldap_search: base => [ou=People,dc=postnewspapers,dc=com,dc=au], filter => [(&(objectClass=sambaGroupMapping)(gidNumber=-1))], scope => [2] >ldapsam_getgroup: Did not find group >smbldap_search: base => [ou=People,dc=postnewspapers,dc=com,dc=au], filter => [(&(|(objectClass=posixGroup)(objectclass=sambaIdmapEntry))(gidNumber=-1))], scope => [2] >smbldap_search: base => [dc=postnewspapers,dc=com,dc=au], filter => [(&(objectClass=sambaIdmapEntry)(gidNumber=-1))], scope => [2] >smbldap_search: base => [ou=People,dc=postnewspapers,dc=com,dc=au], filter => [(&(objectClass=sambaGroupMapping)(gidNumber=-1))], scope => [2] >ldapsam_getgroup: Did not find group >smbldap_search: base => [ou=People,dc=postnewspapers,dc=com,dc=au], filter => [(&(|(objectClass=posixGroup)(objectclass=sambaIdmapEntry))(gidNumber=-1))], scope => [2] >smbldap_search: base => [dc=postnewspapers,dc=com,dc=au], filter => [(&(objectClass=sambaIdmapEntry)(gidNumber=-1))], scope => [2] >pdb_set_group_sid: setting group sid S-1-5-21-4241060337-550884436-1390382348-1201 >pdb_set_group_sid_from_rid: > setting group sid S-1-5-21-4241060337-550884436-1390382348-1201 from rid 1201 >Home server: bucket >pdb_set_profile_path: setting profile path \\bucket\craig\profile, was >Home server: bucket >pdb_set_homedir: setting home dir \\bucket\craig, was >pdb_set_dir_drive: setting dir drive , was NULL >pdb_set_logon_script: setting logon script , was >pdb_init_sam_new: no RID specified. Generating one via old algorithm >pdb_set_user_sid: setting user sid S-1-5-21-4241060337-550884436-1390382348-3000 >pdb_set_user_sid_from_rid: > setting user sid S-1-5-21-4241060337-550884436-1390382348-3000 from rid 3000 >grant_privilege: S-1-1-0 >original privilege mask: >SE_PRIV 0x823c268 0x823d5d8 0x817f50d 0xd >new privilege mask: >SE_PRIV 0x0 0x0 0x0 0x0 >grant_privilege: S-1-5-32-544 >original privilege mask: >SE_PRIV 0x823c268 0x823d5d8 0x817f50d 0xd >new privilege mask: >SE_PRIV 0x0 0x0 0x0 0x0 >grant_privilege: S-1-5-32-548 >original privilege mask: >SE_PRIV 0x823c268 0x823d5d8 0x817f50d 0xd >new privilege mask: >SE_PRIV 0x0 0x0 0x0 0x0 >grant_privilege: S-1-5-32-549 >original privilege mask: >SE_PRIV 0x823c268 0x823d5d8 0x817f50d 0xd >new privilege mask: >SE_PRIV 0x0 0x0 0x0 0x0 >grant_privilege: S-1-5-32-550 >original privilege mask: >SE_PRIV 0x823c268 0x823d5d8 0x817f50d 0xd >new privilege mask: >SE_PRIV 0x0 0x0 0x0 0x0 >grant_privilege: S-1-5-32-551 >original privilege mask: >SE_PRIV 0x823c268 0x823d5d8 0x817f50d 0xd >new privilege mask: >SE_PRIV 0x0 0x0 0x0 0x0 >account_policy_get: maximum password age:-1 >account_policy_get: minimum password age:0 >account_policy_get: password history:0 >smbldap_search: base => [dc=postnewspapers,dc=com,dc=au], filter => [(&(uid=)(objectclass=sambaSamAccount))], scope => [2] >smbldap_search: base => [dc=postnewspapers,dc=com,dc=au], filter => [(&(sambaSID=S-1-5-21-4241060337-550884436-1390382348-3000)(objectclass=sambaSamAccount))], scope => [2] >smbldap_search: base => [dc=postnewspapers,dc=com,dc=au], filter => [(uid=)], scope => [2] >smbldap_search: base => [dc=postnewspapers,dc=com,dc=au], filter => [(&(sambaSID=S-1-5-21-4241060337-550884436-1390382348-3000)(|(objectClass=sambaIdmapEntry)(objectClass=sambaSidEntry)))], scope => [2] >ldapsam_add_sam_account: Adding new user >init_ldap_from_sam: Setting entry for user: craig >account_policy_get: password history:0 >smbldap_add: dn => [uid=craig,ou=People,dc=postnewspapers,dc=com,dc=au] >ldapsam_modify_entry: Failed to add user dn= uid=craig,ou=People,dc=postnewspapers,dc=com,dc=au with: Already exists > >ldapsam_add_sam_account: failed to modify/add user with uid = craig (dn = uid=craig,ou=People,dc=postnewspapers,dc=com,dc=au) >Failed to add entry for user craig. >Failed to modify password entry for user craig
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 4102
:
2137
|
2138
| 2139 |
2140