[Samba] Using variables with pdbedit

jared at kfh.org jared at kfh.org
Fri Jan 9 23:18:59 GMT 2004


I am trying to set up roaming profiles and I got it working. Could someone
confirm if Samba variables work or do not work in the user database. If I do
the following option:

pdbedit -s -u username -p "\\\\servername\\sharename\\profilename" my
roaming profiles work fine but I have to direclty specify the server name
and username. If I do not double up all the "\" it does not work.

now if I do this instead

pdbedit -s -u username -p "\\\\%L\\sharename\\%u it will not work and the XP
says cannot find the share. Is this normal?

Cheers,

Jared



More information about the samba mailing list