Bug 3650 - Error message while installing drivers to a samba server
Summary: Error message while installing drivers to a samba server
Status: RESOLVED INVALID
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Printing (show other bugs)
Version: 3.0.21c
Hardware: Other Windows XP
: P3 normal
Target Milestone: none
Assignee: Gerald (Jerry) Carter (dead mail address)
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-31 16:22 UTC by Aarti Varshney
Modified: 2006-04-20 07:50 UTC (History)
0 users

See Also:


Attachments
samba log with log level 10 (3.04 KB, text/plain)
2006-03-31 16:23 UTC, Aarti Varshney
no flags Details
Error message (976.93 KB, image/bmp)
2006-03-31 16:25 UTC, Aarti Varshney
no flags Details
samba.log (107.25 KB, text/plain)
2006-04-03 11:09 UTC, Joanna Chan
no flags Details
samba.log (107.25 KB, application/x-zip-compressed)
2006-04-03 11:10 UTC, Joanna Chan
no flags Details
level 10 samba.log (597.12 KB, application/x-zip-compressed)
2006-04-03 11:22 UTC, Joanna Chan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aarti Varshney 2006-03-31 16:22:20 UTC
This is what I did:
1. From a windows client access the samba share \\sambaShare.
2. Click on the printers folder.
3. Click on File -> Server Properties.
4. Click on the Drivers tab and click on the Add button.
5. Pick a driver and click on the Finish button.

A message pops up saying
Unable to install driver. Operation not completed.

6. Once I ok the message and click the finish button again the driver seems to get installed properly.


Please see attached error message and samba log with log level 10
Comment 1 Aarti Varshney 2006-03-31 16:23:23 UTC
Created attachment 1829 [details]
samba log with log level 10
Comment 2 Aarti Varshney 2006-03-31 16:25:23 UTC
Created attachment 1830 [details]
Error message
Comment 3 Joanna Chan 2006-04-03 11:05:32 UTC
More observation:

When copying the driver files into the print$ dir, a file like '__SKIP_033B' was created, all the driver files are first put into the print$ dir and then to the subdir '3' but not this '__SKIP_xxxx' file.  The error reported occured.

After the error dialog, if the 'OK' then 'Finish' button are clicked again, the driver files are copied again into the print$ dir but this time, the installation is successful and the '__SKIP_xxxx' file is removed.  This is the expected behaviour as in 3.0.20.

Attached is the level 4 log of the process. 
Comment 4 Joanna Chan 2006-04-03 11:09:57 UTC
Created attachment 1837 [details]
samba.log
Comment 5 Joanna Chan 2006-04-03 11:10:09 UTC
Created attachment 1838 [details]
samba.log
Comment 6 Jeremy Allison 2006-04-03 11:10:40 UTC
Please add a debug level 10 log for the '__SKIP_033B' problem. That'll help more than level 4.
Jeremy.
Comment 7 Joanna Chan 2006-04-03 11:22:49 UTC
Created attachment 1839 [details]
level 10 samba.log

Level 10 log is attached as requested
Comment 8 Gerald (Jerry) Carter (dead mail address) 2006-04-08 07:54:16 UTC
The problem is that assert_gid() is firing and hence smbd is aborting.
Working with Aarti to figure out why.
Comment 9 Gerald (Jerry) Carter (dead mail address) 2006-04-20 07:50:03 UTC
problem with the build environment.  Not Samba.