Version 1.25.1

Released: 2005-10-07

CMD_API_DB_USER create and modify new

API for user create and modify.

CMD_API_DB_USER
name=db_name

return list of users.

CMD_API_DB_USER
action=create
name=db_name
user=bob
passwd=pass
passwd2=pass
CMD_API_DB_USER
action=modify
name=db_name
user=user_bob
passwd=pass
passwd2=pass
CMD_API_DB_USER
action=delete
name=db_name
select0=user_bob
(select1=user_fred
.. etc)

Database delete can be found here:

API for databases

global USERLANG token new

Global token for the user language. Take from the user.conf, language=en.

Added number of free IP's to Reseller Stats (self view) new

Easy reference to see how many free IP's a Reseller has. Reseller Level -> Reseller Stats. "# of free IPs".

Also added |FREEIPS| token to the create reseller page, so admins can quickly see if they have enough, before creating the reseller.

CMD_API_SHOW_SERVICES new

CMD_API_SHOW_SERVICES

returns:

directadmin=on&exim=on&httpd=on&mysqld=on&named=on&proftpd=on&sshd=on&vm%2Dpop%33d=on

only returns that status of the programs listed in the /usr/local/directadmin/data/admin/services.status file. (ignores the on/off in that file, it just uses the name).

Admin level command.

Change main ftp account password with DA password new

Change main ftp account password with DA password. This will keep the 2 passwords in sync. Ability to change the ftp password independently will remain, so the user can still use a different ftp password if he/she wishes. If they want to do that and they change their DA pass, then they'll need to reset the ftp password to the different value.

Make all templates work from the custom folder fixed

Get all templates to work from the /usr/local/directadmin/data/templates/custom directory:

list.config
logs.list
mail_settings.html
outlook_setup.reg
user_prefs
webalizer.conf
login.html
message_user.txt
message_tech.txt
user_limit.txt
reseller_limit.txt
conf.sysbk
dns_a.conf
dns_cname.conf
dns_mx.conf
dns_ns.conf
email_pass_change/custom
filter_delete
filter_spamfolder
majordomo.cf
named.db
proftpd.vhosts.conf
zone.conf

are now all confirmed. (most already worked)

PORT token on resend welcome email fixed

PORT token added to the resend welcome email tokenizer.

Restore domain pointers/crons and cust_httpd fixed

Restore domain pointers/crons in restore done by Reseller.

The cust_httpd will be restored only if a Reseller/Admin account is doing the restore (so a User can't add his own customizations into the httpd.conf)

backup system restore fixed

Doesn't restore public_html files. Found to be a strange file descriptor issue. Added 2>&1 to the end of the tar command and closed the stderr socket, using the stdout instead.

Short term workaround (until release):

Edit /etc/cron.d/directadmin_cron (/etc/crontab on freebsd) and change:

* * * * * root /usr/local/directadmin/dataskq

to

* * * * * root /usr/local/directadmin/dataskq d >/dev/null

then reload crond.

package doesn't show cron option fixed

|*if RESELLERCRON="ON|

to

|*if RESELLERCRON="ON"|

in show_user_package.html, enhanced skin is the only affected skin.

Last Updated: