Re: [Samba] sambaLogonScript problem

2010-07-05 Thread Leonardo Carneiro - Veltrac
On 07/03/2010 12:22 PM, Chris Smith wrote: On Sat, Jul 3, 2010 at 10:10 AM, Leonardo Carneiro - Veltrac lscarne...@veltrac.com.br wrote: I'm having trouble in deploying by group sambaLogonScript. My scripts consist only im mapping network folders. I'm using Samba 3.4.7. Is there a way to

Re: [Samba] sambaLogonScript problem

2010-07-05 Thread Leonardo Carneiro - Veltrac
On 07/03/2010 12:38 PM, Steve Thompson wrote: On Sat, 3 Jul 2010, Miguel Medalha wrote: One thing I once noticed was that the Samba account attribute sambaLogonScript must ONLY be set for a user if it DIFFERS from what is specified in smb.conf. Otherwise, the script wouldn't run. I found

Re: [Samba] sambaLogonScript problem

2010-07-05 Thread Leonardo Carneiro - Veltrac
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

Re: [Samba] sambaLogonScript problem

2010-07-05 Thread Sebastian Abate
On Mon, Jul 5, 2010 at 8:46 AM, Leonardo Carneiro - Veltrac lscarne...@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).

Re: [Samba] sambaLogonScript problem [SOLVED]

2010-07-05 Thread Leonardo Carneiro - Veltrac
On 07/05/2010 08:21 AM, Leonardo Carneiro - Veltrac wrote: On 07/03/2010 12:38 PM, Steve Thompson wrote: On Sat, 3 Jul 2010, Miguel Medalha wrote: One thing I once noticed was that the Samba account attribute sambaLogonScript must ONLY be set for a user if it DIFFERS from what is specified

Re: [Samba] sambaLogonScript problem [SOLVED]

2010-07-05 Thread Miguel Medalha
Miguel tip worked for me. In my smb.conf i't specified that users should run %G.bat, so i removed this attribute ( smbldap-usermod -E user ) and WORKED. This is something that is documented somewhere and i missed? I suspected that this would be the problem because I had already banged my

[Samba] sambaLogonScript problem

2010-07-03 Thread Leonardo Carneiro - Veltrac
Hi everyone, I'm having trouble in deploying by group sambaLogonScript. My scripts consist only im mapping network folders. I'm using Samba 3.4.7. Is there a way to debug this? The logs does not show anything about the logon scripts. All my users are set with %G.bat in the ldap backend, but

Re: [Samba] sambaLogonScript problem

2010-07-03 Thread John Drescher
On Sat, Jul 3, 2010 at 10:10 AM, Leonardo Carneiro - Veltrac lscarne...@veltrac.com.br wrote: Hi everyone, I'm having trouble in deploying by group sambaLogonScript. My scripts consist only im mapping network folders. I'm using Samba 3.4.7. Is there a way to debug this? The logs does not

Re: [Samba] sambaLogonScript problem

2010-07-03 Thread Leonardo Carneiro - Veltrac
On 07/03/2010 11:13 AM, John Drescher wrote: On Sat, Jul 3, 2010 at 10:10 AM, Leonardo Carneiro - Veltrac lscarne...@veltrac.com.br wrote: Hi everyone, I'm having trouble in deploying by group sambaLogonScript. My scripts consist only im mapping network folders. I'm using Samba 3.4.7.

Re: [Samba] sambaLogonScript problem

2010-07-03 Thread John H Terpstra
On 07/03/2010 09:10 AM, Leonardo Carneiro - Veltrac wrote: Hi everyone, I'm having trouble in deploying by group sambaLogonScript. My scripts consist only im mapping network folders. I'm using Samba 3.4.7. Is there a way to debug this? The logs does not show anything about the logon

Re: [Samba] sambaLogonScript problem

2010-07-03 Thread Leonardo Carneiro - Veltrac
On 07/03/2010 11:27 AM, John H Terpstra wrote: On 07/03/2010 09:10 AM, Leonardo Carneiro - Veltrac wrote: Hi everyone, I'm having trouble in deploying by group sambaLogonScript. My scripts consist only im mapping network folders. I'm using Samba 3.4.7. Is there a way to debug this? The

Re: [Samba] sambaLogonScript problem

2010-07-03 Thread Leonardo Carneiro - Veltrac
On 07/03/2010 11:23 AM, Leonardo Carneiro - Veltrac wrote: On 07/03/2010 11:13 AM, John Drescher wrote: On Sat, Jul 3, 2010 at 10:10 AM, Leonardo Carneiro - Veltrac lscarne...@veltrac.com.br wrote: Hi everyone, I'm having trouble in deploying by group sambaLogonScript. My scripts consist

Re: [Samba] sambaLogonScript problem

2010-07-03 Thread Leonardo Carneiro - Veltrac
On 07/03/2010 11:42 AM, Leonardo Carneiro - Veltrac wrote: On 07/03/2010 11:23 AM, Leonardo Carneiro - Veltrac wrote: On 07/03/2010 11:13 AM, John Drescher wrote: On Sat, Jul 3, 2010 at 10:10 AM, Leonardo Carneiro - Veltrac lscarne...@veltrac.com.br wrote: Hi everyone, I'm having trouble in

Re: [Samba] sambaLogonScript problem

2010-07-03 Thread Miguel Medalha
All my users are set with %G.bat in the ldap backend, but the vast majority of the users are not running the scripts, or running partially. I also have my logon scripts set to %G.bat and they run perfectly. Are your scripts in DOS format? They must be, because they are read by the Windows

Re: [Samba] sambaLogonScript problem

2010-07-03 Thread Miguel Medalha
One more thing: are your permissions correct? The users must have Read access to the logon script files. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba

Re: [Samba] sambaLogonScript problem

2010-07-03 Thread Helmut Hullen
Hallo, Leonardo, Du meintest am 03.07.10: My scripts consist only im mapping network folders. [...] Hmm, it looks like that there are no users running the scripts partially. What happens is some users that have manually mapped their drives. None of the users are really running the scripts.

Re: [Samba] sambaLogonScript problem

2010-07-03 Thread Chris Smith
On Sat, Jul 3, 2010 at 10:10 AM, Leonardo Carneiro - Veltrac lscarne...@veltrac.com.br wrote: I'm having trouble in deploying by group sambaLogonScript. My scripts consist only im mapping network folders. I'm using Samba 3.4.7. Is there a way to debug this? The logs does not show anything

Re: [Samba] sambaLogonScript problem

2010-07-03 Thread Steve Thompson
On Sat, 3 Jul 2010, Miguel Medalha wrote: One thing I once noticed was that the Samba account attribute sambaLogonScript must ONLY be set for a user if it DIFFERS from what is specified in smb.conf. Otherwise, the script wouldn't run. I found this with the Samba 3.1x family, I don't know if