Skip to content

Use the Ldap factory in the ldap service definition #7413

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 2, 2018

Conversation

nietonfir
Copy link
Contributor

as LdapClient has been marked deprecated in 3.1.

Refs symfony/symfony#19008

@csarrazi Hope this is correct.

@@ -94,12 +105,16 @@ definition:

$container
->setDefinition('ldap', new Definition(LdapClient::class, array(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you need to update the class name here and add the factory too.

@csarrazi
Copy link
Contributor

@nietonfir I would advise you to make your pull request against the existing PR for the 3.1 version of the component: See #6982

@nietonfir
Copy link
Contributor Author

nietonfir commented Jan 30, 2017

@csarrazi @xabbuh Rebased from #6982 as well as current HEAD of the 3.1 branch and updated the PHP service definition.

@nietonfir nietonfir force-pushed the ldap_factory branch 2 times, most recently from 1cfe6e7 to 7ba300c Compare January 30, 2017 22:48
port: '389' # port
version: 3 # version
encryption: 'none' # either 'tls', 'ssl' or 'none'
debug: false, # Enable debugging output

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

trailing comma

@csarrazi
Copy link
Contributor

csarrazi commented Jul 9, 2017

👍

@xabbuh
Copy link
Member

xabbuh commented Sep 15, 2017

@nietonfir I am sorry that we did not merge your PR earlier. In the meantime, support was dropped for Symfony 3.1 and 3.2 and we did some other changes to the Ldap component docs. Could you rebase your PR onto the 3.3 branch?

@xabbuh xabbuh added this to the 3.3 milestone Sep 15, 2017
@nietonfir
Copy link
Contributor Author

Done.

@nietonfir nietonfir changed the base branch from 3.1 to 3.3 September 18, 2017 21:42
@javiereguiluz
Copy link
Member

@nietonfir thanks for this contribution and I'm sorry it took us so long to merge this.

@javiereguiluz javiereguiluz merged commit d428f8d into symfony:3.3 Jan 2, 2018
javiereguiluz added a commit that referenced this pull request Jan 2, 2018
…razi)

This PR was merged into the 3.3 branch.

Discussion
----------

Use the Ldap factory in the ldap service definition

as LdapClient has been marked deprecated in 3.1.

Refs symfony/symfony#19008

@csarrazi Hope this is correct.

Commits
-------

d428f8d Updated LDAP documentation for Symfony 3.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants