Hi Sven and All,
I'd like to say a big "
thank you" for your post.
I have successfully turned my TS209 II into a fully featured PDC.
One thing I thought I'd add is the ability to create users on the fly by using samba, and join machines to the domain without having to explicitly create an account on the samba server ....
I added the following to the [GLOBALS] section of the smb.conf file.
Code: Select all
##########################################################################
# NASBOX busybox version is ancient (version 1.01).
# Q-Nap has not upgraded and do not officially support an upgrade
# and any upgrade is overwritten during reboot.
# Therefore Using version 1.18.4 manually installed
# into the user data area "/share/HDA_DATA/busybox/"
# to ensure it is not overwritten at reboot
##########################################################################
add user script = /share/HDA_DATA/busybox/adduser -h /share/HDA_DATA/User/%u %u
delete user script = /share/HDA_DATA/busybox/deluser %u
add group script = /share/HDA_DATA/busybox/addgroup %g
delete group script = /share/HDA_DATA/busybox/delgroup %g
add user to group script = /share/HDA_DATA/busybox/addgroup %u %g
add machine script = /share/HDA_DATA/busybox/adduser -s /bin/false -h /share/HDA_DATA/Machines/nobody %u
Note: I installed the latest busybox to enable "add user to group" script. This is because the built in busybox version does not support this functionality. Also note that there is no busybox version built for the ARM 9 processor, but there is a generic version for all ARM processors and I have installed that version. It is impossible to overwrite the built in busybox version, so it is installed in a separate folder.
Also
Note: To create a user you must use "smbpasswd" (or whatever password means you have specified in the smb.conf). This automatically runs the "add user" script so the user is created both for samba use and for the linux box in one stroke. I have not experimented with the groups yet, but I suspect utilising "net" or "winbind" will have the same effect.
Also
Note: To add a windows machine to the domain, simply join the domain using the windows "join domain" wizard, and the machine will be created for you.
If someone has already posted this on information then I apologise.
Otherwise,
Hope this helps
Lucas