[Samba] Using variables with pdbedit
abartlet at samba.org
Fri Jan 9 23:56:14 GMT 2004
On Fri, Jan 09, 2004 at 03:18:59PM -0800, jared at kfh.org wrote:
> 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.
That's is the shell eating them. This is normal.
> 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?
smb.conf expansions are valid only in the smb.conf, not in pdbedit or LDAP.
More information about the samba