Jump to content

Recommended Posts

Posted
Ok i have an Ubuntu server that acts as my fileserver, it holds a few images on it and its been working fine until recently. The share now says access denied so i was wondering how do i trouble shoot it.
Posted

Good point... it says:

 

[2007/07/13 11:30:12, 1] smbd/sesssetup.c:reply_spnego_kerberos(303)

Username DomainName\ServerName$ is invalid on this system

Posted

Ok heres an update, i tried to chown the folder to reset the permissions and it wont let me. The following is the command that i used:

 

chown -R 'domainname\administrator:domainname\domain admins' /folder

 

Error says invalid user.

Posted
If you have "winbind use default domain = yes" in your smb.conf you don't need to specify usernames in that format. Try just "administrator"; and then chgrp "domain admins" separately.
Posted

Thanks for the responses.

 

@webman: I didnt have that set so i decided i would give it a try and its well and truly messed up now. I tried to restart samba and winbind, i get this when i try:

 

* Stopping Samba daemons... start-stop-daemon: warning: failed to kill 3691: Operation not permitted

start-stop-daemon: warning: failed to kill 3693: Operation not permitted

[ ok ]

* Starting Samba daemons... install: cannot change owner and/or group of `/var/run/samba': Operation not permitted

/etc/init.d/samba: line 25: 4031 Aborted start-stop-daemon --start --quiet --oknodo --exec /usr/sbin/smbd -- -D

[fail]

 

I left the machine shutdown over the weekend in the hopes that it was somehow related to the system overheating (unlikely i know but i was pretty frustrated), and it still has a problem with network users. It each time i try chown it says 'invalid user' so now im well stumped. Im beginning to think that i will need to reinstall it all, starting with ubuntu and install the rest from there. My only problem is that there is data on there that i want which at this stage im not entirely sure i can salvage, so is there a way to install ubuntu but retain the data(assuming no one can help me fix samba or winbind or ubuntu or whatever the hell is wrong with it).

Posted
I had root permissions and i restarted it fine before, its just decided to throw a barny now. So no one has any ideas on why it thinks network users are invalid? I read somewhere that if the nscd (i think its called that) service is running it would cause a problem but i dont think i have it and if i do, why did it not have a problem sooner. This is all very odd.
Posted

Is nscd running or not then?

 

ps aux | grep nscd

 

NSCD works by caching information. It takes a while to build up it's cache. Thus it takes a while to break samba. :)

Posted

Ok heres what i get:

 

1000 4046 0.0 0.1 2880 796 pts/0 S+ 12:37 0:00 grep nscd

 

What does this mean? It is running?

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