[Samba-it] net rpc rights grant list (Connection refused) (Il mio obiettivo è agganciare una macchina XP al dominio)

Vincenzo Niro nirovincenzo at gmail.com
Sat Feb 24 15:08:58 MST 2007


>> net rpc rights grant list
Password:
Could not connect to server 127.0.0.1
Connection failed: NT_STATUS_CONNECTION_REFUSED

Elenco i file critici nella speranza che si noti in mio BACO :

(Se non sono completi fatemi sapere)

smb.conf
***********************************************************************************
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2006-11-27

# Defining domain name, hostname
####################################################
[global]
	workgroup = nirowork
	netbiosname = linux-suse
	interfaces = eth0 , l o
	bind interfacesonly = Yes
	passdb backend = tdbsam:/etc/samba/passdb.tdb
	smb ports = 139
	add userscript=/usr/sbin/useradd −m '%u'
	delete userscript = /usr/sbin/user del −r '%u '
	add group script = /usr/sbin/groupadd '%g '
	delete group script = /usr/sbin/group del '%g '
	add user to group script = /usr/sbin/usermod −G '%g ' '%u '
	add machine script=/usr/sbin/useradd −s /bin/false −d /var/lib/nobody '%u '	
	preferred master = Yes
	wins support = Yes
	include = /etc/samba/dc−common.conf


[homes]
	comment = Home Directories
	valid users = %S, %D%w%S
	browseable = yes
	writable = yes
	create mask = 0700
	directory mask = 0700
		
[profiles]
	comment = Network Profiles Service
	path = %H
	read only = No
	store dos attributes = Yes
	create mask = 0600
	directory mask = 0700
	comment = Roaming Profiles
	path = /var/lib/samba/profiles
	create mask = 0600
	directory mask = 0700
	browseable = No
	guest ok = Yes
	force user = %U
	valid users = %U "Domain Admins"
	read only = No
	profile acls = Yes
[users]
	comment = All users
	path = /home
	read only = No
	inherit acls = Yes
	veto files = /aquota.user/groups/shares/
[groups]
	comment = All groups
	path = /home/groups
	read only = No
	inherit acls = Yes


; Defining network logon service
[netlogon]
	comment = Network Logon Service
	path = /var/lib/samba/netlogon
	guest ok = Yes
	browseable = No
	write list = root

# Defining profile share ( for roaming profiles )
####################################################
[profiles]

# Defining arbitary shared resource
####################################################
[share]
	comment = data share
	path = /opt/stuff
	valid users = %U
[Plans]
	comment = Contine Informazione di prova	
	path = /plans
	writable = yes
	read only = No
	guest ok = Yes
[FTMFILES]
	comment = Funds Tracking & Management Files
	path = /data/ftmfiles
	read only = No
	force user = vincenzo
	force group = office
	guest ok = Yes
	nt acl support = No
[OFFICE]
	comment = General Office Files
	path = /data/officefiles	
	read only=No
	force user = vincenzo
	force group = office
	guest ok = Yes
	nt acl support = No
[InstyleFiles]
	comment = work Area Files
	path = /data/%U
	#path = /data/
	valid users = %U
	read only = No
[ master ]
        comment = Master work a r e a f i l e s
         path = /data
         #valid users = vincenzo
	 force group = instyle
         read only = No

*******************************************************************************

smbusers

********************************************************************************
# This file allows you to map usernames from the clients to the server.
# Unix_name = SMB_name1 SMB_name2 ...
#
# See section 'username map' in the manual page of smb.conf for more
# information.
#
# This file is _not_ included in the default configuration as it makes the
# usage of an user named administrator impossible.

root = Administrator
;nobody = guest pcguest smbguest
*********************************************************************************

/etc/nsswitch.conf

**********************************************************************************
#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
#       compat                  Use compatibility setup
#       nisplus                 Use NIS+ (NIS version 3)
#       nis                     Use NIS (NIS version 2), also called YP
#       dns                     Use DNS (Domain Name Service)
#       files                   Use the local files
#       [NOTFOUND=return]       Stop searching if not found so far
#
# For more information, please read the nsswitch.conf.5 manual page.
#

# passwd: files nis
# shadow: files nis
# group:  files nis

passwd:	compat
group:	compat

hosts:	files wins dns
networks:	files dns

services:	files
protocols:	files
rpc:	files
ethers:	files
netmasks:	files
netgroup:	files nis
publickey:	files

bootparams:	files
automount:	files nis
aliases:	files

**********************************************************************************
-- 
Niro Vincenzo

Contatti:
Personal web page: http://nirovincenzo.googlepages.com/home
FAX: +391782287915
Skype: nirovi
Gaim: nirovi at virgilio.it

*********************************



More information about the samba-it mailing list