Samba integration / adding more objectClasses

Alain Spineux aspineux at gmail.com
Wed Aug 20 15:26:58 CEST 2008


On Wed, Aug 20, 2008 at 8:43 AM, Albrecht Dreß
<albrecht.dress at lios-tech.com> wrote:
> Dear Christian:
>
> Am 20.08.2008 05:53:56 schrieb(en) Christian Tardif:
>>
>> I'm working on it. Actually, I can see that the new objects are not sent
>> to the add function. Here is a dump just after all objects are populated:
>
> I at least partly solved the issue!  If you have a look at the attached
> patch, the user.php script now does the following:
>
> - populate the LDAP entry with the basic Samba stuff when a user is added;
> - auto-select the first free POSIX UID, starting with 2000.  I also use this
> to create the Samba SID, which may actually be wrong (see below);
> - auto-assignment of the default group and Samba primary group (again, see
> below);
> - call cracklib when the user tries to change h(is|er) password, as to
> reject weak ones (I think there is also a php class for that, but it's not
> installed).  Note that the super user *may* issue weak passwords (like
> "start" or whatever) when a user is created which might come handy.  No idea
> how to force changing the pwd when the user first logs in on Win, though.
>
> This approach more or less works, but I wasn't able to get roaming profiles
> working on Samba without tweaking the Win registry on each client
> workstation.  I'm still fighting with that, and got an indication from the
> Samba list that something with the SID's might be wrong (see
> <http://lists.samba.org/archive/samba/2008-August/142991.html>).  If you
> have more insight into that, any hint would be warmly welcome!
>
> I also started writing a new howto, including all the diffs and patches, but
> will finalise that only after resolving the samba issues (and probably more,
> like hopefully getting SELinux policies).

Greats

>
> Any comments to the patch are of course welcome!
>
> Cheers,
> Albrecht.
>
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users
>
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you




More information about the users mailing list