+ Post New Thread
Results 1 to 3 of 3
Wireless Networks Thread, Samba in Technical; Samba has recently stopped working on my Ubuntu 7.04 server. Heres my smb.conf Code: [global] netbios name = CHN-SVR-001 guest ...
  1. #1

    Join Date
    Jan 2007
    Location
    Durham, UK
    Posts
    328
    Thank Post
    33
    Thanked 17 Times in 12 Posts
    Rep Power
    20

    Samba

    Samba has recently stopped working on my Ubuntu 7.04 server.

    Heres my smb.conf
    Code:
    [global]
    	netbios name = CHN-SVR-001
    	guest account = guest
    	load printers = yes
    	admin users = Jack,
    	workgroup = JACKNET 
    	os level = 20
    	announce as = CHN-SVR-001
    	null passwords = yes
    	username map = /etc/samba/user.map
    	encrypt passwords = true
    	security = share
    	preferred master = no
    	domain logons = yes
    
    
    [homes]
    comment = Home Directories
    read only = No
    create mask = 0750
    
    [Public]
    comment = Public Stuff
    path = /home/Public
    read only = No
    guest ok = Yes
    
    [JACKNET]
    	
    	guest  ok = No
    	guest account = root
    	comment = JackNET Website
    	writeable = yes
    	user = root,administrator,web1_jack
    	write list = web1_jack,administrator,root
    	path = /var/www/web3
    
    
    [AllWebs]
    	
    	guest account = root
    	writeable = yes
    	path = /var/www
    
    [drive]
    	
    	guest account = root
    	writeable = yes
    	path = /
    
    [install]
    	
    	guest account = root
    	writeable = yes
    	path = /ntinstall
    The samba server is not joined to a domain. It was working fine a few days ago until i added the install share. Ive rebooted samba and the server but with no luck.

    Any Ideas?

    Thanks Jack D
    Attached Images Attached Images

  2. #2

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,406
    Thank Post
    640
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    324

    Re: Samba

    As root, run testparm to check for any errors in the smb.conf file. If that doesn't bring up anything then look in /var/log/samba/ and search the logs for any errors.

  3. #3

    Join Date
    Jan 2007
    Location
    Durham, UK
    Posts
    328
    Thank Post
    33
    Thanked 17 Times in 12 Posts
    Rep Power
    20

    Re: Samba

    When i run testparm i get
    Code:
    root@chn-svr-001:/var/log/samba# testparm
    Load smb config files from /etc/samba/smb.conf
    Processing section "[homes]"
    Processing section "[Public]"
    Processing section "[JACKNET]"
    Global parameter guest account found in service section!
    Processing section "[AllWebs]"
    Global parameter guest account found in service section!
    Processing section "[drive]"
    Global parameter guest account found in service section!
    Processing section "[install]"
    Global parameter guest account found in service section!
    Server's Role (logon server) conflicts with share-level security
    Loaded services file OK.
    Server role: ROLE_STANDALONE
    Press enter to see a dump of your service definitions
    
    [global]
            workgroup = JACKNET
            security = SHARE
            null passwords = Yes
            guest account = guest
            username map = /etc/samba/user.map
            domain logons = Yes
            preferred master = No
            admin users = Jack
    
    [homes]
            comment = Home Directories
            read only = No
            create mask = 0750
    
    [Public]
            comment = Public Stuff
            path = /home/Public
            read only = No
            guest ok = Yes
    
    [JACKNET]
            comment = JackNET Website
            path = /var/www/web3
            username = root,administrator,web1_jack
            write list = web1_jack, administrator, root
            read only = No
    
    [AllWebs]
            path = /var/www
            read only = No
    
    [drive]
            path = /
            read only = No
    
    [install]
            path = /ntinstall
            read only = No

SHARE:
+ Post New Thread

Similar Threads

  1. Samba Tip
    By Geoff in forum *nix
    Replies: 3
    Last Post: 28th November 2007, 02:23 PM
  2. Samba 4
    By FN-GM in forum *nix
    Replies: 8
    Last Post: 9th October 2007, 12:28 AM
  3. Samba share
    By apeo in forum *nix
    Replies: 17
    Last Post: 16th July 2007, 12:21 PM
  4. Samba (the joy of)
    By ZeroHour in forum *nix
    Replies: 1
    Last Post: 23rd January 2007, 12:21 AM
  5. Samba config
    By Dos_Box in forum *nix
    Replies: 7
    Last Post: 19th October 2005, 09:21 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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