Operating System - HP-UX
1826420 Members
3131 Online
109692 Solutions
New Discussion

Re: Query related to Samba

 
GaneshrajS
Advisor

Query related to Samba

Hi,
I was using following steps for creating user in the hp-ux machine and configure samba to that ID.

1- Create a directory for a user.(If needed)
2- Create an userid in which samba is installed “useradd –g users –d -m
3- Set the password for the created userid “passwd ”.
4- Change the .rhosts file in the home directory. [Note: include + + in that file].
5- Modify the smb.conf in /etc/opt/samba
6- Create a password by using the command from /opt/samba/bin [./smbpasswd –a ]
7- Stop and start the samba service.

Samba password is nothing but the nt domain password which we will use to login to local machine. Upto now I didn't faced any issues in creation of network drive for any users. Only one user is not able to create his network drive. I am sure that he is entering the correct nt domain password while entering the samba password.
Any idea what should I check and what is going wrong?
I see a special character "." in his nt domain password. Is that special character creating the issue?

Thanks,
Ganeshraj.S
6 REPLIES 6
GaneshrajS
Advisor

Re: Query related to Samba

Following is the user id details which I have created in hpux-IA machine,

user id - prabhpri
home directory - /space/eclipse/prabhpri

Samba configuation for that user id

[prabhpri]
path = /space/eclipse/prabhpri
valid users = prabhpri,rajga

To check the issue, I have given permissions to another user 'rajga' and he is able to create the network drive for prabhpri. But the user prabhpri is not able to create network drive. I am sure he is entering the correct nt domain password as a samba password.

Kindly help with this issue.
Horia Chirculescu
Honored Contributor

Re: Query related to Samba

I assume that the user is getting authenticated by the samba server.

The user prabhpri have access (at the HP-UX level) in the directory:

/space/eclipse/prabhpri ?

chown -R prabhpri /space/eclipse/prabhpri

Did you run the command at the point 2 as:

â useradd â g users â d /space/eclipse/prabhpri -m prabhpriâ

?

Best regards,
Horia.

Best regards from Romania,
Horia.
GaneshrajS
Advisor

Re: Query related to Samba

Hi Horia,

Thanks for your reply.

Yes, She is having access.Following is the O/p of LL command,
drwxrwxr-x 4 #prabhpri users 1024 Jul 7 12:27 prabhpri

I have used following command to create prabhpri user,
"useradd -g users -d /space/eclipse/prabhpri -m prabhpri"

Thanks,
Ganeshraj.S
Horia Chirculescu
Honored Contributor

Re: Query related to Samba

Maybe something related to the client?

"I have given permissions to another user 'rajga' and he is able to create the network drive for prabhpri."

Try to login in the domain using rajga's credentials on prabhpri's computer.

That should give us some hint about the problem.

Best regards
Horia
Best regards from Romania,
Horia.
GaneshrajS
Advisor

Re: Query related to Samba

Hi,

I have attached the report of my observation.

Note:-(in report)
Machine:- Physical machine - local windows desktop

login id - ntdomain id used to login to the physical machine

Other 2 coloumns are self explanatory

Waiting for your reply.

Thanks,
Ganeshraj.S
Horia Chirculescu
Honored Contributor

Re: Query related to Samba

Try to set up in the samba's server smb.conf:

[global]
log level = 3
log file = /usr/local/samba/lib/log.%u


And check the generated log info (%u stands for user's name).

level 3 should be verbose.

Best regards,
Horia.
Best regards from Romania,
Horia.