[Samba] Samba PDC problem - error_packet

Piotr Brudny piotr.brudny at szybinski.cieszyn.pl
Tue Jun 22 16:30:56 GMT 2004


Hi;
I'heve got a strange problem with samba 3.0.4. It's configured as PDC, 
It functions joining a computer with w2k/XP to domain, logging-in, 
mapping disk. The problem appears by copying data to the mapped disk or 
to another resource of server. In windows the indicator or progress 
stays in one place, after same time a message appears "Network path 
can't be found" and in the logs there is a information:

[2004/06/22 15:02:20, 3] smbd/dosmode.c:unix_mode(111)
 unix_mode(test4/ntuser.man) returning 0600
[2004/06/22 15:02:20, 3] smbd/open.c:open_file(173)
 Error opening file test4/ntuser.man (No such file or directory) 
(local_flags=0) (flags=0)
[2004/06/22 15:02:20, 3] smbd/error.c:error_packet(94)
 error string = No such file or directory
[2004/06/22 15:02:20, 3] smbd/error.c:error_packet(118)
 error packet at smbd/trans2.c(2219) cmd=162 (SMBntcreateX) 
NT_STATUS_OBJECT_NAME_NOT_FOUND

Similary, during logging-out of the user from the domain.
Unfortunately, I coundn't it manage it even using the search machine 
"google". I don't have any idea how to change config file to be good. 
For sure the problem isn't found i network infastructure ora my 
operating system - slackware 9.1. I've checked it many times.

My system on the server: linux slackware 9.1 kernel 2.4.22, samba 3.0.4
domain clients: win 2k or xp professional

My config file: smb.conf

[global]
   workgroup = PRACOWNIE
   netbios name = Pluton
   time server = yes
   server string = Samba Server
   announce as = NT Server
   hosts deny = 0.0.0.0/0
   hosts allow = 192.168.1.0/26 192.168.2. 127.
    ;interfaces = 192.168.1.0/26 192.168.2.0/28
   interfaces = eth0 eth1 lo
   bind interfaces only = yes
   wins support = yes
   log file = /var/log/samba/%I.log
   log level = 3
   max log size = 0
   security = user
   smb passwd file = /etc/samba/private/smbpasswd
   socket options = TCP_NODELAY SO_RCVBUF = 8192 SO_SNDBUF = 8192
   domain logons = yes
   os level = 34
   local master = yes
   preferred master = yes
   domain master = yes
   ;passdb backend = tdbsam
   add user script = /usr/sbin/useradd -m %u
   delete user script =/usr/sbin/userdel -r %u
   add group script =/usr/sbin/groupadd %g
   delete group script =/usr/sbin/groupdel %g
   add user to group script =/usr/sbin/usermod -G %g %u
   add machine script =/usr/sbin/useradd -s /bin/false \
   -d /dev/null %u
   logon path =\\%L\profile\%u
       logon drive = H:
   ;character set = ISO8859-2
   ;client code page = 852
   dos charset = CP852
   ;unix charset = ISO8859-2
   name resolve order = wins bcast

[homes]
   comment = katalogi domowe uzytkownikow
   path = /home/%S
   browseable = no
   writable = yes
   create mode = 0600
   directory mask = 0700


[netlogon]
   comment = katalog logowania domenowego
   path = /home/netlogon
   ;public = no
   writable = no
   browseable = no
   write list = root

[profile]
   comment = profile uzytkownikow
   path = /home/profile
   writable = yes
   browseable = no
   create mask = 0600
   directory mask = 0700
   nt acl support = no
   ;create mode = 0
   ;directory mode = 0777

[publiczny]
   path = /home/publiczny
   public = yes
   browseable = yes
   writable = yes
   nt acl support = no
   create mode = 0777
   directory mode = 0777
   security mask = 0777
   force security mode = 0
   directory security mask = 0777
   force directory security mode = 0

[instrukcje]
   path = /home/instrukcje
;    public = yes
   browseable = yes
   writable = no
   readonly = yes
   writelist = root
   nt acl support = no
   security mask = 0755
   force security mode = 0
   directory security mask = 0755
   force directory security mode = 0



[instalator]
   comment = katalog obrazow dyskow - pliki ghost
   path = /home/instalator
   public = no
   browseable = no
   writable = yes
   ;readonly = yes
   create mode = 0700
   directory mode = 0700
   force user = instalator


Than You for all information

Piotr Brudny





More information about the samba mailing list