- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: samba and nt domain.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2003 08:58 PM
09-21-2003 08:58 PM
I'm in trouble with samba.. What I need is to use an NT PDC of domain DOM with my samba share running on hp-ux.
My version of samba in 2.2.3a.
I followed this procedure:
1. From Server Manager the nt sysadm add my server to domain.
2. run the following command from my system: smbpasswd -j DOM -r PDC (this action creates the secrets.tdb file)
3. in smb.conf :
security = domain
workgroup = DOM
encrypt password = yes
password server = PDC (I try also *)
4. restart samba.
Then, when I try to acces my share from a Win2k workstation, it fails and in logfile i found:
[2003/09/22 10:37:45, 0] smbd/password.c:(1335)
connect_to_domain_password_server: unable to setup the PDC credentials to machine PDCIVREA. Error was : NT_STATUS_OK.
[2003/09/22 10:37:45, 0] smbd/password.c:(1554)
domain_client_validate: Domain password server not available.
[2003/09/22 10:37:45, 0] passdb/pdb_smbpasswd.c:(1367)
unable to open passdb database.
please, I'm out of ideas.
thanks.
p.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2003 09:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2003 09:15 PM
09-21-2003 09:15 PM
Re: samba and nt domain.
the error is the same.
p.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2003 09:34 PM
09-21-2003 09:34 PM
Re: samba and nt domain.
Add a trust relationship in the PDC for the server that runs samba.
Check your MS WINS resolution and LMHOSTS lookup.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2003 09:37 PM
09-21-2003 09:37 PM
Re: samba and nt domain.
This is necessary authentication will work correctly. Otherwise you must use a "user map". This map assigns a UNIX user to a Domain User.
You can do it like this.
Put this in you smb.conf
domain user map = /usr/local/samba/lib/domain_user.map
In the file domain_user.map you can do a mapping from UNIX User to Domain User.
i.e.
root=Administrator
HTH
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2003 09:38 PM
09-21-2003 09:38 PM
Re: samba and nt domain.
ok, I'll ask that to NT adm
Check your MS WINS resolution and LMHOSTS lookup.
in my workstation? the resolution is ok.. and I tryed from others workstations..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2003 09:44 PM
09-21-2003 09:44 PM
Re: samba and nt domain.
I have to add every user in the domain that I want they can access to my share?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2003 10:13 PM
09-21-2003 10:13 PM
Re: samba and nt domain.
"Is the User-ID you use at the W2K site also existant as a UNIX Account?
This is necessary authentication will work correctly"
how cai I do that?
thanx.
p.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2003 11:18 PM
09-21-2003 11:18 PM
Re: samba and nt domain.
sorry you must wait so long but I must check some things first.
I have saw you have set the parameter "security = domain" and not "security = server". This changes some things.
I think you will only authenticate to the PDC/BDC. Then you should change the parameter "security" to "security = server".
I'am right? Give me answer that I know what you must do next.
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2003 08:47 PM
09-22-2003 08:47 PM
Re: samba and nt domain.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2003 09:17 PM
09-22-2003 09:17 PM
Re: samba and nt domain.
See here:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=209744
The only problem Samba has so far there is that whatever security parameter in smb.conf is you should map unix-to-windows users.Winbind solves that.
In your case I guess smbpasswd -j -r should be run... to join the domain.
Zeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2003 06:07 AM
09-23-2003 06:07 AM
Re: samba and nt domain.
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2003 08:43 PM
09-23-2003 08:43 PM
Re: samba and nt domain.
Some more hints for your [Global] config.
It should look like this.
[Global]
netbios name =
workgroup =
password server =
encrypt passwords = yes
# Following parameters must be set, because the PDC must be the Domain-Master-Browser
os level = 0
domain master = no
local master = no
preferred master = no
# Two more parameters can be important
username level =
password level =
What does "username level"
Some clients transfer the username in capital letters. Per default Samba tries to find the username in lower case letters only with the first letter in capital. i.e
account name is "BobAcct" Samba will look by default for
bobacct
Bobacct
You see you will fail. But if you set now "username level = 4"
Samba will look for
bobacct
Bobacct
bObacct
boBacct
bobAcct
bobaCct
bobacCt
bobaccT
BObacct
BoBacct
BobAcct
...
The search will end if the name was found.
The same rule for "password level" with one exemption. A "password level = 8" means that samba does not differ between lower case and upper case letters.
HTH
Roland
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2003 10:02 PM
09-23-2003 10:02 PM
Re: samba and nt domain.
username level =
password level =
I try to set 8.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2003 10:17 PM
09-23-2003 10:17 PM
Re: samba and nt domain.
Ah,and provide points to the hard working
community :)
Zeev