[Samba] Help with logon script

2002-10-24 Thread Rapazito PT
Hi all Sambies,

 I have Samba server 2.2.5 running on a RH7.3 (2.4.18-3) configured as a PDC 
and it works fine.
 Now we had the need to mount some drives (on Windows XP workstations) at 
logon, and I set up the logon script facility.
 My problem is that the testing directory on server to mount at logon in 
Windows it's not working.

##
# SMB.CONF
#

[global]
workgroup = WPC.WPC
netbios name = SERVER
server string = Samba PDC running %v
encrypt passwords = Yes
log level = 2
log file = /var/log/samba/log.%m
max log size = 50
domain admin group = @root
add user script = /usr/sbin/useradd -d /dev/null -g machines -
s /bin/false -M %u
logon script = netlogon.bat
logon path = \\%L\profiles\%U
logon drive = H:
logon home = \\%L\%U
domain logons = Yes
os level = 64
domain master = True

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

[profiles]
path = /home/samba/profiles
read only = No
create mask = 0600
directory mask = 0700
browseable = No

[netlogon]
comment = Network Logon Service
path = /home/netlogon
write list = root, coelhoa, administrator
browseable = No

[downloads]
path = /usr/download
writable = yes
comment = Downloads VĂ¡rios
---EOF---

 This works fine, with no errors :-)


##
# NETLOGON.BAT
##

NET TIME \\server /SET /YES
NET USE L: \\server\usr\download
---EOF---

 Permissions on netlogon.bat are:

[root@server netlogon]# ll /home/netlogon/netlogon.bat 
-rwxr-xr-x1 root root   62 Oct 25 
00:05 /home/netlogon/netlogon.bat

 And my problems are:
  1. Neither in normal users or admin users, the command NET USE wil require, 
on a DOS Shell Window a username and a password for connect. I'll type user 
root and it's password and it give ERROR 5 
  2. As root, coelhoa and administrator users (domain admin group users), 
command NET TIME is successfull, but with any other users, this command is 
unsuccessfull with message A required privilege is not held by the client.

 Well, can you please help me solving this problems?
 
TIA,
Rapazito PT
A Linux Newbie from Portugal
[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] Resolving NetBIOS names within linux

2002-10-18 Thread Rapazito PT
 You do not mention the size of your network. Here I have 12 WinNT 
Workstations, 51 Win2K workstations, 3 RH Workstations and 3 RH Servers and 
instead of using samba to do that job I use BIND (DNS Server) and DHCP Server 
to do the work for me.

 

 I want to be able to resolve windows machine names to their IP addresses
 while using Linux.  What I'd like to be able to do, from my linux 
 box at the command line is this,
 
 ping windows_machine_name
 
 Is there any way I can do this?
 
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba


Rapazito PT
A Linux Newbie from Portugal
[EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Documentation help

2002-10-17 Thread Rapazito PT
Hello Samber's,

  Sorry my question, but I'm a newbie on the list.
  I have a network with about 57 Win2K workstations, and 2 Linux(RH7.3) 
Servers. Samba is in one Linux box, controlling the workgroup, but now my 
boss wants to put the network as a domain (internal domain, e.g. wpc.wpc). 
All Win2K boxes make a domain login, and bla bla bla... 
  Can anyone help me where I can find a good HOW-TO to configure this on my 
network?


Thanks in advance,
Rapazito PT
A Linux Newbie from Portugal
[EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba