search for: ldapmodify

Displaying 20 results from an estimated 179 matches for "ldapmodify".

2006 Aug 24
1
[OT] ldapmodify options for changing AD attributes
I have a samba 3 dc where users log on with their win xp workstations and I have a w2k3 domain where there is an exchange server the users connect to with outlook. I would like to do an ldapmodify command on active directory to initially align time password was set for both samba and exchane and then have the users notified when logon samba pwd is near to expirate and so they receive also outlook notification for changing w2k3 domain password. At the moment I'm investigating ldapmodif...
2018 Nov 09
2
Add LDAP entry using ldapmodify or ldapvi
Hello, how can I add LDAp entry useing ldapmodify or ldapvi --ldif? Is there an example elsewhere? best regards
2013 Mar 15
0
New LDAP puppet provider using ldapmodify, ldapadd, ldapdelete etc.
Hi all, I use openldap and it''s newer slapd.d style of housing the configuration (as opposed to /etc/openldap/slapd.conf ). As such, to modify the config, the database itself, I''d prefer to use ldapmodify and ldapadd commands. I couldn''t find an existing ldap provider to nicely manage database entries (DNs), so I wrote one. It essentially does this: - Translate the puppet "ldapdn" resource into an in-memory ldif - ldapsearch the existing dn to verify the current contents...
2016 Jan 05
0
LDAP permissions - ldbedit/ldapmodify?
...it and make the same >> changes on each DC) >> > Answering my own question here... it would appear not: > http://www.spinics.net/lists/samba/msg113387.html > > So, I'm now not certain what the "correct" way to fix this is. > > I don't think I can use ldapmodify, as none of the users (me!) who should > have access via LDAP actually do have access, so the AD side of things > would just reject the modify request. I did deliberately remove the > Administrators groups so that only my user group would have access. > > And I don't think I can...
2004 Sep 22
1
Protocol negotation failed
...conf; use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS $UID_START $GID_START $smbpasswd $slaveLDAP $masterLDAP $slavePort $masterPort $ldapSSL $slaveURI $masterURI $with_smbpasswd $mk_ntpasswd $ldap_path $ldap_opts $ldapmodify $suffix $usersdn $computersdn $groupsdn $scope $binddn $bindpasswd $slaveDN $slavePw $masterDN $masterPw $_userLoginShell $_userHomePrefix $_userGecos $_defaultUserGid $_defaultComputerGid...
2016 Jan 05
2
LDAP permissions - ldbedit/ldapmodify?
On 04/01/16 23:26, Jonathan Hunter wrote: > The story gets deeper, also.. (nothing is ever easy, right? :-)) > > Using the ldbsearch command above, I could at least view the SIDs that have > access to the OU. > > One of them should be a group called "mysecretou Managers"; I can see from > ADUC that my user is indeed still a member of this group (so far, so good).
2016 Jan 04
0
LDAP permissions - ldbedit/ldapmodify?
...rator I can't view or change the > permissions of ou=mysecretou using ADUC/ADSIEdit (This is exactly as I > originally set it). So, how can I change the permissions from the > commandline? Do I use ldbedit on a with different parameters, or on a > separate ldb file? Is there a "ldapmodify" command I can run - this would > presumably work better, as any changes would then be replicated to other > DCs as well. > > Thanks! > > Jonathan > They are stored in a hidden attribute called 'nTSecurityDescriptor' and if you want to see it, you will have to ex...
2016 Jan 05
0
LDAP permissions - ldbedit/ldapmodify?
On 5 Jan 2016 09:59, "Rowland penny" <rpenny at samba.org> wrote: > > On 04/01/16 23:26, Jonathan Hunter wrote: >> However, "wbinfo -s S-1-5-21-000000000-1111111111-2222222222-1234" does not >> return "DOMAIN\mysecretou Managers" as it should - but rather >> "DOMAIN\mysecretou Managers 2", which is not the name of the group and
2016 Jan 05
2
LDAP permissions - ldbedit/ldapmodify?
...-DC environment (or do I need to run it and make the same > changes on each DC) > Answering my own question here... it would appear not: http://www.spinics.net/lists/samba/msg113387.html So, I'm now not certain what the "correct" way to fix this is. I don't think I can use ldapmodify, as none of the users (me!) who should have access via LDAP actually do have access, so the AD side of things would just reject the modify request. I did deliberately remove the Administrators groups so that only my user group would have access. And I don't think I can use ldbedit, as I may sc...
2008 Oct 02
3
Half-OT: Modify several ldap entries
Hi, I want to fix several entries of mail attribute mail that have an error something like this: *john at domain.com *joe at domain.com *mary at domain.com and so on. I want to to change them to: john at domain.com joe at domain.com mary at domain.com (Delete asterisks) How can I perform it in one (or at least few) steps? thanks in advance! -- -- Open Kairos http://www.openkairos.com
2016 Jan 04
0
LDAP permissions - ldbedit/ldapmodify?
The story gets deeper, also.. (nothing is ever easy, right? :-)) Using the ldbsearch command above, I could at least view the SIDs that have access to the OU. One of them should be a group called "mysecretou Managers"; I can see from ADUC that my user is indeed still a member of this group (so far, so good). However, "wbinfo -s S-1-5-21-000000000-1111111111-2222222222-1234"
2014 Apr 30
2
Changing active directory user password via LDAP
..., lists. I'm struggling to find out, how one can change password of an active directory (based on samba4) user via LDAP. The problem is that if I try to use userPassword parameter: dn: CN=John Smith,cn=Users,DC=domain,DC=com changetype: modify replace: userPassword userPassword: newPassword ldapmodify -v -c -a -f filename.ldif -H ldaps://server.domain.com -D\ administrator at domain.com -W \ ldap_initialize( ldaps://server.domain.com:636/??base ) Enter LDAP Password: replace userPassword: newPassword modifying entry "CN=John Smith,cn=Users,DC=domain,DC=com" modify complete T...
2003 Apr 27
2
smbpasswd via cgi
...great. I think that it fails in theory however, because to change other users password, you need to be root ... So I was wondering if anyone knows what the encryption the smbpasswd uses to write the 2 passwords to the LDAP directory and then how to call them via a command line..then I can use the ldapmodify to do the change .. however, that line fails as well in the code below. If anyone has ideas or solutions, that would be absolutely brillant. -------- #!/usr/bin/perl use CGI; use strict; my $app = new CGI; my $username = $app->param('username'); my $password = $app->param('...
2016 Jan 04
2
LDAP permissions - ldbedit/ldapmodify?
...as MYDOMAIN\Administrator I can't view or change the permissions of ou=mysecretou using ADUC/ADSIEdit (This is exactly as I originally set it). So, how can I change the permissions from the commandline? Do I use ldbedit on a with different parameters, or on a separate ldb file? Is there a "ldapmodify" command I can run - this would presumably work better, as any changes would then be replicated to other DCs as well. Thanks! Jonathan -- "If we knew what it was we were doing, it would not be called research, would it?" - Albert Einstein
2004 Dec 23
1
Moving existing MD5 passwords to LDAP?
I have a dovecot installing working quite well for around 1000 users using passwd-file authentication. I'm moving to LDAP and would sure love to be able to migrate the existing MD5 passwords. I've tried using ldapmodify to set "userPassword" to {CRYPT}$1$H8JE0k5X$y.ptShgYbOgWF.99lX88N1 and {MD5}$1$H8JE0k5X$y.ptShgYbOgWF.99lX88N1 In both cases, ldapmodify exits without errors but I cannot bind using the new password. Any ideas? -Ben -- Ben Beuchler There is n...
2011 Mar 16
0
problems creating read-only, 'consumer' dirsrv replica
...hapter 8. When I get to "8.7.2. Configuring Consumers from the Command Line" ( http://docs.redhat.com/docs/en-US/Red_Hat_Directory_Server/8.1/html/Administration_Guide/Managing_Replication-Configuring-Replication-cmd.html#Configuring-Replication-Consumers-cmd ), I run into problems: 1) ldapmodify complains that I'm missing the required attribute 'nsds5replicaId'. So I add it, and guess at the replicaID number (cuz the guide says nothing about the ID). 2) even after resolving issue 1) above, I get an error: "ldap_add: No such object" The return value of the ldapmodify...
2002 Sep 08
2
sambaldap tools
..., Boston, MA 02111-1307, # USA. # Purpose : # . be the configuration file for all smbldap-tools scripts use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS $UID_START $GID_START $smbpasswd $slaveLDAP $masterLDAP $with_smbpasswd $mk_ntpasswd $ldap_path $ldap_opts $ldapsearch $ldapsearchnobind $ldapmodify $ldappasswd $ldapadd $ldapdelete $ldapmodrdn $suffix $usersdn $computersdn $groupsdn $scope $binddn $bindpasswd $slaveDN $slavePw $masterDN $masterPw $_userLoginShell $_userHomePrefix $_userGecos $_defaultUserGid $_defaultComputerGid $_skeletonDir $_userSmbHome $_userProfile $_userHomeDrive $_userS...
2015 Dec 30
4
Allow self password change using LDAP(s) with Samba4
...ing 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?
2018 Jun 27
3
AD LDAP
...k into samba ldap in the same way I can look into OpenLdap via LDAPAdmin, ldap tools etc, when I know OpenLDAP "root" dn and password? Is there such "root" user for Samba AD LDAP?    We have a lot of scripts based on "ldapsearch" (without authentification) and "ldapmodify" (with ldap authentification). It would be very unpleasant if we can not use the scripts with SambaAD.  Thanks, Michal  
2015 Apr 07
3
Samba 4 , ful list of LDAP-style attributes
Good Day all I am going to create few scripts that uses the ldapmodify in order to populate and samba4 Domain, I was wondering , what is the full list of attributes that a samba 4 domain supports? thanks ___________________________________________________________________________________________ Mario Pio Russo, System Admin SWG IT Services Dublin, Phone & FAX: +...