[Samba] sambaLogonScript problem

Sebastian Abate sebastianabate at gmail.com
Mon Jul 5 06:08:14 MDT 2010


On Mon, Jul 5, 2010 at 8:46 AM, Leonardo Carneiro - Veltrac
<lscarneiro at veltrac.com.br> wrote:
> On 07/05/2010 08:28 AM, Miguel Medalha wrote:
>>
>> Did you verify that end lines of the scripts are in DOS format (CR+LF)?
>>
>> You can use unix2dos to convert them from Unix format (LF) to DOS format
>> (CR+LF).
>>
>> %G.bat is working correctly for me. Samba PDC over CentOS 5.5 with LDAP
>> back end.
>>
>> Pardon me for being so obvious, but of course your scripts have the exact
>> same name as the groups, don't they?
>>
>> Regards
>> Miguel
>
> Hi Miguel, i doubt that this could be the problem, since when i specify the
> name of the script, it runs OK. And yes, the names of the scripts are ok.
> Tks again.
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>
Check what is the primary group of the users (%G maps to the primary
group only, not any group that the users belong to). Also check which
variable you need to use, %g is the primary group of the Unix user,
and %G is the primary group of the Samba user (they can be different)

-- 
Sebastián Abate
15-3589-7730
sebastianabate at gmail.com


More information about the samba mailing list