Hi all The symptom is:
> C:\Windows\system32>net USE z: \\10.10.23.219\share /USER:SMBUSER > [password] > > System error 1326 has occurred. > My situation I am using VirtualBox. Windows 7 Home is the host. Fedora 13 is the guest. My goal is to cause the Fedora guest to expose an smb share to the Win 7 host and have the Win 7 host mount the share as a drive. My procedure: 1. I followed the instructions I found here (http://tinyurl.com/347xcym) to configure the Fedora guest. 2. I disabled iptables via the following command: service iptables stop 3. I configured the Fedora Guest’s VirtualBox networking for “bridged mode” This caused the guest to appear as just another computer on the network At this point, when I attempt to mount the smb share on the Win 7 host I get the following: > C:\Windows\system32>net USE z: \\10.10.23.219\share /USER:SMBUSER > [password] > > System error 1326 has occurred. > > At this point I cranked smb debugging to the max and attempted to change > the ‘smbusers’ password. > > [r...@localhost fi]# smbpasswd -D 10 smbuser > > Netbios name list:- > > my_netbios_names[0]="SMBSERVER" > > 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 wbc_sam > > Successfully added passdb backend 'wbc_sam' > > Attempting to find a passdb backend to match tdbsam (tdbsam) > > Found pdb backend tdbsam > > pdb backend tdbsam has a valid init > > New SMB password: > > Retype new SMB password: > > tdbsam_open: successfully opened /var/lib/samba/private/passdb.tdb > > pdb_set_username: setting username smbuser, was > > pdb_set_domain: setting domain SMBSERVER, was > > pdb_set_nt_username: setting nt username , was > > pdb_set_full_name: setting full name , was > > Home server: smbserver > > Substituting charset 'UTF-8' for LOCALE > > Substituting charset 'UTF-8' for LOCALE > > Substituting charset 'UTF-8' for LOCALE > > Substituting charset 'UTF-8' for LOCALE > > Substituting charset 'UTF-8' for LOCALE > > Substituting charset 'UTF-8' for LOCALE > > Substituting charset 'UTF-8' for LOCALE > > Substituting charset 'UTF-8' for LOCALE > > Substituting charset 'UTF-8' for LOCALE > > Substituting charset 'UTF-8' for LOCALE > > Substituting charset 'UTF-8' for LOCALE > > Substituting charset 'UTF-8' for LOCALE > > Substituting charset 'UTF-8' for LOCALE > > Substituting charset 'UTF-8' for LOCALE > > pdb_set_homedir: setting home dir \\smbserver\smbuser, was > > pdb_set_dir_drive: setting dir drive , was NULL > > pdb_set_logon_script: setting logon script , was > > Home server: smbserver > > pdb_set_profile_path: setting profile path \\smbserver\smbuser\profile, was > > > pdb_set_workstations: setting workstations , was > > account_policy_get: name: password history, val: 0 > > pdb_set_user_sid: setting user sid > S-1-5-21-2780852000-3232352013-1934734775-1004 > > pdb_set_user_sid_from_rid: > > setting user sid > S-1-5-21-2780852000-3232352013-1934734775-1004 from rid 1004 > > account_policy_get: name: maximum password age, val: -1 > > Finding user smbuser > > Trying _Get_Pwnam(), username as lowercase is smbuser > > Get_Pwnam_internals did find user [smbuser]! > > Opening cache file at /var/lib/samba/gencache.tdb > > Opening cache file at /var/lib/samba/gencache_notrans.tdb > > *Cache entry with key = IDMAP/GID2SID/501 couldn't be found * > > *gid_to_sid: winbind failed to find a sid for gid 501* > > *LEGACY: gid 501 -> sid S-1-22-2-501* > > account_policy_get: name: password history, val: 0 > > pdb_set_username: setting username smbuser, was > > pdb_set_domain: setting domain SMBSERVER, was > > pdb_set_nt_username: setting nt username , was > > pdb_set_full_name: setting full name , was > > Home server: smbserver > > pdb_set_homedir: setting home dir \\smbserver\smbuser, was > > pdb_set_dir_drive: setting dir drive , was NULL > > pdb_set_logon_script: setting logon script , was > > Home server: smbserver > > pdb_set_profile_path: setting profile path \\smbserver\smbuser\profile, was > > > pdb_set_workstations: setting workstations , was > > account_policy_get: name: password history, val: 0 > > pdb_set_user_sid: setting user sid > S-1-5-21-2780852000-3232352013-1934734775-1004 > > pdb_set_user_sid_from_rid: > > setting user sid > S-1-5-21-2780852000-3232352013-1934734775-1004 from rid 1004 > > Cache entry with key = > IDMAP/SID2GID/S-1-5-21-2780852000-3232352013-1934734775-513 couldn't be > found > > winbind failed to find a gid for sid > S-1-5-21-2780852000-3232352013-1934734775-513 > > lookup_global_sam_rid: looking up RID 513. > > pdb_getsampwrid (TDB): error looking up RID 513 by key RID_00000201. > > Can't find a unix id for an unmapped group > > LEGACY: mapping failed for sid > S-1-5-21-2780852000-3232352013-1934734775-513 > > pdb_set_group_sid: setting group sid > S-1-5-21-2780852000-3232352013-1934734775-513 > > account_policy_get: name: password history, val: 0 > > pdb_set_username: setting username smbuser, was > > pdb_set_domain: setting domain SMBSERVER, was > > pdb_set_nt_username: setting nt username , was > > pdb_set_full_name: setting full name , was > > Home server: smbserver > > pdb_set_homedir: setting home dir \\smbserver\smbuser, was > > pdb_set_dir_drive: setting dir drive , was NULL > > pdb_set_logon_script: setting logon script , was > > Home server: smbserver > > pdb_set_profile_path: setting profile path \\smbserver\smbuser\profile, was > > > pdb_set_workstations: setting workstations , was > > account_policy_get: name: password history, val: 0 > > pdb_set_user_sid: setting user sid > S-1-5-21-2780852000-3232352013-1934734775-1004 > > pdb_set_user_sid_from_rid: > > setting user sid > S-1-5-21-2780852000-3232352013-1934734775-1004 from rid 1004 > > account_policy_get: name: maximum password age, val: -1 > > account_policy_get: name: password history, val: 0 > > Storing account smbuser with RID 1004 > > Locking key 555345525F736D627573 > > Allocated locked data 0x0x7f3658410d10 > > Unlocking key 555345525F736D627573 > > tdb_update_sam: Updating key for RID 1004 > > Locking key 5249445F303030303033 > > Allocated locked data 0x0x7f36584111c0 > > Unlocking key 5249445F303030303033 > I believe that things begin to go wrong in the above trace where I get the following warnings: *Cache entry with key = IDMAP/GID2SID/501 couldn't be found * *gid_to_sid: winbind failed to find a sid for gid 501* *LEGACY: gid 501 -> sid S-1-22-2-501* OK, this is about all of the information that I have. Is the error message I noticed contributing to my problem or am I chasing the wrong ghost? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
