[Samba] 3.0-cannot create profile directory...
mawi
sambageneral at mawi.org
Thu Nov 13 13:40:23 GMT 2003
Hi everyone, upon login windows reports:
"Windows cannot create profile directory \\fw\profiles\leon.pds.
You will be logged on with a local profile only. Changes to the profile will
not be propagated to the server."
Then it says: "Windows cannot find the local profile and is logging you on
with a temporary profile. Changes you make..."
looked all over now, tested variations of my smb.conf. One thing looks
suspiocious in the log:
"smbd/service.c:make_connection_snum(670)
'/home/samba/profiles/' does not exist or is not a directory, when
connecting to [profiles] "
Clues, tips?? All afternoon and night so far on this one, I'm at 21:28+0800
(Shanghai)
/mawi
smb.conf:
[global]
workgroup = EMF
netbios name = FW
passdb backend = ldapsam:ldap://localhost
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .
unix password sync = Yes
log level = 2
name resolve order = wins lmhosts hosts bcast
logon script = startup.bat
logon path = \\fw\profiles\%U
logon drive = H:
; logon home = \\fw\%U\.profile
logon home = \\fw\%U
domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
wins support = Yes
ldap suffix = dc=e-mf,dc=net
ldap machine suffix = ou=Computers
ldap user suffix = ou=EMF,ou=People
ldap group suffix = ou=Groups
ldap admin dn = cn=admin,dc=e-mf,dc=net
ldap ssl = no
ldap passwd sync = Yes
[share]
path = /var/share
read only = No
guest ok = Yes
[netlogon]
comment = Network Logon Service
path = /home/netlogon
write list = root, mawi
browseable = No
[homes]
comment = Home Directories
read only = No
guest ok = Yes
[profiles]
path = /home/samba/profiles
read only = No
create mask = 0600
directory mask = 0700
browseable = No
log:
==> log.smbd <==
[2003/11/13 20:28:41, 2] lib/smbldap.c:smbldap_search_suffix(1066)
smbldap_search_suffix: searching
for:[(&(uid=leon)(objectclass=sambaSamAccount))]
[2003/11/13 20:28:41, 2] passdb/pdb_ldap.c:init_sam_from_ldap(460)
init_sam_from_ldap: Entry found for user: leon
[2003/11/13 20:28:41, 2] passdb/pdb_ldap.c:ldapsam_search_one_group(1597)
ldapsam_search_one_group: searching
for:[(&(objectClass=sambaGroupMapping)(gidNumber=
10001))]
[2003/11/13 20:28:41, 2] auth/auth.c:check_ntlm_password(302)
check_ntlm_password: authentication for user [leon] -> [leon] -> [leon]
succeeded
[2003/11/13 20:28:42, 2] lib/smbldap.c:smbldap_search_suffix(1066)
smbldap_search_suffix: searching
for:[(&(sambaSID=S-1-5-21-2137744741-319474916-
1612400144-501)(objectclass=sambaSamAccount))]
[2003/11/13 20:28:42, 2] lib/smbldap.c:smbldap_search_suffix(1066)
smbldap_search_suffix: searching
for:[(&(uid=leon)(objectclass=sambaSamAccount))]
[2003/11/13 20:28:42, 2] passdb/pdb_ldap.c:init_sam_from_ldap(460)
init_sam_from_ldap: Entry found for user: leon
[2003/11/13 20:28:42, 2] auth/auth.c:check_ntlm_password(302)
check_ntlm_password: authentication for user [leon] -> [leon] -> [leon]
succeeded
[2003/11/13 20:28:42, 0] smbd/service.c:make_connection_snum(670)
'/home/samba/profiles/' does not exist or is not a directory, when
connecting to [
profiles]
==> log.nmbd <==
[2003/11/13 20:28:41, 1] nmbd/nmbd_processlogon.c:process_logon_packet(95)
process_logon_packet: Logon from 10.0.1.10: code = 0x12
[2003/11/13 20:28:41, 1] nmbd/nmbd_processlogon.c:process_logon_packet(95)
process_logon_packet: Logon from 10.0.1.10: code = 0x12
==> log.smbd <==
[2003/11/13 20:28:42, 0] smbd/service.c:make_connection_snum(670)
'/home/samba/profiles/' does not exist or is not a directory, when
connecting to [
profiles]
[2003/11/13 20:28:43, 0] smbd/service.c:make_connection_snum(670)
'/home/samba/profiles/' does not exist or is not a directory, when
connecting to [
profiles]
[2003/11/13 20:28:43, 0] smbd/service.c:make_connection_snum(670)
'/home/samba/profiles/' does not exist or is not a directory, when
connecting to [
profiles]
[2003/11/13 20:28:43, 0] smbd/service.c:make_connection_snum(670)
'/home/samba/profiles/' does not exist or is not a directory, when
connecting to [
profiles]
[2003/11/13 20:28:43, 0] smbd/service.c:make_connection_snum(670)
'/home/samba/profiles/' does not exist or is not a directory, when
connecting to [
profiles]
[2003/11/13 20:28:43, 0] smbd/service.c:make_connection_snum(670)
'/home/samba/profiles/' does not exist or is not a directory, when
connecting to [
profiles]
[2003/11/13 20:28:43, 0] smbd/service.c:make_connection_snum(670)
'/home/samba/profiles/' does not exist or is not a directory, when
connecting to [
profiles]
[2003/11/13 20:28:43, 0] smbd/service.c:make_connection_snum(670)
'/home/samba/profiles/' does not exist or is not a directory, when
connecting to [
profiles]
==> log.nmbd <==
[2003/11/13 20:29:57, 1] nmbd/nmbd_processlogon.c:process_logon_packet(95)
process_logon_packet: Logon from 10.0.1.10: code = 0x12
[2003/11/13 20:29:57, 1] nmbd/nmbd_processlogon.c:process_logon_packet(95)
process_logon_packet: Logon from 10.0.1.10: code = 0x12
==> log.smbd <==
[2003/11/13 20:31:02, 2] lib/smbldap.c:smbldap_search_suffix(1066)
smbldap_search_suffix: searching
for:[(&(sambaSID=S-1-5-21-2137744741-319474916-
1612400144-501)(objectclass=sambaSamAccount))]
[2003/11/13 20:31:03, 2] lib/smbldap.c:smbldap_search_suffix(1066)
smbldap_search_suffix: searching
for:[(&(uid=leon)(objectclass=sambaSamAccount))]
[2003/11/13 20:31:03, 2] passdb/pdb_ldap.c:init_sam_from_ldap(460)
init_sam_from_ldap: Entry found for user: leon
[2003/11/13 20:31:03, 2] auth/auth.c:check_ntlm_password(302)
check_ntlm_password: authentication for user [leon] -> [leon] -> [leon]
succeeded
[2003/11/13 20:31:03, 1] smbd/service.c:make_connection_snum(698)
srv-animal2 (10.0.1.10) connect to service netlogon initially as user leon
(uid=12348,
gid=10001) (pid 562)
==> log.nmbd <==
[2003/11/13 20:31:02, 1] nmbd/nmbd_processlogon.c:process_logon_packet(95)
process_logon_packet: Logon from 10.0.1.10: code = 0x12
[2003/11/13 20:31:02, 1] nmbd/nmbd_processlogon.c:process_logon_packet(95)
process_logon_packet: Logon from 10.0.1.10: code = 0x12
More information about the samba
mailing list