search for: ldap_modifi

Displaying 16 results from an estimated 16 matches for "ldap_modifi".

Did you mean: ldap_modify
2014 Feb 17
1
ldap_modify change password
Hello, I would like to change samba4 AD user's password using php. Here's my code: function UpdateLdapPassword($username, $newpassword) { global $ds; global $rdn; $entry["clearTextPassword"][0]=base64_encode(iconv('UTF-8','UTF-16LE',$newpassword)); $bReturn= ldap_modify ($ds, $rdn, $entry);
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,
2013 Jan 30
3
Solaris 11 can't join Active Directory Domain
Hi, I'm running a Active Directory domain on Samba 4.0.1 and I'm trying to join a Solaris 11 machine this domain: # smbadm join -u Administrator DOMAIN After joining DOMAIN the smb service will be restarted automatically. Would you like to continue? [no]: yes Enter domain password: Locating DC in DOMAIN ... this may take a minute ... Joining DOMAIN ... this may take a minute ... failed
2014 Apr 30
2
Changing active directory user password via LDAP
Hello, 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
2002 May 09
1
Error when running smbldap-useradd.pl -a
Hi! I'm following the idealx setup on setting up Samba as a PDC with a LDAP backend. It says, to add a user, one should do: smbldap-useradd.pl -a -m -g 900 administrator This gives me the following error message: ldap_modify: Object class violation additional info: object class 'sambaAccount' requires attribute 'rid' ldif_record() = 65
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
2014 Mar 17
1
Additional indexes in Samba4
Hi, I've found in the list how to add new indexes to Samba4. I read the you have to modify the searchFlags attr in the schema. I've tried but fails. # ldapmodify -f uid.ldif SASL/GSSAPI authentication started SASL username: administrator at mydomain.local SASL SSF: 56 SASL data security layer installed. modifying entry "CN=uid,CN=Schema,CN=Configuration,DC=mydomain,DC=local"
2016 Jul 28
4
Why is Samba4 not recommended as a file server?
On 28/07/16 11:53, mathias dufresne wrote: > > > 2016-07-28 12:27 GMT+02:00 Rowland penny <rpenny at samba.org > <mailto:rpenny at samba.org>>: > > On 28/07/16 10:32, mathias dufresne wrote: > > Can you explain why it would be an issue giving GID to "Domain > Admins" group? > > > This is because Domain Admins has to
2016 Jul 28
2
Why is Samba4 not recommended as a file server?
On 28/07/16 13:59, Jim Seymour wrote: > On Thu, 28 Jul 2016 13:15:43 +0100 > Rowland penny <rpenny at samba.org> wrote: > > [snip] >> Yes it does sound strange, but, on windows, groups can and do own >> directories & files. An xidNumber is just that, a number, it is the >> context in how that number is used that is important. If you give >> Domain
2016 Jul 28
0
Why is Samba4 not recommended as a file server?
On Thu, 28 Jul 2016 13:15:43 +0100 Rowland penny <rpenny at samba.org> wrote: [snip] > > Yes it does sound strange, but, on windows, groups can and do own > directories & files. An xidNumber is just that, a number, it is the > context in how that number is used that is important. If you give > Domain Admins a gidNumber attribute, then Domain Admins becomes just > a
2002 Nov 13
0
Samba 3.0a20 lldap error: attribute rid not allowed
I am attempting to configure samba 3.0 alpha 20 for ldap use using the PDC docs provided by idealx. I have copied the samba.schema file into /etc/openldap/schema and added the line to include it in slapd.conf. I also created the initial ldap entries using the base_ldif they include in their doc. When I try to add any user (example): smbldap-useradd.pl -a -m -g 200 administrator -W After
2003 Aug 14
1
Samba3/OpenLDAP2.1.x Tools
I'm trying to configure a Samba3/OpenLDAP2.1.x PDC following the very sparse documentation that is out there with little success. My current issue is finding a set of tools that will work successfully with Samba3 and the new samba.schema that works with OpenLDAP2.1.x. I've been trying recently to get the IDEALX tools to work, but without success. Does anyone have any suggestions on
2016 Jul 28
0
Why is Samba4 not recommended as a file server?
Just to throw in my two cents, I too would love to see winbind on a DC "act" the same as it does on a non-DC. I use my DCs as file servers, but have had to use a number of workarounds because of how winbind acts differently on a DC. I've not only had trouble with the idmappings, but the fact that it doesn't honor all of the rfc2307 attributes. For instance, I have a couple of
2018 Mar 08
3
Fwd: Migrating server
Hi Harry, sadmin and tadmin are both admin logins. I was trying to domain join with both. sadmin is in ldap The olcdbindex.ldif gave this error SASL/EXTERNAL authentication started SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth SASL SSF: 0 modifying entry "olcDatabase={1}hdb,cn=config" ldap_modify: Other (e.g., implementation specific) error (80) additional
2004 Mar 09
4
Samba and LDAP backend - howto docs problems?
Hi all, I have followed the instructions at http://samba.mirror.ac.uk/samba/docs/man/passdb.html in an attempt to set up a Samba v3.0.2 (supplied by Redhat as part of RHEL v3.0) PDC. I have got as far as trying to get a windows 2k box to join this new domain that I have created, however this fails with the error "Logon failure: unknown user name or password". Samba itself logs
2018 Mar 05
9
Fwd: Migrating server
Hi Gruss, At this stage there is only one server, running 3.6.25 on Ubuntu12.04. The plan to get LDAP to work on this one. Then add the second server 4.x and the promote it to BDC and then demote this one. Just a side info, we didn't want to go tdbsam in both as I read it breaks the domain trust. The domain names are real ones. I ran the commands you suggested, nothing in reply. I tried