[Samba] Samba 2.2.5-10 and Win XP SP1

Maartin maartin at my.co.za
Wed Jun 18 21:05:58 GMT 2003


Hi all,
This is my first try on Samba as a PDC.

I have managed to setup Samba as a PDC for my home network. The Win98 pc 
connects and validates no probs, but not the Win XP pc.

The acc on the linux system has been created and is fine as well as the 
samba passwd's. The XP pc is 'changed' onto the domain with no errors, 
with the user name that will be used by the user to log on the domain.
The Local security policies has been changed and the security patch (reg 
patch) has been applied. But when the user tries to logon using the 
setup credentials the following error messages are displayed by XP.

Message 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.


Meesage 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.


I have tried every trick that I know in the M$ world to try and fix it 
but no luck. I have tried adding the users to the root group in 
/ect/groups but this did not help either. I then used the XP wizard 
(hate it) to join to the domain again but this did not have the desired 
effect either.

Can anybody help me ? Please tell me if you need more info etc.

Please also find attached copies of the user log file (log.maartin) and 
samba log file (log.smbd) as well as my config (smb.conf) file.


Please any help would be greatly appreciated, bear in mind that I am new 
2 linux and have been using M$ for 13+ years now.


Thanks, Cheers.

Maartin.
South-Africa.
-------------- next part --------------
[2003/06/18 21:27:49, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:27:49, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2050)
  Returning domain sid for domain RHHOME -> S-1-5-21-4135730076-824762648-3913750441
[2003/06/18 21:27:49, 2] rpc_parse/parse_samr.c:samr_io_userinfo_ctr(6285)
  samr_io_userinfo_ctr: unknown switch level 0x1a
[2003/06/18 21:27:49, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670)
  api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
[2003/06/18 21:27:49, 2] passdb/pdb_smbpasswd.c:startsmbfilepwent(170)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was Permission denied
[2003/06/18 21:27:49, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1416)
  unable to open passdb database.
[2003/06/18 21:27:50, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:27:50, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:28:00, 2] smbd/server.c:exit_server(461)
  Closing connections
[2003/06/18 21:28:03, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:28:03, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2050)
  Returning domain sid for domain RHHOME -> S-1-5-21-4135730076-824762648-3913750441
[2003/06/18 21:28:03, 2] rpc_parse/parse_samr.c:samr_io_userinfo_ctr(6285)
  samr_io_userinfo_ctr: unknown switch level 0x1a
[2003/06/18 21:28:03, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670)
  api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
[2003/06/18 21:28:04, 2] smbd/server.c:exit_server(461)
  Closing connections
[2003/06/18 21:28:04, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:28:04, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:28:30, 2] smbd/server.c:exit_server(461)
  Closing connections
[2003/06/18 21:28:31, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:28:41, 2] smbd/server.c:exit_server(461)
  Closing connections
[2003/06/18 21:30:55, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:30:55, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2050)
  Returning domain sid for domain RHHOME -> S-1-5-21-4135730076-824762648-3913750441
[2003/06/18 21:31:01, 2] smbd/server.c:exit_server(461)
  Closing connections
[2003/06/18 21:32:51, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:32:51, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:32:55, 0] rpc_server/srv_samr_nt.c:_samr_query_aliasmem(2626)
  _samr_query_aliasmem: Not yet implemented.
[2003/06/18 21:32:55, 0] rpc_server/srv_samr_nt.c:_samr_query_aliasmem(2626)
  _samr_query_aliasmem: Not yet implemented.
[2003/06/18 21:32:55, 0] rpc_server/srv_samr_nt.c:_samr_query_aliasmem(2626)
  _samr_query_aliasmem: Not yet implemented.
[2003/06/18 21:32:59, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:32:59, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:32:59, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:32:59, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:32:59, 1] smbd/service.c:make_connection(651)
  maartin (192.168.0.1) connect to service profiles as user maartin (uid=500, gid=500) (pid 13439)
[2003/06/18 21:32:59, 2] smbd/open.c:open_directory(1155)
  open_directory: unable to create maartin. Error was Permission denied
[2003/06/18 21:32:59, 2] smbd/open.c:open_directory(1155)
  open_directory: unable to create maartin. Error was Permission denied
[2003/06/18 21:33:05, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:33:05, 0] smbd/service.c:make_connection(252)
  maartin (192.168.0.1) couldn't find service netlogon
[2003/06/18 21:33:09, 1] smbd/service.c:close_cnum(692)
[2003/06/18 21:27:49, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:27:49, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2050)
[2003/06/18 21:27:49, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:27:49, 2] smbd/reply.c:reply_special(92)
  netbios connect: name1=LINPDC           name2=MAARTIN
[2003/06/18 21:27:49, 2] smbd/reply.c:reply_special(111)
  netbios connect: local=linpdc remote=maartin
[2003/06/18 21:28:03, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:27:49, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:27:49, 2] smbd/reply.c:reply_special(92)
  netbios connect: name1=LINPDC           name2=MAARTIN
[2003/06/18 21:27:49, 2] smbd/reply.c:reply_special(111)
  netbios connect: local=linpdc remote=maartin
[2003/06/18 21:28:03, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:28:03, 2] smbd/reply.c:reply_special(92)
  netbios connect: name1=LINPDC           name2=MAARTIN
[2003/06/18 21:28:03, 2] smbd/reply.c:reply_special(111)
  netbios connect: local=linpdc remote=maartin
[2003/06/18 21:28:04, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:28:04, 2] smbd/reply.c:reply_special(92)
  netbios connect: name1=LINPDC           name2=MAARTIN
[2003/06/18 21:28:04, 2] smbd/reply.c:reply_special(111)
  netbios connect: local=linpdc remote=maartin
[2003/06/18 21:28:31, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:28:31, 2] smbd/reply.c:reply_special(92)
  netbios connect: name1=LINPDC           name2=MAARTIN
[2003/06/18 21:28:31, 2] smbd/reply.c:reply_special(111)
  netbios connect: local=linpdc remote=maartin
[2003/06/18 21:30:55, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:30:55, 2] smbd/reply.c:reply_special(92)
  netbios connect: name1=LINPDC           name2=MAARTIN
[2003/06/18 21:30:55, 2] smbd/reply.c:reply_special(111)
  netbios connect: local=linpdc remote=maartin
[2003/06/18 21:32:51, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:32:51, 2] smbd/reply.c:reply_special(92)
  netbios connect: name1=LINPDC           name2=MAARTIN
[2003/06/18 21:32:51, 2] smbd/reply.c:reply_special(111)
  netbios connect: local=linpdc remote=maartin
-------------- next part --------------
[global]
       workgroup=RHHome
       netbios name=LinPDC
       server string= Samba PDC Running %v
       socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192

       ;PDC and Master Browser Settings
       os level=64
       preferred master=yes
       local master=yes
       domain master=yes

       ;Security Settings
       security = user
       encrypt passwords=yes
       domain logons=yes
       log file=/var/log/samba/log.%m
       log level=2
       max log size=50
       hosts allow=127.0.0.1 x.x.x.x/x.x.x.x

       ;Roaming Profiles and home dir
       logon home=\\%L\%U\.profile
       logon drive=Z:
       logon path=\\%L\profiles\%U

       ;script to add the user to the domain automatically
       add user script=/usr/sbin/useradd -d /dev/null -g machines -s /bin/false -M %u

       ;sync Linux passwords
       unix password sync=yes
       passwd program=/usr/bin/passwd %u
       passwd chat=*New*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *Enter*new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n %n\n *passwd: *all*authentication*tokens*updated*succesfully*

       # ==== shares ====

       [homes]
       comment=Home Directories
       browseable=no
       writeable=yes

       [profiles]
       path=/home/samba/profiles
       writeable=yes
       browseable=no
       create mask=0600
       directory mask=0700 
-------------- next part --------------
[2003/06/18 21:27:49, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:27:49, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2050)
  Returning domain sid for domain RHHOME -> S-1-5-21-4135730076-824762648-3913750441
[2003/06/18 21:27:49, 2] rpc_parse/parse_samr.c:samr_io_userinfo_ctr(6285)
  samr_io_userinfo_ctr: unknown switch level 0x1a
[2003/06/18 21:27:49, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670)
  api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
[2003/06/18 21:27:49, 2] passdb/pdb_smbpasswd.c:startsmbfilepwent(170)
  startsmbfilepwent_internal: unable to open file /etc/samba/smbpasswd. Error was Permission denied
[2003/06/18 21:27:49, 0] passdb/pdb_smbpasswd.c:pdb_getsampwrid(1416)
  unable to open passdb database.
[2003/06/18 21:27:50, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:27:50, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:28:00, 2] smbd/server.c:exit_server(461)
  Closing connections
[2003/06/18 21:28:03, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:28:03, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2050)
  Returning domain sid for domain RHHOME -> S-1-5-21-4135730076-824762648-3913750441
[2003/06/18 21:28:03, 2] rpc_parse/parse_samr.c:samr_io_userinfo_ctr(6285)
  samr_io_userinfo_ctr: unknown switch level 0x1a
[2003/06/18 21:28:03, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(670)
  api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
[2003/06/18 21:28:04, 2] smbd/server.c:exit_server(461)
  Closing connections
[2003/06/18 21:28:04, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:28:04, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:28:30, 2] smbd/server.c:exit_server(461)
  Closing connections
[2003/06/18 21:28:31, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:28:41, 2] smbd/server.c:exit_server(461)
  Closing connections
[2003/06/18 21:30:55, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:30:55, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2050)
  Returning domain sid for domain RHHOME -> S-1-5-21-4135730076-824762648-3913750441
[2003/06/18 21:31:01, 2] smbd/server.c:exit_server(461)
  Closing connections
[2003/06/18 21:32:51, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:32:51, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:32:55, 0] rpc_server/srv_samr_nt.c:_samr_query_aliasmem(2626)
  _samr_query_aliasmem: Not yet implemented.
[2003/06/18 21:32:55, 0] rpc_server/srv_samr_nt.c:_samr_query_aliasmem(2626)
  _samr_query_aliasmem: Not yet implemented.
[2003/06/18 21:32:55, 0] rpc_server/srv_samr_nt.c:_samr_query_aliasmem(2626)
  _samr_query_aliasmem: Not yet implemented.
[2003/06/18 21:32:59, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:32:59, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:32:59, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:32:59, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:32:59, 1] smbd/service.c:make_connection(651)
  maartin (192.168.0.1) connect to service profiles as user maartin (uid=500, gid=500) (pid 13439)
[2003/06/18 21:32:59, 2] smbd/open.c:open_directory(1155)
  open_directory: unable to create maartin. Error was Permission denied
[2003/06/18 21:32:59, 2] smbd/open.c:open_directory(1155)
  open_directory: unable to create maartin. Error was Permission denied
[2003/06/18 21:33:05, 2] lib/access.c:check_access(329)
  Allowed connection from  (192.168.0.1)
[2003/06/18 21:33:05, 0] smbd/service.c:make_connection(252)
  maartin (192.168.0.1) couldn't find service netlogon
[2003/06/18 21:33:09, 1] smbd/service.c:close_cnum(692)


More information about the samba mailing list