No answers so far... ok..
Anyway, I found the solution for ISSUE 1 in some newsgroups (thanks Wolfgang Wilhelm), and I'm posting it here for future reference of other users.
Since samba 3.x instead of "add user script", "add machine script" should se used:
Code:
#For adding machines automaticaly
add machine script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -M %u
#For password sync when changing user in samba
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *Enter*new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *passwd: *all*authentication*tokens*updated*successfully*
(As you noticed I've also included a bit of configuration that allows the unix pwd be changed when the samba one is...)
Can anyone help me on ISSUE 2, regarding profiles?
Also I'm having some problems with apache:
http://www.linuxquestions.org/questi...hreadid=262829