[Samba] Samba + CUPS

José Eduardo S. C. Xavier josescxavier at gmail.com
Mon Oct 20 10:20:47 MDT 2014


Result:http://pastebin.com/nLPKzn4a
Did you install it on a RPI?

I think I'll try on a clen rpi image.

2014-10-20 16:40 GMT+01:00 Rowland Penny <rowlandpenny at googlemail.com>:

> On 20/10/14 16:35, José Eduardo S. C. Xavier wrote:
>
>> I also tried that: http://pastebin.com/Kea0xCTy
>>
>> 2014-10-20 16:33 GMT+01:00 Sébastien Le Ray <sebastien-samba at orniz.org>:
>>
>>  apt-get -t wheezy-backports install winbind
>>>
>>> Regards
>>> Le 20/10/2014 17:26, José Eduardo S. C. Xavier a écrit :
>>>
>>>  It now fails with the following error: http://pastebin.com/CE5386Mh
>>>> When I do sudo apt-get install winbind there is a reference to a 3.6.6
>>>> version of it:
>>>>
>>>> pi at lynx ~ $ sudo apt-get install winbind
>>>> Reading package lists... Done
>>>> Building dependency tree
>>>> Reading state information... Done
>>>> Some packages could not be installed. This may mean that you have
>>>> requested an impossible situation or if you are using the unstable
>>>> distribution that some required packages have not yet been created
>>>> or been moved out of Incoming.
>>>> The following information may help to resolve the situation:
>>>>
>>>> The following packages have unmet dependencies:
>>>>    winbind : Depends: libwbclient0 (= 2:3.6.6-6+deb7u4) but
>>>> 2:4.1.11+dfsg-1~bpo70+1 is to be installed
>>>>              Depends: samba-common (= 2:3.6.6-6+deb7u4) but
>>>> 2:4.1.11+dfsg-1~bpo70+1 is to be installed
>>>>              Recommends: libpam-winbind but it is not going to be
>>>> installed
>>>>              Recommends: libnss-winbind but it is not going to be
>>>> installed
>>>> E: Unable to correct problems, you have held broken packages.
>>>> pi at lynx ~ $
>>>>
>>>>
>>>>
>>>> 2014-10-20 16:18 GMT+01:00 José Eduardo S. C. Xavier <
>>>> josescxavier at gmail.com
>>>>
>>>>  :
>>>>> 2 days of compile process
>>>>> https://lists.samba.org/archive/samba-technical/2012-
>>>>> August/086330.html
>>>>> :s
>>>>>
>>>>> 2014-10-20 16:16 GMT+01:00 José Eduardo S. C. Xavier <
>>>>> josescxavier at gmail.com>:
>>>>>
>>>>> I can try to compile from source if you guide me on this process.
>>>>>
>>>>>  2014-10-20 16:09 GMT+01:00 José Eduardo S. C. Xavier <
>>>>>> josescxavier at gmail.com>:
>>>>>>
>>>>>> How can I know If I it is installing the current version? saw someone
>>>>>>
>>>>>>  with a similar problem because have installed a armv7 package instead
>>>>>>> of a
>>>>>>> armv6.
>>>>>>>
>>>>>>> 2014-10-20 16:00 GMT+01:00 L.P.H. van Belle <belle at bazuin.nl>:
>>>>>>>
>>>>>>>    ok, try the following.
>>>>>>>
>>>>>>>  1) make a backup of /etc/samba /var/lib/samba /var/cache/samba
>>>>>>>>
>>>>>>>> 2
>>>>>>>> this removes and purges/clears all of samba
>>>>>>>> apt-get remove --purge `dpkg -l | grep samba | cut -f3 -d" "`
>>>>>>>>
>>>>>>>> if needed apt-get install mlocate
>>>>>>>> updatedb
>>>>>>>> locate samba
>>>>>>>> clear the rest of it.
>>>>>>>>
>>>>>>>> install backports samba again.
>>>>>>>>
>>>>>>>> Louis
>>>>>>>>
>>>>>>>>
>>>>>>>>    ------------------------------
>>>>>>>>    *Van:* José Eduardo S. C. Xavier [mailto:josescxavier at gmail.com]
>>>>>>>> *Verzonden:* maandag 20 oktober 2014 16:57
>>>>>>>> *Aan:* L.P.H. van Belle
>>>>>>>>
>>>>>>>> *CC:* samba at lists.samba.org
>>>>>>>> *Onderwerp:* Re: [Samba] Samba + CUPS
>>>>>>>>
>>>>>>>>
>>>>>>>>    they look like for arm
>>>>>>>>
>>>>>>>> 2014-10-20 15:56 GMT+01:00 José Eduardo S. C. Xavier <
>>>>>>>> josescxavier at gmail.com>:
>>>>>>>>
>>>>>>>>   pi at lynx ~ $ dpkg -l | grep samba
>>>>>>>>
>>>>>>>>> ii  python-samba
>>>>>>>>> 2:4.1.11+dfsg-1~bpo70+1                 armhf        Python
>>>>>>>>> bindings
>>>>>>>>> for
>>>>>>>>> Samba
>>>>>>>>> iF  samba
>>>>>>>>> 2:4.1.11+dfsg-1~bpo70+1                 armhf        SMB/CIFS file,
>>>>>>>>> print,
>>>>>>>>> and login server for Unix
>>>>>>>>> ii  samba-common
>>>>>>>>> 2:4.1.11+dfsg-1~bpo70+1                 all          common files
>>>>>>>>> used by
>>>>>>>>> both the Samba server and client
>>>>>>>>> ii  samba-common-bin
>>>>>>>>> 2:4.1.11+dfsg-1~bpo70+1                 armhf        Samba common
>>>>>>>>> files
>>>>>>>>> used by both the server and the client
>>>>>>>>> ii  samba-dsdb-modules
>>>>>>>>> 2:4.1.11+dfsg-1~bpo70+1                 armhf        Samba
>>>>>>>>> Directory
>>>>>>>>> Services Database
>>>>>>>>> ii  samba-libs:armhf
>>>>>>>>> 2:4.1.11+dfsg-1~bpo70+1                 armhf        Samba core
>>>>>>>>> libraries
>>>>>>>>> ii  samba-vfs-modules
>>>>>>>>> 2:4.1.11+dfsg-1~bpo70+1                 armhf        Samba Virtual
>>>>>>>>> FileSystem plugins
>>>>>>>>> pi at lynx ~ $
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 2014-10-20 15:55 GMT+01:00 José Eduardo S. C. Xavier <
>>>>>>>>> josescxavier at gmail.com>:
>>>>>>>>>
>>>>>>>>>    I think the problem is that I'm running it on a raspberry pi
>>>>>>>>> (ARM)
>>>>>>>>>
>>>>>>>>>  and the source should be for x86/x64, no?
>>>>>>>>>>
>>>>>>>>>> 2014-10-20 15:54 GMT+01:00 L.P.H. van Belle <belle at bazuin.nl>:
>>>>>>>>>>
>>>>>>>>>> please post the output of :
>>>>>>>>>>
>>>>>>>>>>  dpkg -l | grep samba
>>>>>>>>>>> to make sure there is no old samba4 things.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>   -----Oorspronkelijk bericht-----
>>>>>>>>>>>
>>>>>>>>>>>> Van: josescxavier at gmail.com
>>>>>>>>>>>> [mailto:samba-bounces at lists.samba.org] Namens José Eduardo S.
>>>>>>>>>>>> C.
>>>>>>>>>>>>
>>>>>>>>>>>>  Xavier
>>>>>>>>>>>
>>>>>>>>>>>  Verzonden: maandag 20 oktober 2014 16:46
>>>>>>>>>>>> Aan: Rowland Penny
>>>>>>>>>>>>
>>>>>>>>>>>>     >CC: samba at lists.samba.org
>>>>>>>>>>>
>>>>>>>>>>>  Onderwerp: Re: [Samba] Samba + CUPS
>>>>>>>>>>>>
>>>>>>>>>>>> http://pastebin.com/Apr8HJPj it fails to run :s
>>>>>>>>>>>>
>>>>>>>>>>>> 2014-10-20 14:02 GMT+01:00 José Eduardo S. C. Xavier
>>>>>>>>>>>> <josescxavier at gmail.com
>>>>>>>>>>>>
>>>>>>>>>>>>  :
>>>>>>>>>>>>> lets try it :)
>>>>>>>>>>>>>
>>>>>>>>>>>>> 2014-10-20 13:37 GMT+01:00 Rowland Penny
>>>>>>>>>>>>>
>>>>>>>>>>>>>  <rowlandpenny at googlemail.com>:
>>>>>>>>>>>>
>>>>>>>>>>>>  On 20/10/14 13:27, José Eduardo S. C. Xavier wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>>   The samba from wheezy backports is the 3.6.6, right? it is
>>>>>>>>>>>>>> what I had
>>>>>>>>>>>>>>
>>>>>>>>>>>>> installed with sudo apt-get install samba.
>>>>>>>>>>>>>
>>>>>>>>>>>>>> 2014-10-20 13:24 GMT+01:00 L.P.H. van Belle <belle at bazuin.nl
>>>>>>>>>>>>>>> >:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>      stop..
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>  Dont install samba4.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Of use sernet-samba
>>>>>>>>>>>>>>>> or use samba from wheezy backports.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> samba4 is the most bad version.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>    -----Oorspronkelijk bericht-----
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  Van: josescxavier at gmail.com
>>>>>>>>>>>>>>>>> [mailto:samba-bounces at lists.samba.org] Namens José Eduardo
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>  S. C.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Xavier
>>>>>>>>>>>>
>>>>>>>>>>>>> Verzonden: maandag 20 oktober 2014 14:22
>>>>>>>>>>>>>>>>> Aan: Sven Schwedas
>>>>>>>>>>>>>>>>> CC: samba at lists.samba.org
>>>>>>>>>>>>>>>>> Onderwerp: Re: [Samba] Samba + CUPS
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I'm removing samba and install samba4 from apt-get to
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>  try if it works.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> 2014-10-20 13:19 GMT+01:00 Sven Schwedas <
>>>>>>>>>>>>>
>>>>>>>>>>>>>> sven.schwedas at tao.at>:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>    On 2014-10-20 14:13, José Eduardo S. C. Xavier wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I have configured a CUPS printer server with samba and it
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>   worked with
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Windows 7 32/64bits but now with windows 8 it can't get
>>>>>>>>>>>>>>>>>> the drivers.
>>>>>>>>>>>>>>>>>> I found it https://bugzilla.samba.org/
>>>>>>>>>>>>>>>>>> show_bug.cgi?id=9474
>>>>>>>>>>>>>>>>>> but doesn't
>>>>>>>>>>>>>>>>>> know
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>   how to use the patch to solve the problem. I'm using a
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>   raspberry pi.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> By updating to a more recent Samba version, as you were
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>   instructed to on
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>   the bugtracker.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> Mit freundlichen Grüßen, / Best Regards,
>>>>>>>>>>>>>>>>>> Sven Schwedas
>>>>>>>>>>>>>>>>>> Systemadministrator
>>>>>>>>>>>>>>>>>> TAO Beratungs- und Management GmbH | Lendplatz 45 | A -
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>  8020 Graz
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Mail/XMPP: sven.schwedas at tao.at | +43 (0)680 301 7167
>>>>>>>>>>>>>
>>>>>>>>>>>>>> <%2B43%20%280%29680%20301%207167>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> http://software.tao.at
>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> To unsubscribe from this list go to the following URL
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>  and read the
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> instructions:  https://lists.samba.org/
>>>>>>>>>>>>> mailman/options/samba
>>>>>>>>>>>>>
>>>>>>>>>>>>>>    --
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>  To unsubscribe from this list go to the following URL
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>  and read the
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> instructions:  https://lists.samba.org/mailman/options/samba
>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>     No the samba from backports is not 3.6.6, it is (at the
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> moment) 4.1.11
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>> To install it, you would use:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> apt-get -t wheezy-backports install samba
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Rowland
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> To unsubscribe from this list go to the following URL and read
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>  the
>>>>>>>>>>>>>
>>>>>>>>>>>> instructions:  https://lists.samba.org/mailman/options/samba
>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>>    --
>>>>>>>>>>>>>
>>>>>>>>>>>> To unsubscribe from this list go to the following URL and read
>>>>>>>>>>>> the
>>>>>>>>>>>> instructions:  https://lists.samba.org/mailman/options/samba
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>  Hi, this is what I use to install samba from backports:
>
> apt-get -t wheezy-backports install samba attr krb5-config krb5-user ntp
> bind9utils dnsutils winbind libpam-winbind libpam-krb5 libnss-winbind
> libsmbclient smbclient
>
>
> Rowland
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list