- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: samba authentication
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
Discussions
Discussions
Discussions
Forums
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
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
тАО07-13-2005 05:51 AM
тАО07-13-2005 05:51 AM
samba authentication
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2005 06:17 AM
тАО07-13-2005 06:17 AM
Re: samba authentication
security="windows_pdc_domain"
or
security=server
Check following document, it is very helpful.
http://www.oreilly.com/catalog/samba/chapter/book
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2005 07:58 PM
тАО07-13-2005 07:58 PM
Re: samba authentication
I will read this book
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2005 08:31 PM
тАО07-13-2005 08:31 PM
Re: samba authentication
see man winbindd
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2005 10:38 PM
тАО07-13-2005 10:38 PM
Re: samba authentication
I have been able to find much information on winbind/samba
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2005 01:14 AM
тАО07-14-2005 01:14 AM
Re: samba authentication
Winbind - only works in Samba 3 and up.
First, backup old files:
cp -p /etc/opt/samba/smb.conf /etc/opt/samba/smb.conf.bak
cp -p /etc/opt/samba/username.map /etc/opt/samba/username.map.bak
Install new Samba (if needed)
Verify it is installed:
swlist |grep CIFS
Add to windbind to /etc/nsswitch.conf:
passwd: files winbind
group: files winbind
Add or change /etc/opt/samba/smb.conf
security = DOMAIN
idmap uid = 10000-30000
idmap gid = 10000-30000
template primary group = users
winbind separator = +
as well as valid users, example:
valid users = WINDOWSDOMAIN+user1, WINDOWSDOMAIN+user2
then, for each share, set the valid users as well, example:
[src]
path = /usr/local/src
valid users = WINDOWSDOMAIN+user1, WINDOWSDOMAIN+user2
force user = genericunixid
Note: force user sets the Unix permissions to the uid of that user - so it must be a Unix id.
zero out the username.map file - no longer needed.
May or may not need to re-join the WINDOWSDOMAIN domain:
/opt/samba/bin/net rpc join -U administrator
Start Samba and windbind from either SWAT ( http://server:901 ) or command line:
/opt/samba/bin/startsmb -w
Verify you can connect from Windows by:
Start -> Run -> \\server
Note: you will need IPC share for \\server:
[IPC$]
hosts allow = 192.168.163.0/24 127.0.0.1
hosts deny = 0.0.0.0/0
valid users = WINDOWSDOMAIN+gwild
Check log files on Samba Server in /var/opt/samba if it doesn't seem to be working.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2005 03:21 AM
тАО07-14-2005 03:21 AM
Re: samba authentication
( valid users = WINDOWSDOMAIN+user1, WINDOWSDOMAIN+user2) to the unix machine I would samba to validate these users automatically...no signon/password from windows .
I think winbind is the answer but I need to get it working (under LINUX). I tried your steps but it is still missing something.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2005 02:26 PM
тАО07-14-2005 02:26 PM
Re: samba authentication
You could just use SECURITY=USER and use smbpasswd and map users to a Unix id (could be just one if you use a username.map).
But your original question stated:
"What would be the best way to authenticate these users via windows PDC"
So I'm a bit confused....sorry...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2005 10:38 PM
тАО07-14-2005 10:38 PM
Re: samba authentication
password server = NTDCSERVER1, NTDCSERVER2, etc
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2005 12:55 AM
тАО07-15-2005 12:55 AM