'Access denied' when trying to connect to shared printer on Ubuntu server

Greg iskimj at gmail.com
Fri Dec 4 21:04:42 UTC 2009


Johan Cockx <johan <at> sikanda.be> writes:

> 
  
<snip>
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.
<snip>
>   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)
> 


I have a similar samba issue. I have some samba shares on a server that are
accessed by several XP and Ubuntu client machines. The connection will work fine
for a while and then disconnect. I am unable to reconnect until I restart samba
(/etc/init.d/samba restart) on the server, at which time it will work fine
again. I have the same sort of errors in the log.winbindd-idmap.

Not sure if restarting samba will help you. It would just be a work-around until
the bug can be identified.





More information about the ubuntu-users mailing list