Jump to content

Recommended Posts

Posted

Samba has recently stopped working on my Ubuntu 7.04 server.

 

Heres my smb.conf

[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

error.png

Posted
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.
Posted

When i run testparm i get

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...