[Samba] smbldaptools not creating unix group/users
db.collins at yahoo.com.au
Sat Sep 13 01:45:15 GMT 2008
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
Maybe this article written for Hardy Ubuntu might clarify things a
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.
> Tc Chung
More information about the samba