- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Samba to prevent multiple logins?
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
04-06-2005 02:07 AM
04-06-2005 02:07 AM
So users log in to the Windows network, which gives them access to NT file shares, an NT home directory, and Windows shared printers.
They use Eudora etc. to POP in to the Unix box for email.
Then, to access our primary database, they open a terminal emulator, and log in to unix to run the DB.
Can I use Samba to prevent having to maintain two sets of accounts, and so they don't need to login twice?
i.e. set them up in Unix but not NT?
And, once authenticated there, can the Unix box be in the same domain such that the NT shares are available to them without logging in again?
The O'Reilly Samba book says I can avoid NT CALs, is that true, or do I avoid CALs by sharing everything from unix disks?
If someone could touch on these points I'd appreciate it.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 12:11 AM
04-07-2005 12:11 AM
Solutionhttp://bob.rasey.net/archives/000137.html
http://www.go-getters.com/index.php?p=26
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/domain-member.html
These sites should be enough to get you started.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 12:23 AM
04-07-2005 12:23 AM
Re: Samba to prevent multiple logins?
For details on this setting, read sabba book.
http://www.oreilly.com/openbook
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-07-2005 01:35 AM
04-07-2005 01:35 AM
Re: Samba to prevent multiple logins?
Here's the samba how to collection:
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/
Use HP's cif server though:
http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8725AA
You need winbind running as well (add to /etc/nsswitch.conf:
passwd: files winbind
group: files winbind
hosts: files [NOTFOUND=CONTINUE] dns
You can make the samba server join the NT domain - you need someone with admin priviliges and password:
/opt/samba/bin/net rpc join -U administrator
Main things to put in smb.conf:
workgroup = YOURNTDOMAIN
security = DOMAIN
password server = YOURNTDC1, YOURNTDC2
winbind separator = +
winbind enum users = No
winbind enum groups = No
valid users = $YOURNTDOMAIN+AGROUP, bb, oracle, YOURNTDOMAIN+somentuserid
An example share:
[homes]
comment = Home Directories
path = /home/%U
valid users = YOURNTDOMAIN+somentuserid, YOURNTDOMAIN+somentuserid2, bb, oracle
browseable = No
NOTE: as of Samba 3 something...browsing is OFF by default - if you want browsing - then you have to add the IPC$ share:
[IPC$]
hosts allow = 192.168.2.0/24 127.0.0.1
hosts deny = 0.0.0.0/0
valid users = bb, YOURNTDOMAIN+somentuserid, YOURNTDOMAIN+somentuserid2
Hope this helps.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2005 01:07 AM
04-08-2005 01:07 AM
Re: Samba to prevent multiple logins?
I was hoping though that I could use the unix box as the 'master' i.e. set up accounts there, then have the unix box act as the PDC for windows, letting Windows users authenticate from the unix box.
This because they need to have a unix account for email anyway.
Is it just harder to configure with unix as the PDC, or is it somewhat broken when done that way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2005 01:32 AM
04-08-2005 01:32 AM
Re: Samba to prevent multiple logins?
As far as I remember - you need Unix account for each as well as setting up the smbpasswd for NT id's.
There are a lot of How to's - heres one:
http://www.hughesjr.com/content/view/24/2/Site_News
Rgds...Goeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2005 01:35 AM
04-08-2005 01:35 AM
Re: Samba to prevent multiple logins?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2005 01:51 AM
04-08-2005 01:51 AM
Re: Samba to prevent multiple logins?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2005 02:04 AM
04-08-2005 02:04 AM