Re: [Samba] 2.2.7a logon script will not run

2003-02-26 Thread Florian Stahl
On Wed, 26 Feb 2003, Kurt Weiss wrote:

  
  Afterwords, I booted my W2K client machine and logged on to the domain.  The
  logon script doesn't run, but otherwise everything is fine.  From the
  client, I can map drives manually, access files, etc. all without errors.
  It authenticates the user name and password throught the pdc and there
  aren't any error messages at all either in the server logs or the client
  event viewer.  I put everything back w/ 'make revert' and all runs fine
 
 can u look, if the logon.bat starts in upgraded version?
 cdrom on z:? maybe u have to use logon drive = ?
 
  Maybe one of these evenings I'll try again w/ log level 10 and try to
  diagnose w/ that.
 
 please send it...

here is one tiny windows users mind suggestion:

check if the users logging in has Unix EXECUTE privileges ( 
chmod rwxrwxrwx) for the logon script 
as well as openfolder Privileges (chmod rwxr-xr-x) to be able to run the 
script.

secondly, our clients run a user based login script USERNAME.cmd, as you 
can see here, its the *.cmd extension for W2K that works here.

kind regardes

florian
([EMAIL PROTECTED])


 
 
 
 
 

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


Re: [Samba] 2.2.7a logon script will not run

2003-02-26 Thread Kurt Weiss
hi florian - we did check this already...
it was my first suggestion in this thread
there are 0777 on dirs and 0777 on logon.bat

but this did not solve *rich's* problem

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


Re: [Samba] 2.2.7a logon script will not run

2003-02-26 Thread Bob Boehmer
I am currently seeing similar behavior on Windows XP where my own logon
script does not execute but everybody else's does. This seems to have been
caused by changing the Samba server's hostname (in the Windows hosts file)
after setting up my PC. I know that if I set my PC's hosts file back to the
original name that my logon script will run again.

So far I have been unable to find out why exactly this is causing the
problem. If I logon as a new user on my PC then the appropriate logon script
runs regardless of what hostname I have defined for the server (although I
am guessing that if I changed the hostname after the first logon of a new
user that the same problem would occur for that user the next time they
logged in).

I am guessing that it has to do with the registry LOGONSERVER value not
resolving to a valid network name, but where LOGONSERVER is getting set to
the old name is not clear to me.

Bob Boehmer

 hi florian - we did check this already...
 it was my first suggestion in this thread

 there are 0777 on dirs and 0777 on logon.bat

 but this did not solve *rich's* problem


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


RE: [Samba] 2.2.7a logon script will not run

2003-02-25 Thread Rich Forman
 
 Rich Forman schrieb:
 
 I just tried upgrading from 2.2.3 to 2.2.7a on my PDC
 (2.2.17 kernel).  The
 logon script that I have been using all along without any
 problems quits
 executing w/ 2.2.7a.  I can manually map the netlogon share
 after logging in
 and manually run the script and everything work fine.  No
 error messages
 
 have u checked, if the directory /usr/local/samba/netlogon
 has the 'x'
 (1) flag set in all hierachies.
 i had the same problema (as i posted before a view month's) -
 and that
 was the solution.
 
 
  The permissions on /usr/local/samba/netlogon/* are 777.

 sorry, -  i did read your first mail again. seeme i was sleeping
 yesterday - u told, that u have access...

 u did upgrade? - maybe, the machine account went away?
 did u try to re-join a machine to the domain?

Yes, I did upgrade w/ the tar file doing:

./configure
make
make install

Afterwords, I booted my W2K client machine and logged on to the domain.  The
logon script doesn't run, but otherwise everything is fine.  From the
client, I can map drives manually, access files, etc. all without errors.
It authenticates the user name and password throught the pdc and there
aren't any error messages at all either in the server logs or the client
event viewer.  I put everything back w/ 'make revert' and all runs fine
again w/ 2.2.3, including the logon script.  I saw some previous posts on
this subject, but the problem seemed to be using a %u variable in the name
of the script.  That isn't the case w/ me, the file is just logon.bat for
everybody.

Maybe one of these evenings I'll try again w/ log level 10 and try to
diagnose w/ that.

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


Re: [Samba] 2.2.7a logon script will not run

2003-02-25 Thread Kurt Weiss
Afterwords, I booted my W2K client machine and logged on to the domain.  The
logon script doesn't run, but otherwise everything is fine.  From the
client, I can map drives manually, access files, etc. all without errors.
It authenticates the user name and password throught the pdc and there
aren't any error messages at all either in the server logs or the client
event viewer.  I put everything back w/ 'make revert' and all runs fine
can u look, if the logon.bat starts in upgraded version?
cdrom on z:? maybe u have to use logon drive = ?
Maybe one of these evenings I'll try again w/ log level 10 and try to
diagnose w/ that.
please send it...






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


RE: [Samba] 2.2.7a logon script will not run

2003-02-24 Thread Rich Forman


 -Original Message-
 From: Kurt Weiss [mailto:[EMAIL PROTECTED]
 Sent: Sunday, February 23, 2003 11:29 PM
 To: Rich Forman
 Subject: Re: [Samba] 2.2.7a logon script will not run
 
 
 
 
 Rich Forman schrieb:
  I just tried upgrading from 2.2.3 to 2.2.7a on my PDC 
 (2.2.17 kernel).  The
  logon script that I have been using all along without any 
 problems quits
  executing w/ 2.2.7a.  I can manually map the netlogon share 
 after logging in
  and manually run the script and everything work fine.  No 
 error messages
 
 have u checked, if the directory /usr/local/samba/netlogon 
 has the 'x' 
 (1) flag set in all hierachies.
 i had the same problema (as i posted before a view month's) - 
 and that 
 was the solution.
 
The permissions on /usr/local/samba/netlogon/* are 777.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] 2.2.7a logon script will not run

2003-02-23 Thread Rich Forman
I just tried upgrading from 2.2.3 to 2.2.7a on my PDC (2.2.17 kernel).  The
logon script that I have been using all along without any problems quits
executing w/ 2.2.7a.  I can manually map the netlogon share after logging in
and manually run the script and everything work fine.  No error messages
appear in the log files.  My smb.conf file is included.  Don't know quite
where to go with this one.  Any suggestion would help.  All client machines
are NT4 or W2K.  Thanks in advance.

[global]

#Server Parameters
netbios name = SERVER
server string = Samba %v

#Domain Parameters
workgroup = GRAY1
encrypt passwords = yes
domain logons = yes
os level = 65
preferred master = true
domain master = true
guest ok = yes
domain admin group = @adm
# domain admin users = rich andy
add user script = /usr/sbin/adduser -n -g machines -c NTMachine -d
/dev/null -s /bin/false %m$
time server = yes

# Set to use local profiles
logon script = scripts\logon.bat
logon home =
logon drive =
logon path =

# Name Server Support
wins support = yes
name resolve order = wins hosts lmhosts bcast

# Security Options
security = user
bind interfaces only = yes
interfaces = 192.168.100.1/255.255.255.0 127.0.0.1
hosts allow = 192.168.100.

# Debuggin Information
log level = 1
log file = /var/log/samba/%m.log
max log size = 50
debug timestamp = yes

# Performance Tweaks
getwd cache = yes
socket options = TCP_NODELAY TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
IPTOS_LOWDELAY
dead time = 15
keep alive = 60
# lpq cache = 30

# Printing
printer admin = root, rich, @adm
printcap name = /etc/printcap
load printers = yes

[homes]
comment = Home Directories
browsable = no
writeable = yes
read only = no
#create mode = 0777

[netlogon]
path = /usr/local/samba/netlogon
browsable = no
writeable = yes
guest ok = no
valid users = @users @adm @sec
create mask = 777
directory mask = 777
inherit permissions = yes

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