Hi all,
i'm just experimenting with dynamic share-handling
and have a little problem:
supposing a share in the smb.conf:
[my-share]
# ... some commands and then
root preexec = echo name: %u group: %g >> /home/roland/test.txt
Creates an entry in test.txt by window$-clicking to the share:
name: roland group: supergroop
Ok, so %u and %g -Variables are accessible
Now, next try:
[my-share]
# ... and now:
include = /usr/local/samba/lib/roland.conf
and in roland.conf we have:
root preexec = echo name: %u group: %g >> /home/roland/test.txt
supplies the same (new) entry
but:
[my-share]
# ... and then:
include = /usr/local/samba/lib/%u.conf
supplies - nothing! Seems, that roland.conf cannot be found!
:-(
Any ideas would be greatly appreciated, thanks!
i'm just experimenting with dynamic share-handling
and have a little problem:
supposing a share in the smb.conf:
[my-share]
# ... some commands and then
root preexec = echo name: %u group: %g >> /home/roland/test.txt
Creates an entry in test.txt by window$-clicking to the share:
name: roland group: supergroop
Ok, so %u and %g -Variables are accessible
Now, next try:
[my-share]
# ... and now:
include = /usr/local/samba/lib/roland.conf
and in roland.conf we have:
root preexec = echo name: %u group: %g >> /home/roland/test.txt
supplies the same (new) entry
but:
[my-share]
# ... and then:
include = /usr/local/samba/lib/%u.conf
supplies - nothing! Seems, that roland.conf cannot be found!
:-(
Any ideas would be greatly appreciated, thanks!