1837981 Members
1860 Online
110124 Solutions
New Discussion

Re: samba configuration

 
SSP_1
Regular Advisor

samba configuration

Hi experts ,

I have installed SAMBA software on hpux11.00 . Now about configuration if I have to give the RW access to 2 users eg. abc and xyz which are present on the system then what are the parameters to specify .
Obstacles exist to challenge you to keep going. Not to quit.
10 REPLIES 10
Steven E. Protter
Exalted Contributor

Re: samba configuration

This is defined in two parts.

Access to the directories is done in the smb.conf file

Example:

#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no

# This one is useful for people to share files
[tmp]
comment = Temporary file space
path = /tmp
read only = no

[itrc]
comment = itrc reference file space
path = /images/itrc

To make changes work:

/sbin/intit.d/samba stop
/sbin/intit.d/samba start

The usefrs involved need permissions to folders in the shares.

I am attaching my entire file as a reference for you.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Jannik
Honored Contributor

Re: samba configuration

SSP_1
Regular Advisor

Re: samba configuration

HI Guys,

I am able to provide the access to the folders. But when I do search through a windows machine and login with say user abc it gives me an error .

Hence want to know how to specify teh access. eg. say user abc is allowed read/write access to folder xyz, how thsi can be specified?
Obstacles exist to challenge you to keep going. Not to quit.
Darren Prior
Honored Contributor

Re: samba configuration

Hi,

You should see what's getting written into the logs. Are the users getting authenticated correctly and then not being permitted access to the share, or is something going wrong with the authemtication process?

By the way, please consider assigning points to responses that people have given you. It helps others decide which answers are useful, acts as a mini reward to those that give up their time to provide help and doesn't cost you anything other than a few minutes time.

regards,

Darren.
Calm down. It's only ones and zeros...
SSP_1
Regular Advisor

Re: samba configuration

Hi ,

It gives me the following error messages in log file.
authorise_login: Invalid guest account ??
[2004/01/26 16:56:29, 0] smbd/password.c:authorise_login(857)
authorise_login: Invalid guest account ??

I did allocate the points if I gets satisfied with the answers. If it doesn't help me out even by 5% then why shud I allocate the points. I have allocated 5 points to you since you have suggested me to check the log file and also it did help me to think towards.

You can not force someone to appraise you .
Obstacles exist to challenge you to keep going. Not to quit.
Alzhy
Honored Contributor

Re: samba configuration

SSP, best way to configure and learn SAMBA is:

http://server_you_installed_samba_on:901


Easy....
Hakuna Matata.
Darren Prior
Honored Contributor

Re: samba configuration

Hi,

It would be useful to know the version of Samba you are using. Were you aware that HP provides CIFS/9000 which is based on Samba and supported by HP?

There can be issues if the guest account is set to nobody due to the negative numbers in the uid/gid. You could create an account called smbnull and use that as the guest account; check man smb.conf for the full syntax. This may not be the full extent of the problem however. It could be that it's trying to use the guest account as it's not authenticating correctly.

I appreciate your comments about points, and you're right that you can't make people assign points. You may not realise that you can assign 0 points for answers that are no help at all. There's a line in your profile which shows the assignment rate, if you choose not to assign points (even 0) it makes this value look worse.

regards,

Darren.
Calm down. It's only ones and zeros...
Alzhy
Honored Contributor

Re: samba configuration

That is of course if you are using HP's Build/Version of Samba: CIFS/9000 server product...
Hakuna Matata.