Find the answer to your Linux question:
Results 1 to 2 of 2
In my students campus we have a Windows DHCP network. Now I have installed Linux (Ubuntu 6.10) and Samba in order to access the other computers directly. At first it ...
  1. #1
    Just Joined! Ozzi's Avatar
    Join Date
    Mar 2007
    Location
    Iasi, Romania
    Posts
    48

    Set up samba client on a windows network

    In my students campus we have a Windows DHCP network. Now I have installed Linux (Ubuntu 6.10) and Samba in order to access the other computers directly. At first it worked perfectly (with the default settings), but now when I enter "Network Servers" it shows a "Windows Network" folder wich is empty. I don't know what could have altered the initial settings (I know I didn't) but I would very much like to get it working again. I have Googled my problem and so far I have only come across tutorials on how to set up a Samba Server. Can anyone help me?

    These are the contents of my /etc/samba/smb.conf file:
    Code:
    # Global Settings 
    
    [global]
    
    ## Browsing/Identification ###
    
       workgroup = T19
    
       server string = %h server (Samba, Ubuntu Linux)
    ;   wins support = no
    
    ;   wins server = w.x.y.z
    
       dns proxy = no
    
    ;   name resolve order = lmhosts host wins bcast
    
    #### Networking ####
    
    ;   interfaces = 127.0.0.0/8 eth0
    
    ;   bind interfaces only = true
    
    #### Debugging/Accounting ####
    
       log file = /var/log/samba/log.%m
    
       max log size = 1000
    
    ;   syslog only = no
    
       syslog = 0
    
       panic action = /usr/share/samba/panic-action %d
    
    ####### Authentication #######
    
    ;   security = user
    
       encrypt passwords = true
    
       passdb backend = tdbsam
    
       obey pam restrictions = yes
    
    ;   guest account = nobody
       invalid users = root
    
    ;   unix password sync = no
    
       passwd program = /usr/bin/passwd %u
       passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
    
    ;   pam password change = no
    
    ########## Domains ###########
    
    ;   domain logons = yes
    
    ;   logon path = \\%N\profiles\%U
    
    ;   logon path = \\%N\%U\profile
    
    ;   logon drive = H:
    ;   logon home = \\%N\%U
    
    ;   logon script = logon.cmd
    
    ; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u
    
    ########## Printing ##########
    
    ;   load printers = yes
    
    ;   printing = bsd
    ;   printcap name = /etc/printcap
    
    ;   printing = cups
    ;   printcap name = cups
    
    ;   printer admin = @lpadmin
    
    
    ############ Misc ############
    
    ;   include = /home/samba/etc/smb.conf.%m
    
       socket options = TCP_NODELAY
    
    ;   message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &
    
    ;   domain master = auto
    
    ;   idmap uid = 10000-20000
    ;   idmap gid = 10000-20000
    ;   template shell = /bin/bash
    
    # Share Definitions 
    
    ;[homes]
    ;   comment = Home Directories
    ;   browseable = no
    
    ;   valid users = %S
    
    ;   writable = no
    
    ;   create mask = 0600
    
    ;   directory mask = 0700
    
    ;[netlogon]
    ;   comment = Network Logon Service
    ;   path = /home/samba/netlogon
    ;   guest ok = yes
    ;   writable = no
    ;   share modes = no
    
    ;[profiles]
    ;   comment = Users profiles
    ;   path = /home/samba/profiles
    ;   guest ok = no
    ;   browseable = no
    ;   create mask = 0600
    ;   directory mask = 0700
    
    wins support = no
    [printers]
       comment = All Printers
       browseable = no
       path = /tmp
       printable = yes
       public = no
       writable = no
       create mode = 0700
    
    [print$]
       comment = Printer Drivers
       path = /var/lib/samba/printers
       browseable = yes
       read only = yes
       guest ok = no
    ;   write list = root, @ntadmin
    
    ;[cdrom]
    ;   comment = Samba server's CD-ROM
    ;   writable = no
    ;   locking = no
    ;   path = /cdrom
    ;   public = yes
    
    ;   preexec = /bin/mount /cdrom
    ;   postexec = /bin/umount /cdrom
    
    [Downloads]
    path = /home/ozzi/Downloads
    available = yes
    browsable = yes
    public = yes
    writable = no
    Thanks.

  2. #2
    Just Joined!
    Join Date
    Apr 2007
    Posts
    19
    is it running?

    try:
    Code:
    /etc/init.d/smb restart

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...