How to get into samba4 ldap database and manully edit without swat

Andrew Bartlett abartlet at samba.org
Mon Aug 6 08:41:38 GMT 2007


On Mon, 2007-08-06 at 16:22 +0800, KS Tan wrote:
> Hi all,
> 
> Seems like at this momment swat not allow me to manually add in new
> GPO(It allow us to link).  Is there any method I can direct access into
> ldap database so I can add this kind of entry?
> 
> [LDAP://CN={59bad3f5-bf4c-4010-8b9c-6b488e21ab2e},CN=Policies,CN=System,DC=test,DC=com;2]

Either use any LDAP client (such as GQ etc), or ldbedit -H
tdb://PREFIX/private/sam.ldb cn=users. (replace PREFIX with your
--prefix from configure, cn=users with any ldap query). 

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20070806/15ca76db/attachment.bin


More information about the samba-technical mailing list