[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cups and samba stop working after upgrade to etch



On Mon, Apr 23, 2007 at 19:48:49 -0400, Bill Shofner wrote:
> On 04/23/2007 05:58:06 PM, Florian Kulzer wrote:

[...]

>> One more thing to try is to get rid of samba completely:
>>
>> aptitude --purge-unused purge samba samba-common smbclient
>> webmin-samba smbldap-tools
>
> L550r:/home/bill# aptitude --purge-unused purge samba samba-common 

[...]

>> and then to reinstall only these packages:
>>
>> aptitude install samba samba-common smbclient
>
> Re-installing samba ...
>
> L550r:/etc# aptitude install samba samba-common smbclient

[...]

> Setting up samba (3.0.24-6) ...
> Generating /etc/default/samba...
> tdbsam_open: Converting version 0 database to version 3.
> account_policy_get: tdb_fetch_uint32 failed for field 1 (min password 
> length), returning 0
> account_policy_get: tdb_fetch_uint32 failed for field 2 (password history), 
> returning 0
> account_policy_get: tdb_fetch_uint32 failed for field 3 (user must logon to 
> change password), returning 0
> account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum password 
> age), returning 0
> account_policy_get: tdb_fetch_uint32 failed for field 5 (minimum password 
> age), returning 0
> account_policy_get: tdb_fetch_uint32 failed for field 6 (lockout duration), 
> returning 0
> account_policy_get: tdb_fetch_uint32 failed for field 7 (reset count 
> minutes), returning 0
> account_policy_get: tdb_fetch_uint32 failed for field 8 (bad lockout 
> attempt), returning 0
> account_policy_get: tdb_fetch_uint32 failed for field 9 (disconnect time), 
> returning 0
> account_policy_get: tdb_fetch_uint32 failed for field 10 (refuse machine 
> password change), returning 0

I am not sure what to make of these messages, but I have very little
experience in running a samba server. It seems like the daemons start up
OK now.

[...]

> Starting Samba daemons: nmbd smbd.
>
> Setting up smbclient (3.0.24-6) ...
>
>
> No error message e-mail this time.  Let me see what I can see from the 
> wife's Windows computer....
>
> When trying to add a printer on my wife's Windows XP machine I am asked for 
> a user name and password to connect to this computer. I supply the username 
> and password but am unable to connect to the printer. Is samba finally 
> running?

You have to set up the exported folders, printers, authorized users,
etc. again. Purging the samba packages removed all your configuration
files, but since we could not isolate the cause of your problem we did
not have much choice. See Greg's recent mail for tips about samba
administration. 

I think you can now also restore the rest of your system (your libc6
version was OK, by the way.) I would do it like this:

1) Comment out all unofficial repositories (including debian-multimedia)
   in your /etc/apt/sources.list. 

2) Run "aptitude update" and then
   
   aptitude search '~i!~Odebian'

   to get a list of all unofficial/obsolete packages. Save this list of
   packages. Verify that nothing important is on the list and run

   aptitude remove '~i!~Odebian'

   (Ask here if you are unsure about what is important.)

3) Now your system should be clean and it should be possible to
   reinstall the Debian packages that were removed because they were
   broken earlier.

4) After that has been done you can include debian-multimedia and other
   unofficial repositories again in your sources.list. Make sure to
   change "sarge" to "etch" where necessary. Then run "aptitude update"
   and it should be possible to install all the extra packages you want
   (e.g. w32codecs).

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |



Reply to: