FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Directory

 
 
LinkBack Thread Tools
 
Old 09-29-2010, 03:40 PM
Gerrard Geldenhuis
 
Default User insert fails... because of pwpolicy?

Hi
Adding a user with the following ldif file:

dn: uid=SystemAuthentication,ou=Service Accounts,dc=mycompany
givenName: System
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetorgperson
sn: Authentication
cn: SystemAuthentication
uid: SystemAuthentication
userPassword: {SSHA}blah


fails with:
ldapadd: Object class violation (65)
additional info: single-valued attribute "passwordExpirationTime" has multiple values

Does this fail because the enabled password policy is also trying to add a value?

Is there a way to override this other than doing a ldapmodify after adding the users?

Best Regards

__________________________________________________ ______________________
In order to protect our email recipients, Betfair Group use SkyScan from
MessageLabs to scan all Incoming and Outgoing mail for viruses.

__________________________________________________ ______________________
--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 
Old 09-29-2010, 08:48 PM
Rich Megginson
 
Default User insert fails... because of pwpolicy?

Gerrard Geldenhuis wrote:
> Hi
> Adding a user with the following ldif file:
>
> dn: uid=SystemAuthentication,ou=Service Accounts,dc=mycompany
> givenName: System
> objectClass: top
> objectClass: person
> objectClass: organizationalPerson
> objectClass: inetorgperson
> sn: Authentication
> cn: SystemAuthentication
> uid: SystemAuthentication
> userPassword: {SSHA}blah
>
>
> fails with:
> ldapadd: Object class violation (65)
> additional info: single-valued attribute "passwordExpirationTime" has multiple values
>
> Does this fail because the enabled password policy is also trying to add a value?
>
https://bugzilla.redhat.com/show_bug.cgi?id=489379
> Is there a way to override this other than doing a ldapmodify after adding the users?
>
not sure
> Best Regards
>
> __________________________________________________ ______________________
> In order to protect our email recipients, Betfair Group use SkyScan from
> MessageLabs to scan all Incoming and Outgoing mail for viruses.
>
> __________________________________________________ ______________________
> --
> 389 users mailing list
> 389-users@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/389-users
>

--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 

Thread Tools




All times are GMT. The time now is 04:20 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org