Fedora Linux Support Community & Resources Center
  #1  
Old 18th June 2012, 10:46 PM
L3l00's Avatar
L3l00 Online
Registered User
 
Join Date: Oct 2011
Location: New Mexico
Age: 24
Posts: 88
linuxfirefox
Fedora 17 two Samba Issues

Okay I apologize for talking about one problem I posted a few months back, got swamped with other more important projects at the office.

First, Samba is working just fine among all the computers. Obviously I have the server static. Issue, the Server it'self cannot access the Network Folder at all!?

I will click the Browse Network, sometimes it wont even let me in. Other times it will show the Windows and if I click it it would show the companies workgroup name (if I take my time clicking it); then eventually give me an error message: "Failed to retrieve share list from server"

--------------------------------------------------------

The other thing, this is weird and even at my house (samba works great there).
I use sytem-config-samba to add users to the samba share (yes I did make the users on the Linux comp)

say I made two users: user1, user2 - passwords whatever for both

Only the first user on top in the system-config-samba would work and only the first user
If I try to use user2, it would loop back to the input login and password no matter how many times I enter in user2's name and password. If I where to make it where user1 is second on the system-config-samba list and user2 ontop. I wouldn't be able to use user1
Reply With Quote
  #2  
Old 19th June 2012, 12:26 AM
sea's Avatar
sea Online
"Shells" (of a sub world)
 
Join Date: May 2011
Location: Helvetic Federation (Swissh)
Age: 33
Posts: 2,606
linuxfirefox
Re: Fedora 17 two Samba Issues

Have you enabled browsing?

Whats the output of:
Code:
grep browsea /etc/samba/smb.conf -B1
grep "users =" /etc/samba/smb.conf
grep "\[public\]" /etc/samba/smb.conf -A6
grep workgroup /etc/samba/smb.conf
After the changes made, make sure they're valid with:
Code:
testparm
Hope this helps
__________________
Fedora Manual: http://docs.fedoraproject.org
Script-Tools: https://sourceforge.net/projects/script-tools/
sudo st tweak repo toggle fedora-rawhide ; st iso dl-fed -respin && st iso usb

Last edited by sea; 19th June 2012 at 12:49 AM.
Reply With Quote
  #3  
Old 23rd June 2012, 03:52 AM
L3l00's Avatar
L3l00 Online
Registered User
 
Join Date: Oct 2011
Location: New Mexico
Age: 24
Posts: 88
linuxopera
Re: Fedora 17 two Samba Issues

grep browsea /etc/samba/smb.conf -B1
comment = Home Directories
browseable = no
--
path = /var/spool/samba
browseable = no
--
; path = /var/lib/samba/profiles
; browseable = no
--
read only = no
; browseable = yes




grep "users =" /etc/samba/smb.conf
; valid users = %S
; valid users = MYDOMAIN\%S
valid users = l, s1, s2


(Only left the first character of the user names on my Comp)



grep "\[public\]" /etc/samba/smb.conf -A6
; [public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; writable = yes
; printable = no
; write list = +staff




grep workgroup /etc/samba/smb.conf
# workgroup = the Windows NT domain name or workgroup name, for example, MYGROUP.
workgroup = p




(only left the first character of my workgroup name)





testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[printers]"
Processing section "[share]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
workgroup = PRRXY
server string = Samba Server Version %v
log file = /var/log/samba/%m.log
max log size = 50
idmap config * : backend = tdb
cups options = raw

[homes]
comment = Home Directories
read only = No
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
print ok = Yes
browseable = No

[share]
comment = Tube
path = /home/l3o/Desktop/Share
valid users = l3o, s1, s2
read only = No
create mask = 0775
inherit permissions = Yes
Reply With Quote
  #4  
Old 25th June 2012, 08:34 PM
L3l00's Avatar
L3l00 Online
Registered User
 
Join Date: Oct 2011
Location: New Mexico
Age: 24
Posts: 88
linuxopera
Re: Fedora 17 two Samba Issues

Okay on my companies Server, FINALLY got it to let me access the network shares. This is what I did.

First tried:
Code:
sudo smbclient -L localhost
result I was getting:

NT_STATUS_LOGON_FAILURE



so I used:
Code:
sudo iptables -L
sudo iptables -F
sudo service smb restart
Went root then tried
Code:
sudo smbclient -L localhost
then it let me in! Yay

Still wasn't allowing me in the folders so I checked my /etc/smb.conf through nano
Code:
Ctrl+W : winsupport
noticed a semi-colon before it, and of course yes I did have it equal to "yes."
Deleted the semi-colon, Saved and Exited then restarted the smb service.

Now it is letting me in!


However! Still having issues logging in with other usernames other than the top one I added first to system-config-users.


I tried using a different users smb password while using:
Code:
smbclient -L localhost
it let me in just fine, the gui however does not.

---------- Post added at 01:34 PM ---------- Previous post was at 12:55 PM ----------

SOLVED last issue!


Like before, had a share folder and only the top user of the system-config-samba I added was allowed access to the folder?

Went first to:
Code:
sudo system-config-users
added all the users to the group "Q" (Company starts with a Q) through user properties.

then opened /etc/samba/smb.conf scrollled to the bottom and added:
Code:
admin users = ...
The other users

this site really helped me out:
http://www.samba.org/samba/docs/using_samba/ch09.html
Reply With Quote
Reply

Tags
fedora, issues, samba

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SAMBA, windows Vista, Fedora 12 on VBOX setup issues sesproul Servers & Networking 6 18th January 2010 02:51 PM
Samba issues - Fedora 10 - win xp home revlo Servers & Networking 3 15th June 2009 06:12 AM
Fedora 9, Samba installation issues....time to go back to 8? rascal1981 Using Fedora 6 5th August 2008 04:09 PM
Fedora-ds and Samba issues fedora987 Servers & Networking 1 19th February 2008 02:09 AM
Samba issues miguelon Servers & Networking 6 31st October 2006 06:15 AM


Current GMT-time: 21:17 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat