[Samba] Problems after PC is joined to the domain - Samba 4
L.P.H. van Belle
belle at bazuin.nl
Thu Jun 5 02:10:55 MDT 2014
then change the init script..
something like, and change it to your environment.
### BEGIN INIT INFO
# Provides: samba ldap slapd
# Required-Start: $all
# Should-Start: $syslog cupsd
# Should-Stop: $syslog cupsd
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Description: initscript for the SAMBA services
and put this in /etc/insserv/overrides/the-same-name-as-the-init-script
run : insserv -v -n -d 2
look if you see:
insserv: Loading /etc/insserv/overrides/the-same-name-as-the-init-script
and check in /etc/rd2.d if samba moved more to the end.
Greetz,
Louis
>-----Oorspronkelijk bericht-----
>Van: walk2sun at arcor.de [mailto:samba-bounces at lists.samba.org]
>Namens Harry Jede
>Verzonden: donderdag 5 juni 2014 10:01
>Aan: samba at lists.samba.org
>Onderwerp: Re: [Samba] Problems after PC is joined to the
>domain - Samba 4
>
>On 09:54:39 wrote Theodotos Andreou:
>> On 06/04/2014 01:46 PM, steve wrote:
>> > On Wed, 2014-06-04 at 13:34 +0300, Theodotos Andreou wrote:
>> >> On 06/03/2014 01:18 PM, steve wrote:
>> > Please correct this line.
>>
>> But this follows exactly the guide you send me previously
>>
>> > The DHCP configuration is also in the dns howto.
>>
>> dhcp client config is ok:
>>
>> root at ENT01LP628:~# cat /etc/network/interfaces
>> # interfaces(5) file used by ifup(8) and ifdown(8)
>> auto lo
>> iface lo inet loopback
>>
>> auto eth0
>> iface eth0 inet dhcp
>> dns-nameservers 10.1.11.50 # this is to override 127.0.0.1
>
>Looks like debian/ubuntu
>
>I have had similiary problems with samba and interfaces with dhcp. It
>seems that samba is starting before the interface is fully working.
>
>Either restart samba after boot is complete or use static interface
>stanzas.
>
>--
>
>Regards
> Harry Jede
>--
>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