search for: setup_io

Displaying 17 results from an estimated 17 matches for "setup_io".

2015 Dec 30
4
Allow self password change using LDAP(s) with Samba4
...ring LDB_MODIFY (50)) If I change the code, deleting the old password, and adding the new one: dn: ........ changetype: modify delete: unicodePwd unicodePwd: "Temporal1" - add: unicodePwd unicodePwd: "Temporal2" Then I get this error: #!ERROR [LDAP: error code 53 - 00002035: setup_io: it's not allowed to set the NT hash password directly'] The ldapmodify are executed using the self user credentials, i wouldn't like to use the administrator account. Is this possible? Do I have to change some settings in Samba4?
2014 Apr 30
2
Changing active directory user password via LDAP
...ministrator at domain.com -W ldap_initialize( ldaps://server.domain.com:636/??base ) Enter LDAP Password: replace unicodePwd: newPassword modifying entry "CN=John Smith,cn=Users,DC=domain,DC=com" ldap_modify: Server is unwilling to perform (53) additional info: 00002035: setup_io: it's not allowed to set the NT hash password directly' It seems, that samba4 does not allow to change this attribute directly. So the question would be: is it possible to change AD user password via LDAP, or this can only be done via samba tools and windows client? Thank you. --
2012 Nov 01
1
sambar4: user creation with ldap and initial password
hi trying to create a user with ldap from a remote server. The user is created successfully. I'm failing setting the initial password. Setting the unicodePwd with kerberos administrator credentials with ldbmodify and the ldif below results in "00002035: setup_io: it's not allowed to set the NT hash password directly". searching the web I've found s4 mailinglist entries telling "do not set unicodePwd with ldap". this KB article tells in AD it's possible to set it: http://support.microsoft.com/kb/263991/en-us Is there a su...
2016 Jan 12
1
Allow self password change using LDAP(s) with Samba4
...>> dn: ........ >> changetype: modify >> delete: unicodePwd >> unicodePwd: "Temporal1" >> - >> add: unicodePwd >> unicodePwd: "Temporal2" >> >> Then I get this error: >> >> #!ERROR [LDAP: error code 53 - 00002035: setup_io: it's not allowed to set >> the NT hash password directly'] >> >> The ldapmodify are executed using the self user credentials, i wouldn't >> like to use the administrator account. Is this possible? Do I have to >> change some settings in Samba4? >> --...
2024 Oct 27
2
How to set `unicodePwd`? "it's not allowed to set the NT hash password directly"
...changetype: modify > >> replace: unicodePwd > >> unicodePwd:: %s > >> """ % (user_dn, base64.b64encode(pw).decode('utf-8')) > >> ``` > >> > >> When doing the same, Samba returns: > >> > >> 00002035: setup_io: it's not allowed to set the NT hash > >> password directly' Code: 0x35 > >> > >> This happens both when 1) passing `unicodePwd` during entry > >> creation, and 2) when modifying it for an existing entry (like > >> `samba-tool` does). > >&...
2024 Oct 27
1
How to set `unicodePwd`? "it's not allowed to set the NT hash password directly"
...pw = ('"' + pw + '"').encode('utf-16-le') setpw = """ dn: %s changetype: modify replace: unicodePwd unicodePwd:: %s """ % (user_dn, base64.b64encode(pw).decode('utf-8')) ``` When doing the same, Samba returns: 00002035: setup_io: it's not allowed to set the NT hash password directly' Code: 0x35 This happens both when 1) passing `unicodePwd` during entry creation, and 2) when modifying it for an existing entry (like `samba-tool` does). This is the (Wireshark-interpreted) `ModifyRequest`: ``` Lightweight Directo...
2024 Oct 27
1
How to set `unicodePwd`? "it's not allowed to set the NT hash password directly"
...utf-16-le') > > setpw = """ > dn: %s > changetype: modify > replace: unicodePwd > unicodePwd:: %s > """ % (user_dn, base64.b64encode(pw).decode('utf-8')) > ``` > > When doing the same, Samba returns: > > 00002035: setup_io: it's not allowed to set the NT hash password > directly' Code: 0x35 > > This happens both when 1) passing `unicodePwd` during entry creation, > and 2) when modifying it for an existing entry (like `samba-tool` > does). > > This is the (Wireshark-interpreted) `Modif...
2024 Oct 27
1
How to set `unicodePwd`? "it's not allowed to set the NT hash password directly"
...t;"" >> dn: %s >> changetype: modify >> replace: unicodePwd >> unicodePwd:: %s >> """ % (user_dn, base64.b64encode(pw).decode('utf-8')) >> ``` >> >> When doing the same, Samba returns: >> >> 00002035: setup_io: it's not allowed to set the NT hash password >> directly' Code: 0x35 >> >> This happens both when 1) passing `unicodePwd` during entry creation, >> and 2) when modifying it for an existing entry (like `samba-tool` >> does). >> >> This is the (Wir...
2024 Oct 27
2
How to set `unicodePwd`? "it's not allowed to set the NT hash password directly"
...wd >>>>> unicodePwd:: %s >>>>> """ % (user_dn, base64.b64encode(pw).decode('utf-8')) >>>>> ``` >>>>> >>>>> When doing the same, Samba returns: >>>>> >>>>> 00002035: setup_io: it's not allowed to set the NT hash >>>>> password directly' Code: 0x35 >>>>> >>>>> This happens both when 1) passing `unicodePwd` during entry >>>>> creation, and 2) when modifying it for an existing entry (like >>>>...
2024 Oct 27
1
How to set `unicodePwd`? "it's not allowed to set the NT hash password directly"
...>>> replace: unicodePwd >>>> unicodePwd:: %s >>>> """ % (user_dn, base64.b64encode(pw).decode('utf-8')) >>>> ``` >>>> >>>> When doing the same, Samba returns: >>>> >>>> 00002035: setup_io: it's not allowed to set the NT hash >>>> password directly' Code: 0x35 >>>> >>>> This happens both when 1) passing `unicodePwd` during entry >>>> creation, and 2) when modifying it for an existing entry (like >>>> `samba-tool` doe...
2024 Oct 27
1
How to set `unicodePwd`? "it's not allowed to set the NT hash password directly"
...;> >> unicodePwd:: %s > >> >> """ % (user_dn, base64.b64encode(pw).decode('utf-8')) > >> >> ``` > >> >> > >> >> When doing the same, Samba returns: > >> >> > >> >> 00002035: setup_io: it's not allowed to set the NT hash > >> >> password directly' Code: 0x35 > >> >> > >> >> This happens both when 1) passing `unicodePwd` during entry > >> >> creation, and 2) when modifying it for an existing entry (like > >...
2024 Oct 27
1
How to set `unicodePwd`? "it's not allowed to set the NT hash password directly"
...t;> replace: unicodePwd >> >> unicodePwd:: %s >> >> """ % (user_dn, base64.b64encode(pw).decode('utf-8')) >> >> ``` >> >> >> >> When doing the same, Samba returns: >> >> >> >> 00002035: setup_io: it's not allowed to set the NT hash >> >> password directly' Code: 0x35 >> >> >> >> This happens both when 1) passing `unicodePwd` during entry >> >> creation, and 2) when modifying it for an existing entry (like >> >> `samba-tool...
2024 Oct 27
1
How to set `unicodePwd`? "it's not allowed to set the NT hash password directly"
...; unicodePwd:: %s >>>>>> """ % (user_dn, base64.b64encode(pw).decode('utf-8')) >>>>>> ``` >>>>>> >>>>>> When doing the same, Samba returns: >>>>>> >>>>>> ???? 00002035: setup_io: it's not allowed to set the NT hash >>>>>> password directly' Code: 0x35 >>>>>> >>>>>> This happens both when 1) passing `unicodePwd` during entry >>>>>> creation, and 2) when modifying it for an existing entry (like &...
2016 Jan 07
0
Allow self password change using LDAP(s) with Samba4
...old password, and adding the new one: > > dn: ........ > changetype: modify > delete: unicodePwd > unicodePwd: "Temporal1" > - > add: unicodePwd > unicodePwd: "Temporal2" > > Then I get this error: > > #!ERROR [LDAP: error code 53 - 00002035: setup_io: it's not allowed to set > the NT hash password directly'] > > The ldapmodify are executed using the self user credentials, i wouldn't > like to use the administrator account. Is this possible? Do I have to > change some settings in Samba4? > -- > To unsubscribe fro...
2024 Oct 27
1
How to set `unicodePwd`? "it's not allowed to set the NT hash password directly"
...>>>>> """ % (user_dn, base64.b64encode(pw).decode('utf-8')) >>>>>>> ``` >>>>>>> >>>>>>> When doing the same, Samba returns: >>>>>>> >>>>>>> ???? 00002035: setup_io: it's not allowed to set the NT hash >>>>>>> password directly' Code: 0x35 >>>>>>> >>>>>>> This happens both when 1) passing `unicodePwd` during entry >>>>>>> creation, and 2) when modifying it for an exist...
2024 Oct 27
1
How to set `unicodePwd`? "it's not allowed to set the NT hash password directly"
...t; """ % (user_dn, base64.b64encode(pw).decode('utf-8')) >>>>>>>> ``` >>>>>>>> >>>>>>>> When doing the same, Samba returns: >>>>>>>> >>>>>>>> ???? 00002035: setup_io: it's not allowed to set the NT hash >>>>>>>> password directly' Code: 0x35 >>>>>>>> >>>>>>>> This happens both when 1) passing `unicodePwd` during entry >>>>>>>> creation, and 2) when modifying...
2024 Oct 28
1
How to set `unicodePwd`? "it's not allowed to set the NT hash password directly"
...% (user_dn, base64.b64encode(pw).decode('utf-8')) >>>>>>>>> ``` >>>>>>>>> >>>>>>>>> When doing the same, Samba returns: >>>>>>>>> >>>>>>>>> ???? 00002035: setup_io: it's not allowed to set the NT hash >>>>>>>>> password directly' Code: 0x35 >>>>>>>>> >>>>>>>>> This happens both when 1) passing `unicodePwd` during entry >>>>>>>>> creation, and 2...