[Samba] Unable to browse PDC from WIN2000 clients or clints from PDC

dave.savard at beckard.com dave.savard at beckard.com
Wed Jan 3 15:19:12 GMT 2007


HI All;

I can not browse the PDC from client machines (even though they log into 
the domain just fine).
I am unable to browse the shares from the server or see any of the client 
PC's in the domain.

I'm running REDAHT Linux ES 4, with Kernel 2.6.9-42.0.3.ELsmp  
SAMBA is samba-3.0.10-1.4E.9

I deleted all the logs and restarted samba and find only the following 3 
log files created:
[root at marathon samba]# ls -lt
total 24
-rw-r--r--  1 root root  950 Jan  3 10:03 nmbd.log
-rw-r--r--  1 root root  144 Jan  3 10:03 smbd.log
-rw-r--r--  1 root root 2653 Jan  3 10:03 pc23.log 

/var/log/samba/nmbd.log;
[2007/01/03 10:03:16, 0] nmbd/nmbd_logonnames.c:add_logon_names(163) 
add_domain_logon_names:
  Attempting to become logon server for workgroup MARATHON on subnet 
192.168.123.221
[2007/01/03 10:03:16, 0] 
nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(282) 
become_domain_master_browser_bcast:
  Attempting to become domain master browser on workgroup MARATHON on 
subnet 192.168.123.221
[2007/01/03 10:03:16, 0] 
nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(295)
  become_domain_master_browser_bcast: querying subnet 192.168.123.221 for 
domain master browser on workgroup MARATHON
[2007/01/03 10:03:20, 0] 
nmbd/nmbd_logonnames.c:become_logon_server_success(124) 
become_logon_server_success: Samba is now a logon server for workgroup 
MARATHO
N on subnet 192.168.123.221
[2007/01/03 10:03:24, 0] 
nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113)
  *****
    Samba server MARATHON is now a domain master browser for workgroup 
MARATHON on
 subnet 192.168.123.221
   *****

/var/log/samba/pc23.log    <----  what machine is this - this is not my 
server name?

# cat pc23.log
[2007/01/03 10:03:14, 6] param/loadparm.c:lp_file_list_changed(2688)
  lp_file_list_changed()
  file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Wed Jan 
3 09:
55:31 2007
 
  file /etc/samba/smb.conf modified: Wed Jan  3 10:02:44 2007
 
[2007/01/03 10:03:14, 5] param/loadparm.c:free_service(2195)
  free_service: Freeing service homes
[2007/01/03 10:03:14, 5] param/loadparm.c:free_service(2195)
  free_service: Freeing service netlogon
[2007/01/03 10:03:14, 5] param/loadparm.c:free_service(2195)
  free_service: Freeing service profiles
[2007/01/03 10:03:14, 5] param/loadparm.c:free_service(2195)
  free_service: Freeing service management
[2007/01/03 10:03:14, 5] param/loadparm.c:free_service(2195)
  free_service: Freeing service payroll
[2007/01/03 10:03:14, 5] param/loadparm.c:free_service(2195)
  free_service: Freeing service printers
[2007/01/03 10:03:14, 5] param/loadparm.c:free_service(2195)
  free_service: Freeing service tmp
[2007/01/03 10:03:14, 5] param/loadparm.c:free_service(2195)
  free_service: Freeing service IPC$
[2007/01/03 10:03:14, 5] param/loadparm.c:free_service(2195)
  free_service: Freeing service ADMIN$
[2007/01/03 10:03:14, 3] param/loadparm.c:lp_load(3894)
  lp_load: refreshing parameters
[2007/01/03 10:03:14, 3] param/loadparm.c:init_globals(1312)
  Initialising global parameters
[2007/01/03 10:03:14, 3] param/params.c:pm_process(566)
  params.c:pm_process() - Processing configuration file 
"/etc/samba/smb.conf"
[2007/01/03 10:03:14, 3] param/loadparm.c:do_section(3396)
  Processing section "[global]"
  doing parameter domain master = yes
  doing parameter preferred master = yes
  doing parameter oslevel = 64
  doing parameter domain logons = yes
  doing parameter workgroup = MARATHON
  doing parameter netbios name = MARATHON
[2007/01/03 10:03:14, 4] param/loadparm.c:handle_netbios_name(2741)
  handle_netbios_name: set global_myname to: MARATHON
  doing parameter server string = Samba-PDC
  doing parameter hide dot files = yes
  doing parameter invalid users = bin deamon sys man postfix mail ftp
  doing parameter smb passwd file = /etc/samba/smbpasswd
  doing parameter unix password sync = yes
  doing parameter passwd chat = *New*password* %n\n *Retype*new*password* 
%n\n *
passwd:*all*authentication*tokens*updated*successfully*
  doing parameter passwd program = /usr/bin/passwd %u
  doing parameter printing = cups
  doing parameter printcap name = cups
  doing parameter security = user
  doing parameter max log size = 200
  doing parameter log level = 1
[2007/01/03 10:03:15, 1] smbd/service.c:close_cnum(841)
  pc23 (192.168.123.203) closed connection to service common


/etc/samba/smb.conf is:
;*******************section global*****************
[global]
        domain master = yes
        preferred master = yes
        oslevel = 64 
        domain logons = yes
        workgroup = MARATHON
        netbios name = MARATHON
        server string = Samba-PDC
        hide dot files = yes
        wins support = Yes
        invalid users = bin deamon sys man postfix mail ftp 
        smb passwd file = /etc/samba/smbpasswd
        unix password sync = yes
        passwd chat = *New*password* %n\n *Retype*new*password* %n\n 
*passwd:*all*authentication*tokens*updated*successfully*
        passwd program = /usr/bin/passwd %u
        printing = cups
        printcap name = cups
        security = user
        max log size = 200
        log level = 8
        log file = /var/log/samba/%m.log
        load printers = yes
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        logon drive = Z:
        keepalive = 30
        logon path = \\%L\profiles\%U
        add user script = /usr/sbin/useradd -d /dev/null -g machines -s 
/bin/false -M %u
 
[homes]
   comment = Home Directory 
   path = /home/%U
   public = no
   read only = no
   writable = yes
   create mask = 0600
   directory mask = 0700

#===================== Share Definitions ==================



# This one is useful for people to share files
[tmp]
   comment = Temporary file space
   path = /tmp
   read only = no
   public = yes


Thanks
Dave


More information about the samba mailing list