Hi I have samba-3.0.10-1.4E.2 running on Redhat EL4 which I am trying to integrate with Redhat directory. I have had to shift the LDAP port from 389 to another location When I run testparm I get the following error [root@TestServer ~]# testparm Load smb config files from /etc/samba/smb.conf Unknown parameter encountered: "ldap port" Ignoring unknown parameter "ldap port" Processing section "[netlogon]" Processing section "[profiles]" Processing section "[homes]" What can I do to fix this? Many thanks Mike
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mike van Lokven a ?crit :> Hi > > I have samba-3.0.10-1.4E.2 running on Redhat EL4 which I am trying > to integrate with Redhat directory. I have had to shift the LDAP > port from 389 to another location > > When I run testparm I get the following error > > [root@TestServer ~]# testparm Load smb config files from > /etc/samba/smb.conf Unknown parameter encountered: "ldap port" > Ignoring unknown parameter "ldap port" Processing section > "[netlogon]" Processing section "[profiles]" Processing section > "[homes]" > > What can I do to fix this? > > Many thanks > > Mike >Please read doc and howto available on samba website. ldap port is a parameter for samba 2.2.x, if the package from redhat is not compiled with --ldapsam option, you have not this parameter. You must use ldap backend parameter for setting up connection to ldap backend. - -- St?phane Purnelle <stephane.purnelle@tiscali.be> Site Web : http://www.linuxplusvalue.be -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDneTM8tswkE3d0ecRAr9tAJ91rT5XqOkwkppAJbHnZwJb7Nnb1gCffkkM XdxgypEMPLbv6hPpDMOMIQo=L7oX -----END PGP SIGNATURE-----
Thanks Stephanie I am a bit weary to do a special compile of samba as this would possibly get broken when the system next updates the samba server via yum. I understood that samba v3 did support LDAP as standard out of the box. I may guess that there is no way round this at the moment for us. Many thanks Mike St?phane Purnelle wrote:>-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Mike van Lokven a ?crit : > > > >>Hi >> >>I have samba-3.0.10-1.4E.2 running on Redhat EL4 which I am trying >>to integrate with Redhat directory. I have had to shift the LDAP >>port from 389 to another location >> >>When I run testparm I get the following error >> >>[root@TestServer ~]# testparm Load smb config files from >>/etc/samba/smb.conf Unknown parameter encountered: "ldap port" >>Ignoring unknown parameter "ldap port" Processing section >>"[netlogon]" Processing section "[profiles]" Processing section >>"[homes]" >> >>What can I do to fix this? >> >>Many thanks >> >>Mike >> >> >> >Please read doc and howto available on samba website. >ldap port is a parameter for samba 2.2.x, if the package from redhat >is not compiled with --ldapsam option, you have not >this parameter. You must use ldap backend parameter for setting up >connection to ldap backend. > >- -- >St?phane Purnelle <stephane.purnelle@tiscali.be> >Site Web : http://www.linuxplusvalue.be >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.4.1 (GNU/Linux) >Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > >iD8DBQFDneTM8tswkE3d0ecRAr9tAJ91rT5XqOkwkppAJbHnZwJb7Nnb1gCffkkM >XdxgypEMPLbv6hPpDMOMIQo>=L7oX >-----END PGP SIGNATURE----- > > >
? ????????? ?? ???????????, 12-???-2005 23:15 Mike van Lokven ???????(a):> I am a bit weary to do a special compile of samba as this would possibly > get broken when the system next updates the samba server via yum. > I understood that samba v3 did support LDAP as standard out of the box. > I may guess that there is no way round this at the moment for us.oh well, as you can use ldap backend: "passdb backend = ldapsam:ldap://ldap.example.com", i think it is possible to specify port jist in URI: "passdb backend = ldapsam:ldap://ldap.example.com:1031"