LinuxQuestions.org
Review your favorite Linux distribution.
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 07-16-2008, 08:29 AM   #16
The Godfather
Member
 
Registered: Jul 2005
Location: England
Distribution: 2.6.15-1.2054_FC5
Posts: 35

Original Poster
Rep: Reputation: 15

Quote:
Originally Posted by pentalive View Post
I seem to be having the same symptoms as The Godfather, but It is not fixed for me yet.

-Vista and XP Workstations have "192.168.1.80 Beehive" in both hosts and lmhosts

-Neither workstation can browse (see beehive in "network")

-Vista can connect if proper \\beehive\public \\beehive\(username) is entered into
Map a drive tool. but not XP

-Users have matching usernames and passwords on both Vista->Beehive and XP->Beehive

[public] is browseable.
[homes] is not.
Not sure why yours doesn't work; your smb.conf file is very similar to mine.
 
Old 07-16-2008, 09:11 AM   #17
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Code:
[homes]
        comment = Home Directories
        valid users = %S, %D%w%S
        browseable = No
        read only = No
        inherit acls = Yes
[profiles]
        comment = Network Profiles Service
        path = %H
        read only = No
        store dos attributes = Yes
        create mask = 0600
        directory mask = 0700
You [homes] service doesn't look right to me. Also, please enclose your smb.conf sample inside a [ code ] block to make it easier to read.
For the [public] share, you want "map to guest = Bad User" in your global section, and change the permissions of the directory with "chmod a=rwxt" to give the "nobody" user access. A user who hasn't authenticated will create files with "nobody" ownership. Also use "smbpasswd" to map Linux/Windows users with the same username/passwords. This is needed for the [home] service.

Also, check out if you have a samba-doc package. It includes three books including "Samba 3 by Example" which should be very useful.

"
 
Old 07-16-2008, 09:47 AM   #18
pentalive
Member
 
Registered: Jun 2005
Location: Sacramento, CA
Distribution: Many, Old and New
Posts: 124

Rep: Reputation: 15
1 added the line to smb.conf exactly "map to guest = Bad User" in the public section

2 chmod done - why the sticky bit? I had a=rwx before.

3 I had done smbpasswd already, smbpasswd -a (unix username) where the unix username matches
the windows username.


did not have the samba-doc package but yum fixes that.
 
Old 07-16-2008, 09:58 AM   #19
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
The sticky bit prevents one user from deleting the file of another user. If a user is authenticated, the file will be saved owned by that user. To prevent any other user from deleting the file, the sticky bit is needed. This is because deleting files writes to the directory, and not to the file. So anyone with write access to the directory can delete any file unless you use the sticky bit.
 
Old 07-17-2008, 12:21 AM   #20
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You might try running "smbstatus". Post the samba version. You may need to upgrade to work with Vista. FC5 is a bit old and the version of samba that comes with it might not work well with vista.
 
Old 07-17-2008, 12:34 AM   #21
pentalive
Member
 
Registered: Jun 2005
Location: Sacramento, CA
Distribution: Many, Old and New
Posts: 124

Rep: Reputation: 15
smbstatus Version

Quote:
Originally Posted by jschiwal View Post
You might try running "smbstatus". Post the samba version. You may need to upgrade to work with Vista. FC5 is a bit old and the version of samba that comes with it might not work well with vista.
Samba Version 3.2.0-17.fc9
 
Old 07-19-2008, 03:50 PM   #22
The Godfather
Member
 
Registered: Jul 2005
Location: England
Distribution: 2.6.15-1.2054_FC5
Posts: 35

Original Poster
Rep: Reputation: 15
It appears that I have not successfully installed it all.

When printing from a windows machine, the output from the printer is in 'code' form; i.e. the code desribing the print out is actually printed rather than executed to determine the format.

Does anyone know why?

Thanks.
 
Old 07-19-2008, 04:11 PM   #23
pentalive
Member
 
Registered: Jun 2005
Location: Sacramento, CA
Distribution: Many, Old and New
Posts: 124

Rep: Reputation: 15
right printer driver?

Quote:
Originally Posted by The Godfather View Post
It appears that I have not successfully installed it all.

When printing from a windows machine, the output from the printer is in 'code' form; i.e. the code desribing the print out is actually printed rather than executed to determine the format.

Does anyone know why?

Thanks.
That seems, at first, to be something like sending postscript to a non-postscript printer...

Can you print properly from Linux?
 
Old 07-19-2008, 04:20 PM   #24
The Godfather
Member
 
Registered: Jul 2005
Location: England
Distribution: 2.6.15-1.2054_FC5
Posts: 35

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by pentalive View Post
That seems, at first, to be something like sending postscript to a non-postscript printer...

Can you print properly from Linux?
Yes, I can print from linux fine.

I have an HP PSC 2510 Photosmart printer. No idea if it's a postscript printer or not. I thought all printers accepted postscript.
 
Old 07-19-2008, 04:35 PM   #25
pentalive
Member
 
Registered: Jun 2005
Location: Sacramento, CA
Distribution: Many, Old and New
Posts: 124

Rep: Reputation: 15
Quote:
Originally Posted by The Godfather View Post
Yes, I can print from linux fine.

I have an HP PSC 2510 Photosmart printer. No idea if it's a postscript printer or not. I thought all printers accepted postscript.
not all of them, some of the HP printers use only PCL.

What are the first few 'words' of a printout?
 
Old 07-19-2008, 06:03 PM   #26
The Godfather
Member
 
Registered: Jul 2005
Location: England
Distribution: 2.6.15-1.2054_FC5
Posts: 35

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by pentalive View Post
What are the first few 'words' of a printout?
Printout@?

I downloaded file called PScript5.dll from the adobe websitewebsite but it failed to work. I also tried copying it from my windows machine too and this also failed.

Code:
%!PS-Adobe-3.0
          %cupsJobTicket: job-hold-until-no-hold
                                              %cupsJobTicket: job-sheets=n

%%Title: My Test
%%Creator: PScript5.dll Version 5.2
%%CreationDate: 7/16/2008 14:18:30
%%For: The Godfather
%%BoundingBox: (atend)
%%Pages: (atend)
%%Orientation: Portait
.
.
(-more lines regarding format etc-)
.
.
%%BeginProlog
%%BeginResource: file Pscript_WinNT_ErrorHandler 5.0.0
/currentpacking where{pop/oldpack currentpacking def/setpacking where {pop false setpacking}[if/...(-lots of this sort of stuff-)
 
Old 07-19-2008, 06:54 PM   #27
pentalive
Member
 
Registered: Jun 2005
Location: Sacramento, CA
Distribution: Many, Old and New
Posts: 124

Rep: Reputation: 15
Quote:
Originally Posted by The Godfather View Post
Printout@?

I downloaded file called PScript5.dll from the adobe websitewebsite but it failed to work. I also tried copying it from my windows machine too and this also failed.

Code:
%!PS-Adobe-3.0
          %cupsJobTicket: job-hold-until-no-hold
                                              %cupsJobTicket: job-sheets=n

%%Title: My Test
%%Creator: PScript5.dll Version 5.2
%%CreationDate: 7/16/2008 14:18:30
%%For: The Godfather
%%BoundingBox: (atend)
%%Pages: (atend)
%%Orientation: Portait
.
.
(-more lines regarding format etc-)
.
.
%%BeginProlog
%%BeginResource: file Pscript_WinNT_ErrorHandler 5.0.0
/currentpacking where{pop/oldpack currentpacking def/setpacking where {pop false setpacking}[if/...(-lots of this sort of stuff-)
Yup that looks like postscript to me. check your printer drivers on the PC
 
Old 07-27-2008, 05:22 PM   #28
pentalive
Member
 
Registered: Jun 2005
Location: Sacramento, CA
Distribution: Many, Old and New
Posts: 124

Rep: Reputation: 15
More on the samba problem...


It seems I had the IP address in the xp machine wrong..


I am now able to mount samba shares on both the XP and Vista
machines but I have to spell out the \\beehive\share in order to do that.

But I still can't see the shares in network neighborhood.
 
  


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
Samba/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 01:33 AM
Problems with samba, can't see samba shares windsurfer Linux - Software 20 09-12-2009 05:29 PM
[SAMBA] Problems acessing samba share JoaoMorgado Linux - Software 1 02-06-2006 06:35 AM
Samba problems. Zombie13 Mandriva 4 03-11-2004 02:34 AM
[Samba] Problems since update to samba 3 ffred Linux - Networking 6 01-02-2004 06:19 PM

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

All times are GMT -5. The time now is 05:01 AM.

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