[Samba] smbldaptools not creating unix group/users

rpenny at f2s.com rpenny at f2s.com
Sat Sep 13 14:44:39 GMT 2008


I replied to this, but seem to have replied direct to the poster by mistake.
The problem appears if you are using the rfc2307bis.schema in slapd.conf
instead of nis.schema. This happened to me with OpenSuSe 11.

Rowland

> Tc,
>
> I think you might be expecting these commands to do something more than
> they will do.
>
> smbldap-populate will create 4 OUs and the standard windows groups
> ("Domain Users", "Backup Operators", etc.) and a sambaDomainName object.
> smbldap-useradd will only create a new posix user (with or without
> Samba/windows attributes depending on the -a option) in the LDAP tree.
>
> If you want to create a new group in LDAP, use smbldap-groupadd.
> If you want to migrate existing linux groups from /etc/group then you
> can use the smbldap-migrate-unix-groups script, that is part of the
> smbldap-tools package.
>
> Maybe this article written for Hardy Ubuntu might clarify things a
> bit ..
> https://help.ubuntu.com/community/OpenLDAP-SambaPDC-OrgInfo-Posix
>
> Regards,
> David Collins
>
>
> On Fri, 2008-09-12 at 09:03 +0800, Tc Chung wrote:
>
>> Dear all,
>>
>> I have setup a samba PDC on a debian lenny machine and everything works
>> fine.
>> Recently, i want to integrate Samba with LDAP. When I use
>> smbldap-populate,
>> the corresponding structures are created in the LDAP tree, however,
>> the unix groups
>> are not created at all! smbldap-populate did not complaint anything.
>>
>> I have tested by using smbldap-useradd. The same problem appears. What
>> are the
>> possible reasons for this?
>>
>> Thanks in advance.
>>
>> Regards,
>> Tc Chung
>>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the samba mailing list