RE: [Samba] Netlogon script executes randomly

2004-03-26 Thread Frode Lillerud


|-Original Message-
|From: [EMAIL PROTECTED]
[mailto:samba-
|[EMAIL PROTECTED] On Behalf Of Gémes
Géza
|Sent: 26. mars 2004 00:24
|To: Frode Lillerud
|Cc: [EMAIL PROTECTED]
|Subject: Re: [Samba] Netlogon script executes randomly
|
|-BEGIN PGP SIGNED MESSAGE-
|Hash: SHA1
|
|Gerald (Jerry) Carter írta:
|| Frode Lillerud wrote:
|| | Hi, I have set up Samba 3.0.2a on my Debian server as a PDC.
|| |
|| | I use a Windows XP Pro laptop to log on wirelessly, and things
seems to
|| | be working fine except with the logon.bat script.
|| |
|| | I have added logon script = logon.bat and the netlogon share in
my
|| | smb.conf.
|| |
|| | The logon.bat has executed a few times (perhaps 10% of
|| | the times), but there is obviously a problem. The logon.bat
|| | is created with DOS style CR/LF.
||
|| general this kind of behavior would happen if you were
|| using cached credentials to logon.  You might want to
|| disable caching of logon credentials temporaily so help
|| track down the problem.  flakey wireless maybe ?
||
||
|I would also recomend to check if you can successfully run the logon
|script from command prompt. I've had once problems with a Win2k box
|which after installing a program which filled in in the path things
like
|C:\PROGRA~1\.., failed to find the net command.
|

I've tried logging in and run: net use k: \\sauroman\netlogon
and it seems to be working just fine. The drive is mapped, and I can run
the logon.bat manually without any problems.

Occationally I also see that C:\Windows\System32\cmd.exe is running, but
just shuts down again. This is not the logon-script! I've added a pause
statement to it to keep it from closing.

I'm also trying to test this from my desktop computer, to see if the
wireless connection has any bad sideeffects, but I have thus far been
unable to create a new sambauser. See separate mail to sambalist called
XP gives Access denied for domain logon.

|Cheers
|
|Geza
|-BEGIN PGP SIGNATURE-
|Version: GnuPG v1.2.3 (GNU/Linux)
|Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
|
|iD8DBQFAY2od/PxuIn+i1pIRAloXAJ9Jf51+hCQVdLRdln1/onUWjLOBNACdEd0e
|DET5fNRGwqKvjjKDjMBDG1I=
|=UNjU
|-END PGP SIGNATURE-
|
|--
|To unsubscribe from this list go to the following URL and read the
|instructions:  http://lists.samba.org/mailman/listinfo/samba

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Netlogon script executes randomly

2004-03-25 Thread Frode Lillerud
Hi, I have set up Samba 3.0.2a on my Debian server as a PDC.
 
I use a Windows XP Pro laptop to log on wirelessly, and things seems to
be working fine except with the logon.bat script.
 
I have added logon script = logon.bat and the netlogon share in my
smb.conf.
 
The logon.bat has executed a few times (perhaps 10% of the times), but
there is obviously a problem. The logon.bat is created with DOS style
CR/LF.
 
Anyone know what could be wrong?
 
My smb.conf file:
 
# Setting up Samba 3.0 as a Primary Domain Controller
 
[global]
# Server settings
netbios name = sauroman
workgroup = ISENGARD
server string = Testing PDC
security = user
#   guest account = smbguest
encrypt passwords = yes
 
# PDC settings
domain logons = yes
logon script = newlog.bat
 
# Browser and WINS settings
domain master = yes
local master = yes
preferred master = yes
os level = 255
wins support = yes
 
# Other services
time server = yes
 
# Debugging and Logging
log level = 1
log file = /tmp/samba_%m.log
max log size = 1000 #1MB
debug timestamp = yes
syslog = 1
 
[netlogon]
path = /var/lib/samba/netlogon
browseable = yes
writable = yes # set this to no again!
 
#[profiles]
#   path = /var/lib/samba/profiles
#   read only = no
#   create mask = 0600
#   directory mask = 0700
 
[homes]
comment = Home for %u
writeable = yes
browseable = no
;   map archive = yes   ;?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Netlogon script executes randomly

2004-03-25 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Frode Lillerud wrote:
| Hi, I have set up Samba 3.0.2a on my Debian server as a PDC.
|
| I use a Windows XP Pro laptop to log on wirelessly, and things seems to
| be working fine except with the logon.bat script.
|
| I have added logon script = logon.bat and the netlogon share in my
| smb.conf.
|
| The logon.bat has executed a few times (perhaps 10% of
| the times), but there is obviously a problem. The logon.bat
| is created with DOS style CR/LF.
general this kind of behavior would happen if you were
using cached credentials to logon.  You might want to
disable caching of logon credentials temporaily so help
track down the problem.  flakey wireless maybe ?


- --
cheers, jerry
- --
Hewlett-Packard- http://www.hp.com
SAMBA Team -- http://www.samba.org
GnuPG Key   http://www.plainjoe.org/gpg_public.asc
If we're adding to the noise, turn off this song --Switchfoot (2003)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAY1MAIR7qMdg1EfYRAsEjAKDpVT1r+N/PJda0zqVKSuX4nvZL/gCeMYgc
KUz8ZENMzZoBTqTSdPrINYc=
=MQMG
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Netlogon script executes randomly

2004-03-25 Thread Gémes Géza
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gerald (Jerry) Carter írta:
| Frode Lillerud wrote:
| | Hi, I have set up Samba 3.0.2a on my Debian server as a PDC.
| |
| | I use a Windows XP Pro laptop to log on wirelessly, and things seems to
| | be working fine except with the logon.bat script.
| |
| | I have added logon script = logon.bat and the netlogon share in my
| | smb.conf.
| |
| | The logon.bat has executed a few times (perhaps 10% of
| | the times), but there is obviously a problem. The logon.bat
| | is created with DOS style CR/LF.
|
| general this kind of behavior would happen if you were
| using cached credentials to logon.  You might want to
| disable caching of logon credentials temporaily so help
| track down the problem.  flakey wireless maybe ?
|
|
I would also recomend to check if you can successfully run the logon
script from command prompt. I've had once problems with a Win2k box
which after installing a program which filled in in the path things like
C:\PROGRA~1\.., failed to find the net command.
Cheers

Geza
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAY2od/PxuIn+i1pIRAloXAJ9Jf51+hCQVdLRdln1/onUWjLOBNACdEd0e
DET5fNRGwqKvjjKDjMBDG1I=
=UNjU
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba