Can we change ldap port and listenning port?

Andrew Bartlett abartlet at
Tue Nov 2 05:19:04 MDT 2010

On Mon, 2010-11-01 at 11:20 -0500, john Siu wrote:
> According to, the ldap come with samba4 is only used by sambe4 itself and is not meant to be a general purpose ldap.
> Is it possible to change the port and IP it is listening to avoid conflicting with a general purpose ldap server like openldap?
> Currently samba4 ldap is listening on all ips:
> tcp        0      0   *               LISTEN
> udp        0      0 *
> udp        0      0   *
> Will be great if it is possible to change the port and even limit the listening ip to localhost.

No, you cannot change the port, or make it listen on only localhost, and
still provide Active Directory service to your network.

Andrew Bartlett

Andrew Bartlett                      
Authentication Developer, Samba Team 
Samba Developer, Cisco Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the samba-technical mailing list