Displaying 20 results from an estimated 2000 matches similar to: "Looking for Python docs/examples to modify DNS via keytab"
2024 Jun 29
1
Looking for Python docs/examples to modify DNS via keytab
On 6/28/24 10:07 PM, christian baltini via samba wrote:
> Hello all,
>
> I am looking to rewrite the shell script here (https://wiki.samba.org/index.php/Configure_DHCP_to_update_DNS_records) in Python.
>
> Is anyone aware of any resources (docs, existing code, etc.) that may be useful in doing so? I?m not finding any introductory docs or simple code examples that show things like
2024 Jun 30
1
Looking for Python docs/examples to modify DNS via keytab
On Sun, 30 Jun 2024 00:22:57 -0700
christian baltini <christian.baltini at gmail.com> wrote:
>
> This is the output I get:
>
> (venv) root at ubu1:~/py_krb# samba-tool dns zonelist localhost
> --use-krb5-ccache=/tmp/krb5cc_0 Failed to bind to uuid
> 50abc2a4-574d-40b3-9d66-ee4fd5fba076 for
>
2024 Jun 29
1
Looking for Python docs/examples to modify DNS via keytab
On Fri, 28 Jun 2024 13:07:06 -0700
christian baltini via samba <samba at lists.samba.org> wrote:
> Hello all,
>
> I am looking to rewrite the shell script here
> (https://wiki.samba.org/index.php/Configure_DHCP_to_update_DNS_records)
> in Python.
Basically most of that script is written to check if a kerberos ticket
exists and is current and then the ticket is used with
2024 Jun 30
1
Looking for Python docs/examples to modify DNS via keytab
Hello Rowland, I see that and an trying to recreate the script logic line-by line in the terminal as a proof of understanding, but I am having some trouble.
Here is what I am trying:
?kinit administrator? - I then provide username and password, and get /tmp/krb5cc_0 ? I understand this is equivalent what the script is generating with the exported keytab file, is this correct?
I then try this
2024 Jun 30
1
Looking for Python docs/examples to modify DNS via keytab
> On Jun 30, 2024, at 12:11?AM, Rowland Penny via samba <samba at lists.samba.org> wrote:
>
> On Sat, 29 Jun 2024 22:10:12 -0700
> christian baltini <christian.baltini at gmail.com> wrote:
>
>> Hello Rowland, I see that and an trying to recreate the script logic
>> line-by line in the terminal as a proof of understanding, but I am
>> having some
2024 Jun 30
1
Looking for Python docs/examples to modify DNS via keytab
On Sat, 29 Jun 2024 22:10:12 -0700
christian baltini <christian.baltini at gmail.com> wrote:
> Hello Rowland, I see that and an trying to recreate the script logic
> line-by line in the terminal as a proof of understanding, but I am
> having some trouble.
>
> Here is what I am trying:
>
> ?kinit administrator? - I then provide username and password,
You should just
2023 Dec 19
2
Samba as Active Directory - Linux Client doesn't update DNS
On Tue, 19 Dec 2023 06:58:49 +0000
Tilo Lutz via samba <samba at lists.samba.org> wrote:
> Hi
> I'm playing with smaba the first time so please be patient with me.
> I want to setup a small active directory on by Raspberry Pi 4 at home.
> Actual my setup is:
> -- Router (DHCP, Forward DNS)
> \- Raspberry with Samba AD and Bind9 as DNS
> Windows and Linux Clients:
2023 Dec 20
1
Samba as Active Directory - Linux Client doesn't update DNS
Tilo Lutz via samba <samba at lists.samba.org> wrote:
> [...] I was able to add the client
> manually with samba-tool dns add. To me it looks like the linux
> client never tried to register its dns entry. So my question is: Do I
> expect something from the linux client that is not done by default?
> How can I make the linux client to generate/update their DNS records,
>
2008 May 06
10
Best way to implement?
So I''m new to all this Rails stuff and this is probably a database
design-related question to, but here it is...
Just for learning I''m trying to build a little real estate listings
application. Of course there is the listings model which will store
basic information like name, price, description, and all that jazz.
I''m to the point where I want to figure out how to
2023 Jan 12
2
No Chrome RSOP
Hi again,
Looking at setting group policy for Linux desktops's chrome installs. Reading through the group policy book (https://dmulder.github.io/group-policy-book/chrome.html#server-side-extension-10) it says I should have some RSOP's for chrome when I've set a policy except Im not seeing these set. I have a policy that is supposed to be setting the home url under
2023 Mar 10
2
Missing features in RSAT Group Policy Manager (Debian as Samba PDC)
I have been testing a Debian 11 (i386) server with samba
2:4.13.13+dfsg-1~deb11u5 running as an Active Directory Controller. This is
a stand-alone DC, meant for user authentication for a small business
network. I use RSAT Features on Windows 11 Pro to manage Users, Groups,
Machines etc., which works fine.
I would like create a new GPO using the RSAT Group Policy Manager to change
Security
2018 Dec 20
3
Samba-created files with POSIX ACLs gaining execute bit
Hello Marco,
I am speaking about POSIX ACLs, yes.
When I create a file via shell I get a 660 file.
When I create a file via Samba I get a 770 file.
I don’t understand why they would be different. Without ACLs shell / Samba created files get consistent permissions.
Christian
> On Dec 20, 2018, at 12:29 AM, Marco Gaiarin via samba <samba at lists.samba.org> wrote:
>
> Mandi!
2024 Jul 04
1
anonymous ldap search, how disable it?
On 4/07/24 17:38, Joachim Lindenberg via samba wrote:
> Afaik or understand, enum4linux uses samba-tool (https://www.kali.org/tools/enum4linux/) and not ldap. Did you try enum4linux on a member (probably after some authentication) or some other non-member linux?
I don't think that is quite the right distinction, because samba-tool
would probably use ldap for this.
Also, I see ldapsearch
2023 Jan 06
2
Group Policy Settings Missing/Not Applying
On 1/6/23 8:11 AM, Dawson Greeley via samba wrote:
> Hi, Im attempting to apply a few group policy settings but they dont seem to be applying on the machine in question, or some settings I cannot see in the GPME.
>
>
> 1. Settings applied to openssh dont seem to create the required config files in /etc/ssh/sshd_config.d/ for ssh to actually pick up on these changes. Is there a
2023 Aug 02
2
Configure DHCP to update DNS records problem
Hello all,
After several days of working on this, I'm stuck. Hopefully someone can point out what I'm missing here.
I'm working with this script to dynamically update my Samba AD DC DNS:
https://wiki.samba.org/index.php/Configure_DHCP_to_update_DNS_records
Short of it:
The script does not update the DNS records due to samba-tool failing for some unknown reason.
Long of it:
2024 Jul 04
1
anonymous ldap search, how disable it?
Afaik or understand, enum4linux uses samba-tool (https://www.kali.org/tools/enum4linux/) and not ldap. Did you try enum4linux on a member (probably after some authentication) or some other non-member linux?
Regards,
Joachim
2024 Jan 26
1
Azure AD (Entra ID) join specification
I've made some minor changes to the join document for Azure AD.
Specifically, there was a major mistake in the TransportKey definition.
If you're working on a join implementation, make sure you pay close
attention to the changes. Azure accepts just about any blob in the
TransportKey field, and doesn't perform any validation on it. This only
becomes obvious when future responses
2023 Aug 11
1
Bug in dhcp-dyndns.sh script, A_REC always singleton array
Hello
I was directed to discuss this issue here. As I understand the issue with using the unquoted variable is that it expand globs unless noglob is set. E.g.
root at dy3:/# test="b*"
root at dy3:/# a=($test)
root at dy3:/# echo ${a[0]}
bin
It does seem a bit hypothetical that the output of sambatool dns query ... for an A record should contain a glob, but for the sake of robustness it
2023 Apr 14
4
gpo client linux sssd does not apply
Hello Samba Team, how are you?
I'm joining linux clients in the company's environment and I would like to
apply GPOs to linux clients, I'm in the testing phase.
I'm testing with ubuntu clients version 22.04 and the software I used to
join the samba AD was sssd.
The 22.04 ubuntu client has joined and everything is working fine except
for the GPOs for linux clients.
I compiled
2023 Mar 13
1
Fwd: samba-gpupdate nsswitch error
On 13/03/2023 17:05, David Mulder via samba wrote:
>
> On 3/13/23 10:54 AM, Rowland Penny via samba wrote:
>> Glad it isn't just myself having problems understanding that code, it
>> is horrible :-D
>>
>> If it is a machine, why is it trying to look up a uid ? I traced where
>> the error message is coming from, but couldn't understand what was