[Samba] client with W2K browse through server disc

Petr Simecek petr at diakoniecce.cz
Sun Feb 17 08:52:04 GMT 2002


I have W2K 5.00.2195 and RH 7.1 with 2.4.10 kernel. Running Samba 2.2.3a 
simply by ./configure, make, make install...

>From MS Word, I cannot browse through network disc. From explorer, worpad, 
notepad... It runs.

Word say "You have not permission...." If I make share disc on W98 and browse 
from w2k, It runs fine.

I try make W2K work as workgroup and connect to public share. Word cannot. In 
nmbd, there are logs about "process_logon_packet: Logon from 'My_IP': code = 
0x12 and 0x7".

Do you know, what would be?

Many thank, Peter
-------------- next part --------------
[global]
#W2K PDC
    netbiosname = Samba
    workgroup = diakonie
    os level = 64
    preferred master = yes
    domain master = yes
    local master = yes
    security = user
    encrypt passwords = yes
    domain logons = yes
    logon path = \\%N\%U\profile
    logon drive = G:
    logon home = /home/samba/users/%u
    logon script = %u.bat

    interfaces = eth2
    log file = /usr/local/samba/var/log.%I
    veto files = /.*/imap/mail/
    
    wins support = yes
    
    client code page = 852

    load printers = yes
    printcap name = /etc/printcap


#    character set = ISO8859-2
#---
    max log size = 50
    log level = 1
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
#    smb passwd file = /etc/samba/smbpasswd
#    unix password sync = no
#    passwd program = /usr/bin/passwd
#    null passwords = no
#    dns proxy = no
#    share modes = yes
    map to guest = never

#    password level = 0
#    dead time = 0
#    debug level = 2

#---

[netlogon]
    path = /home/samba/netlogon
    writable = no
    comment = The domain logon services
    public = no
    browsable = no

[profiles]
    path = /home/samba/profiles
    writeable = yes
    create mask = 0600
    directory mask = 0700
    
[homes]
    comment = Home Directories
    browseable = yes
    writable = yes
    create mode = 0700

[public]
    comment = Spolecny adresar
    path = /homeustredi/diakonie
    public = no
    guest ok = no
    writable = True
    printable = no
    browsable = yes
    directory mask = 0777
    create mask = 0777

[CDROM]
    comment = CD Server
    path = /mnt/cdrom
    public = yes
    guest ok = yes
    writable = False
    printable = no
    browsable = yes
    directory mask = 0777
    create mask = 0777
    valid users = petr

[inform]
    comment = Informacni usek
    path = /home/samba/groups/informacni
    browsable = no
    public = no
    writable = yes
    printable = no
    directory mask = 0770
    create mask = 0770


[ekonom]
     comment = Ekonomicky usek
     path = /home/samba/groups/ekonomicky
     browsable = no
     public = no
     writable = yes
     printable = no
     directory mask = 0770
     create mask = 0770

[vzdelav]
     comment = Informacni usek
     path = /home/samba/groups/vzdelavaci
     browsable = yes
     public = no
     writable = yes
     printable = no
     directory mask = 0770
     create mask = 0770

[techn]
     comment = Technicky usek
     path = /home/samba/groups/technicky
     browsable = no
     public = no
     writable = yes
     printable = no
     directory mask = 0770
     create mask = 0770

[sekretar]
     comment = Sekretariat
     path = /home/samba/groups/sekretariat
     browsable = no
     public = no
     writable = yes
     printable = no
     directory mask = 0770
     create mask = 0770

[usekove]
     comment = Admin na useky
     path = /home/samba/groups
     browsable = no
     public = no
     writable = yes
     printable = no
     directory mask = 0700
     create mask = 0700

[domaci]
     comment = Admin na homes
     path = /home/samba/users
     browsable = no
     public = no
     writable = yes
     printable = no
     directory mask = 0700
     create mask = 0700

[slovnik]
    comment = Data pro WinGed2000
    path = /home/samba/appl/slovnik
    public = no
    guest ok = no
    writable = no
    printable = no
    browsable = no
    directory mask = 0755
    create mask = 0755

[mp3]
    comment = Hudba
    path = /mnt/hda3/CD/MP3
    public = no
    guest ok = no
    writable = no
    printable = no
    browsable = yes
    directory mask = 0755
    create mask = 0755
    valid users = bouska, petr, pavelkova, capova, merclova, swiatkova

[install]
    comment = Data pro chod
    path = /home/samba/appl/install
    public = no
    guest ok = no
    writable = no
    printable = no
    browsable = yes
    directory mask = 0775
    create mask = 0775

[lyska]
    comment = Stara databaze
    path = /home/samba/appl/appldata
    public = no
    guest ok = no
    writable = no
    printable = no
    browsable = yes
    directory mask = 0755
    create mask = 0755

[ISO_CD]
    comment = Virtualni CDROM
    path = /mnt/iso
    public = no
    guest ok = no
    writable = no
    printable = no
    browsable = yes
    directory mask = 0755
    create mask = 0755
    valid users = petr

[SambaPRN]
    comment = Samba main printing
    printable = yes
    print command = /usr/bin/lpr -Plp -r %s
    printer = lp
    printing = BSD
    read only = yes
    browsable = yes
    public = no

[HPLJ]
    comment = Samba vzdelavaci printing
    printable = yes
    print command = /usr/bin/lpr -PPlanet -r %s
    printer = Planet
    printing = BSD
    read only = yes
    browsable = yes
    public = no

#[fax]
#    comment = OTC Fax Printer
#    path = /tmp
#    lpq command = /usr/local/smbfax/smbfax show
#    lprm command = /usr/local/smbfax/smbfax dequeue %j
#    print command = /usr/local/smbfax/smbfax -r queue %u %s
#    queuepause command = /bin/true
#    queueresume command = /bin/true
#    postscript = true
#    browseable = yes
#    printable = yes
#    writable = no
#    create mode = 0700
#    printing = lprng
-------------- next part --------------
[2002/02/17 17:09:27, 0] nmbd/nmbd.c:main(783)
  Netbios nameserver version 2.2.3a started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2002/02/17 17:09:27, 1] lib/debug.c:debug_message(248)
  INFO: Debug class all level = 1   (pid 2950 from pid 2950)
[2002/02/17 17:09:27, 0] nmbd/asyncdns.c:start_async_dns(148)
  started asyncdns process 2952
[2002/02/17 17:09:27, 0] nmbd/nmbd_logonnames.c:add_logon_names(156)
  add_domain_logon_names:
  Attempting to become logon server for workgroup DIAKONIE on subnet 192.168.2.1
[2002/02/17 17:09:27, 0] nmbd/nmbd_logonnames.c:add_logon_names(156)
  add_domain_logon_names:
  Attempting to become logon server for workgroup DIAKONIE on subnet UNICAST_SUBNET
[2002/02/17 17:09:27, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(339)
  become_domain_master_browser_wins:
  Attempting to become domain master browser on workgroup DIAKONIE, subnet UNICAST_SUBNET.
[2002/02/17 17:09:27, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(352)
  become_domain_master_browser_wins: querying WINS server at IP 192.168.2.1 for domain master browser name DIAKONIE<1b> on workgroup DIAKONIE
[2002/02/17 17:09:27, 0] nmbd/nmbd_logonnames.c:become_logon_server_success(114)
  become_logon_server_success: Samba is now a logon server for workgroup DIAKONIE on subnet UNICAST_SUBNET
[2002/02/17 17:09:27, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(115)
  *****
  
  Samba server SAMBA is now a domain master browser for workgroup DIAKONIE on subnet UNICAST_SUBNET
  
  *****
[2002/02/17 17:09:27, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(291)
  become_domain_master_browser_bcast:
  Attempting to become domain master browser on workgroup DIAKONIE on subnet 192.168.2.1
[2002/02/17 17:09:27, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(304)
  become_domain_master_browser_bcast: querying subnet 192.168.2.1 for domain master browser on workgroup DIAKONIE
[2002/02/17 17:09:31, 0] nmbd/nmbd_logonnames.c:become_logon_server_success(114)
  become_logon_server_success: Samba is now a logon server for workgroup DIAKONIE on subnet 192.168.2.1
[2002/02/17 17:09:31, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(236)
  find_response_record: response packet id 20172 received with no matching record.
[2002/02/17 17:09:31, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(236)
  find_response_record: response packet id 20173 received with no matching record.
[2002/02/17 17:09:35, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(115)
  *****
  
  Samba server SAMBA is now a domain master browser for workgroup DIAKONIE on subnet 192.168.2.1
  
  *****
[2002/02/17 17:09:50, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(404)
  *****
  
  Samba name server SAMBA is now a local master browser for workgroup DIAKONIE on subnet 192.168.2.1
  
  *****
[2002/02/17 17:11:37, 1] nmbd/nmbd_processlogon.c:process_logon_packet(69)
  process_logon_packet: Logon from 192.168.2.22: code = 0x12


More information about the samba mailing list