1829118 Members
1870 Online
109986 Solutions
New Discussion

samba installation

 
BKUMAR
Frequent Advisor

samba installation

Hi Big Brains,

--> I installed samba depot B8725AA_11.00.depot on K class/460 with HPUX B.11.00 running and nis is configured with this box
--> changed the smb.conf file as per the requirements
--> checked with testparm....it is fine
--> eventhough i remarked ; encrypted password = yes
-->added the hostname/ip addr of unix in wins on nt side

the entry for share is as follows on smb.conf
[myid]
path = /home/myid
read only = no
browseable = yes
writable = no
valid users = bthippa



problem:
when i try to map my home \\host\myid ....it is prompting for connect as and password...even i gave nis password....i am not able to map/share the path

in the log file it is giving the messages like

smbd/chgpasswd.c: (939)
check_plaintext_password: getsmbpwnam returned NULL

unable to open passdb database....

can anyone pls give guide me on this issue

Thanks in advance


Unix Administration Most Dedicated and Challenging Career in the World
10 REPLIES 10
Rainer von Bongartz
Honored Contributor

Re: samba installation


add the account to the smbpasswd file

smbpasswd -a

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
BKUMAR
Frequent Advisor

Re: samba installation

hi rainer,

thanks for the quick response.....but i like to use the unix passwd file...it is possible....instead of using smbpasswd....otherwise there is a tool

samba/bin --> syncsmbpasswd

is it ok to execute so that it will synchronize the unix passwd file....

your suggestions
Unix Administration Most Dedicated and Challenging Career in the World
Rainer von Bongartz
Honored Contributor

Re: samba installation


I still would first try to enter the user in smbpasswd ; if it works this way you have narrowed the problem

Myself never used the sync mechanism between passwd and smbpasswd


Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Arockia Jegan
Trusted Contributor

Re: samba installation

Kumar,

You can sync the smbpasswd with passwd. It will work fine. I have done that earlier. It worked fine
Craig Rants
Honored Contributor

Re: samba installation

To enable NIS lookups in the smb.conf file

[globals]
nis homedir = yes
homedir map = amd.map

Got this from the O'Reily Samba book...

GL,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
BKUMAR
Frequent Advisor

Re: samba installation

Hi all,

Cifs/9000 server version a.01.08 (2.2.3a) is having samba code change and hence it requires smbpasswd definately instead of authenticating /etc/passwd

i am going back to a.01.07 which again is required patch installs....which i am planning now....i will let u all know by next week the status

thanks
Unix Administration Most Dedicated and Challenging Career in the World
Mark Vollmers
Esteemed Contributor

Re: samba installation

Hi-

Have you created the smbpasswd file and created alias as needed if the unix and windows login names are not the same?

Mark
"We apologize for the inconvience" -God's last message to all creation, from Douglas Adams "So Long and Thanks for all the Fish"
Mark Vollmers
Esteemed Contributor

Re: samba installation

sorry, didn't see everyone else's suggestions the first time. guess i should pay more attention.

Mark
"We apologize for the inconvience" -God's last message to all creation, from Douglas Adams "So Long and Thanks for all the Fish"
BKUMAR
Frequent Advisor

Re: samba installation

Hi All,

The issue is resolved....

Installed the Patches PHCO_25707 which had dependencies of PHCO_23963,PHKL_18543,PHKL_23226 and PHKL_22677 and made samba (a.01.7) services started.....The mapping of home dir went fine with nis user ids.....

Take recovery and full system backup...since kernel will be rebuilding......Thanks for HP SUPPORT and all of you....

-bkumar
Unix Administration Most Dedicated and Challenging Career in the World
kchris
New Member

Re: samba installation

Hi , where do i download CIFS server A.01.07. I hit the same problem as you. I can only find the A.01.08 version at HP website.


Desperate