[Samba] Samba As PDC

Ilya Krylov kelly at teleline.es
Thu Jan 23 16:28:42 GMT 2003


Hello all!

I would appreciate all your help greately! Thank you friends in advance.

I'm trying to configure a Samba server on SuSE 8.1 as a Primary domain 
controller and print server with the two Win XP machines as clients. I can 
see the files and printer from my notebook (warpnote). But Printer is always 
locked and I cant use it. Here's what the log say:

[2003/01/24 16:02:35, 0] smbd/password.c:domain_client_validate(1549)
  domain_client_validate: could not fetch trust account password for domain 
NSI
[2003/01/24 16:10:19, 0] 
libsmb/cliconnect.c:attempt_netbios_session_request(1098)
  attempt_netbios_session_request: WARPNOTE rejected the session for name 
*SMBSERVER with error Not listening on called name
[2003/01/24 16:10:19, 0] 
rpc_client/cli_spoolss_notify.c:spoolss_connect_to_client(98)
  connect_to_client: machine WARPNOTE rejected the NetBIOS session request.

The Smb.conf file:

[global]
	client code page = 1251
	character set = 1251
	workgroup = NSI
	security = DOMAIN
	netbios name = nsigma
	map to guest = Bad Password
	encrypt passwords = Yes
	update encrypted = Yes
	time server = Yes
	unix extensions = Yes
	socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
	printcap name = CUPS
	os level = 65
	preferred master = True
	domain master = True
	printing = cups
	veto files = /*.eml/*.nws/riched20.dll/*.{*}/
        interfaces = 192.168.0.1
        wins support = Yes
	
	passwd program = /usr/bin/passwd %u
	passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n 
*success*
        unix password sync = Yes
	add user script = /usr/sbin/useradd -g machines -c "NT Machine Account" -d 
/dev/null -s /bin/false %m$

[homes]
	comment = Home Directories
	valid users = %S
	read only = No
	create mask = 0640
	directory mask = 0750
	browseable = No

[printers]
	comment = All Printers
	path = /var/tmp
	guest ok = Yes
	create mask = 0600
	printable = Yes
	browseable = No

[print$]
	comment = Printer Drivers
	path = /var/lib/samba/drivers
#	write list = @ntadmin root 
#	force group = ntadmin
	create mask = 0664
	directory mask = 0775

[files]
	path = /mnt/nsigma
	read only = No
	writable = Yes
	browseable = Yes
	create mask = 0640
	
I have applied the winxp reg fix.
__
Best regards!
Ilya



More information about the samba mailing list