FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 12-02-2009, 09:07 AM
Johan Cockx
 
Default 'Access denied' when trying to connect to shared printer on Ubuntu server

This printing problem looks like a bug to me,** but I am not an expert;* any opinions or suggestions?

I have a small home network with an Ubuntu 9.10 server and several Windows clients.* My printer is connected to the server and should be usable from all clients.



After a fresh install of Ubuntu 9.10 (Karmic Koala) on the server,* I used the GUI (System>Administration>Printing) to install the printer locally (it works fine) and then share it (in the printer configuration menu: Server>Settings>Publish shared printers connected to this system).



On the first client (running XP),* I could install and use the printer without problems.

On the second client (running XP) , installation worked but it refuses to print. In the "Printers and Faxes" window,* the printer status reads "Access denied,* unable to connect".



I checked the settings on the server again;* they were unchanged.* However,* when I try to turn off printer sharing (using Server>Settings>Publish shared printers connected to this system),* I get a pop-up reading "CUPS server error: there was an error during the CUPS operation: 'Failed to set settings".



Since the problem only occurs when trying to access the printer from a client,* I suspect it is related to Samba,* so I had a look at the Samba log files.* The only recent log entries I could find were in /var/log/samba/log.winbindd-idmap and they are copied below.* I have no clue what these are about.



All suggestions for further action to resolve this problem are very welcome.

[2009/12/02 10:44:47,* 0] winbindd/idmap.c:201(smb_register_idmap_alloc)
* idmap_alloc module tdb already registered!
[2009/12/02 10:44:47,* 0] winbindd/idmap.c:149(smb_register_idmap)


* Idmap module passdb already registered!
[2009/12/02 10:44:47,* 0] winbindd/idmap.c:149(smb_register_idmap)
* Idmap module nss already registered!
[2009/12/02 10:44:47,* 1] winbindd/idmap_tdb.c:214(idmap_tdb_load_ranges)


* idmap uid missing
[2009/12/02 10:44:47,* 0] winbindd/idmap_tdb.c:341(idmap_tdb_alloc_init)
* idmap will be unable to map foreign SIDs: NT_STATUS_UNSUCCESSFUL
[2009/12/02 10:44:47,* 0] winbindd/idmap.c:589(idmap_alloc_init)


* ERROR: Initialization failed for alloc backend, deferred!
[2009/12/02 10:44:47,* 0] winbindd/idmap.c:201(smb_register_idmap_alloc)
* idmap_alloc module tdb already registered!
[2009/12/02 10:44:47,* 0] winbindd/idmap.c:149(smb_register_idmap)


* Idmap module passdb already registered!
[2009/12/02 10:44:47,* 0] winbindd/idmap.c:149(smb_register_idmap)
* Idmap module nss already registered!
[2009/12/02 10:44:47,* 1] winbindd/idmap_tdb.c:214(idmap_tdb_load_ranges)


* idmap uid missing
[2009/12/02 10:44:47,* 0] winbindd/idmap_tdb.c:341(idmap_tdb_alloc_init)
* idmap will be unable to map foreign SIDs: NT_STATUS_UNSUCCESSFUL
[2009/12/02 10:44:47,* 0] winbindd/idmap.c:589(idmap_alloc_init)


* ERROR: Initialization failed for alloc backend, deferred!
[2009/12/02 10:44:47,* 0] winbindd/idmap.c:201(smb_register_idmap_alloc)
* idmap_alloc module tdb already registered!
[2009/12/02 10:44:47,* 0] winbindd/idmap.c:149(smb_register_idmap)


* Idmap module passdb already registered!
[2009/12/02 10:44:47,* 0] winbindd/idmap.c:149(smb_register_idmap)
* Idmap module nss already registered!
[2009/12/02 10:44:47,* 1] winbindd/idmap_tdb.c:214(idmap_tdb_load_ranges)


* idmap uid missing
[2009/12/02 10:44:47,* 0] winbindd/idmap_tdb.c:341(idmap_tdb_alloc_init)
* idmap will be unable to map foreign SIDs: NT_STATUS_UNSUCCESSFUL
[2009/12/02 10:44:47,* 0] winbindd/idmap.c:589(idmap_alloc_init)


* ERROR: Initialization failed for alloc backend, deferred!
[2009/12/02 10:44:47,* 0] winbindd/idmap.c:201(smb_register_idmap_alloc)
* idmap_alloc module tdb already registered!
[2009/12/02 10:44:47,* 0] winbindd/idmap.c:149(smb_register_idmap)


* Idmap module passdb already registered!
[2009/12/02 10:44:47,* 0] winbindd/idmap.c:149(smb_register_idmap)
* Idmap module nss already registered!
[2009/12/02 10:44:47,* 1] winbindd/idmap_tdb.c:214(idmap_tdb_load_ranges)


* idmap uid missing
[2009/12/02 10:44:47,* 0] winbindd/idmap_tdb.c:341(idmap_tdb_alloc_init)
* idmap will be unable to map foreign SIDs: NT_STATUS_UNSUCCESSFUL
[2009/12/02 10:44:47,* 0] winbindd/idmap.c:589(idmap_alloc_init)


* ERROR: Initialization failed for alloc backend, deferred!
[2009/12/02 10:44:47,* 0] winbindd/idmap.c:201(smb_register_idmap_alloc)
* idmap_alloc module tdb already registered!
[2009/12/02 10:44:47,* 0] winbindd/idmap.c:149(smb_register_idmap)


* Idmap module passdb already registered!
[2009/12/02 10:44:47,* 0] winbindd/idmap.c:149(smb_register_idmap)
* Idmap module nss already registered!
[2009/12/02 10:44:47,* 1] winbindd/idmap_tdb.c:214(idmap_tdb_load_ranges)


* idmap uid missing
[2009/12/02 10:44:47,* 0] winbindd/idmap_tdb.c:341(idmap_tdb_alloc_init)
* idmap will be unable to map foreign SIDs: NT_STATUS_UNSUCCESSFUL
[2009/12/02 10:44:47,* 0] winbindd/idmap.c:589(idmap_alloc_init)


* ERROR: Initialization failed for alloc backend, deferred!


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 04:51 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org