Operating System - HP-UX
1748017 Members
3719 Online
108757 Solutions
New Discussion юеВ

Re: Joining HPUX server to windows domain

 
Venkat_11
Regular Advisor

Joining HPUX server to windows domain

I am trying to configure samba on HPUX 11i server and share one of the directory to windows environment.

CIFS version A.01.09.01 installed on the HPUX server.

When i tried running net join its failing complaining about net command.

usxsl014:root# net join uswsl002.ddns.com -U a139997
sh: net: not found.


which path i have to use to run the net join command?

Here is how my smb.conf looks.

workgroup = ddns
netbios name = usxl004
security = domain
encrypt passwords = Yes

password server = uswsl002.ddns.com,uswsl001.ddns.com
username map = /var/opt/samba/username.map
lm announce = True
local master = No
wins server = 10.200.17.66
mangled names = Yes
mangled stack = 4096
client code page = 437
guest account = smbnull

[ic4adm]
comment = Interface Path
path=/Interface/test
writeable = yes
hide dot files = no
guest ok = no
public = yes

Thanks In Advance.
14 REPLIES 14
Roopesh Francis_1
Trusted Contributor

Re: Joining HPUX server to windows domain

Venkat,

try,
/opt/asu/lanman/bin/net

Thanks
Venkat_11
Regular Advisor

Re: Joining HPUX server to windows domain

Thanks for quick response.

root# ll /opt/asu/lanman/bin/net
/opt/asu/lanman/bin/net not found
Roopesh Francis_1
Trusted Contributor

Re: Joining HPUX server to windows domain

try
/opt/samba/bin/net
Venkat_11
Regular Advisor

Re: Joining HPUX server to windows domain

No luck...do i have to install any software?

root# ll /opt/samba/bin/net
/opt/samba/bin/net not found
root#
root# cd /opt/samba/bin
root# ll
total 31168
-rwxr-xr-x 1 root sys 1780 Apr 12 2002 addtosmbpass
-rwxr-xr-x 1 root sys 517 Jul 2 2003 convert_smbpasswd
-rwxr-xr-x 1 root sys 4382 Jul 2 2003 findsmb
-rwxr-xr-x 1 root sys 507904 Jul 2 2003 make_printerdef
-rwxr-xr-x 1 root sys 507904 Jul 2 2003 make_smbcodepage
-rwxr-xr-x 1 root sys 499712 Jul 2 2003 make_unicodemap
-rwxr-xr-x 1 root sys 937984 Jul 2 2003 nmbd
-rwxr-xr-x 1 root sys 745472 Jul 2 2003 nmblookup
-rwxr-xr-x 1 root sys 1687552 Jul 2 2003 rpcclient
-rwxr-xr-x 1 root sys 23895 Jul 2 2003 samba_setup
-rwxr-xr-x 1 root sys 1589248 Jul 2 2003 smbcacls
-rwxr-xr-x 1 root sys 839680 Jul 2 2003 smbclient
-rwxr-xr-x 1 root sys 552960 Jul 2 2003 smbcontrol
-rwxr-xr-x 1 root sys 2621440 Jul 2 2003 smbd
-rwxr-xr-x 1 root sys 1478656 Jul 2 2003 smbpasswd
-rwxr-xr-x 1 root sys 745472 Jul 2 2003 smbspool
-rwxr-xr-x 1 root sys 557056 Jul 2 2003 smbstatus
-rwxr-xr-x 1 root sys 4970 Jul 2 2003 smbtar
-rwxr-xr-x 1 root sys 2303 Jul 2 2003 startsmb
-rwxr-xr-x 1 root sys 2239 Jul 2 2003 stopsmb
-rwxr-xr-x 1 root sys 1499136 Jul 2 2003 swat
-rwxr-xr-x 1 root sys 3870 Jul 2 2003 syncsmbpasswd
-rwxr-xr-x 1 root sys 53248 Jul 2 2003 tdbbackup
-rwxr-xr-x 1 root sys 507904 Jul 2 2003 testparm
-rwxr-xr-x 1 root sys 520192 Jul 2 2003 testprns
Roopesh Francis_1
Trusted Contributor

Re: Joining HPUX server to windows domain

It should come with samba...

can you please try to find the command

find /opt/samba -name net -print

Venkat_11
Regular Advisor

Re: Joining HPUX server to windows domain

No luck. We have another server which is using samba for which also i dont see net in the above paths.
Roopesh Francis_1
Trusted Contributor

Re: Joining HPUX server to windows domain

check for this link.

http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/NetCommand.html...

worst case,can you try to do
find / -name net
if possible... :(
eric roseme
Respected Contributor

Re: Joining HPUX server to windows domain

Your version of CIFS/Samba is too old to have the net command. You need to upgrade your CIFS/Samba version to A.02.04 on software.hp.com. This will give you domain membership up to W2008. Note that "security=domain" will require "net rpc join" and you will get NTLM level authentication. If you want full kerberos auth-n, you will need "security = ads" and "net ads join". If that's what you want, use this whitepaper to help you out:

http://www.docs.hp.com/en/14985/HPCIFSKerberosV105.pdf

Also, the A.02.04 admin Guide will help you out with domain membership.
Vijaya Kumar_3
Respected Contributor

Re: Joining HPUX server to windows domain

It could be a older version of samba that you installed. Samba 3 comes with the net command.

http://us6.samba.org/samba/docs/man/Samba-HOWTO-Collection/domain-member.html#id2571102

http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/NetCommand.html

The net command is one of the new features of Samba-3 and is an attempt to provide a useful tool for the majority of remote management operations necessary for common tasks.

Regards
Vijay Chinnasamy
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com