Samba question

Hi,

I am trying to get Samba up on QNX 6, and it all works OK so long as I
don’t have password encryption switched on. User logons and passwords are
the same for both Windows machines and the QNX machine. Clients are Win98
and Win2k. When I switch encryption back on on the Clients and server I get
the endless “Resource \qnx_server_name\IPC$ Password required” dialog box
scenario. None of the passwords work, neither root nor User. I made the
smbpasswd file by using the command “cat /etc/passwd | mksmbpasswd.sh >
smbpasswd” and this seems to have worked OK (except that encrypted passwords
still don’t work :-/ )

Anyone who knows the magic trick will earn my undying gratitude, this has
cost me 3 days so far !

A typical line from the smbpassword file is :

test_user:101:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX:[u]:LCT-00000000:Test User

The smb.conf file contains :
\

Samba config file created using SWAT

from test_users_machine.ourdomain.com (10.15.10.:sunglasses:

Date: 2002/03/14 15:25:17\

\

Global parameters

[global]
workgroup = OUR_WORKGROUP
server string = QNX Server
log level = 1
log file = /usr/local/samba/var/log.%m
max log size = 500
dns proxy = No
wins server = 10.1.1.106

[printers]
comment = All Printers
path = /usr/spool/samba
printable = Yes
browseable = No

[test_user]
comment = Test User’s stuff
path = /home/test_user
read only = No


Names have been changed to protect the innocent :slight_smile:


Thanks for any advice,

Mike Davies[/u]

Instead of using samba try using the built-in ftp support for windoze. If
you “add network place” then the ftp machine becomes browsable
and accessible to almost every application on your windoze box.

in windows explorer use: ftp://username@x.y.z.com

We have been using samba with mixed results for awhile and while
it is more reliable than the QNX nfs implementation ftp is almost
always better.


Mike Davies wrote:

Hi,

I am trying to get Samba up on QNX 6, and it all works OK so long as I
don’t have password encryption switched on. User logons and passwords are
the same for both Windows machines and the QNX machine. Clients are Win98
and Win2k. When I switch encryption back on on the Clients and server I get
the endless “Resource \qnx_server_name\IPC$ Password required” dialog box
scenario. None of the passwords work, neither root nor User. I made the
smbpasswd file by using the command “cat /etc/passwd | mksmbpasswd.sh
smbpasswd” and this seems to have worked OK (except that encrypted passwords
still don’t work :-/ )

Anyone who knows the magic trick will earn my undying gratitude, this has
cost me 3 days so far !

A typical line from the smbpassword file is :

test_user:101:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX:> [u]:LCT-00000000:Test User

The smb.conf file contains :
\

Samba config file created using SWAT

from test_users_machine.ourdomain.com (10.15.10.> :sunglasses:

Date: 2002/03/14 15:25:17\

\

Global parameters

[global]
workgroup = OUR_WORKGROUP
server string = QNX Server
log level = 1
log file = /usr/local/samba/var/log.%m
max log size = 500
dns proxy = No
wins server = 10.1.1.106

[printers]
comment = All Printers
path = /usr/spool/samba
printable = Yes
browseable = No

[test_user]
comment = Test User’s stuff
path = /home/test_user
read only = No

Names have been changed to protect the innocent > :slight_smile:

Thanks for any advice,

Mike Davies[/u]

Hi,

I don’t know if this will apply here but I had a similar problem in Saudi
Arabia mast month with Samba under QNX4 and Win2k. The trick I found (by
chance I might add) was to change the access level for the user in question
from 101 down to 100 (try it in the passwd file, as well as smbpasswd, JIC),
the password prompt problem then disappeared…

Hope it works for you too,

Ronnie Bridges




“Mike Davies” <Mike@spam_me_no_spam.com> wrote in message
news:a6sq8u$55g$2@inn.qnx.com

Hi,

I am trying to get Samba up on QNX 6, and it all works OK so long as I
don’t have password encryption switched on. User logons and passwords are
the same for both Windows machines and the QNX machine. Clients are Win98
and Win2k. When I switch encryption back on on the Clients and server I
get
the endless “Resource \qnx_server_name\IPC$ Password required” dialog
box
scenario. None of the passwords work, neither root nor User. I made
the
smbpasswd file by using the command “cat /etc/passwd | mksmbpasswd.sh
smbpasswd” and this seems to have worked OK (except that encrypted
passwords
still don’t work :-/ )

Anyone who knows the magic trick will earn my undying gratitude, this has
cost me 3 days so far !

A typical line from the smbpassword file is :


test_user:101:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXX:> [u]:LCT-00000000:Test User

The smb.conf file contains :
\

Samba config file created using SWAT

from test_users_machine.ourdomain.com (10.15.10.> :sunglasses:

Date: 2002/03/14 15:25:17\

\

Global parameters

[global]
workgroup = OUR_WORKGROUP
server string = QNX Server
log level = 1
log file = /usr/local/samba/var/log.%m
max log size = 500
dns proxy = No
wins server = 10.1.1.106

[printers]
comment = All Printers
path = /usr/spool/samba
printable = Yes
browseable = No

[test_user]
comment = Test User’s stuff
path = /home/test_user
read only = No


Names have been changed to protect the innocent > :slight_smile:


Thanks for any advice,

Mike Davies[/u]
\