LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-13-2012, 08:22 AM   #1
francoisg
LQ Newbie
 
Registered: Dec 2012
Posts: 2

Rep: Reputation: Disabled
Samba sharing from ubuntu to win


I have installed and configured a SAMBA server. So far it works well until I try to log in. When the password box pops up from a win7 machine, I enter the details but it says "wrong details". The second user I have set up doesn't have password restrictions, so I can log in directly into that account. The 3rd user I have set up, again tells me to get permission from the network administrator.

Any help on this getting resolved would be highly appreciated.
 
Old 12-13-2012, 07:39 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Please provide more information.

What version of Ubuntu are you using?

Exact wording (or screenshots) of error messages would also help.

Are you trying to login to Samba from Windows? If so, have you configured the smbpasswd file?

The most helpful Samba reference I have found is Samba by Example.

Ubuntu has a long guide on configuring Samba: https://help.ubuntu.com/community/Samba

Last edited by frankbell; 12-13-2012 at 07:40 PM.
 
Old 12-14-2012, 05:01 AM   #3
francoisg
LQ Newbie
 
Registered: Dec 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi, thank you for your reply.

i have setup 3 directories with access. 1 with pwd protection which when i insert the pwd from win netw, it keeps saying wrong info, second directory with no pwd acces, works fine. i can acces it from my win machine and store files. 3 directory with pwd protection with same config as first folder says i have to get permission from netw administrator to access it. any ides?

[superuser]
comment = superuser
path = /home/samba/superuser
read only = no
create mask = 0770
directory mask = 0770
valid users = superuser
public = no
writable = yes

[dfg]
comment = dfg
path = /home/samba/admin
read only = no
create mask = 0770
directory mask = 0770

[admin]
comment = admin
path = /home/samba/admin
read only = no
create mask = 0770
directory mask = 0770
valid users = admin

Last edited by francoisg; 12-14-2012 at 05:02 AM. Reason: info corrected
 
Old 12-15-2012, 08:26 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Have you entered a password in the smbpasswd file? This link shows how to use it better than I can.

http://www.howtogeek.com/howto/ubunt...ser-on-ubuntu/

If smbpasswd refuses to accept the user, create a Linux account on the computer for that user with that password, then try smbpasswd again.
 
  


Reply



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
FreeNAS - is it good? Either that or I will use samba on ubuntu (win 5 users) worded Linux - Newbie 4 03-10-2011 09:07 AM
XP password problem (file sharing with samba on Ubuntu Feisty and Windows XP) AhrenBa Linux - General 5 07-09-2007 08:26 AM
Samba file sharing between Ubuntu and Mac OS X - Stumped! FragTek Linux - Networking 3 09-18-2006 08:01 PM
Win->Samba works, Samba->Win does'nt work outburst Linux - Networking 2 10-30-2003 08:31 AM
Question: Linux + Win file sharing with Samba yurlittlepony Linux - Networking 2 08-29-2003 11:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:03 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
Open Source Consulting | Domain Registration