cancel
Showing results for 
Search instead for 
Did you mean: 

SAMBA is not working

SOLVED
Go to solution
John Ferro
Regular Advisor

SAMBA is not working

Dear,

I have configured SAMAB and created user accounts, everything were working fine, but yesterday we are accessing shared folders from windows XP to HP UX ia64 hp superdome server SD64B and got results user / password incorrect.

any idea!!

Regards,
7 REPLIES
smatador
Honored Contributor
Solution

Re: SAMBA is not working

Hi,
Of course first check the user/passwd, second run cifslist to verify the share.
What's is the error message exactly...

John Ferro
Regular Advisor

Re: SAMBA is not working

Hi,

I checked /etc/passwd and found users already created and no any probelm found.

Regarding cifslist command, when i run i got the following error "The CIFS Client is not running".

Regards,
Basheer_2
Trusted Contributor

Re: SAMBA is not working

1) vi /etc/opt/samba/smb.conf ( Create the links and the paths)
#Edi secure public share

[testuser]
comment = General purpose
path = /home/testuser
public = no
writable = yes
printable = no
browseable = yes
guest ok = no
valid users = gentran

2) useradd gentran (create user gentran at OS level )

3) /opt/samba/bin/smbpasswd -a gentran ( setup password for gentan, password is lucas)

4) /opt/samba/bin/testparm ( to test if there are any errors in the config file)

5) /sbin/init.d/samba stop (stop samba service)

6) /sbin/init.d/samba start (start samba service)

now from your PC, you can map your network drive to the server and search, you will find the folders
John Ferro
Regular Advisor

Re: SAMBA is not working

Dear Basheer,

Thanks, when i reach to /sbin/init.d/samba stop (stop samba service). I can't i got "smbd & nmbd not shutting down gracefully, attempting to force it...
Unable to shut down smbd & nmbd!"

Regards,
Sajjad Sahir
Honored Contributor

Re: SAMBA is not working

Dear john

The correct way to terminate nmbd and smbd is to send it a SIGTERM (-15) signal and wait for it to die on its own.


thanks and regards

Sajjad Sahir
Basheer_2
Trusted Contributor

Re: SAMBA is not working

john,

Please can you paste the errors you are getting.

did you try kill 15 and the last sure kill
kill -9 on those pids.

What version of HPUX
John Ferro
Regular Advisor

Re: SAMBA is not working

Thanks...