Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - dragonslayr

Pages: [1]
1
version 1.2.9.2  on hardy
I trying to change user passwords and get the error below.  Any ideas?  I've removed and reinstalled jabber, but thats as far as I've gone..

A really nasty bug has occurred
Exception
Unknown error at EBox::UsersAndGroups::_modifyUserPwd unrecognized objectClass 'userJabberAccount'
Trace
Unknown error at EBox::UsersAndGroups::_modifyUserPwd unrecognized objectClass 'userJabberAccount' at /usr/share/perl5/EBox/Ldap.pm line 615
EBox::Ldap::_errorOnLdap('Net::LDAP::Modify=HASH(0xab44078)', 'HASH(0xab520bc)') called at /usr/share/perl5/EBox/Ldap.pm line 300
EBox::Ldap::modify('EBox::Ldap=HASH(0x93f49d0)', 'uid=sromero,ou=Users,dc=ebox', 'HASH(0xab520bc)') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 521
EBox::UsersAndGroups::_modifyUserPwd('EBox::UsersAndGroups=HASH(0x93f4a60)', 'sromero', 'admin') called at /usr/share/perl5/EBox/UsersAndGroups.pm line 585
EBox::UsersAndGroups::modifyUser('EBox::UsersAndGroups=HASH(0x93f4a60)', 'HASH(0xaaffd84)') called at /usr/share/perl5/EBox/CGI/UsersAndGroups/ModifyUser.pm line 82
EBox::CGI::UsersAndGroups::ModifyUser::_process('EBox::CGI::UsersAndGroups::ModifyUser=HASH(0xab43ed4)') called at /usr/share/perl5/EBox/CGI/Base.pm line 261
EBox::CGI::Base::run('EBox::CGI::UsersAndGroups::ModifyUser=HASH(0xab43ed4)') called at /usr/share/perl5/EBox/CGI/Run.pm line 120
EBox::CGI::Run::run('EBox::CGI::Run', 'UsersAndGroups/ModifyUser', 'EBox') called at /usr/share/ebox/cgi/ebox.cgi line 19
ModPerl::ROOT::ModPerl::Registry::usr_share_ebox_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0x8f9251c)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x9417774)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x9417774)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x8f9251c)') called at -e line 0
eval {...} called at -e line 0


2
Installation and Upgrades / fetchmail bulk users
« on: April 19, 2010, 10:41:58 pm »
I see fetchmail has been added to version 1.4. Seems to work very well. However, it resides in the user corner. You guys have a lot of faith in the users. :)

Anyway, it'd be nice to have an interface in the admin interface as well because we are the dummy's who will be setting it up for them.  It's difficult to do for the users unless you know all their current passwords.

So, two questions, is there a file we can edit to add multiple users?

3
Installation and Upgrades / email notifications
« on: October 14, 2009, 12:19:47 am »
I do not seem to be getting email notifications of replies to threads., though I had been until last week. I checked my logs and do not see attempts to email..


4
Installation and Upgrades / edit existing share
« on: September 28, 2009, 09:21:15 am »
I need to add a line to an existing share, however, the share is not in the
/usr/share/ebox/stubs/samba/smb.conf.mas file. Of course, it is in the /etc/samba/smb.conf file.So, where is it where the edit will not disappear?

Anyone know?

5
Installation and Upgrades / show stoppers - bugs - features
« on: September 20, 2009, 03:44:11 pm »
There are a few "shop stoppers" in ebox, and I thought it might be helpful to let the guys that work so hard on this software know which lack of a feature or bug keeps you from using ebox or just made you want to cry..  :)

The show stoppers "high priority" issues I've seen so far are..


Lack of dsl support PPPOE (or dynamic support for cable users)
Restoring a "configuration" zaps the user data. (They may have addressed this one already)
Rdiff backup turned on to /mnt/backup fills up a drive


Let's keep this to the "high priority" issues if we can because there is already a place for "wishlist" items.





6
Installation and Upgrades / backup
« on: September 18, 2009, 12:07:22 am »
I'm trying to change the backup location to /mnt/backup/pdc

Ebox keeps saying the directory does not exist. It does, and I tried chmod 777 /mnt/backup/pdc

Am I missing something?

7
Installation and Upgrades / getmail fetchmail script
« on: September 12, 2009, 08:28:32 am »
Here's a script to fetch pop3 mail for a single, or multiple users. It also supports bulk getmailrc file creation.

Example usage is:
getmail_create bob password bthomas
bob is the remote user
password is the remote password
bthomas is the local ebox user


Run it as a user other than root. Directions are included. Enjoy..

Code: [Select]
#!/bin/bash

# This script does the following.
# Creates the .getmail directory with limited priviliges (0700)
# Creates a script in the .getmail directory to be run by cron to retrieve the mail
# Creates individual --rcfile's for each user



# *****  Directions ***********************************************
# Install getmail
# apt-get install getmail4
#
# Put this script in a file called getmail_create (preferably in your path)
# chmod 755 getmail_create
#
# Edit below these instructions for the remote pop domain name and the local domain name
#
# Then run the file.
# ./getmail_create remote_user remove_password local_user
#
# On first run, it will create the .getmail/getmail_all.sh script to be put in your crontab
#
# Run crontab -e   (and insert the below line to run every 10 minuts)
# */10 * * * * ~/.getmail/getmail_all.sh
# Thereafter, when you create other accounts, they will be automatically added to the getmail_all.sh file.
#
# If you'd like to start over, simply delete the contents of the ~/.getmail directory.
# Finaly, you might consider creating a script to bulk generate your users
#
# *******************************************************************




# Example of script to bulk generate (don't forget to chmod 755 bulk_getmail_create)
# ***************Begin bulk script*******************************
# #!/bin/bash
# getmail_create bob password bob
# getmail_create nancy password fancynancy
# getmail_create frank password franky
#
# ***************End bulk script**********************************

# Usage: getmail_create remote_username remote_password local_user


#############################################################
########## Edit below to fit your needs #####################
#############################################################


# The server you are to retrieve mail from

incoming_server=pop3.rcrnet.net



# Domain name your ebox server accepts mail for ie: ebox.com

sendto_domain=ebox.com



# Handy for testing, though later you may prefer to change to true
# Delete the mail from the pop server after retrieving? ie true or false
# Remember, you'll have to either edit each getmailrc file manually or
# recreate them all after changing this value..
# However, a global change of this value is easily done with sed from the command line
# ie: sed -i 's/delete = false/delete = true/g'  getmailrc*

delete_mail=false


#############################################################
############ Do not edit below this line ####################
#############################################################



# Username on the remote server
username=$1

# Password on the remote server
password=$2

create_file=~/.getmail/getmailrc_$1

local_user=$3

script_build=~/.getmail/getmail_all.sh


   #if [ "$USER" = "root" ]
   if [ "$(id -u)" = "0" ]
       then
                     echo
           echo '************** Must not be root!  ******************'
           echo You can not run this script as root!
           echo

       exit 1

       else


           echo executing script as $USER ...
  echo

   fi





if [ ! $3 ];

  then

      echo Must have three perimeters...
      echo usage: getmail_create remote_username remote_password local_user
      echo ie getmail_create bob password bob
  exit 1

fi






if [ ! -d $HOME/.getmail ];

  then

      mkdir -m 0700 $HOME/.getmail

fi




if [ ! -f $create_file ];

     then

       # create getmailrc
cat << EOF > $create_file
[retriever]
type = SimplePOP3Retriever
server = $incoming_server
username = $username
password = $password

[destination]
type = MDA_external
path = /usr/sbin/sendmail
arguments = ("-bm", "$local_user@$sendto_domain")
unixfrom = true

[options]
verbose = 0
delete = $delete_mail
# message_log = ~/.getmail/log
# delete_dup_msgids = true

EOF


if [ ! -f $script_build ];

  then
       echo "#!/bin/bash" > $script_build
       echo "# Auto-generated getmail script to be put in crontab -e" >> $script_build
       echo "# crontab example: */10 * * * * $script_build" >> $script_build
       chmod 755 $script_build
       echo First run generated $script_build
       echo "# crontab example: */10 * * * * $script_build"
       echo
       echo getmail \\>> $script_build
       echo --rcfile getmailrc_$username \\ >> $script_build

      exit 1

  else

      echo --rcfile getmailrc_$username \\ >> $script_build

   fi

exit



  else

  echo File exists.. Aborting..
  echo

    exit 1

fi




if [ $? -ne 0 ];

   then

          echo Could not generate $create_file . Aborting..

          exit 1

   else

      echo File $create_file created

fi

exit




8
Installation and Upgrades / ebox praise
« on: August 28, 2009, 07:11:48 am »
I just read through the new documentation. Since I'm rather new to ebox, though I'd looked at it a long while back, I can not comment on to much. But what I see, integration with ubuntu, ease of use of a complicated set of programs, and now documentation that is really really good. I just wanted to say I'm totally impressed! Thank you!



9
Installation and Upgrades / link to forum
« on: August 26, 2009, 07:18:46 pm »
Rather than do a google search for "ebox forum", I'd like to see a link to the forum under "community" at the ebox website. If I'm just blind as a bat and missing it, just let me know..  :)

Pages: [1]