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