HELP! Profiles/can't log on

Lisa Becktold {CADIG STAFF} lisa at usna.navy.MIL
Sat Jun 26 20:44:49 GMT 1999


Hi:

I have installed Samba 2.1.0-prealpha on a Sun Ultra 30 workstation called
hermes.  The workgroup/domain is called "CADIGTST".

I have set up an NT Workstation (pc109s03) as a CADIGTST domain member.  
Pc109s03 has a machine account in both the /etc/passwd and smbpasswd 
tables on hermes.  I have user accounts in these two tables, too, and my 
password is the same in both. Pc109s03 had no problems joining the
CADIGTST domain.

But whenever I try to log in as myself (lisa) in the CADIGTST domain
on pc109s03, this is what happens:

	. A "Logon in Process" box appears.  
	. The "Logon in Process" box disappears and the screen
	  goes blank;   
	. Instead of bringing up my environment, the NT Workstation 
	  logo and the "Begin Logon" box pop up again.

The logon seems to find my home directory.  Logon path is set to
"\\%N\%U\NTProfile" in smb.conf.  Every time I try to log on from the NT
Workstation, NTuser.dat is updated in my NTProfile directory.
If I delete NTProfile from my home directory, the logon process
creates a new NTProfile directory - but it's empty and I still can't
get in.

I have tried a variety of profiles:

	1. An existing NTProfile directory from an old Samba installation;
	2. A local profile from pc109s03.  I copied it to my home
	   directory using Settings/Control Panel/System/User Profiles,
	   as recommended by the "FAQ for Samba NT Domain PDC Support".
	3. A Default User profile from an NT Server.

The result was the same in all cases.  The logon process fires up, but
then I'm returned to the "Begin Logon" screen.

I've also tried placing profiles in the "netlogon" and "profiles"
share, but Samba and NT handle profiles differently.  Won't NT
automatically load a Default User profile into a user's home
directory if a profile doesn't already exist there?

I get this error message if I delete NTProfile from my home directory,
or if NTProfile is an empty directory:

	"The operating system was unable to load your profile.  Please
	 contact your Network Administrator."  

Users on workstations that are not members of the CADIGTST domain
can access their home directories from browse lists.  These users can click on
on Network Neighborhood/Entire Network/CADIGTST/Hermes, and are prompted
for a logon and passwd.  Once this is typed in, a window pops up 
displaying the contents of their UNIX home directory on hermes.

HELP - I need to get this up and running!!!!!

Here is my smb.conf:


# Samba config file created using SWAT
# from localhost (127.0.0.1)
# Date: 1999/06/07 16:33:50

# Global parameters
	workgroup = CADIGTST
	server string = HERMES - Samba 2.1.0-prealpha
	encrypt passwords = Yes
	log file = /usr/local/samba/var/log/%m.log
	max log size = 50
	socket options = TCP_NODELAY
	logon script = logon.bat
# Tried both %L and %N - no difference
#       logon path = \\%L\%U\NTProfile
        logon path = \\%N\%U\NTProfile
        logon drive = H:
        logon home = \\%N\%U
	domain logons = Yes
	preferred master = True
	domain master = True
	dns proxy = No
	wins server = 131.122.84.200
	remote announce = 131.122.80.255/CADIGTST 131.122.81.255/CADIGTST 131.122.82.255/CADIGTST 131.122.83.255/CADIGTST 131.122.84.255/CADIGTST 131.122.85.255/CADIGTST 131.122.86.255/CADIGTST 131.122.87.255/CADIGTST 128.56.12.255/CADIGTST 128.56.8.255/CADIGTST 128.56.5.255/CADIGTST 128.56.60.255/CADIGTST 128.56.61.255/CADIGTST 128.56.39.255/CADIGTST 131.122.84.255/CADIGTST
	remote browse sync = 131.122.80.255 131.122.81.255 131.122.82.255 131.122.83.255 131.122.84.255 131.122.85.255 131.122.86.255 131.122.87.255 128.56.12.255 128.56.8.255 128.56.5.255 128.56.60.255 128.56.61.255 128.56.39.255

[homes] 
        comment = UNIX home directories 
        path = %H 
        writeable = yes 
        valid users = %S 
        create mode = 0600 
        directory mode = 0700 
        locking = no
	browseable = yes

[netlogon]
	comment = Network Logon Service
	path = /usr/local/samba/lib/netlogon
	guest ok = Yes

[tmp]
	comment = temporary files
	path = /tmp

#
# NOT REALLY USING THIS - smb.conf not set up to place user's
#  profiles in the [profile] share
[profile]
	comment = SAMBA NT user profile directory
	path = /usr/usna/samba/lib/profile
	create mode = 0600
	directory mode = 0770
	browseable = yes
	writeable = yes  


Any help much appreciated!!!!!


    ----------------------------------------------------------
      Lisa M. Becktold - lisa at usna.navy.mil, (410) 293-6480
               United States Naval Academy - CADIG          
    590 Holloway Road, Rickover Hall, Annapolis, MD 21402-5000
    ----------------------------------------------------------


More information about the samba-ntdom mailing list