Password

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

 



Per Qvindesland wrote:
> Hi 
> 
> Thanks for replying, i will try but could you please give me a clue on where
> I might find this file?
> 
> Kind regards
> Per Qvindesland
> 
> 
> On 2/13/09 10:30 PM, "Rob Crittenden" <rcritten at redhat.com> wrote:
> 
>> You can put this just about anywhere in there, I'd put it around where
>> we check for and set homeDirectory, etc.
> 

I think the change should look something like (untested):

diff --git a/ipa-server/xmlrpc-server/funcs.py 
b/ipa-server/xmlrpc-server/funcs.
index cf9e7de..d5bbab2 100644
--- a/ipa-server/xmlrpc-server/funcs.py
+++ b/ipa-server/xmlrpc-server/funcs.py
@@ -623,6 +623,9 @@ class IPAServer:
          if user.get('gn'):
              del user['gn']

+        if not user.get('userpassword'):
+            user['userpassword'] = user['uid']
+
          # some required objectclasses
          entry.setValues('objectClass', 
(config.get('ipauserobjectclasses')))

On an installed system this is in 
/usr/lib/python2.5/site-packages/ipaserver/funcs.py

rob




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux