LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-10-2003, 06:42 PM   #1
element
Member
 
Registered: Jan 2003
Distribution: Debian
Posts: 106

Rep: Reputation: 15
Samba goodness


Ok, where to start

I'm running Samba 3.0 final on debian Sid (Libranet). I can do an smbmount, that works. But when I try to access a share (Homes) from Windows to Linux, Windows gives me a login dialogue window where it asks me to fill in a username and password. No matter what I try and fill in, I can't log in.
From Linux to Windows, when I want to browse the network via GUI (Gnome 2.4, Network Neighbourhood) every time and for every computer there is on the network, I get a login dialogue window. When I fill in the username and password I get to browse the computer on the network.

Anyone know what's wrong or how to fix this?

My smb.conf:
# Global parameters
[global]
workgroup = WORKGROUP
server string = %h server (Samba %v)
security = SHARE
obey pam restrictions = Yes
passdb backend = tdbsam, guest
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
panic action = /usr/share/samba/panic-action %d
invalid users = root

[homes]
comment = Home Directories
create mask = 0700
directory mask = 0700

[printers]
comment = All Printers
path = /tmp
create mask = 0700
printable = Yes
browseable = No

[username]
path = /home/username
browseable = Yes
read only = yes
create mode = 0750

Last edited by element; 11-10-2003 at 06:47 PM.
 
Old 11-10-2003, 11:55 PM   #2
R. X. Rolaveric
LQ Newbie
 
Registered: Nov 2003
Posts: 6

Rep: Reputation: 0
I remember having that problem too.
Drove me mad....worst off I don't remember how I fixed it.
I think in the end I just changed my security to 'user', setup myself a samba user, and logged on using that.

Try using Webmin to setup your smb.conf
Should make defining users & groups a breeze too

Last edited by R. X. Rolaveric; 11-10-2003 at 11:58 PM.
 
  


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
assmbly. Oh my goodness alaios Programming 13 11-16-2003 04:12 AM
qt 3.2.2 goodness nirvanix Linux - General 0 11-04-2003 04:27 PM
Creamy Kernel Goodness.... RaTBoX Linux - Newbie 2 02-22-2003 09:52 AM
Oh My Goodness I Love Xfce!! JoeLinux Linux - Software 7 09-07-2002 05:11 AM
MP3 Goodness! xion Linux - General 1 05-09-2001 05:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:49 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