Jack Downes
2011-Feb-09 23:22 UTC
[Samba] Differences adding printers between Windows XP & Windows 7
Not sure what's going on here, but it's got to be a permissions thing it would seem. Background: working ADS. Samba 3.5.6 atop Freebsd 8.1 as domain member When I attempt to load drivers with Windows XP Pro (32bit), everything is fine. I can load either x32 drivers or x64 drivers. The same cannot be said for Windows 7. I cannot correctly load drivers with Windows 7, and here is a typical error when attempting to load x64 drivers with Windows 7 Pro (64 bit). -- [2011/02/09 15:49:46.330375, 3] switch message SMBclose (pid 2564) conn 0x803c1cc50 [2011/02/09 15:49:46.330433, 3] setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0 [2011/02/09 15:49:46.330519, 3] close fd=46 fnum=17359 (numopen=1) [2011/02/09 15:49:46.330657, 3] fill_share_mode_lock failed [2011/02/09 15:49:46.330700, 3] fill_share_mode_lock failed [2011/02/09 15:49:46.330783, 2] printserver closed file x64/SETF9B9.tmp (numopen=0) NT_STATUS_OK [2011/02/09 15:49:46.332043, 3] Transaction 9443 of length 112 (0 toread) [2011/02/09 15:49:46.332084, 3] switch message SMBtrans2 (pid 2564) conn 0x803c1cc50 [2011/02/09 15:49:46.332119, 3] setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0 [2011/02/09 15:49:46.332174, 3] call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004 [2011/02/09 15:49:46.332345, 3] call_trans2qfilepathinfo: SMB_VFS_STAT of x64/cioum64.msi failed (No such file or directory) [2011/02/09 15:49:46.332463, 3] error packet at smbd/trans2.c(5210) cmd=50 (SMBtrans2) NT_STATUS_OBJECT_NAME_NOT_FOUND [2011/02/09 15:49:46.334642, 3] Transaction 9444 of length 118 (0 toread) [2011/02/09 15:49:46.334746, 3] switch message SMBtrans2 (pid 2564) conn 0x803c1cc50 [2011/02/09 15:49:46.334807, 3] setting sec ctx (1001, 1001) - sec_ctx_stack_ndx = 0 [2011/02/09 15:49:46.334875, 3] call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=1, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384 [2011/02/09 15:49:46.334967, 3] creating new dirptr 256 for path x64, expect_close = 1 Any help would be appreciated. Any more errors logging or whatnot that i can provide I will. this is at loglevel=3 thanks, Jack
Jack Downes
2011-Feb-10 01:17 UTC
[Samba] Differences adding printers between Windows XP & Windows 7
Okay, this turns out to be an oddity with the printer driver it seems. I can use the 32 bit UPD driver on both 32 and 64 bit clients without issue. Nevermind, and disregard. thanks, Jack On 02/09/2011 16:22, Jack Downes wrote:> Not sure what's going on here, but it's got to be a permissions thing > it would seem. > > Background: > working ADS. > Samba 3.5.6 atop Freebsd 8.1 as domain member > > > When I attempt to load drivers with Windows XP Pro (32bit), everything > is fine. I can load either x32 drivers or x64 drivers. > > The same cannot be said for Windows 7. I cannot correctly load > drivers with Windows 7, and here is a typical error when attempting to > load x64 drivers with Windows 7 Pro (64 bit). > > -- > [2011/02/09 15:49:46.330375, 3] switch message SMBclose (pid 2564) > conn 0x803c1cc50 > [2011/02/09 15:49:46.330433, 3] setting sec ctx (1001, 1001) - > sec_ctx_stack_ndx = 0 > [2011/02/09 15:49:46.330519, 3] close fd=46 fnum=17359 (numopen=1) > [2011/02/09 15:49:46.330657, 3] fill_share_mode_lock failed > [2011/02/09 15:49:46.330700, 3] fill_share_mode_lock failed > [2011/02/09 15:49:46.330783, 2] printserver closed file > x64/SETF9B9.tmp (numopen=0) NT_STATUS_OK > [2011/02/09 15:49:46.332043, 3] Transaction 9443 of length 112 (0 > toread) > [2011/02/09 15:49:46.332084, 3] switch message SMBtrans2 (pid 2564) > conn 0x803c1cc50 > [2011/02/09 15:49:46.332119, 3] setting sec ctx (1001, 1001) - > sec_ctx_stack_ndx = 0 > [2011/02/09 15:49:46.332174, 3] call_trans2qfilepathinfo: > TRANSACT2_QPATHINFO: level = 1004 > [2011/02/09 15:49:46.332345, 3] call_trans2qfilepathinfo: > SMB_VFS_STAT of x64/cioum64.msi failed (No such file or directory) > [2011/02/09 15:49:46.332463, 3] error packet at smbd/trans2.c(5210) > cmd=50 (SMBtrans2) NT_STATUS_OBJECT_NAME_NOT_FOUND > [2011/02/09 15:49:46.334642, 3] Transaction 9444 of length 118 (0 > toread) > [2011/02/09 15:49:46.334746, 3] switch message SMBtrans2 (pid 2564) > conn 0x803c1cc50 > [2011/02/09 15:49:46.334807, 3] setting sec ctx (1001, 1001) - > sec_ctx_stack_ndx = 0 > [2011/02/09 15:49:46.334875, 3] call_trans2findfirst: dirtype = 16, > maxentries = 1366, close_after_first=1, close_if_end = 1 > requires_resume_key = 1 level = 0x104, max_data_bytes = 16384 > [2011/02/09 15:49:46.334967, 3] creating new dirptr 256 for path > x64, expect_close = 1 > > > Any help would be appreciated. Any more errors logging or whatnot > that i can provide I will. this is at loglevel=3 > > thanks, > Jack >