search for: user_dn

Displaying 11 results from an estimated 11 matches for "user_dn".

Did you mean: user_ds
2005 Jun 02
5
Samba Password Expiry Date
Hi, i have configured a Samba PDC based on idealx.org. now, whenever i set the sambaMustChangePassword flag to 0, then from the subsequent logon, there is a popup urge me for changing password. now, the problem is after i have changed the password, the sambaMustChangePassword is set to 2147483647(unix timestamp), which if i converted it into human readable format, it will be 2038 year,
2018 Feb 20
1
Is it possible to lower the domain and forest functional level
...quot;search_options:1:2"]) > _ldb.LdbError: (1, 'Unable to parse search expression') > > Could the "ê" be a problem or the length of the string ? The issue is that this script was never tested with non-ascii names. Each instance of "(distinguishedName=%s) % user_dn in the script needs to be updated to be: "(distinguishedName=%s)" % ldb.binary_encode(user_dn) Sorry, Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Catalyst IT htt...
2018 Feb 19
3
Is it possible to lower the domain and forest functional level
I made a try translating the group names one by one in the setup/provision_users.ldif file. The first groups went OK but when I translate "Incoming Forest Trust Builders" by "Générateurs d'approbations de forêt entrante", I get this error from the script : Traceback (most recent call last): File "source4/scripting/bin/samba_upgradeprovision", line 1714, in
2019 Jun 26
2
unicode characters in samba-tool user names
...run smartcard_required=smartcard_required) File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 490, in newuser force_password_change_at_next_login_req) File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 606, in setpassword """ % (user_dn, base64.b64encode(pw).decode('utf-8')) I tested it on Debian 10, with Samba 4.9.5. I found some closed bug reports, where occured similar error, and according to that reports, the problem is python2. Samba 4.10 has full python3 support, but I don't want to compile Samba from source. Is...
2018 Feb 19
0
Is it possible to lower the domain and forest functional level
...quot;search_options:1:2"]) > _ldb.LdbError: (1, 'Unable to parse search expression') > > Could the "ê" be a problem or the length of the string ? The issue is that this script was never tested with non-ascii names. Each instance of "(distinguishedName=%s) % user_dn in the script needs to be updated to be: "(distinguishedName=%s)" % ldb.binary_encode(user_dn) Sorry, Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Catalyst IT htt...
2023 May 26
1
samba-tool : how to remove expiry date of an account
...ldb files. > > What do you think samba-tool does ? Using samba-tool to set expiry, ultimately does this: setexp = """ dn: %s changetype: modify replace: userAccountControl userAccountControl: %u replace: accountExpires accountExpires: %u """ % (user_dn, userAccountControl, accountExpires) self.modify_ldif(setexp) Rowland
2014 Aug 05
1
samba-tool syntax error?
...b/python2.7/site-packages/samba/netcmd/user.py", line 176, in run uid=uid, uidnumber=uid_number, gidnumber=gid_number, gecos=gecos, loginshell=login_shell) File "/home/vms/devbin/lib/python2.7/site-packages/samba/samdb.py", line 407, in newuser ldbmessage2.dn = ldb.Dn(self, user_dn) Since it didn't detect a syntax error, I assume there is something worse.. But I don't really know why it would fail to parse the dn string -- Any ideas? -- David Bear mobile: (602) 903-6476
2010 May 26
1
Samba4 Patch: newuseradv and newgroupadv scripts for net cmd utlity
Hi all, As per Jelmer's request - in response to bug #7455 attached diff file. Please let me know what you think and if any modificationes need to be performed Regards Luk -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: newusergroupadv.diff URL:
2020 Oct 11
2
userou= question
...parse dn string > File "/usr/lib/python3/dist-packages/samba/netcmd/user.py", line 395, in > run > smartcard_required=smartcard_required) > File "/usr/lib/python3/dist-packages/samba/samdb.py", line 528, in > newuser > ldbmessage2.dn = ldb.Dn(self, user_dn) > I have tried "userou='Mmbr-folder-redirection,OU='CompanyName'" and it fails with: > root at dc1:~# samba-tool user create jean25 --given-name=Jean --initials=25 > --surname=Samba --uid-number=18700 --gid-number=10000 --profile-path=\\\\ > mbr04.ad.example.com...
2020 May 14
2
samba-tool and --given-name or --surname format?
...smartcard_required=smartcard_required) File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 490, in newuser force_password_change_at_next_login_req) File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 606, in setpassword """ % (user_dn, base64.b64encode(pw).decode('utf-8')) # samba-tool user create foobar 21asdasd// --given-name="$(echo "?ke"|openssl base64)" ERROR(ldb): Failed to add user 'foobar': - ldb_add: invalid dn '(null)' What's the correct format of names? -- Harald...
2018 Oct 24
5
Again NFSv4 and Kerberos at the 'samba way'...
Good morning Marco and others. > -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Marco Gaiarin via samba > Verzonden: dinsdag 23 oktober 2018 18:58 > Aan: samba at lists.samba.org > Onderwerp: [Samba] Again NFSv4 and Kerberos at the 'samba way'... > > > Sorry, i come back to this topic in a different thread,