Samba Issues
-
First thing is to always check /var/log/whateverisntworking
/var/log/samba should have your logs there. -
@momurda said in Samba Issues:
First thing is to always check /var/log/whateverisntworking
/var/log/samba should have your logs there.Those say the same thing.
-
Cant be the only log information in your logs, unless you dont have logging turned on.
If it is you need to change smb.conf to allow more verbose logging. -
@momurda said in Samba Issues:
Cant be the only log information in your logs, unless you dont have logging turned on.
If it is you need to change smb.conf to allow more verbose logging.The errors are pictured at the top and seem clear, I just don't know how to fix it, or what they mean exactly... a bunch of google searching shows a lot of fixes that don't work or apply.
-
I know I say this a lot, but could it be an SELinux permission?
-
I would also suggest taking a close look at the logs. It's screaming about not having enough Memory... How much RAM do you have on the server -- and do you have a swapfile enabled?
-
you can try
testparm /etc/samba/smb.conf
to see if there is an error in the config
If not, something else is wrong. -
@momurda said in Samba Issues:
you can try
testparm /etc/samba/smb.conf
to see if there is an error in the config
If not, something else is wrong.All's well there.
Load smb config files from /etc/samba/smb.conf rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) Processing section "[share1]" Processing section "[share2]" Processing section "[share3]" Loaded services file OK. WARNING: You have some share names that are longer than 12 characters. These may not be accessible to some older clients. (Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.) Server role: ROLE_DOMAIN_MEMBER Press enter to see a dump of your service definitions
-
I got it working with Winbind, after reinstalling the OS (Fedora 28). The same issue persisted using sssd even after a new install. So Winbind it is, something changed somewhere via an update or something, because it was working a month ago, and there were no configuration changes from me.
I had /home as a separate LVM partition, so reinstalling from netinstall (minimal) was easy without losing /home, which has about 9TB of data in it.
I'll post a fix once I unscramble my notes.
-
I posted the fix here: https://www.timothygruber.com/linux/samba-file-server-with-microsoft-ad/#Install_Packages
Basically, you add the
--client-software=winbind
switch to your realm join command, making sure you have the pre-reqs and correct SAMBA configuration afterwards. -
@obsolesce Did you change your username?
-
@momurda said in Samba Issues:
@obsolesce Did you change your username?
Yes, due to some personal reasons.
</nameChangeTopic> -
@momurda said in Samba Issues:
@obsolesce Did you change your username?
The old one was... obsolete.