1847860 Members
3723 Online
104021 Solutions
New Discussion

Re: SAMBA configutation

 
SOLVED
Go to solution
Noble Sebastian
Frequent Advisor

SAMBA configutation

Dear All,


I want share one directory in my hp ux 11.23 to windows ,
I put the flowing entry entry in /etc/opt/camba/smb.conf

path =/home/oratst/farhan/citibank
valid users =monitor
public = no
writable = yes
printable = no
; create mask = 0765



My windows XP pc client of DNS , server

How to access my hp unix server in winxp Pc ?
12 REPLIES 12
Luk Vandenbussche
Honored Contributor

Re: SAMBA configutation

Can you post the complete smb.conf please
Dino_4
Frequent Advisor

Re: SAMBA configutation


Hi,

is the smbd and nmbd running?
Check with

# ps -ef | grep mbd

If these processes do not run, start with

# /sbin/init.d/samba start

Check first, if in

/etc/rc.config.d/samba

RUN_SAMBA=1

is set.
Geoff Wild
Honored Contributor
Solution

Re: SAMBA configutation

That depends - how do you want to access?

Ussually, start -run \\hpserver\share

Main thing is - how do you want to authenticate?

If you want to use Windows / ADS authentication, then read my thread here:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=949365

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Noble Sebastian
Frequent Advisor

Re: SAMBA configutation

Hi ,friends


Thnks to all
i start /sbin/init.d/samba start , now my hp server is showing Win xp pc network . but i can not access , user invild comeing . i try my cmb.conf user name . if samba access any new user requierd...i attach my cmb.conf file with this mail


regards
Noble
Luk Vandenbussche
Honored Contributor

Re: SAMBA configutation

You have to define your share, with a unique name.
fe : testshare

[testshare]
; comment = monitor user only share
path = /home/oratst/farhan/citibank
valid users = oravis
public = no
writable = yes
printable = no
; create mask = 0765
Geoff Wild
Honored Contributor

Re: SAMBA configutation

Check log files in /var/opt/samba

Your
security = domain

Did you actually setup the domain?

Are the windows clients in the domain "DOMAIN_NAME"?

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Noble Sebastian
Frequent Advisor

Re: SAMBA configutation

hi

yes i am client of windows domain
my windows domain name citibank.com

smba log files

[2007/06/04 19:59:20, 0] smbd/password.c:domain_client_validate(1572)
domain_client_validate: could not fetch trust account password for domain DOMAIN_NAME
[2007/06/04 19:59:20, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam1(1369)
unable to open passdb database.
[2007/06/04 19:59:20, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam1(1369)
unable to open passdb database.
[2007/06/04 19:59:21, 0] smbd/password.c:domain_client_validate(1572)
domain_client_validate: could not fetch trust account password for domain DOMAIN_NAME
[2007/06/04 19:59:21, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam1(1369)
unable to open passdb database.
[2007/06/04 19:59:21, 0] passdb/pdb_smbpasswd.c:pdb_getsampwnam1(1369)
unable to open passdb database.

Geoff Wild
Honored Contributor

Re: SAMBA configutation

Then you need to add the HP server to the domain..

Put the domain in the smb.conf file, and

/opt/samba/bin/net ads join -U administrator

or if not ads, then use rpc

/opt/samba/bin/net rpc join -U administrator

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Noble Sebastian
Frequent Advisor

Re: SAMBA configutation

Hi , friend

How to join to ads
my domain citibank.com
where i put entry in smb.conf ..?
how to add my hp server to my ads
i try
/opt/samba/bin/net ads join -U administrator
this not vaild

thanks

......Noble

Noble Sebastian
Frequent Advisor

Re: SAMBA configutation

Hi friends,

My requirement Hp Ux server Access my Win XP pc

Win xp Pc as Client of Domain

Hp ux used Samba

the flowing entry in smb.conf

1 workgroup = CITIBANK.COM (My domain)
2 security = domain
3 password server = 10.0.130.131( domain ip )
4
fe : testshare

; comment = monitor user only share
path = /home/oratst/farhan/citibank
valid users = monitor
public = no
writable = yes
printable = no
; create mask = 0765


now i try add hp server to win2003 domain

net join CITIBANK.COM -U administrator

but not working


How to add HP UX server in Windows 2003 domain server ?

I can access hp ux server in my win xp pc (client CITIBANK.COM )



can u help me

Thanks
Noble

Geoff Wild
Honored Contributor

Re: SAMBA configutation

Command should be:

/opt/samba/bin/net rpc join -U administrator

Or, if citibank is running Active Directory, then:

/opt/samba/bin/net ads join -U administrator

and smb.conf must be

security = ADS

and uou need LDAP-UX installed and Kerberos...

Again - read my thread above


Kerboros needs a conf file - yours should be something like:

# cat /etc/krb5.conf
# Kerberos Configuration #
# #
# This krb5.conf file is intended as an example only. #
# See krb5.conf(4) for more details. #
# #
# #
# Replace MYREALM.XYZ.COM with your kerberos Realm. #
# Replace adsdc.myrealm.xyz.com with your Windows ADS DC full #
# domain name. #
# #
[libdefaults]
default_realm = citibank.com
default_tkt_enctypes = DES-CBC-MD5 DES-CBC-CRC
default_tgs_enctypes = DES-CBC-MD5 DES-CBC-CRC
ccache_type = 2

[realms]
citibank.com= {
default_domain = CITIBANK
kdc = yourmainadsserver.yourdomain.com:88
admin_server = yourmainadsserver.yourdomain.com
}
[domain_realm]
.yourdomain.com = YOURDOMAIN.COM

[logging]
kdc = FILE:/var/adm/syslog/krb5kdc.log
admin_server = FILE:/var/adm/kadmin.log
default = FILE:/var/adm/krb5lib.log


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Noble Sebastian
Frequent Advisor

Re: SAMBA configutation

the flowing entry in smb.conf

1 workgroup = CITIBANK.COM
2 security = ADS
3 password server = 10.0.130.131
4
fe : testshare

; comment = monitor user only share
path = /home/oratst/farhan/citibank
valid users = monitor
public = no
writable = yes
printable = no
; create mask = 0765


now I start
opt/samba/bin/net ads join -U administrator
sh: /opt/samba/bin/net: not found.

Now what I do â ¦?




My server is hp ux 11.23 , if I need LDAP-UX installed and Kerberos