similar to: Using samba-python to query AD? Status of API?

Displaying 20 results from an estimated 10000 matches similar to: "Using samba-python to query AD? Status of API?"

2015 Nov 04
3
Using samba-python to query AD? Status of API?
On Wed, Nov 4, 2015 at 11:09 AM, mathias dufresne <infractory at gmail.com> wrote: > Hi, > > Once you have installed Samba to be able to run it as Active Directory you > would have samba-tool available. > > # which samba-tool > /usr/bin/samba-tool > # file /usr/bin/samba-tool > /usr/bin/samba-tool: Python script, ASCII text executable > # locate ldapcmp.py >
2015 Nov 04
2
Using samba-python to query AD? Status of API?
On Wed, Nov 4, 2015 at 12:27 PM, Rowland Penny <rowlandpenny241155 at gmail.com> wrote: > On 04/11/15 17:11, pisymbol . wrote: >> >> On Wed, Nov 4, 2015 at 11:09 AM, mathias dufresne <infractory at gmail.com> >> wrote: >>> >>> Hi, >>> >>> Once you have installed Samba to be able to run it as Active Directory >>> you
2015 Nov 04
0
Using samba-python to query AD? Status of API?
Hi, Once you have installed Samba to be able to run it as Active Directory you would have samba-tool available. # which samba-tool /usr/bin/samba-tool # file /usr/bin/samba-tool /usr/bin/samba-tool: Python script, ASCII text executable # locate ldapcmp.py /usr/lib64/python2.7/site-packages/samba/netcmd/ldapcmp.py /usr/lib64/python2.7/site-packages/samba/netcmd/ldapcmp.pyc
2015 Nov 04
0
Using samba-python to query AD? Status of API?
On 04/11/15 21:31, pisymbol . wrote: > On Wed, Nov 4, 2015 at 12:27 PM, Rowland Penny > <rowlandpenny241155 at gmail.com> wrote: >> On 04/11/15 17:11, pisymbol . wrote: >>> On Wed, Nov 4, 2015 at 11:09 AM, mathias dufresne <infractory at gmail.com> >>> wrote: >>>> Hi, >>>> >>>> Once you have installed Samba to be able to
2015 Nov 04
0
Using samba-python to query AD? Status of API?
On 04/11/15 17:11, pisymbol . wrote: > On Wed, Nov 4, 2015 at 11:09 AM, mathias dufresne <infractory at gmail.com> wrote: >> Hi, >> >> Once you have installed Samba to be able to run it as Active Directory you >> would have samba-tool available. >> >> # which samba-tool >> /usr/bin/samba-tool >> # file /usr/bin/samba-tool >>
2013 Nov 20
2
how to install libvirt-python
Hi, I have successfully installed libvirt-.0.10.0 from source ./configure make make install How can I check that if libvirt-python is installed? Search the folders, it seems there is no such file [root@tiger ~]# find /usr/ -name libvirt-python [root@tiger ~]# find . -name libvirt-python [root@tiger ~]#   Regards, Mahmood
2015 Sep 01
2
ldapcmp issue
Hi all, It seems "samba-tool ldapcmp" does not support too much items in Samba's database. Playing for a while with DB I was never able to run ldapcmp successfully. So yesterday I installed a platform to fill piece by piece my two small DCs and to run ldapcmp. The process follows. Test platform: 2 DCs using Debian 8.1 "net install" with only system tools, up to date,
2015 Jul 16
2
4.2.2 as AD with 2 DCs: database incoherency
Am 16.07.2015 um 17:18 schrieb Rowland Penny: > On 16/07/15 13:27, Reindl Harald wrote: >> >> Am 16.07.2015 um 14:02 schrieb Rowland Penny: >>> /etc/hosts should be: >>> >>> 127.0.0.1 localhost.localdomain localhost >> >> uhm no - you want 127.0.0.1 normally resolved to localhost and hence >> 127.0.0.1 localhost
2015 Jul 23
2
4.2.2 as AD with 2 DCs: database incoherency
On 23/07/15 16:23, mathias dufresne wrote: > Hi all, > > I tried "samba-tool ldapcmp" several times to solve this issue, without > success. > > On DC acting as full FSMO: > dc20:~# samba-tool ldapcmp ldap://dc00.ad.dgfip.lan > ldap://dc20.ad.dgfip.lan domain > ERROR(ldb): uncaught exception - ldb_wait: Time limit exceeded (3) > File
2015 Apr 23
3
samba-check-db-script python failure
I went and got the newest (upped recently) script. No love. I removed the email address line to get more command line output. root at dc01:~# ./samba-check-db-repl.sh Running with with console output Running : /usr/bin/samba-tool ldapcmp --filter='whenChanged' ldap://dc01 ldap://dc02.dtsh***m.dt. Please wait.. this can take a while.. Failed to bind - LDAP error 49
2019 May 22
2
dsdb_access Access check failed on CN=Configuration
All- I've got 3 DCs (version 4.9.6-12) that, prior to today, were running without issue (as best I could tell). Every night I run a few commands to monitor the status of the DCs/domain. I run: * dbcheck --cross-ncs * samba-tool drs kcc <other DCs> * samba-tool ldapcmp <local DC> <other DCs> (domain|configuration|schema|dnsdomain|dnsforest) * samba-tool drs showrepl These
2015 Apr 23
3
samba-check-db-script python failure
When I run ./samba-check-db-repl.sh script I am getting the following: root at dc01:~# ./samba-check-db-repl.sh Failed to bind - LDAP error 49 LDAP_INVALID_CREDENTIALS - <SASL:[GSS-SPNEGO]: NT_STATUS_LOGON_FAILURE> <> Failed to connect to 'ldap://dc02.dtsh**m.dt.' with backend 'ldap': (null) ERROR(ldb): uncaught exception - None File
2019 Sep 03
2
4.9.12 operation unavailable without authentication
I have Samba in production (4.9.6-12 on Ubuntu 18.04) which is working well. However, we are several releases behind so I am gearing up to upgrade to the latest 4.9 release. As part of the preparations (and for other reasons), I spun up an upgraded DC cluster in our development environment (4.9.12-15 on Ubuntu 18.04). The initial setup seemed to work and now I have two DCs that appear to be
2019 May 22
2
dsdb_access Access check failed on CN=Configuration
----- On May 22, 2019, at 10:01 AM, samba samba at lists.samba.org wrote: > Try again with : > > samba-tool ldapcmp dc5.$(hostname -d) dc3.$(hostname -d) DNSFOREST > As in dc5.your.dns.domain.tld ... > > Whats the result.? The failure is still present -- no change in the output of the command: # samba-tool ldapcmp dc3.domain.local dc5.domain.local DNSFOREST ERROR(ldb):
2015 Nov 05
3
Using samba-python to query AD? Status of API?
On Wed, Nov 4, 2015 at 4:44 PM, Rowland Penny <rowlandpenny241155 at gmail.com> wrote: > Ah, you want to search AD with python, as in 'ldbsearch -H > /usr/local/samba/private/sam.ldb' (this will dump the AD database) > You will find lots of 'examples' in the python 'samba' directory that an > install of a samba DC creates, these are used by samba-tool,
2015 Jul 24
2
4.2.2 as AD with 2 DCs: database incoherency
On 24/07/15 13:53, mathias dufresne wrote: > The following commands work on both DC: > host -t A <short_hostname_of_other_DC> > host -t A <fqdn_hostname_of_other_DC> > > hostname and hostname --fqdn are working on both DC.The simplest way > is to not declare external IP /etc/hosts > > > SRV DNS entries which are working are: > host -t SRV >
2017 Apr 08
4
Failures after update Samba 4.6.2
On Sat, 2017-04-08 at 16:13 +0000, Ricardo Pardim Claus via samba wrote: > Dear Rowland > > When I execute the command, I get the following error: > > # samba-tool domain tombstones expunge > ERROR(<type 'exceptions.AttributeError'>): uncaught exception - > 'module' object has no attribute 'time' >   File
2015 Apr 24
3
samba-check-db-script python failure
I upped 1.0.4 of the script.. I added checks if no DC's are found, error message and exits script, so no python errors anymore, if i did it right. ;-) on both DC's do the following. and whats the output of : cat /etc/hosts cat /etc/resolv.conf and kinit Administrator SETDNSDOMAIN=`hostname -d` SETHOSTNAME=`hostname -s` SERVER_IP_ADRESS=`hostname -i` echo "Test domainname:
2015 Nov 05
1
Using samba-python to query AD? Status of API?
On Thu, Nov 5, 2015 at 11:41 AM, Rowland Penny <rowlandpenny241155 at gmail.com> wrote: > On 05/11/15 16:38, pisymbol . wrote: >> >> On Thu, Nov 5, 2015 at 10:06 AM, Rowland Penny >> <rowlandpenny241155 at gmail.com> wrote: >>> >>> On 05/11/15 14:59, pisymbol . wrote: >>>> >>>> On Wed, Nov 4, 2015 at 4:44 PM, Rowland Penny
2006 Dec 01
4
YUM conflict with RHEL 4_X86_64
Hi, everyone, I have one conflict problem when I try to install Centos YUM on RHEL 4_X 86_64. Uname -a shows: Linux PT3 2.6.9-42.0.0.0.1.ELsmp #1 SMP Sun Oct 15 15:13:57 PDT 2006 x86_64 x86_64 x86_64 GNU/Linux Yum -version shows: Repository update is listed more than once in the configuration Repository base is listed more than once in the configuration Repository contrib is listed