[Samba] Missing option in samba-tool user add

Rene van Schijndel rvs at prisma-spo.nl
Tue Jan 21 01:57:10 MST 2014


Thank again Roland.
You modifactions work fine.

> Op 20 januari 2014 om 14:21 schreef Rowland Penny
> <rowlandpenny at googlemail.com>:
>
>
> On 15/01/14 11:45, Rene van Schijndel wrote:
> > Hi Steve,
> >
> > Thanks for you reply.
> > Where can i find the updates i don't see them.
> > I am new to this list so maybe i do something wrong.
> >
> > Rene.
> >
> >> Op 15 januari 2014 om 12:27 schreef steve <steve at steve-ss.com>:
> >>
> >>
> >> On Wed, 2014-01-15 at 11:16 +0100, Rene van Schijndel wrote:
> >>> Hello,
> >>>
> >>> I am trying to create a user with the samba-tool.
> >>> With this user i a want to login in a windows system and linux shell.
> >>> I can set everthing i need with samba-tool user add except
> >>> unixHomeDirectory
> >>> path.
> >>> Is there an easy why to do this?
> >>>
> >>> Rene.
> >> Hi
> >> Here are the updates to get unixHomeDirectory (**) working as expected.
> >> HTH
> >> Steve
> >>
> >> No thanks to me btw. Rowland tipped me off;)
> >>
> >> --
> >> To unsubscribe from this list go to the following URL and read the
> >> instructions: https://lists.samba.org/mailman/options/samba
> OK, I altered the two files that I sent you myself, but did not know how
> to submit them to samba for inclusion. A few months later another user,
> Stéphane Purnelle, then came up with something similar, but he also
> altered group.py to give the option to add the gidNumber.
> I, at that time, objected to his updates because the update added the
> posixAccount & posixGroup objectClasses, these, in my opinion, should
> not be added because no windows tools will add them. The reason that
> windows never adds the posix objectclasses is because they are
> auxillaries of other objectclasses that windows does add, in case you do
> not fully understand this, it means that all the posix attributes get
> added to the windows objectclasses and are available for use without
> actually adding the posix objectClasses.
>
> This all started about 3 months ago and I do not know why nothing has
> yet made its way into samba 4.
>
> I have attached 3 new files, two are updates to the files that I have
> already sent, they have all been updated to also include Stephane's
> updates but without adding posix objectClasses, test them at your own risk.
>
> Rowland


More information about the samba mailing list