OpenQNX :: The QNX Community Portal

May 18, 2008 - 01:36 AM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 40 unlogged users and 3 registered users online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
epomatti
20 Post subject: SAMBA in QNX 6.2.1 - Need help!  PostPosted: Nov 13, 2007 - 05:40 PM
Active Member


Joined: Nov 09, 2007
Posts: 12

Hello to all!

I´m newer in QNX and Linux too.
Someone can tell me some steps to start samba on QNX 6.2.1??? Crying or Very sad

I have downloaded the 2.0.7 from web, after ungzipped, I did execute "./configure" on the folder. And "make" and "make install".

And I did the smb.conf too.
But it not works.

Some commands how "service smb start/restart" are not doing nothing on Terminal. It´s say "service: no found". (and "netconfig"???)

Am I forggoting something??

thanks!
 
 View user's profile Send private message  
Reply with quote Back to top
mario
Post subject: RE: SAMBA in QNX 6.2.1 - Need help!  PostPosted: Nov 13, 2007 - 05:46 PM
QNX Master


Joined: Sep 01, 2002
Posts: 2675

Get the binary from the repository (or the 3rd-party CD).
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Tim
Post subject:   PostPosted: Nov 13, 2007 - 06:39 PM
Senior Member


Joined: Mar 10, 2004
Posts: 516

Epomatti,

As Mario suggested it's far easier to download the working executables from the 3rd party Cd.

Even after you do that, you will still need to start the daemon processes smbd and nmbd either by hand or at boot time in your rc.local file. The 'service not found' message is probably because those deamons are not running.

Tim
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
epomatti
Post subject:   PostPosted: Nov 14, 2007 - 10:57 AM
Active Member


Joined: Nov 09, 2007
Posts: 12

Ok

I have downloaded and installed the package from Repository. It works!

So I put this code on "smb.conf"

[public]
path = /home/shared
browseable = yes
writable = yes
guest ok = yes

but the pc with windows do not having access.
Message says "The account do not have permission to log-on in this workstation."

Must I add users too, for public folders?
 
 View user's profile Send private message  
Reply with quote Back to top
epomatti
Post subject:   PostPosted: Nov 14, 2007 - 11:55 AM
Active Member


Joined: Nov 09, 2007
Posts: 12

I have changed my "smb.conf"

Now the windows pc open a dialog, and it says:

User: 199.1.1.77\convidado (I think that "convidado" in english qnx says "anyone")
Password: (empty)


"smb.conf"
[global]
netbios name = samba
security = share
server string = Share

[backup]
comment = PublicFolder
path = /home/shared
public = yes
read only = no
writeable = yes
guest ok = yes

Must I create a file of passwords now, or change the smb.conf?
 
 View user's profile Send private message  
Reply with quote Back to top
epomatti
Post subject:   PostPosted: Nov 14, 2007 - 02:19 PM
Active Member


Joined: Nov 09, 2007
Posts: 12

that´s all right! =)

samba is really working now
that's my conf

[global]
netbios name = Servidor Samba
security = user
server string = Samba
domain logons = yes
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd

[Compartilhada]
comment = Servidor
path = /home/shared
public = yes
read only = no
writeable = yes
guest ok = yes
valid users = root
create mask = 0770
directory mask = 0700

after it I made the passwords file, and added the root user.


really thanks for Tim and Marcio!!
see ya!
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.