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

Check the logs in /var/log/samba?
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
broken kerberos?
It sounds it but how do i check?
BTW WBINFO -U and -G works fine.
Code:kinit Administrator@YOURDOMAIN.TLD
Tried that and it works fine. Created a ticket fine.

Have you restarted all samba and/or winbind?
Yes the whole server was rebooted.
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:
Error says invalid user.Code:chown -R 'domainname\administrator:domainname\domain admins' /folder

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.
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).
You need to be root to restart services.
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.
Is nscd running or not then?
NSCD works by caching information. It takes a while to build up it's cache. Thus it takes a while to break samba.Code:ps aux | grep nscd![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)