Solved

Samba users on Linux

Posted on 2004-04-29
2
439 Views
Last Modified: 2008-03-10
Hello everybody,

I've got a question for anyone with mucho samba skills, or at least the skills I completely seem to lack.

I have an installation with the following basic configuration.

Windows NT 4.X running as our PDC for users and such, with several linux boxes running various flavors but all are at least RH 7.2 with any/alll RH provided patches bug-fixes.

In particular we have one server we'd like the users to be able to login using their regular network login/password. So I setup Samba/Winbind to accomodate the users but I've obviously missed something.

When I use wbinfo -u I get a list of users i.e.;

bobk
markj
samb
kent

But I do not see our Domain as part of the list. I think I should see

work1+bobk
work1+markj
work1+samb
work1+kent

Examples that I found for the configurations

at http://www.experts-exchange.com/Operating_Systems/Linux/Q_20399908.html?query=samba+nt+pdc+authentication&searchType=all
and http://www.samba.org/samba/devel/docs/html/winbind.html

don't mention this problem.As it stands, I have tried several user logins from the standard login screen and they do not work, unix defined users work fine.

Below is a snippet of my relevant files (at least the one's I believe are relevant).
--- smb.conf - begin -----
[global]

   workgroup = work1
   server string = Joe's Research Box
   hosts allow =  192.168.2.20 192.168. 127.
   printcap name = /etc/printcap
   load printers = yes
   printing = lprng
   log file = /var/log/samba/%m.log
   max log size = 0
   security = domain
   password server = work1-pdc   # added 4/29/04 - jg
   winbind separator =+
   winbind uid = 10000-20000
   winbind gid = 10000-20000
   winbind enum users = yes
   template homedir=/home/winnt/%D/%U
   template shell = /bin/bash
   winbind use default domain = yes
   encrypt passwords = yes
   smb passwd file = /etc/sambauth      
   unix password sync = Yes

--- smb.conf - end ---

--- /etc/pam.d/login - start ----

required     /lib/security/pam_securetty.so
auth       required     /lib/security/pam_stack.so service=system-auth
auth       required     /lib/security/pam_nologin.so
account    required     /lib/security/pam_stack.so service=system-auth
password   required     /lib/security/pam_stack.so service=system-auth
session    required     /lib/security/pam_stack.so service=system-auth
session    optional     /lib/security/pam_console.so
auth       sufficient   /lib/security/pam_winbind.so use_first_pass
auth       sufficient   /lib/security/pam_unix.so use_first_pass
account    sufficient   /lib/security/pam_winbind.so use_first_pass

---- /etc/pam.d/login - stop -----

Any help would be greatly appreciated, Please let me know if I need to post any further information.

Regards,

Joe G.
0
Comment
Question by:jgilligan1
  • 2
2 Comments
 

Expert Comment

by:sallauddins
ID: 10958173
Hi,

   Please check this site if is is helpful to u.

Regards,
saladin
0
 

Accepted Solution

by:
sallauddins earned 300 total points
ID: 10958178
OOP's forgot the link

http://tldp.org/HOWTO/SMB-HOWTO.html
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now