[Samba] SAMBA-LDAP and variable substition
Harry Rüter
harry_rueter at gmx.de
Tue Jun 25 07:15:02 GMT 2002
Hi,
werner maes wrote:
>
> Hello,
>
> Im using Samba and LDAP together and if I use the scriptPath attribute for
> a user defined in LDAP, it seems that variable substitions no longer work
> like they did when you're using the global logon script parameter in smb.conf.
>
> example:
>
> scriptPath = scripts\%m.bat ==> %m.bat is NOT substituted to machinename.bat
>
> Because the "logon scripts" directive of smb.conf will no longer be used
> when using Samba and LDAP together, I'm wondering how I can take advantage
> of variable substition?
>
> Or am I missing something?
I think there is another misconfiguration,
i'm using Samba 2.2.4 & openldap 2.0.25 and
the substitution works (I use logon script = %u.bat).
I looked into man smb.conf and found no
scriptPath entry ..
have you tried testparm ?
> If you have any information, let me know.
>
> Werner Maes
> KULeuven
greets Harry
More information about the samba
mailing list