Click to See Complete Forum and Search --> : user logon problems on windows machines with samba as PDC


sttayo
03-04-2004, 10:25 AM
Please i need a help!!! i am a newbie. My small office network comprises of

8 Windows 2000 and 1 Windows Xp clients with Samba as the PDC

(REDHAT 8.0). I joined the Windows clients to the Domain, logon as root for

the first time before any user did. But the problem is that whenever any of

my colleague in office logon as user, the two messages below are what i

used to encountered. Any changes the users make to their document were

not saved whenever they logged out. And each time they logon, it used to

be as if they are loging in for the first time with all their previous settings

lost. Also i can't logon and access the Windows clients from the

Linux/Samba server. I can only see them. my smb.conf is as stated below.

Please assist, i will be very grateful.


THE USER ENVIRONMENT MESSAGES
1. Windows cannot locate the server copy of your roaming profile and is attempting to log you on with your local profile. Changes to the profile will not be copied to the server when you logoff. Possible causes of this error include network problems or insufficient security rights. If this problem persists, contact your network administrator.

DETAIL - Access is denied.


2. Windows cannot find the local profile and is logging you on with a temporary profile. Changes you make to this profile will be lost when you log off.

MY SMB.CONF FILE

[global]

;basic server settings
workgroup = FIRSTDOMAIN
netbios name = RHLINUX
server string = Primary Domain Server running SAMBA %v
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192

;PDC and master browser settings
os level = 99
preferred master = yes
local master = yes
domain master = yes
domain logons = yes
dns proxy = no

;security and logging settings
security = user
encrypt passwords = yes
log file = /var/log/samba/log.%m
log level = 2
max log size = 100
hosts allow = 192.168.0., 127.
name resolve order = wins bcast
max wins ttl = 518400
min wins ttl = 21600
wins proxy = No
wins support = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*success fully*

;user profiles and home directory
logon home = \\%L\%U\
logon drive = H:
logon script = netlogon.bat
logon path = \\%L\profiles\%U
kernel oplocks = no
add user script = /usr/sbin/useradd -d /dev/null -g machines -c 'Machine Account' -s /bin/false -M %u
domain admin group = root @admins

# =====================Share Definitions====================

[homes]
comment = Home Directories
path = /home
browseable = Yes
read only = No
writable = Yes
valid users = %S
create mode = 0664
directory mode = 0775

[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
read only = yes
browseable = no
write list = @admins

[profiles]
comment = Roaming Profiles Directory
path = /home/samba/profiles
read only = no
browseable = no

[cdrive]
comment = C Drive on RHLINUX machine
path = /mnt/cdrom
valid users = st.tayo administrator root
public = No
writeable = Yes
printable = No
create mask = 0765

Hayl
03-04-2004, 10:54 AM
perhaps if you edit your post and replace the ALLCAPS garbage at the top with properly cased text, then people on here will be more likely to help you.

posting in ALLCAPS is considered "yelling" and is generally considered rude.

i was planning on reading your post and helping until it opened and i was blasted with line after line of ALLCAPS.