It looks like, for some reason, your driver is trying to pass the secondary
groups' names (full DNs) instead of the values in their uidNumber
attributes. Why is that happening? Don't know, but that seems to be it
based on a quick uninformed glance. You may want to find the code that
handles those adds and, before that processing tries to complete that add,
translate the DN to that user's uidNumber attribute's value, or something
like that. Again, hard to say since I don't have this set up.

Good luck.




> Hi newsgroup,
>
> Ive got a strange problem in synchronizing eDir-users to NIS(files)
> Ive defined a container in which all users and groups should be
> sychronized to a linux system.
> Driver is configured to set uid and primary group id, set the shell,
> homedir and so on. On the linux-side, communication is established using
> the java_remote_loader.
> A new eDir-user is immediately shown in /etc/passwd and /etc/shadow, has
> the right uid and primary group-id assigned, settings for bash and homedir
> are allright.
> But if this user is member of a second eDir-group, which is also
> associated to a local linux-group, the /etc/group will never show him.
> Obscuriosly, the user is showing the group-file associated with other
> groups, as uucp, video and so on. Ithink, these are default linux groups
> for everyone, right?
>
> Starting the driver leads to the following errors
>
> publisher:Code(-9046) Invalid password specified for <check-password>.
>
> subscriber:Code(-9006) The driver returned a "retry" status indicating
> that the operation should be retried later. Detail from driver: No
> connection to remote loader
>
> This seems to be an timeout during init...
>
> Creating a user works fine, making this user member of a second group
> leads to the following error (opening the group, adding a member)
>
> on the linux side:
>
> NISDriver: /usr/bin/gpasswd: invalid option -- M
> NISDriver: Try `gpasswd --help' or `gpasswd --usage' for more information.
> NISDriver: Error_dxSystem_handleGroupMod: -3
>
> in the subsriber log:
>
> Fatal
> <status level="error">Code(-9010) An exception occurred:
> java.lang.NumberFormatException: For input string: "\T=NW65TREE\O=nw65
> \OU=users\CN=dirsuper"
> at java.lang.NumberFormatException.forInputString
> (NumberFormatException.java:48)
> at java.lang.Long.parseLong(Long.java:394)
> at java.lang.Long.parseLong(Long.java:452)
> at com.novell.nds.dirxml.engine.event.DSEUtil.validat eNumber
> (DSEUtil.java:246)
> at com.novell.nds.dirxml.engine.event.DSEInteger.from XML
> (DSEInteger.java:122)
> at
> com.novell.nds.dirxml.engine.event.DSEAttributeVal ueFactory.createValue
> (DSEAttributeValueFactory.java:515)
> at
> com.novell.nds.dirxml.engine.Transformer$AttrValue Key.<init>
> (Transformer.java:2606)
> at com.novell.nds.dirxml.engine.Transformer$AttrEntry .addValue
> (Transformer.java:2643)
> at
> com.novell.nds.dirxml.engine.Transformer.readAttri butesIntoTable
> (Transformer.java:1228)
> at com.novell.nds.dirxml.engine.Transformer.createMer geDocuments
> (Transformer.java:956)
> at com.novell.nds.dirxml.engine.Publisher.processMerg e
> (Publisher.java:777)
> at com.novell.nds.dirxml.engine.Publisher.processAdd
> (Publisher.java:631)
> at com.novell.nds.dirxml.engine.Publisher.processEven t
> (Publisher.java:556)
> at com.novell.nds.dirxml.engine.Publisher.processEven ts
> (Publisher.java:466)
> at com.novell.nds.dirxml.engine.Publisher.execute
> (Publisher.java:178)
> at
> com.novell.nds.dirxml.remote.driver.PublicationShi mImpl.publish
> (PublicationShimImpl.java:259)
> at com.novell.nds.dirxml.remote.driver.PublicationShi mImpl.start
> (PublicationShimImpl.java:175)
> at com.novell.nds.dirxml.engine.Publisher.run(Publish er.java:316)
> at java.lang.Thread.run(Thread.java:534)
> <application>DirXML</application>
> <module>NIS_drv_linux</module>
> <object-dn>stueckler (nw65\users\stueckler)</object-dn>
> <component>Publisher</component>
> </status>
> stueckler (nw65\users\stueckler)
>
>
> TIA
>
> Tom