[Samba] Primary Domain Controller problems

coolneip at iwvisp.com coolneip at iwvisp.com
Tue Jun 17 18:33:11 GMT 2003


Platform: RedHat 7.0
Samba version: 2.2.7a
Client platforms Windows 2000 Pro SP3
Number of clients: 7

This is my SAMBA configuration file

# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Creation Date: 2002/10/21 15:26:01

# Global parameters
[global]
	workgroup = SABER
	netbios name = SHADOW
	server string = SAMBA-PDC
	interfaces = eth0 192.168.1.13
	encrypt passwords = Yes
	log file = /var/log/samba/log.%m
	max log size = 50
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	add user script = /usr/sbin/useradd -d /dev/null -g 100 -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
	preferred master = True
	domain master = True
	dns proxy = No

[printers]
	comment = All Printers
	path = /var/spool/samba
	printable = Yes
	browseable = No

[netlogon]
	comment = Network Logon Service
	path = /home/samba/netlogon
	write list = ntadmin

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

[QB-bkup]
	path = /fileshare
	read only = No

I am also have an old NT 4 SP6 server running on the same network. I have experienced the problems described below with both the server connected and with it completely shut down.

SYMPTOMS: The clients roaming profiles are not updated correctly during the logon/logoff process. For instance, after logging onto the domain through a client machine the following behavior appears:

1) Place a folder on the Desktop.
2) Drag documents/pictures etc. into new folder
3) Log off
4) Log in again
5) Delete the new folder along with its content(put in trash AND empty trash)
6) Log off
7) Log in again
8) The folder which was just deleted is still on the Desktop. (Usually the folder has been completely emptied of all files ... BUT NOT Subfolders [if there were any]).

When I look at the profiles folder on the SAMBA PDC [/home/samba/profiles/<username>/Desktop] I notice that the folder which should have been deleted is still there

This PDC has been running since 10/02 and this problem has only surfaced within the last 2 months.

The following is an excerpt from one of the samba logs for a machine account.


[2003/06/17 08:54:30, 0] smbd/service.c:make_connection(248)
  main-floor (192.168.1.100) couldn't find service stephany_berry
[2003/06/17 08:54:30, 0] smbd/service.c:make_connection(248)
  main-floor (192.168.1.100) couldn't find service stephany_berry
[2003/06/17 09:34:39, 0] rpc_server/srv_netlog.c:api_net_sam_logon(206)
  api_net_sam_logon: Failed to marshall NET_R_SAM_LOGON.
[2003/06/17 09:34:39, 0] rpc_server/srv_pipe.c:api_rpcTNP(1200)
  api_rpcTNP: api_netlog_rpc: NET_SAMLOGON failed.
[2003/06/17 09:38:02, 0] rpc_server/srv_netlog.c:api_net_sam_logon(206)
  api_net_sam_logon: Failed to marshall NET_R_SAM_LOGON.
[2003/06/17 09:38:02, 0] rpc_server/srv_pipe.c:api_rpcTNP(1200)
  api_rpcTNP: api_netlog_rpc: NET_SAMLOGON failed.
[2003/06/17 09:42:41, 0] rpc_server/srv_netlog.c:api_net_sam_logon(206)
  api_net_sam_logon: Failed to marshall NET_R_SAM_LOGON.
[2003/06/17 09:42:41, 0] rpc_server/srv_pipe.c:api_rpcTNP(1200)
  api_rpcTNP: api_netlog_rpc: NET_SAMLOGON failed.
[2003/06/17 10:02:00, 0] rpc_server/srv_netlog.c:api_net_sam_logon(206)
  api_net_sam_logon: Failed to marshall NET_R_SAM_LOGON.
[2003/06/17 10:02:00, 0] rpc_server/srv_pipe.c:api_rpcTNP(1200)
  api_rpcTNP: api_netlog_rpc: NET_SAMLOGON failed.
[2003/06/17 10:05:45, 0] rpc_server/srv_netlog.c:api_net_sam_logon(206)
  api_net_sam_logon: Failed to marshall NET_R_SAM_LOGON.
[2003/06/17 10:05:45, 0] rpc_server/srv_pipe.c:api_rpcTNP(1200)
  api_rpcTNP: api_netlog_rpc: NET_SAMLOGON failed.
[2003/06/17 10:08:39, 0] rpc_server/srv_netlog.c:api_net_sam_logon(206)
  api_net_sam_logon: Failed to marshall NET_R_SAM_LOGON.
[2003/06/17 10:08:39, 0] rpc_server/srv_pipe.c:api_rpcTNP(1200)
  api_rpcTNP: api_netlog_rpc: NET_SAMLOGON failed.
[2003/06/17 10:16:08, 0] rpc_server/srv_netlog.c:api_net_sam_logon(206)
  api_net_sam_logon: Failed to marshall NET_R_SAM_LOGON.
[2003/06/17 10:16:08, 0] rpc_server/srv_pipe.c:api_rpcTNP(1200)
  api_rpcTNP: api_netlog_rpc: NET_SAMLOGON failed.





More information about the samba mailing list