Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 11-16-2001, 02:05 PM   #1
Registered: Nov 2001
Location: Toronto, Canada
Distribution: CentOS 4
Posts: 66

Rep: Reputation: 15
Samba issues

Help with Samba I could use,

I'm running Samba 2.0.3 on RH6, I used a couple of SMB HOWTO's to guide me through the installation and the configuration and all seemed well. I was able to see Samba from my WIN98 machine but would not allow me access, it prompts for a password and no password I give is ever granted. I'm aware of the WIN/Samba encrypted password issue and how to either fix the problem on either the win clients or in Samba. I also used SWAT to create a new password but that didn't help me anymore. My second problem is that on my LAN of two WIN98 clients and the linux box, only one of my 98machines can see my Samba server and both are configured the same way since DHCPd takes care of them.

Would really appreciate any clues.

Old 11-16-2001, 02:31 PM   #2
Registered: Apr 2001
Location: MA
Distribution: redhat 7.2
Posts: 182

Rep: Reputation: 30
Samba has a timeout issue that supposedly is fixed in 2.2.2 version. Add the netbois names and ip addresses of your win clients to the linux /etc/hosts file.

As for the PC that samba doesn't see, make sure that file and print sharing are enabled.
Old 11-20-2001, 04:27 PM   #3
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
There is a lot of things that could be wrong, all of them probably can be fixed in the smb.conf file

The IPC$ is the share listing that requires a guest account, do you have a guest account setup?

what are you sharing?

did you add the users using smbadduser smbname:unixname

is the guest account in /etc/passwd

[david@Alpha david]$ cat /etc/passwd | grep pcguest

for users that will not have a shell account or home folder use this format in /etc/passwd


this setup will give everyone their own unix home folder, the printer, and the pub folder which is for public

workgroup = HOME
netbios name = ALPHA
server string = Samba Server
interfaces = eth1 eth2
encrypt passwords = Yes
allow trusted domains = No
passwd program = /usr/bin/passwd
unix password sync = Yes
debug level = 0
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 65
preferred master = Yes
wins proxy = Yes
wins support = Yes
guest account = pcguest
hosts allow = 10.0.0. 11.0.0. 127.
hosts deny =
printing = lprng

comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

comment = Hp Deskjet 500
path = /var/spool/samba
writeable = Yes
printable = Yes
printer = hp500
oplocks = No
share modes = No

path = /home/pub
writeable = Yes
level2 oplocks = Yes

writeable = Yes
browseable = No

Last edited by DavidPhillips; 11-20-2001 at 04:29 PM.
Old 11-22-2001, 01:09 AM   #4
Registered: Nov 2001
Location: Malaysia and Manchester
Distribution: Red Hat
Posts: 46

Rep: Reputation: 15

Is RH following in Micro$ofts (can I say that name here?) footsteps by releasing bug ridden bloatware?

I recently upgraded my RH7 machine to RH7.2 and my SMB printer no longer works. It all worked wonderfully when I installed RH7 with plenty of intuitive menus. It was a breeze. Needless to say, I was very impressed with Linux!

Now most of these menus and configuration tools have all disappeared in 7.2 and its just a nightmare!

The SMB queue appears to be set up with sensible data, but whenever I print anything it just disappears down a black hole. I don't have any firewalls configured on my machine (I don't remember seeing any configurations for this on RH 7.0 and, anyway, I never set any up during the 7.2 installation) and I'm deeply suspicious of that configuration at the moment.

Any bright ideas (other than reverting back to RH 7)?
Old 11-22-2001, 04:23 AM   #5
LQ Guru
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
try lpstat -o -c -d -a

and see if it makes sense

[david@Alpha david]$ lpstat -o -c -d -a
system default destination: hp500
hp500 accepting requests since 2001-11-22-04:21:43.569
Printer: hp500@localhost
Queue: 1 printable job
Server: pid 7321 active
Unspooler: pid 7322 active
Status: processing 'dfA320localhost.localdomain', size 149231, format 'f', IF filter 'mf_wrapper' at 04:11:13.680
Rank Owner/ID Class Job Files Size Time
active david@localhost+320 A 320 mbox 149231 04:11:13
[david@Alpha david]$

try printing like this

lpr filename


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba issues trebek Linux - Networking 3 04-28-2005 03:10 PM
samba issues cham0169 Linux - Software 1 04-11-2005 08:37 AM
samba issues feldux Linux - Networking 1 08-12-2004 11:06 AM
Samba Issues jetfanroy Linux - Newbie 10 07-29-2003 08:25 AM
Samba Issues TheTrexx Linux - Networking 4 12-16-2002 12:30 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration