LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-13-2019, 10:41 AM   #1
ytd
Member
 
Registered: Jan 2009
Posts: 202

Rep: Reputation: 31
Samba share is not working - it shows blank and no share.


I literally don't know what to do... I checked all the logs and no error, also testparm and no error.

root@xxx:/etc/samba# /etc/init.d/winbind restart
[ ok ] Restarting winbind (via systemctl): winbind.service.
root@xxx:/etc/samba# /etc/init.d/smbd restart
[ ok ] Restarting smbd (via systemctl): smbd.service.
root@xxx:/etc/samba# /etc/init.d/samba restart
[ ok ] Restarting nmbd (via systemctl): nmbd.service.
[ ok ] Restarting smbd (via systemctl): smbd.service.
[ ok ] Restarting samba-ad-dc (via systemctl): samba-ad-dc.service.

And when I try to access on any pc with \\theipaddress it opepns blank...

Can someone help, please?
 
Old 09-13-2019, 10:54 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 21,944

Rep: Reputation: 5810Reputation: 5810Reputation: 5810Reputation: 5810Reputation: 5810Reputation: 5810Reputation: 5810Reputation: 5810Reputation: 5810Reputation: 5810Reputation: 5810
Quote:
Originally Posted by ytd View Post
I literally don't know what to do... I checked all the logs and no error, also testparm and no error.

root@xxx:/etc/samba# /etc/init.d/winbind restart
[ ok ] Restarting winbind (via systemctl): winbind.service.
root@xxx:/etc/samba# /etc/init.d/smbd restart
[ ok ] Restarting smbd (via systemctl): smbd.service.
root@xxx:/etc/samba# /etc/init.d/samba restart
[ ok ] Restarting nmbd (via systemctl): nmbd.service.
[ ok ] Restarting smbd (via systemctl): smbd.service.
[ ok ] Restarting samba-ad-dc (via systemctl): samba-ad-dc.service.

And when I try to access on any pc with \\theipaddress it opepns blank... Can someone help, please?
We can try to help, but you've given us next to zero details. You don't say the version of Samba, what kind of client you're using to connect with, how you're trying to 'access on any pc' (with a user ID? Guest?), shown us your samba config file, or even tell us what version/distro of Linux you're using. We can't guess....read the "Question Guidelines" link in my posting signature, along with the "How to ask a smart question" link.

::EDIT::
Since in your last thread you said you didn't want to read things because it was 'too long':
https://www.linuxquestions.org/quest...es-4175629804/

After TEN YEARS here, you should be well familiar with what details to provide.

Last edited by TB0ne; 09-13-2019 at 10:58 AM.
 
Old 09-13-2019, 11:52 AM   #3
rtmistler
Moderator
 
Registered: Mar 2011
Location: MA, USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,038
Blog Entries: 13

Rep: Reputation: 3488Reputation: 3488Reputation: 3488Reputation: 3488Reputation: 3488Reputation: 3488Reputation: 3488Reputation: 3488Reputation: 3488Reputation: 3488Reputation: 3488
We do not need to refer to other threads for this discussion, unless they are related to the technical topic.

The original question is:
Quote:
Originally Posted by ytd View Post
Samba share is not working - it shows blank and no share.
I literally don't know what to do... I checked all the logs and no error, also testparm and no error.

root@xxx:/etc/samba# /etc/init.d/winbind restart
[ ok ] Restarting winbind (via systemctl): winbind.service.
root@xxx:/etc/samba# /etc/init.d/smbd restart
[ ok ] Restarting smbd (via systemctl): smbd.service.
root@xxx:/etc/samba# /etc/init.d/samba restart
[ ok ] Restarting nmbd (via systemctl): nmbd.service.
[ ok ] Restarting smbd (via systemctl): smbd.service.
[ ok ] Restarting samba-ad-dc (via systemctl): samba-ad-dc.service.

And when I try to access on any pc with \\theipaddress it opepns blank...
My primary question here is whether or not you have validated that there are files in the share location which you would see upon attaching.

Second question is that you should post your smb.conf file, along with any Samba logs which show what, if anything occurred when you attached a user to your machine.

Final question for now is information about which users you are attaching to this machine, and information relevant to those users on the Samba share system. Such as: the fact that the accounts are configured, which permissions they have, and which groups they are part of.
 
Old 09-13-2019, 12:56 PM   #4
ytd
Member
 
Registered: Jan 2009
Posts: 202

Original Poster
Rep: Reputation: 31
Solved. The Reta$$$ idi** that is over 45 years old changed the AD admin password and I needed to reset the server (because he also resetted the root password - and I needed to change that) in order to reset the root passowrd and needed to rejoin the AD domain. That's why I needed to restart the server and didn't realise that I needed to rejoin the domain - that's why share didnt work.


sudo net ads join -S mydomain.net -U administrator%adminpasswd.


2278 /etc/init.d/winbind restart
2279 /etc/init.d/samba restart
2280 /etc/init.d/smbd restart
2281 sudo net ads join -S mydomain>NET -U administrator%

And the winbind, samba and smbd should be exactly in this order.

Also "kinit administrator" command was mandatory, don't remember which order...

Topic closed.

Tooked me allmost 6 hours to do this, after 5L of beer.

Topic closed.
 
Old 09-13-2019, 01:07 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 21,944

Rep: Reputation: 5810Reputation: 5810Reputation: 5810Reputation: 5810Reputation: 5810Reputation: 5810Reputation: 5810Reputation: 5810Reputation: 5810Reputation: 5810Reputation: 5810
Quote:
Originally Posted by ytd View Post
Solved. The Reta$$$ idi** that is over 45 years old changed the AD admin password and I needed to reset the server (because he also resetted the root password - and I needed to change that) in order to reset the root passowrd and needed to rejoin the AD domain. That's why I needed to restart the server and didn't realise that I needed to rejoin the domain - that's why share didnt work.

sudo net ads join -S mydomain.net -U administrator%adminpasswd.

2278 /etc/init.d/winbind restart
2279 /etc/init.d/samba restart
2280 /etc/init.d/smbd restart
2281 sudo net ads join -S mydomain>NET -U administrator%

And the winbind, samba and smbd should be exactly in this order. Also "kinit administrator" command was mandatory, don't remember which order...

Topic closed. Tooked me allmost 6 hours to do this, after 5L of beer. Topic closed.
Glad you got it solved. Although without any of the details, none of us here could have even begun to help. Seems like the root issue was you weren't talking with your coworkers, or working as a team.
 
Old 09-13-2019, 03:08 PM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 12,463
Blog Entries: 9

Rep: Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372Reputation: 3372
Quote:
Originally Posted by ytd View Post
The Reta$$$ idi** that is over 45 years old
That incredibly advanced age certainly must be the reason why this person did something so stupid.
I am over 45 years old.
I guess that makes me a retard idiot, too.
 
2 members found this post helpful.
Old 09-13-2019, 03:38 PM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 21,944

Rep: Reputation: 5810Reputation: 5810Reputation: 5810Reputation: 5810Reputation: 5810Reputation: 5810Reputation: 5810Reputation: 5810Reputation: 5810Reputation: 5810Reputation: 5810
Quote:
Originally Posted by ondoho View Post
That incredibly advanced age certainly must be the reason why this person did something so stupid.
I am over 45 years old. I guess that makes me a retard idiot, too.
Had similar thoughts. And the second thing I thought was, "Gee, I wonder WHY someone changed the admin/root/domain passwords?" Since most companies have some sort of security policies about changing things regularly, etc. Speculation on why these things weren't communicated/known is open for thought.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kali linux shows blank screen while installling and nothing shows after dhireshartron Debian 2 07-13-2018 06:40 AM
[SOLVED] Ubuntu 11.04 does not start, shows blank purple screen. Takes several restarts to run Newbie11.04 Linux - Newbie 5 12-16-2011 11:24 AM
tomcat on suse 9.3 - admin tool does not work; it shows a blank page nicolasdiogo Linux - Networking 3 06-14-2005 02:15 AM
snmp staus shows it running but on trying MRTG, it shows public@ipaddr not giving res swati220781 Linux - Networking 3 07-08-2004 05:32 PM
samba working, then installed openSSL and not samba not working hamish Linux - Networking 3 05-17-2004 01:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration