[Samba] Samba 4 AD [homes] Share

steve steve at steve-ss.com
Thu Jan 16 12:29:06 MST 2014


On Thu, 2014-01-16 at 17:05 -0200, Márcio Merlone wrote:
> Em 16-01-2014 16:58, steve escreveu:
> > On Thu, 2014-01-16 at 16:49 -0200, Márcio Merlone wrote:
> >> Em 16-01-2014 16:42, steve escreveu:
> >>>> root at dc01:~# getent passwd | grep test.account
> >>>> test.account:*:11234:12345:test.account:/home/usuarios/test.account:/bin/bash
> >>>> root at dc01:~#
> >>> Nope, but we're getting closer.
> >>> That is not the correct uid:gid pair. It should be: 30214:2000
> Just out of curiosity: where did you get what it should be?

>From the DN you posted.
> 
> >> I edited to the list. Does it matter?
> > Don't understand. Sorry. Can you post the output _without editing
> > anything_ of:
> > getent passwd test.account
> >
> > I actually think you're there. . .
> Don't get the point, but what the heck.... :)
> 
> root at dc01:~# getent passwd test.account
> test.account:*:30214:2000:test.account:/home/usuarios/test.account:/bin/false
> root at dc01:~#
> 
Very, very close now. . .
All I can see that is missing is a real loginShell attribute. e.g.
loginShell: /bin/bash

You can use ldbedit to add it manually, ldbmodify if you do ldif's or
the dsa.msc unix tab if you want to do it from windows.

That should get you there.
Steve





More information about the samba mailing list