Sorry,
ldapsearch works fine sorry. I was referring to ypldap in that issue.
On Thu, 23 Oct 2008 10:27:53 +0200, Uwe Werler <[EMAIL PROTECTED]> wrote:
> Then please upgrade to the current version because there was a strange
> bug in Rev 1.7 of ldapclient.c.
>
>> I already tested it on the command line with ldapsearch. I ran slapd
>> with debugging on the command line to stderr. It indicates that
>> entries were found, but you don't see ypldap actually receiving those
>> entries.
>>
>> Regards.
>>
>> On Thu, 23 Oct 2008 10:04:36 +0200, Uwe Werler <[EMAIL PROTECTED]> wrote:
>> > Am Thu, 23 Oct 2008 01:02:18 +1100
>> > schrieb Gavin Norman <[EMAIL PROTECTED]>:
>> >
>> >> I attempted the steps based on your experience with ypldap.
>> >>
>> >> I downloaded a snapshot 2 days ago and setup a fresh install on a
>> >> virtual machine.
>> >>
>> >> However I get the following after running ypldap:
>> >>
>> >> # ypldap -dv
>> >> startup [debug mode]
>> >> configuration starting
>> >> applying configuration
>> >> connecting to directories
>> >> starting directory update
>> >> starting directory update
>> >> updates are over, cleaning up trees now
>> >> flattening trees
>> >>
>> >> I never receive the "pushing lines: ..." output.
>> >>
>> >> Here is my ypldap.conf:
>> >> interval 60 # how many seconds between retries
>> >> domain "domain.net.au" # only one domain for now
>> >>
>> >> provide map "passwd.byname"
>> >> provide map "passwd.byuid"
>> >> provide map "group.byname"
>> >> provide map "group.bygid"
>> >>
>> >> directory "ldap server" {
>> >> binddn "cn=Manager,dc=domain,dc=net,dc=au"
>> >> bindcred ""
>> >> basedn "ou=Users,dc=domain,dc=net,dc=au"
>> >>
>> >> passwd filter "(objectClass=posixAccount)"
>> >> attribute name maps to "uid"
>> >> fixed attribute passwd "*"
>> >> fixed attribute class "ldap"
>> >> attribute uid maps to "uidNumber"
>> >> attribute gid maps to "gidNumber"
>> >> attribute gecos maps to "cn"
>> >> attribute home maps to "homeDirectory"
>> >> attribute shell maps to "loginShell"
>> >> attribute change maps to "shadowLastChange"
>> >> fixed attribute expire "0"
>> >>
>> >> group filter "(objectClass=posixGroup)"
>> >> attribute groupname maps to "cn"
>> >> fixed attribute grouppasswd "*"
>> >> attribute groupgid maps to "gidNumber"
>> >> list groupmembers maps to "memberUid"
>> >> }
>> >>
>> >> Thanks.
>> >>
>> >
>> > Hi Gavin,
>> >
>> > what says a ldapsearch -x -h "ldap server" -D
>> > "cn=Manager,dc=domain,dc=net,dc=au" -W -b
>> "ou=Users,dc=domain,dc=net,dc=au"
>> > "(objectClass=posixAccount)" ?
>> >
>> > Regards Uwe
>
>
>
--
Gavin Norman
M: +614 0935 4020
E: [EMAIL PROTECTED]