[Samba] Config problems with profiles?

Barry Fawthrop barry at ttienterprises.org
Tue Sep 13 00:21:17 GMT 2005


Trying to setup samba as a PDC with LDAP on gentoo
I have managed the setup and can access and register computers/ join the 
domain

Having trouble with profile access

(1)
But when I try to connect an XP client in the Log file I get
Error Opening File:  for ntconfig.pol and login.bat
both exist with 777 permissions in /var/lib/samba/netlogon and 
/var/lib/samba/netlogon/default user
the log shows that the file is there, just it won't open / read it?

(2)
Also in smb.conf I have [public] and should it be [homes] or [home] ?
I can see these from the XP client but can't connect to them, should 
they be NFS mounted
or can you do this without NFS ???


Thanks
Barry

snip from log.machine
.....
.....
.....
[2005/09/12 16:11:40, 10] lib/util.c:dump_data(1995)
  [000] 00 5C 00 6E 00 74 00 63  00 6F 00 6E 00 66 00 69  .\.n.t.c .o.n.f.i
  [010] 00 67 00 2E 00 70 00 6F  00 6C 00 00 00           .g...p.o .l...
[2005/09/12 16:11:40, 3] smbd/process.c:switch_message(886)
  switch message SMBntcreateX (pid 10486) conn 0x84098d0
[2005/09/12 16:11:40, 4] smbd/uid.c:change_to_user(194)
  change_to_user: Skipping user change - already user
[2005/09/12 16:11:40, 10] smbd/nttrans.c:reply_ntcreate_and_X(607)
  reply_ntcreateX: flags = 0x16, desired_access = 0x20089 
file_attributes = 0x0, share_access = 0x1, create_disposition = 0x1 
create_options = 0x200044 root_dir_fid = 0x0
[2005/09/12 16:11:40, 10] smbd/nttrans.c:map_create_disposition(341)
  map_create_disposition: Mapped create_disposition 0x1 to 0x1
[2005/09/12 16:11:40, 10] smbd/nttrans.c:map_share_mode(480)
  map_share_mode: Mapped desired access 0x20089, share access 0x1, file 
attributes 0x0 to open_mode 0x20
[2005/09/12 16:11:40, 5] smbd/filename.c:unix_convert(108)
  unix_convert called on file "ntconfig.pol"
[2005/09/12 16:11:40, 10] smbd/statcache.c:stat_cache_lookup(243)
  stat_cache_lookup: lookup succeeded for name [NTCONFIG.POL] -> 
[ntconfig.pol]
[2005/09/12 16:11:40, 3] smbd/dosmode.c:unix_mode(111)
  unix_mode(ntconfig.pol) returning 0744
[2005/09/12 16:11:40, 5] smbd/files.c:file_new(129)
  allocated file structure 9502, fnum = 13598 (1 used)
[2005/09/12 16:11:40, 10] smbd/open.c:open_file_shared1(1047)
  open_file_shared: fname = ntconfig.pol, dos_attrs = 0, share_mode = 
20, ofun = 1, mode = 744, oplock request = 3
[2005/09/12 16:11:40, 8] smbd/dosmode.c:dos_mode(283)
  dos_mode: ntconfig.pol
[2005/09/12 16:11:40, 8] smbd/dosmode.c:dos_mode_from_sbuf(151)
  dos_mode_from_sbuf returning a
[2005/09/12 16:11:40, 8] smbd/dosmode.c:dos_mode(315)
  dos_mode returning a
[2005/09/12 16:11:40, 4] smbd/open.c:open_file_shared1(1251)
  calling open_file with flags=0x0 flags2=0x0 mode=0744
[2005/09/12 16:11:40, 5] global/vscan-filetype.c:filetype_skipscan(119)
  exclude list is empty - feature disabled
[2005/09/12 16:11:40, 10] smbd/open.c:fd_open(50)
  fd_open: name ntconfig.pol, flags = 00 mode = 0744, fd = -1. 
Permission denied           <==========
[2005/09/12 16:11:40, 3] smbd/open.c:open_file(178)
  Error opening file ntconfig.pol (Permission denied) (local_flags=0) 
(flags=0)              <============
[2005/09/12 16:11:40, 5] smbd/files.c:file_free(439)
  freed files structure 13598 (0 used)
[2005/09/12 16:11:40, 10] smbd/trans2.c:set_bad_path_error(2191)
  set_bad_path_error: err = 13 bad_path = 0
[2005/09/12 16:11:40, 3] smbd/error.c:error_packet(105)
  error string = Permission denied
[2005/09/12 16:11:40, 3] smbd/error.c:error_packet(129)
  error packet at smbd/trans2.c(2200) cmd=162 (SMBntcreateX) 
NT_STATUS_ACCESS_DENIED
[2005/09/12 16:11:40, 5] lib/util.c:show_msg(464)
[2005/09/12 16:11:40, 5] lib/util.c:show_msg(474)
.....
.....
yes log level is set high = 23
<============ added by me for your attention.



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.21/96 - Release Date: 9/10/2005



More information about the samba mailing list