[Samba] Howto create roaming profiles using samba4 commands only?
steve
steve at steve-ss.com
Fri Aug 8 09:34:55 MDT 2014
On Fri, 2014-08-08 at 16:58 +0200, Oliver Rath wrote:
> On 08.08.2014 16:47, steve wrote:
> > [..]
> > add winbind to both passwd and group
> > Now try getent again
>
> Here the results:
>
> root at sambaaid:/var/lib/samba# useradd winbind
> root at sambaaid:/var/lib/samba# groupadd winbind
> groupadd: Gruppe »winbind« existiert bereits.
> root at sambaaid:/var/lib/samba# getent group Domain\ Users
> root at sambaaid:/var/lib/samba# getent passwd cn01
> root at sambaaid:/var/lib/samba#
Oh dear, no. Sorry if I wasn't clear. Please edit /etc/nsswitch.conf so
that the passwd and group lines look like this:
passwd: compat winbind
group: compat winbind
remove the user:
userdel winbind
Then try again with the getent commands.
If you have nscd running, kill it.
More information about the samba
mailing list