1834434 Members
2681 Online
110067 Solutions
New Discussion

Re: A problem in Sama

 
SOLVED
Go to solution
Wang,MinJie
Super Advisor

A problem in Sama

Hi all
I've configured a CIFS server in a Windows AD domain as a domain member
Now I want to authenticate Administrator which is the domain controller account to be a samba account
So I ran "useradd administrator" in HP-UX and it failed(as we all know it's an invalid username in unix)
So how can I use Administrator to log on CIFS server.Should I use user map and How?
Thx in advance
4 REPLIES 4
Steven E. Protter
Exalted Contributor
Solution

Re: A problem in Sama

Shalom,

That user name is too big for HP-UX.

Better to add root as an admin user to the Windows side.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Wang,MinJie
Super Advisor

Re: A problem in Sama

Hey Steve
I know it's too large
But I have to use the domain account "Administrator" to log on Samba server.
So I edited username.map and add this entry:
root=administrator
but it didn't work
and advice?
Steven E. Protter
Exalted Contributor

Re: A problem in Sama

Shalom,

You can not add an account bigger than 8 characters on HP-UX 11.11 or lower.

If you are 11.23 or above you can load an add in from http://software.hp.com that permits this.

The solution to the problem is to have the windows administration create a new account and give it admin priviledges.

That account needs to have less than 8 characters in it.

As far as samba goes its possibly much easier

cifsclient with -U administrator should prompt you for the admin password and grant you command line access to the system.

Also net join after modifying smb.conf to permit ADS access could provide you an integration method that does not require an illegal user on HP-UX.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
gstonian
Trusted Contributor

Re: A problem in Sama

Try an account that has adminstrator priviledges on the server you might have to throw the domain in there as well.

i.e. root=DOMAIN\adminaccount