Web lists-archives.com

Re: [Samba] Samba ADS-member-server: FQDNs in /etc/hosts




On Tue, 11 Jul 2017 14:47:50 +0200
"Stefan G. Weichinger" <lists@xxxxxxxx> wrote:

> Am 2017-07-11 um 14:40 schrieb Rowland Penny:
> 
> >> Restarted winbind, did "killall -HUP" on smbd and nmbd.
> >>
> >> still can't login to DM via smbclient and that mentioned user.
> >>
> >> I assume I need to restart all the smbd daemons ... ?
> > 
> > Well, you wouldn't be able to, would you, what with having this in
> > smb.conf:
> > 
> > template shell = /usr/sbin/nologin
> > 
> > The bit on the end sort of gives it away ;-)
> > 
> > Try changing it to this:
> > 
> > template shell = /bin/bash
> 
> oh my, ok (that was from samba.wiki or so!)

OK, I will look into that.

> 
> Doesn't change a thing, after restart winbind, and HUP s|nmbd
> 
> ->
> 
> 
> # smbclient \\\\server\\daten -Usgw%PW
> session setup failed: NT_STATUS_UNSUCCESSFUL
> 
> 
> 

Restart all the Samba binaries on the DM

Then check that the OS knows your user with:

getent passwd sgw

Rowland 



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba