Displaying 20 results from an estimated 35 matches for "2fprivate".
2009 Nov 21
1
samba4 + openldap: provisioning isnt working
...hives/samba/source4$ setup/provision --realm=ELDERGODS.COM
--ldap-backend-type=openldap --server-role=dc --domain=ELDERGODS
--slapd-path='/usr/sbin/slapd'
[running] '/usr/sbin/slapd' '-F/usr/local/samba4/private/ldap/slapd.d' '-h'
'ldapi://%2Fusr%2Flocal%2Fsamba4%2Fprivate%2Fldap%2Fldapi'
Failed to bind - LDAP client internal error: NT_STATUS_UNEXPECTED_NETWORK_ERROR
Failed to connect to 'ldapi://%2Fusr%2Flocal%2Fsamba4%2Fprivate%2Fldap%2Fldapi'
Traceback (most recent call last):
File "setup/provision", line 213, in <module>
nosync=o...
2020 Jul 15
3
Interacting with LDAP db without password as root
...07/2020 13:36, RhineDevil via samba wrote:
> >>>>>>> How could I avoid being asked a password when interacting with /var/lib/samba/private/ldap_priv/ldapi through ldapsearch or ldaputils in general?
> >>>>>>> (ldapsearch -H ldapi//%2Fvar%2Flib%2Fsamba%2Fprivate%2Fldapi)
> >>>>>> Don't use ldap-utils, use ldb-tools and the machine password:
> >>>>>>
> >>>>>> sudo ldbsearch -P -H ldapi://%2Fvar%2Flib%2Fsamba%2Fprivate%2Fldap
> >>>>>>
> >>>>>> Rowland...
2020 Jul 15
2
Interacting with LDAP db without password as root
...ba <samba at lists.samba.org>:
> On 15/07/2020 13:36, RhineDevil via samba wrote:
> > How could I avoid being asked a password when interacting with /var/lib/samba/private/ldap_priv/ldapi through ldapsearch or ldaputils in general?
> > (ldapsearch -H ldapi//%2Fvar%2Flib%2Fsamba%2Fprivate%2Fldapi)
>
> Don't use ldap-utils, use ldb-tools and the machine password:
>
> sudo ldbsearch -P -H ldapi://%2Fvar%2Flib%2Fsamba%2Fprivate%2Fldap
>
> Rowland
"ldap client internal error NT_STATUS_UNSUCCESFUL"
-------------- next part --------------
A non-text att...
2020 Jul 15
2
Interacting with LDAP db without password as root
...ba.org>:
> >> On 15/07/2020 13:36, RhineDevil via samba wrote:
> >>> How could I avoid being asked a password when interacting with /var/lib/samba/private/ldap_priv/ldapi through ldapsearch or ldaputils in general?
> >>> (ldapsearch -H ldapi//%2Fvar%2Flib%2Fsamba%2Fprivate%2Fldapi)
> >> Don't use ldap-utils, use ldb-tools and the machine password:
> >>
> >> sudo ldbsearch -P -H ldapi://%2Fvar%2Flib%2Fsamba%2Fprivate%2Fldap
> >>
> >> Rowland
> > "ldap client internal error NT_STATUS_UNSUCCESFUL"
>
&g...
2020 Jul 15
2
Interacting with LDAP db without password as root
...;>> On 15/07/2020 13:36, RhineDevil via samba wrote:
> >>>>> How could I avoid being asked a password when interacting with /var/lib/samba/private/ldap_priv/ldapi through ldapsearch or ldaputils in general?
> >>>>> (ldapsearch -H ldapi//%2Fvar%2Flib%2Fsamba%2Fprivate%2Fldapi)
> >>>> Don't use ldap-utils, use ldb-tools and the machine password:
> >>>>
> >>>> sudo ldbsearch -P -H ldapi://%2Fvar%2Flib%2Fsamba%2Fprivate%2Fldap
> >>>>
> >>>> Rowland
> >>> "ldap client int...
2020 Jul 15
2
Interacting with LDAP db without password as root
How could I avoid being asked a password when interacting with /var/lib/samba/private/ldap_priv/ldapi through ldapsearch or ldaputils in general?
(ldapsearch -H ldapi//%2Fvar%2Flib%2Fsamba%2Fprivate%2Fldapi)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: Firma digitale OpenPGP
URL: <http://lists.samba.org/pipermail/samba/attachments/20200715/567e0016/attachment.sig>
2015 Feb 02
2
Searching samba ldap without authentication
...database without authentication.
I've set up 2 machines, the first as PDC, the second as BDC.
I run my scripts on both and while they run fine on the PDC they end
with error on the BDC.
Here is the minimal example that behave this way:
import ldap
LDAP_URI = "ldapi://%2fvar%2flib%2fsamba%2fprivate%2fldap_priv%2fldapi"
l = ldap.initialize(LDAP_URI, trace_level=1)
entries = l.search_s('dc=mon,dc=dom', ldap.SCOPE_SUBTREE)
print(entries)
it ends with: ldap.OPERATIONS_ERROR: {'info': '00002020: Operation
unavailable without authentication', 'desc': 'Oper...
2020 Jul 15
0
Interacting with LDAP db without password as root
...;:
>>>> On 15/07/2020 13:36, RhineDevil via samba wrote:
>>>>> How could I avoid being asked a password when interacting with /var/lib/samba/private/ldap_priv/ldapi through ldapsearch or ldaputils in general?
>>>>> (ldapsearch -H ldapi//%2Fvar%2Flib%2Fsamba%2Fprivate%2Fldapi)
>>>> Don't use ldap-utils, use ldb-tools and the machine password:
>>>>
>>>> sudo ldbsearch -P -H ldapi://%2Fvar%2Flib%2Fsamba%2Fprivate%2Fldap
>>>>
>>>> Rowland
>>> "ldap client internal error NT_STATUS_UNSUCCES...
2020 Jul 15
0
Interacting with LDAP db without password as root
...gt; On 15/07/2020 13:36, RhineDevil via samba wrote:
>>>>>>> How could I avoid being asked a password when interacting with /var/lib/samba/private/ldap_priv/ldapi through ldapsearch or ldaputils in general?
>>>>>>> (ldapsearch -H ldapi//%2Fvar%2Flib%2Fsamba%2Fprivate%2Fldapi)
>>>>>> Don't use ldap-utils, use ldb-tools and the machine password:
>>>>>>
>>>>>> sudo ldbsearch -P -H ldapi://%2Fvar%2Flib%2Fsamba%2Fprivate%2Fldap
>>>>>>
>>>>>> Rowland
>>>>> &qu...
2010 Feb 15
0
Unable to provision with openldap/samba4: pdc_fsmo_init: no domain object present
...='domain controller'
--domain=ateneo --targetdir=setup/ --slapd-path=/usr/local/libexec/slapd
Administrator password will be set randomly!
Failed to bind - LDAP client internal error:
NT_STATUS_UNEXPECTED_NETWORK_ERROR
Failed to connect to
'ldapi://%2Fopt%2Fsrc%2Fsamba%2Fsource4%2Fsetup%2Fprivate%2Fldap%2Fldapi'
Setting up secrets.ldb
Setting up the registry
Setting up the privileges database
Setting up idmap db
Setting up SAM db
Setting up sam.ldb partitions and settings
Setting up sam.ldb rootDSE
Pre-loading the Samba 4 and AD schema
Adding DomainDN: DC=unimore,DC=it
pdc_fsmo_init: no...
2015 Feb 02
2
Searching samba ldap without authentication
...achines, the first as PDC, the second as BDC.
>> I run my scripts on both and while they run fine on the PDC they end
>> with error on the BDC.
>> Here is the minimal example that behave this way:
>>
>> import ldap
>> LDAP_URI = "ldapi://%2fvar%2flib%2fsamba%2fprivate%2fldap_priv%2fldapi"
>>
>> l = ldap.initialize(LDAP_URI, trace_level=1)
>> entries = l.search_s('dc=mon,dc=dom', ldap.SCOPE_SUBTREE)
>> print(entries)
>>
>> it ends with: ldap.OPERATIONS_ERROR: {'info': '00002020: Operation
>> unava...
2011 Feb 07
2
bind9 dlopen/dlz problems [update]
...g LDB_MODULES_PATH to the directory containing
it makes named start:
export LDB_MODULES_PATH=/usr/lib/samba/ldb/
named -u named
-> startup complete
So it wasn't my first suspect "ldap uri":
ldapi:///var/lib/samba4/private/ldap_priv/ldapi
ldapi://%2Fvar%2Flib%2Fsamba4%2Fprivate%2Fldap_priv%2Fldapi
This leaves me with the task to finally get some DNS entries into the
samba database :-)
Bye,
Marcel
2020 Jul 18
3
Adding users with ldif file
...rt hostname in
>> uppercase. If you are referring to the netbios domain name (aka
>> workgroup) then you can find this with wbinfo:
>>
>> wbinfo --own-domain
>>
>> Rowland
>>
> I tried to add ypServ30 using ldapi socket "ldapi://%2Fvar%2Flib%2Fsamba%2Fprivate%2Fldap_priv%2Fldapi, it said
>
> `ERR: insufficient access rights : "LDAP error 50 LDAP_INSUFFICIENT_ACCESS_RIGHTS <acl: unable to get access to CN=ypServ30,CN=RpcServices,CN=System,DC=mydomain,DC=mytld> <>" on DN CN=ypServ30,CN=RpcServices,CN=System,DC=mydomain,DC=mytld...
2015 Feb 02
0
Searching samba ldap without authentication
...> I've set up 2 machines, the first as PDC, the second as BDC.
> I run my scripts on both and while they run fine on the PDC they end
> with error on the BDC.
> Here is the minimal example that behave this way:
>
> import ldap
> LDAP_URI = "ldapi://%2fvar%2flib%2fsamba%2fprivate%2fldap_priv%2fldapi"
>
> l = ldap.initialize(LDAP_URI, trace_level=1)
> entries = l.search_s('dc=mon,dc=dom', ldap.SCOPE_SUBTREE)
> print(entries)
>
> it ends with: ldap.OPERATIONS_ERROR: {'info': '00002020: Operation
> unavailable without authenticatio...
2010 Jul 14
0
Samba4 + existing OpenLDAP possible?
...X"
--ldap-backend-type=openldap --server-role='domain controller'
--adminpass='XXX' --slapd-path="/usr/sbin/slapd"
I only get
Failed to bind - LDAP client internal error:
NT_STATUS_UNEXPECTED_NETWORK_ERROR
Failed to connect to
'ldapi://%2Fusr%2Flocal%2Fsamba%2Fprivate%2Fldap%2Fldapi'
Could not start slapd with: '/usr/sbin/slapd'
'-F/usr/local/samba/private/ldap/slapd.d' '-h'
'ldapi://%2Fusr%2Flocal%2Fsamba%2Fprivate%2Fldap%2Fldapi' '-d0'
ProvisioningError: slapd died before we could make a connection to it
Is there...
2009 Dec 30
1
Samba4 A11 Provision Fails on 389-DS - Fedora 12
...-0600] - All database threads now stopped
[30/Dec/2009:15:12:44 -0600] - import sambaData: Import complete. Processed
4 entries in 1 seconds. (4.00 entries/sec)
Failed to bind - LDAP client internal error:
NT_STATUS_UNEXPECTED_NETWORK_ERROR
Failed to connect to
'ldapi://%2Fusr%2Flocal%2Fsamba%2Fprivate%2Fldap%2Fldapi'
[30/Dec/2009:15:12:44 -0600] - Information: Non-Secure Port Disabled
[30/Dec/2009:15:12:44 -0600] - 389-Directory/1.2.3 B2009.280.1622 starting
up
[30/Dec/2009:15:12:44 -0600] - I'm resizing my cache now...cache was
209715200 and is now 8000000
Failed to bind - LDAP client i...
2020 Jul 18
2
Adding users with ldif file
...to the netbios domain name (aka
>>>> workgroup) then you can find this with wbinfo:
>>>>
>>>> wbinfo --own-domain
>>>>
>>>> Rowland
>>>>
>>> I tried to add ypServ30 using ldapi socket "ldapi://%2Fvar%2Flib%2Fsamba%2Fprivate%2Fldap_priv%2Fldapi, it said
>>>
>>> `ERR: insufficient access rights : "LDAP error 50 LDAP_INSUFFICIENT_ACCESS_RIGHTS <acl: unable to get access to CN=ypServ30,CN=RpcServices,CN=System,DC=mydomain,DC=mytld> <>" on DN CN=ypServ30,CN=RpcServices,CN=System,DC=m...
2015 Feb 02
2
Searching samba ldap without authentication
...run my scripts on both and while they run fine on the PDC they end
>>>> with error on the BDC.
>>>> Here is the minimal example that behave this way:
>>>>
>>>> import ldap
>>>> LDAP_URI =
>>>> "ldapi://%2fvar%2flib%2fsamba%2fprivate%2fldap_priv%2fldapi"
>>>>
>>>> l = ldap.initialize(LDAP_URI, trace_level=1)
>>>> entries = l.search_s('dc=mon,dc=dom', ldap.SCOPE_SUBTREE)
>>>> print(entries)
>>>>
>>>> it ends with: ldap.OPERATIONS_ERROR: {'in...
2010 Feb 09
2
Provision script fails with Samba4 (latest git version)
...(type=hdb,
suffix="cn=Schema,cn=Configuration,dc=test,dc=domain"): bi_db_open
failed! (2)
slap_startup failed (test would succeed using the -u switch)
Failed to bind - LDAP client internal error:
NT_STATUS_UNEXPECTED_NETWORK_ERROR
Failed to connect to
'ldapi://%2Fusr%2Flocal%2Fsamba4%2Fprivate%2Fldap%2Fldapi'
Setting up share.ldb
Setting up secrets.ldb
Setting up the registry
Setting up the privileges database
Setting up idmap db
Setting up SAM db
Setting up sam.ldb partitions and settings
Setting up sam.ldb rootDSE
Pre-loading the Samba 4 and AD schema
Adding DomainDN: DC=test,DC=do...
2015 Mar 03
2
Synchronization problems between Win2k8R2 and samba
Hello,
I have a small test network with a Win2k8R2 DC.
I've added a samba4 as second DC in this network.
The join seems to run smoothly.
But, after the join, this command: ldapsearch -LLL -x -H
ldapi://%2Fvar%2Flib%2Fsamba%2Fprivate%2Fldap_priv%2Fldapi -b
"dc=test,dc=dom" "(SAMAccountName=Administrateur)"
returns some strange results:
? some attributes like unicodePwd and supplementalCredentials are missing
? lots of attributes are base64 encoded, example:
?description:: Q29tcHRlIGTigJl1dGlsaXNhdGV1ci...