Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-28-2014, 10:34 PM
|
#1
|
LQ Newbie
Registered: Jul 2013
Location: St. Louis, Mo.
Distribution: Ubuntu 16.04
Posts: 24
Rep:
|
cannot login to samba server from win client
on centos 6.4 server (samba server)
I setup basic share with Swat to /home/joemc
I created smbpasswd for joemc at cli.
At win 8 client I can see the samba server under Network.
When I click on it it brings up a login screen. Won;t let me login to server. using joemc id and pw created at server.
What do I need to do?
|
|
|
06-29-2014, 10:27 AM
|
#2
|
Senior Member
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Rep: 
|
Is the window user a member of a domain?
Is the Samba server also a member of the same domain?
|
|
|
06-29-2014, 02:29 PM
|
#3
|
LQ Newbie
Registered: Jul 2013
Location: St. Louis, Mo.
Distribution: Ubuntu 16.04
Posts: 24
Original Poster
Rep:
|
samba login client issues
Quote:
Originally Posted by dijetlo
Is the window user a member of a domain?
Is the Samba server also a member of the same domain?
|
they are both members of workgroup= workgroup
When I do test parm at server it tells me the user joemc is flagged unavailable with no other errors noted. if I edit it to available yes and reload samba it goes back to available = no.
I guess this is related to original issue.
I don't know why it is unavailable.
|
|
|
06-29-2014, 02:41 PM
|
#4
|
LQ Newbie
Registered: Jul 2013
Location: St. Louis, Mo.
Distribution: Ubuntu 16.04
Posts: 24
Original Poster
Rep:
|
smb.conf file
smb.conf
# Samba config file created using SWAT
# from UNKNOWN (192.168.1.71)
# Date: 2014/06/29 14:38:06
[global]
server string = Samba Server Version %v
log file = /var/log/samba/log.%m
max log size = 50
idmap config * : backend = tdb
cups options = raw
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
print ok = Yes
browseable = No
[joemc]
path = /home/joemc
valid users = joemc
read list = joemc
write list = joemc
available = No
|
|
|
06-29-2014, 02:44 PM
|
#5
|
LQ Newbie
Registered: Jul 2013
Location: St. Louis, Mo.
Distribution: Ubuntu 16.04
Posts: 24
Original Poster
Rep:
|
testparm results
[root@gatewayamd samba]# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[joemc]"
NOTE: Service joemc is flagged unavailable.
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
^C
[root@gatewayamd samba]#
|
|
|
06-29-2014, 02:51 PM
|
#6
|
MX Linux
Registered: Dec 2013
Posts: 402
Rep: 
|
home folder shares should be set up under a [Homes] section instead of being shared explicitly. you can verify the user is configured properly by creating a subfolder under /home/joemc and trying to share that. subfolders under the home folders don't share the same samba sharing issues as the Home folder itself.
|
|
|
06-29-2014, 03:13 PM
|
#7
|
LQ Newbie
Registered: Jul 2013
Location: St. Louis, Mo.
Distribution: Ubuntu 16.04
Posts: 24
Original Poster
Rep:
|
Swat useage
Quote:
Originally Posted by dolphin_oracle
home folder shares should be set up under a [Homes] section instead of being shared explicitly. you can verify the user is configured properly by creating a subfolder under /home/joemc and trying to share that. subfolders under the home folders don't share the same samba sharing issues as the Home folder itself.
|
Do you know how I can do that using swat?
|
|
|
06-29-2014, 05:19 PM
|
#8
|
Member
Registered: Sep 2004
Location: Japan
Distribution: RHEL9.4
Posts: 735
Rep: 
|
Now, this might be a silly question, but did you add your user to samba and set a password?
|
|
|
06-29-2014, 06:39 PM
|
#9
|
LQ Newbie
Registered: Jul 2013
Location: St. Louis, Mo.
Distribution: Ubuntu 16.04
Posts: 24
Original Poster
Rep:
|
samb
Quote:
Originally Posted by ericson007
Now, this might be a silly question, but did you add your user to samba and set a password?
|
yes
|
|
|
06-29-2014, 07:13 PM
|
#10
|
LQ Newbie
Registered: Jul 2013
Location: St. Louis, Mo.
Distribution: Ubuntu 16.04
Posts: 24
Original Poster
Rep:
|
samba issues
I got two user connections to work using webmin ok. I have to try again sometime with swat.
thank you for help.
|
|
|
All times are GMT -5. The time now is 05:26 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|