ISPsystem.com Forums

ISPsystem.com Forums (http://forum.ispsystem.com//index.php)
-   Troubleshooting (http://forum.ispsystem.com//forumdisplay.php?f=11)
-   -   domain ownership bug (http://forum.ispsystem.com//showthread.php?t=1405)

mavik 02-14-2011 11:34 PM

domain ownership bug
 
Hi, still when I delete some user's FTP account, all DNS records held by this user lose their owner. As an example, I created a user "testuser", his FTP account "test" and his DNS record "test.domain". After removal of the "testuser_test" FTP account, DNS record "test.domain" disappeared from file ispmgr.conf ...

Code:

root@beta:~# cat /usr/local/ispmgr/var/ispmgr.log | grep "testuser"
Feb 14 21:09:52 [15978] INFO Request [#.#.#.#][#] 'name=testuser&passwdgen=*&passwd=hHfawupGZUF2&confirmgen=*&confirm=hHfawupGZUF2&owner=root&ip=none&domain=&preset=custom&email=&disklimit=0&ftplimit=10000&maillimit=10000&domainlimit=10000&webdomainlimit=10000&maildomainlimit=10000&baselimit=10000&baseuserlimit=10000&bandwidthlimit=100000000&cpulimit=0&memlimit=0&proclimit=0&mysqlquerieslimit=0&mysqlupdateslimit=0&mysqlconnectlimit=0&note=&func=user.edit&elid=&sok=ok'
Feb 14 21:09:52 [15978] EXTINFO Execute (/bin/cp -Rp /usr/local/ispmgr/etc/home.skel /var/www/testuser/data) return=0 exited
Feb 14 21:09:52 [15978] EXTINFO Execute (/bin/chown -R 1112:1035 /var/www/testuser/data) return=0 exited
Feb 14 21:09:52 [15978] EXTINFO Load config 'var/userconf/ispmgr.testuser'
Feb 14 21:10:18 [15978] INFO Request [#.#.#.#][#] 'func=user.su&elid=testuser'
Feb 14 21:10:18 [15978] INFO Request [#.#.#.#][testuser] ''
Feb 14 21:10:18 [15978] INFO Request [#.#.#.#][testuser] 'func=ftp'
Feb 14 21:55:18 [15978] INFO Request [#.#.#.#][testuser] 'func=ftp.edit&plid=&operafake=218'
Feb 14 21:55:18 [15978] EXTINFO Load config 'var/userconf/ispmgr.testuser.defaults'
Feb 14 21:55:28 [15978] INFO Request [#.#.#.#][testuser] 'name=test&passwdgen=*&passwd=3HDbsTkmOhyu&confirmgen=*&confirm=3HDbsTkmOhyu&htype=equalme&dir=&disklimit=0&note=&func=ftp.edit&elid=&sok=ok'
Feb 14 21:55:28 [15978] INFO Request [#.#.#.#][testuser] 'func=ftp'
Feb 14 21:55:30 [15978] INFO Request [#.#.#.#][testuser] 'func=domain&clickstat=yes'
Feb 14 21:55:32 [15978] INFO Request [#.#.#.#][testuser] 'func=domain.edit&plid=&operafake=68'
Feb 14 21:55:32 [15978] EXTINFO Load config 'var/userconf/ispmgr.testuser.defaults'
Feb 14 21:55:43 [15978] INFO Request [#.#.#.#][testuser] 'name=test.domain&ip=#.#.#.#&ns=ns1.#.#.+ns2.#.#.&ns_list=&mx=mail.#.#.&mx_list=&func=domain.edit&elid=&sok=ok'
Feb 14 21:55:43 [15978] INFO Request [#.#.#.#][testuser] 'func=domain&clickstat=yes'
root@beta:~# cat /usr/local/ispmgr/etc/ispmgr.conf | grep "test.domain"
Domain test.domain 1112
root@beta:~# cat /usr/local/ispmgr/var/ispmgr.log | grep "testuser"
Feb 14 21:57:01 [15978] INFO Request [#.#.#.#][testuser] 'func=ftp&clickstat=yes'
Feb 14 21:57:20 [15978] INFO Request [#.#.#.#][testuser] 'func=ftp.delete&elid=testuser_test'
Feb 14 21:57:20 [15978] INFO Request [#.#.#.#][testuser] 'func=ftp&clickstat=yes'
Feb 14 21:57:21 [15978] INFO Request [#.#.#.#][testuser] 'func=domain&clickstat=yes'
root@beta:~# cat /usr/local/ispmgr/etc/ispmgr.conf | grep "test.domain"
root@beta:~#

Where the problem may be?

GakcaT 02-15-2011 02:02 AM

The problem has been fixed. The changes will be available in the next update for branch "current".


All times are GMT +2. The time now is 05:58 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.