oeh univie edv lists
2015-Oct-05 19:45 UTC
[Samba] Question Wiki Setup a Samba Active Directory Domain Controller
chkconfig is not installed, but systemctl seems to work together with update-rc.d. 21:02:19 # systemctl disable samba Synchronizing state for samba.service with sysvinit using update-rc.d... Executing /usr/sbin/update-rc.d samba defaults Executing /usr/sbin/update-rc.d samba disable update-rc.d: error: samba Default-Start contains no runlevels, aborting. 21:02:58 # systemctl disable nmbd Synchronizing state for nmbd.service with sysvinit using update-rc.d... Executing /usr/sbin/update-rc.d nmbd defaults Executing /usr/sbin/update-rc.d nmbd disable insserv: warning: current start runlevel(s) (empty) of script `nmbd' overrides LSB defaults (2 3 4 5). insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `nmbd' overrides LSB defaults (0 1 6). 21:03:59 # systemctl disable smbd Synchronizing state for smbd.service with sysvinit using update-rc.d... Executing /usr/sbin/update-rc.d smbd defaults Executing /usr/sbin/update-rc.d smbd disable insserv: warning: current start runlevel(s) (empty) of script `smbd' overrides LSB defaults (2 3 4 5). insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `smbd' overrides LSB defaults (0 1 6). After restart no more nmbd and smbd: 21:12:57 # systemctl | grep nmbd 21:13:06 # systemctl | grep smbd 21:13:11 # systemctl | grep samba samba-ad-dc.service loaded active running LSB: start Samba daemons for the AD DC 21:13:13 # systemctl | grep samba-ad-dc samba-ad-dc.service loaded active running LSB: start Samba daemons for the AD Or you could see it here as well: 21:09:18 # /etc/init.d/smbd status ● smbd.service - LSB: start Samba SMB/CIFS daemon (smbd) Loaded: loaded (/etc/init.d/smbd) Active: inactive (dead) 21:09:32 # /etc/init.d/nmbd status ● nmbd.service - LSB: start Samba NetBIOS nameserver (nmbd) Loaded: loaded (/etc/init.d/nmbd) Active: inactive (dead) 21:09:38 # /etc/init.d/samba status ● samba-ad-dc.service - LSB: start Samba daemons for the AD DC Loaded: loaded (/etc/init.d/samba-ad-dc) Active: active (running) since Mon 2015-10-05 21:08:51 CEST; 51s ago Funny thing is Master STILL IS SHOWING. nscd (name service caching damon is not installed.) Any clues why this still shows?>>smbclient -L localhost -U%Domain=[BLA] OS=[Unix] Server=[Samba 4.1.17-Debian] Sharename Type Comment --------- ---- ------- netlogon Disk sysvol Disk IPC$ IPC IPC Service (Samba 4.1.17-Debian) Domain=[BLA] OS=[Unix] Server=[Samba 4.1.17-Debian] Server Comment --------- ------- Workgroup Master --------- ------- WORKGROUP MYHOSTNAME kind regards, birgit
Rowland Penny
2015-Oct-05 20:19 UTC
[Samba] Question Wiki Setup a Samba Active Directory Domain Controller
On 05/10/15 20:45, oeh univie edv lists wrote:> chkconfig is not installed, but systemctl seems to work together with > update-rc.d. > >chkconfig is never installed on a debian machine. Does 'ps ax' show something like (amongst everything else): 10296 ? S 0:00 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground 22286 ? Ss 0:02 /usr/sbin/samba -D 22304 ? S 0:00 /usr/sbin/samba -D 22305 ? S 45:05 /usr/sbin/samba -D 22306 ? Ss 1:55 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground 22307 ? S 0:08 /usr/sbin/samba -D 22308 ? S 0:02 /usr/sbin/samba -D 22309 ? S 3:01 /usr/sbin/samba -D 22310 ? S 0:56 /usr/sbin/samba -D 22311 ? S 0:40 /usr/sbin/samba -D 22313 ? S 0:32 /usr/sbin/samba -D 22314 ? S 0:02 /usr/sbin/samba -D 22315 ? S 9:00 /usr/sbin/samba -D 22316 ? S 1:42 /usr/sbin/samba -D 24039 ? S 0:00 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground 25247 ? S 0:00 /usr/sbin/smbd -D --option=server role check:inhibit=yes --foreground Please stop worrying about 'Master' , there is *nothing* you can do about it and it doesn't actually mean anything really in context with an AD DC. Rowland
oeh univie edv lists
2015-Oct-05 20:41 UTC
[Samba] Question Wiki Setup a Samba Active Directory Domain Controller
yes my "ps ax" looks similar like that.... I stop worrying immediately: "yes, Sir, yes"... just joking... but there's one little worry left: I'd like to contribute to this mailing list. As I cannot really with clever ideas (am just "consuming"), please pass around the money pot... link for IBAN for debian mailinglist project if there's such a thing... kind regards, birgit Rowland Penny <rowlandpenny241155 at gmail.com> schreibt:>On 05/10/15 20:45, oeh univie edv lists wrote: >> chkconfig is not installed, but systemctl seems to work together with >> update-rc.d. >> >> >chkconfig is never installed on a debian machine. > >Does 'ps ax' show something like (amongst everything else): > >10296 ? S 0:00 /usr/sbin/smbd -D --option=server role >check:inhibit=yes --foreground >22286 ? Ss 0:02 /usr/sbin/samba -D >22304 ? S 0:00 /usr/sbin/samba -D >22305 ? S 45:05 /usr/sbin/samba -D >22306 ? Ss 1:55 /usr/sbin/smbd -D --option=server role >check:inhibit=yes --foreground >22307 ? S 0:08 /usr/sbin/samba -D >22308 ? S 0:02 /usr/sbin/samba -D >22309 ? S 3:01 /usr/sbin/samba -D >22310 ? S 0:56 /usr/sbin/samba -D >22311 ? S 0:40 /usr/sbin/samba -D >22313 ? S 0:32 /usr/sbin/samba -D >22314 ? S 0:02 /usr/sbin/samba -D >22315 ? S 9:00 /usr/sbin/samba -D >22316 ? S 1:42 /usr/sbin/samba -D >24039 ? S 0:00 /usr/sbin/smbd -D --option=server role >check:inhibit=yes --foreground >25247 ? S 0:00 /usr/sbin/smbd -D --option=server role >check:inhibit=yes --foreground > >Please stop worrying about 'Master' , there is *nothing* you can do >about it and it doesn't actually mean anything really in context with an >AD DC. > >Rowland >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba