[Samba] Samba + CUPS

Rowland Penny rowlandpenny at googlemail.com
Tue Oct 21 04:59:54 MDT 2014


On 21/10/14 11:55, José Eduardo S. C. Xavier wrote:
> I don't pretend to use it as a ADDC server, only want to use it to 
> share a printer driver.
>
> 2014-10-21 11:48 GMT+01:00 Rowland Penny <rowlandpenny at googlemail.com 
> <mailto:rowlandpenny at googlemail.com>>:
>
>     On 21/10/14 11:31, José Eduardo S. C. Xavier wrote:
>
>         what do you mean by provision?
>
>     Oh come on, you cannot be serious, on the webpage you say that you
>     followed, there is this line (after the second line of '*'):
>
>     You're done! Now you can provision your domain server interactively
>
>     Did you run the next line ????
>
>     Rowland
>
>
>         I follow the tutorial just to try if it solve the problem,
>         than I did that for a most recent version.
>
>         2014-10-21 11:28 GMT+01:00 Rowland Penny
>         <rowlandpenny at googlemail.com
>         <mailto:rowlandpenny at googlemail.com>
>         <mailto:rowlandpenny at googlemail.com
>         <mailto:rowlandpenny at googlemail.com>>>:
>
>
>             On 21/10/14 11:21, José Eduardo S. C. Xavier wrote:
>
>
>                     pi at lynx /usr/share/samba $ samba -b
>                     Samba version: 4.0.7
>                     Build environment:
>                        Build host:  Linux lynx 3.12.28+ #709 PREEMPT
>         Mon Sep 8
>                     15:28:00 BST 2014 armv6l GNU/Linux
>                     Paths:
>                        BINDIR: /usr/bin
>                        SBINDIR: /usr/sbin
>                        CONFIGFILE: /etc/samba/smb.conf
>                        NCALRPCDIR: /var/run/samba/ncalrpc
>                        LOGFILEBASE: /var/log/samba
>                        LMHOSTSFILE: /etc/samba/lmhosts
>                        DATADIR: /usr/share
>                        MODULESDIR: /usr/lib/samba
>                        LOCKDIR: /var/lock/samba
>                        STATEDIR: /var/lib/samba
>                        CACHEDIR: /var/cache/samba
>                        PIDDIR: /var/run/samba
>                        PRIVATE_DIR: /var/lib/samba/private
>                        SWATDIR: /usr/share/samba/swat
>                        CODEPAGEDIR: /usr/share/samba/codepages
>                        SETUPDIR: /usr/share/samba/setup
>                        WINBINDD_SOCKET_DIR: /var/run/samba/winbindd
>                        WINBINDD_PRIVILEGED_SOCKET_DIR:
>                 /var/lib/samba/winbindd_privileged
>                        NTP_SIGND_SOCKET_DIR: /var/lib/samba/ntp_signd
>                     pi at lynx /usr/share/samba $ cd /etc/samba/
>                     -bash: cd: /etc/samba/: No such file or directory
>                     pi at lynx /usr/share/samba $
>
>
>                 it should :s
>
>
>                 2014-10-21 11:12 GMT+01:00 Rowland Penny
>                 <rowlandpenny at googlemail.com
>         <mailto:rowlandpenny at googlemail.com>
>                 <mailto:rowlandpenny at googlemail.com
>         <mailto:rowlandpenny at googlemail.com>>
>                 <mailto:rowlandpenny at googlemail.com
>         <mailto:rowlandpenny at googlemail.com>
>                 <mailto:rowlandpenny at googlemail.com
>         <mailto:rowlandpenny at googlemail.com>>>>:
>
>                     On 21/10/14 11:06, José Eduardo S. C. Xavier wrote:
>
>                         I followed this
>         https://blog.littlebigisland.net/2013/raspberry-pi-as-an-active-directory-domain
>                         to compile it from source and it is running ok
>         but now
>                 how can
>                         I find where
>                         is the smb.conf file? Can't find it anywhere :s
>
>
>                     Well if you followed the webpage, it should be in
>                 /etc/samba/, but
>                     if you still cannot find it, try 'samba -b' , this
>         should show
>                     where everything, including smb.conf, is stored.
>
>                     Rowland
>
>
>                         2014-10-21 2:16 GMT+01:00 Nico Kadel-Garcia
>                 <nkadel at gmail.com <mailto:nkadel at gmail.com>
>         <mailto:nkadel at gmail.com <mailto:nkadel at gmail.com>>
>                         <mailto:nkadel at gmail.com
>         <mailto:nkadel at gmail.com> <mailto:nkadel at gmail.com
>         <mailto:nkadel at gmail.com>>>>:
>
>                             On Mon, Oct 20, 2014 at 8:24 AM, L.P.H.
>         van Belle
>                             <belle at bazuin.nl <mailto:belle at bazuin.nl>
>         <mailto:belle at bazuin.nl <mailto:belle at bazuin.nl>>
>                 <mailto:belle at bazuin.nl <mailto:belle at bazuin.nl>
>         <mailto:belle at bazuin.nl <mailto:belle at bazuin.nl>>>> wrote:
>
>                                   stop..
>
>                                 Dont install samba4.
>
>                                 Of use sernet-samba
>                                 or use samba from wheezy backports.
>
>                                 samba4 is the most bad version.
>
>                             Not in my limited experience. It needs some
>                 refinemnt for
>                             RHEL and
>                             Fedora to enable full AD drop-in
>         replacement, but
>                 I've had
>                             good
>                             success with its stability for the last
>         year of
>                 casual use.
>
>
>                     --     To unsubscribe from this list go to the
>         following
>                 URL and read the
>                     instructions:
>         https://lists.samba.org/mailman/options/samba
>
>
>             OK, two things, first, why did you use such an old version ?
>             second, create the directory '/etc/samba' and then
>         provision again.
>
>             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
>
>
Then why don't you install the standard wheezy samba packages, they will 
do all that you want.

Rowland



More information about the samba mailing list