[Samba] Samba 2.2.8a and XP Domain logon

Victor Mendez vmendez at exel-tech.com
Mon Aug 23 03:07:03 GMT 2004


Hi, I am using Samba 2.2.8a on SuSE Linux 9.0 and I have the following problem
when trying to connect my windows XP machines to samba server I wgt the
following error:

[2004/08/22 23:14:37, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2055)
  Returning domain sid for domain NETSYS ->
S-1-5-21-3912169839-94017089-1425657053
[2004/08/22 23:14:37, 2] rpc_parse/parse_samr.c:samr_io_userinfo_ctr(6285)
  samr_io_userinfo_ctr: unknown switch level 0x1a
[2004/08/22 23:14:37, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670)
  api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
[2004/08/22 23:14:37, 2] passdb/pdb_smbpasswd.c:startsmbfilepwent(170)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error
was Permission denied
[2004/08/22 23:14:37, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1418)
  unable to open passdb database.
[2004/08/22 23:14:37, 2] smbd/server.c:exit_server(511)
  Closing connections
[2004/08/22 23:14:38, 2] smbd/reply.c:reply_special(92)
  netbios connect: name1=CUZCO            name2=VMBLPTP
[2004/08/22 23:14:38, 2] smbd/reply.c:reply_special(111)
  netbios connect: local=cuzco remote=vmblptp
[2004/08/22 23:14:38, 2] smbd/server.c:exit_server(511)
  Closing connections

And the connection fails.

Also I noticed  that the passwd file has the following rights:
-rw-------    1 root     root          753 Aug 22 22:42 smbpasswd

I tried to change the permission to 640 by issuing the : 
chmod 640 /etc/samba/smbpasswd 

-rw-r-----    1 root     root          753 Aug 22 22:42 smbpasswd

(like the documentation states but after I try to logon the file permission are
reset to 400!!!???)
-rw-------    1 root     root          753 Aug 22 22:42 smbpasswd

Any Ideas on what the problem is.

I also include my smb.conf file configuration  see below:
##############################################################################
# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2004/08/19 22:56:38

# Global parameters
[global]
	workgroup = NETSYS
	server string = NetSystems Samba Server
	encrypt passwords = Yes
	map to guest = Bad User
	log level = 2
	time server = Yes
	unix extensions = Yes
	socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
	printcap name = CUPS
	add user script = /usr/sbin/useradd -c Machine -d /dev/null -s /bin/false  %m$
	domain logons = Yes
	os level = 65
	domain master = Yes
	security = user
	wins support = Yes
	printing = cups
	veto files = /*.eml/*.nws/riched20.dll/*.{*}/

[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
	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
################################################################################
#

Any help will be appreciated

thank you

Victor
 
-- 


More information about the samba mailing list