Red Hat Networking - SAMBA Logoon Script

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Networking > September 2004 > SAMBA Logoon Script





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author SAMBA Logoon Script
Bruce

2004-09-22, 9:24 pm

I have recently installed Redhat 8 and I am trying to run SAMBA as a
file server for several WIN laptops on a wireless network.

My SMB.CONF looks like

# Samba config file created using SWAT
# from localhost (127.0.0.1)
# Date: 2004/09/18 19:26:59

# Global parameters
[global]
workgroup = GRENET
server string = Samba server
security = SHARE
encrypt passwords = Yes
password level = 8
username level = 8
unix password sync = Yes
log file = /var/log/samba/log.%m
logon script = bruce.bat
logon path = /home
guest account = smbuser

[public]
comment = Public
path = /usr/sambashare/public
read only = No
create mask = 0775
directory mask = 0775
guest ok = Yes

[homes]
comment = Home Directories
read only = No
browseable = No

[photo]
comment = Public
path = /usr/sambashare/Photographs
read only = No
create mask = 0775
directory mask = 0775
guest ok = Yes

[netlogon]
path = /home
browseable = No

[music]
comment = Public
path = /usr/sambashare/Music
read only = No
create mask = 0775
directory mask = 0775
guest ok = Yes


with Bruce.bat looking like

Echo Samba Logon Script
Echo ***********************************
****************
Echo Setting up drives
Echo
Echo ***********************************
***************

pause
Net use X: \\GRECOMP105\Music
Net use P: \\GRECOMP105\Photo

My problem is that bruce.bat does not run

I have checked all the security etc and cannot find a problem. I can run
Bruce.bat from the windows machines OK when I move it to PUBLIC

Any sugestions welcome

Bruce

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com