LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Samba security=server authentication

[ILUG] Samba security=server authentication

Dave Airlie david.airlie at ul.ie
Tue Apr 20 14:54:13 IST 1999


> Mornin',
> 	I'm trying to set up my linux box so that is will allow people
> access to samba shares using server level security. This means that the
> box takes the username and password given to it by the user and 
> forwards it to the NT login server. But I can't seem to get it to work.
> Any suggestions? Also, do any UL people know what the PDC is for 
> the UNDERGRADUATE domain?
> Thanks,
> 

Handy tip for anyone on NT networks, to get PDC name to

nmblookup domain#1b

to get a list of BDCs do

nmblookup domain#1c

simple eh? 

you still need to create local a/c's AFAIK for security=server, or at
least have force user= lines in the shares, in fact you do need local
a/c's of the same name (forgot I set up a system like this last year)...

As for the the dynamic creation of a/c's and stuff, I've looked into it
before, you would need an nss module (/etc/nsswitch.conf) to replace
passwd and group lookups (could query some service you run on NT domain
controller), then you need a pam authentication module like my one, and a
pam session module to create the home dir and call smbmount on it,

You still would need centralised uids I think (the service on NT would
have to take care of em ...)...

unfortuantly my time to work on samba got cut down a bit ... and I only
ever got as far as the auth module ..

Dave.





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell