[Samba] Output from ldb tools

Stuart Naylor stuartiannaylor at thursbygarden.org
Mon Jul 28 08:10:27 MDT 2014


Say ldbsearch -H /var/lib/samba/private/sam.ldb '(sAMAccountName=Administrator)'

Is there anyway just to just get the ldif part without the... 

params.c:pm_process() - Processing configuration file "/etc/samba/shares.conf"
GENSEC backend 'gssapi_spnego' registered
GENSEC backend 'gssapi_krb5' registered
GENSEC backend 'gssapi_krb5_sasl' registered
GENSEC backend 'schannel' registered
GENSEC backend 'spnego' registered
GENSEC backend 'ntlmssp' registered
GENSEC backend 'krb5' registered
GENSEC backend 'fake_gssapi_krb5' registered
# record 1

# Referral
ref: ldap://zentyal.lan/CN=Configuration,DC=zentyal,DC=lan

# Referral
ref: ldap://zentyal.lan/DC=DomainDnsZones,DC=zentyal,DC=lan

# Referral
ref: ldap://zentyal.lan/DC=ForestDnsZones,DC=zentyal,DC=lan

# returned 4 records
# 1 entries
# 3 referrals
 
Part ?

Stuart


More information about the samba mailing list