Newsgroup: it.comp.os.linux.iniziare
Titolo: Samba come pdc

Ciao a tutti.
Ho installato il mio primo server samba.
Tutto bene per ciň che riguarda la visione del disco in rete Win.
Ora vorrei far diventare questo un server PDC
Mi sembra di aver fatto tutto bene, ma siccome non funzia ovviamente
sbaglio...
Nella fattispecie sul computer W2K o WXP Pro che cerco di far diventare
membro del dominio mi appare : "Numero di procedura fuori intervallo."
Qualche aiuto / idea??
Grazie a tutti per ogni risposta

 Qualche aiuto / idea??
Per i client WinNT win2K e Xp bisogna creare il "trust account" cioč un
utente che ha il nome della macchina piů il segno del $ (dollaro) come
ultimo carattere.
es.
adduser -g machines -d /dev/null -s /bin/false -c "NT Machine" NOME_PC$
smbpasswd -m -a NOME_PC$
Ciao
LOX
-- 
questo articolo e` stato inviato via web dal servizio gratuito 
http://www.newsland.it/news
 segnala gli abusi ad 
ab...@newsland.it

 Grazie a tutti per ogni risposta
smb.conf è configurato in modo giusto ???
server string = Samba Server
	interfaces = 
192.168.0.0/24
	encrypt passwords = Yes
	log file = /var/log/samba/%m.log
	max log size = 0
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	domain logons = Yes
	os level = 65
	preferred master = True
	domain master = True
Gli utenti li hi inseriti sia in linux che in samba ?
-- 
------------------------------------------
Togliere aldruz- per rispondermi via e-mail
------------------------------------------

Grazie,
ho verificato entrambe le cose ma non funzia ancora.
Questo è il mio file smb
;
; /etc/smb.conf
;
; Copyright (c) 1999 SuSE GmbH Nuernberg, Germany.
;
[global]
   workgroup = 99
   netbiosname = Linux
   server string = Server PDC Samba - Linux versione %v
   socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
   guest account = guest
   keep alive = 30
   os level = 65
   kernel oplocks = false
   security = user
   local master = yes
   domain master = yes
; Uncomment the following, if you want to use an existing
; NT-Server to authenticate users, but don't forget that
; you also have to create them locally!!!
; security = server
; password server = 192.168.99.99
   encrypt passwords = yes
   unix password sync = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n
*Enter*
   new*UNIX*password* %n\n *Retype*new*UNIX*password %n\n *passwd: *all*
   authentication*tokens*updated*succesfully*
   printing = bsd
   printcap name = /etc/printcap
   load printers = yes
   map to guest = Bad User
; Uncomment this, if you want to integrate your server
; into an existing net e.g. with NT-WS to prevent nettraffic
  local master = no
; Please uncomment the following entry and replace the
; ip number and netmask with the correct numbers for
; your ethernet interface.
   interfaces = 
192.168.99.250/255.255.255.0
; If you want Samba to act as a wins server, please set
; 'wins support = yes'
   wins support = no
; If you want Samba to use an existing wins server,
; please uncomment the following line and replace
; the dummy with the wins server's ip number.
;   wins server = 192.168.1.1
; Do you wan't samba to act as a logon-server for
; your windows 95/98 clients, so uncomment the
; following:
;   logon script =%U.bat
   domain logons = yes
   hosts allow = 127.0.0.1 
192.168.99.0/255.255.255.0
   add user script = /usr/sbin/useradd -d /dev/null -g machines -s
/bin/false -M %u
[netlogon]
   ;path = /netlogon
   logon home = \\%L\%U\.profile
   logon path = \\L%\profiles\%U
   logon drive = X:
   logon script = netlogon.bat
[profiles]
path = /home/profiles
writeable = yes
browseable = no
create mask = 0600
directory mask = 0700
[homes]
   path = /home/esempio
   comment = home-directory
   browseable = yes
   read only = no
   create mode = 0750
   public = yes
; The following share gives all users access to the Server's CD drive,
; assuming it is mounted under /cd. To enable this share, please remove
; the semicolons before the lines
;
; [cdrom]
;   comment = Linux CD-ROM
;   path = /cdrom
;   read only = yes
;   locking = no
[printers]
   comment = All Printers
   browseable = no
   printable = yes
   public = no
   read only = yes
   create mode = 0700
   directory = /tmp

 
Mi dici la distribuzione che usi ?
E la ver di samba ?

 Questo č il mio file smb
ti mando il mio smb.conf
alcune cose sul tuo:
hai il comando local master impostato due volte, prima yes e poi no
la share [netlogon] contiene 4 comandi che vanno nella sezione [global] e
per il resto non č definita
io uso samba3b2 su RH9
[global]
	workgroup = GIOT
	netbios name = GIORGIO
	server string = Samba Server %v
	encrypt passwords = Yes
	update encrypted = Yes
	passwd program = /usr/bin/passwd %u
	unix password sync = Yes
	log level = 2
	syslog = 1
	log file = /var/log/samba/%m.log
	max log size = 1000
	time server = Yes
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	logon script = logon.bat
	logon path = \\%L\profiles\%u
	logon drive = z:
	logon home = \\%L\%U\.profiles
	domain logons = Yes
	os level = 64
	preferred master = Yes
	domain master = Yes
	dns proxy = No
	wins support = Yes
	printing = cups
	admin users = netadmin
	hosts allow = 127.0.0.1 
192.168.0.0/24
	hosts deny = 
0.0.0.0/0
	interfaces = eth0 lo
	bind interfaces only = yes
[homes]
	comment = Home Directories
	valid users = %S
	read only = No
	create mask = 0664
	directory mask = 0775
	browseable = No
[netlogon]
	browseable = No
	comment = Network Logon Service
	public = yes
	share modes = No
	write list = netadmin
	path = /var/samba/netlogon
[profiles]
	comment = Roaming Profiles
	path = /var/samba/profiles
	browseable = no
	read only = no
        create mask = 0600
        directory mask = 0700
[printers]
	comment = All Printers
	path = /var/spool/samba
	printable = Yes
	browseable = No
[data]
	comment = Archivio dati
	path = /mnt/data
	browseable = yes
	read only = no
	guest ok = no
[tmp]
	comment = Temporary file space
	path = /tmp
	read only = No
	guest ok = Yes