Re: [389-users] DNA not working?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Rob.
Yes, you are right. Thank you.

I have found it in sources of FDS. And i am wonder with this. There is
miskate in documentation?


Rob Crittenden wrote:
> Dmitry Amirov wrote:
>> Hello.
>>
>> I have a problem with DNA plugin.
>> I have installed it in according with documentation and have done:
>> 1)
>> dn: cn=Distributed Numeric Assignment Plugin,cn=plugins,cn=config
>> changetype: modify
>> replace: nsslapd-pluginEnabled
>> nsslapd-pluginEnabled: on
>>
>> 2)
>> dn: cn=Account UIDs,cn=Distributed Numeric Assignment
>> Plugin,cn=plugins,cn=config
>> objectClass: top
>> objectClass: extensibleObject
>> cn: Account UIDs
>> dnatype: uidNumber
>> dnafilter: (objectclass=posixAccount)
>> dnascope: ou=People, dc=aqua
>> dnanextvalue: 1
>> dnaMaxValue: 1300
>> dnasharedcfgdn: cn=Account UIDs,ou=Ranges,dc=aqua
>> dnathreshold: 100
>> dnaRangeRequestTimeout: 60
>> dnaMagicRegen: magic
>>
>> After that server has been restarted and i tryed to add new posixAccount
>> entry.
>> dn: uid=jsmith, ou=people,dc=aqua
>> objectClass: top
>> objectClass: person
>> objectClass: posixAccount
>> uid: jsmith
>> cn: John Smith
>> sn: Smith
>> homeDirectory: /home/smith
>> gidNumber: 123
>>
>> So, DNA not working with error:
>> adding new entry uid=jsmith, ou=people,dc=aqua
>> ldap_add: Object class violation
>> ldap_add: additional info: missing attribute "uidNumber" required by
>> object class "posixAccount"
>>
>> Please help with DNA. It's very important for me. Now i am using clean
>> openldap+smbldap-tools, but i want to migrate to FDS.
>>
>> Thanks a lot.
>
> What version of 389/FDS is this?
>
> My working config looks like:
>
> dn: cn=Posix Accounts,cn=Distributed Numeric Assignment
> Plugin,cn=plugins,cn=config
> objectclass: top
> objectclass: extensibleObject
> cn: Posix Accounts
> dnaType: uidNumber
> dnaNextValue: 1100
> dnaInterval: 1
> dnaMaxValue: 10000
> dnaMagicRegen: 999
> dnaFilter: (objectclass=posixAccount)
> dnaScope: dc=example,dc=com
>
> rob
> ------------------------------------------------------------------------
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>   

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux