• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Samba share problem

suityou01

Potty-trained
Joined
Jan 20, 2009
Messages
21,122
Likes received
773
Thanks received
222
Location
Clown World
The problem is it does not exist.

Using Samba4. Share is defined as

Code:
[shared]
path=/var/lib/samba/shared
read only = no

I restart samba, then

Code:
smblclient -l myhost

And it is not listed. At all.

Any ideas how something so flipping basic doesn't work?

I have other shares working just fine. Is this a folder permissions thing?
 
The problem is it does not exist.

Using Samba4. Share is defined as

Code:
[shared]
path=/var/lib/samba/shared
read only = no

I restart samba, then

Code:
smblclient -l myhost

And it is not listed. At all.

Any ideas how something so flipping basic doesn't work?

I have other shares working just fine. Is this a folder permissions thing?

What do the log files say...
 
What do the log files say...

There are none. This is the frustrating thing.

Code:
log file= /var/log/samba/log.%m
log level = 5

And nada. Nichts. Zip. Diddly. :mad:
 
Try:

Code:
browseable = yes
 
This is mine:

[stek]
comment = Public Stuff
path = /stek
browsable = yes
guest ok = yes
read only = no
create mask = 0755

and (scrubbed a bit);

[root@aix1 ~]# smbclient -L rhel6test -U stek
Enter stek's password:
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.6.23-14.el6_6]

Sharename Type Comment
--------- ---- -------
stek Disk Public Stuff
IPC$ IPC IPC Service (Samba Server Version 3.6.23-14.el6_6)
HP_Color_LaserJet_4700:1 Printer HP Color LaserJet 4700
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.6.23-14.el6_6]

Server Comment
--------- -------
RHEL6TEST Samba Server Version 3.6.23-14.el6_6
aix1 P740frame1

Workgroup Master
--------- -------
MYGROUP RHEL6TEST
[root@aix1 ~]#

You using small 'l' or capital 'L'?
 
What version of Linux? New up to date versions don't use syslog so messages won't be where you think they are. they use journalctl...

journalctl -u smbd.service
 
What version of Linux? New up to date versions don't use syslog so messages won't be where you think they are. they use journalctl...

journalctl -u smbd.service

Yeah annoying! Changing stuff like that.

And you can't even upgrade RHEL5 to RHEL6 in place, WTF?

And no alt_disk_install either.

ToyTownOS....!
 
What version of Linux? New up to date versions don't use syslog so messages won't be where you think they are. they use journalctl...

journalctl -u smbd.service

Centos 7
 

Advertisers

Back
Top