Operating System - HP-UX
1753889 Members
7585 Online
108809 Solutions
New Discussion юеВ

Re: Joining HPUX server to windows domain

 
Rita C Workman
Honored Contributor

Re: Joining HPUX server to windows domain

I'm just going to touch some basics here (very basic), cause you obviously are using a passwd server (which I don't bother with internally) and such. So just addressing the connection here:

Once you create your new samba share info in your /etc/opt/smb.conf file, all you have to do is go to the Windows PC and:

Right Click Start/Explore
From top toolbar click on Tools
Click on Map Network Drive
Pick a free drive letter (line 1)
Enter your patch in (line 2)

Example from [lic4adm]
\\\Interface\test

=UNIX SAMBA server
Assuming that Interface\test is the full path

Hope this helps get you started,
Rgrds,
Rita
Rita C Workman
Honored Contributor

Re: Joining HPUX server to windows domain

...and one last thing...just in case-

startsmb

stopsmb

smbstatus

/rcw
Venkat_11
Regular Advisor

Re: Joining HPUX server to windows domain

Thanks everybody for all the replies. The issue here is i am able to access the share drive from windows server but its asking for password every time.

I want to resolve the following issues.

entering password everything i access the share directory from windows.

Adding unix server to windows domain.

Do i need to upgrade samba to get the above things done?
eric roseme
Respected Contributor

Re: Joining HPUX server to windows domain

With "security = domain" you must join the domain before your clients can access your server. If your clients are authenticated into the domain when they log on, then they will not have to enter a password to map a share on the server. Your version of CIFS/Samba equates roughly to Samba 2.0.7 or something like that. It's entirely possible that you cannot join a W2003, W2003R2, or W2008 domain with that Samba version. So upgrade.

With "security = server" you do not need to join the domain, but every time a user maps a share they will have to enter a password (the CIFS/Samba server must pass-thru the auth-n request to the DC). However, "security = server" requires anonymous logons, which W2003, W2003R2, and W2008 do not allow. So if you have one of those Windows Server versions, upgrade.
Venkat_11
Regular Advisor

Re: Joining HPUX server to windows domain

I upgraded samba server and client on my server. After that when i tried to run net join its failing with the below error.

usxsl014:root# ./net ads join -U a206173
[2009/08/28 10:30:43, 0] param/loadparm.c:map_parameter(2903)
Unknown parameter encountered: "client code page"
[2009/08/28 10:30:43, 0] param/loadparm.c:lp_do_parameter(3644)
Ignoring unknown parameter "client code page"
[2009/08/28 10:30:43, 0] param/loadparm.c:map_parameter(2903)
Unknown parameter encountered: "mangled stack"
[2009/08/28 10:30:43, 0] param/loadparm.c:lp_do_parameter(3644)
Ignoring unknown parameter "mangled stack"
a206173's password:
[2009/08/28 10:30:45, 0] utils/net_ads.c:ads_startup_int(286)
ads_connect: No logon servers
Failed to join domain: No logon servers

Do i need to start winbindd service if so how can i start?

Thanks.