Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm setting up a samba primary domain controller in Debian woody and the users are logging into the domain fine and can access their shares. I would like to restrict the listings of available shares to only authenticated users of the samba domain. I know this works in a win NT4 domain, how does one do it with samba?
This is the listing I get from an nt4 pdc (belongs to a different domain than this system 'WS-072') without supplying a username or password...
root@WS-072:/etc/samba# smbclient -L //nt4pdc
added interface ip=192.168.2.45 bcast=192.168.2.255 nmask=255.255.255.0
Got a positive name query response from 192.168.2.5 ( 192.168.2.5 )
Anonymous login successful
Domain=[HMS] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
If I do supply a username (with the -U option) and the proper password, I do get a listing of the available shares.
Now if I try the same listing without a username or password on the samba primary domain controller of the workgroup this system belongs too... I should get the same access denied for guest user share listings, but I don't - it shows all of them.
Sharename Type Comment
--------- ---- -------
tmp Disk temporary files
IPC$ IPC IPC Service (debianpdc server (Samba 2.2.3a-12 for Debian))
ADMIN$ Disk IPC Service (debianpdc server (Samba 2.2.3a-12 for Debian))
thoughts, suggestions, and of course solutions greatly appreciated. thanks.
Are you logging out with Alt-Ctrl-Del and then logging back in on the client (I am assuming the client is running MS). If not, MS has a tendancy to "keep" your logins active until you use the Alt-Ctrl-Del method to log out. Just some food for thought.
I am using my linux workstation (WS-072) to list the shares of the nt4 pdc (nt4pdc) and samba pdc (debianpdc) with the "smbclient -L \\netbiosname" command.
I have a win98 workstation to browse the network neighborhood, but to doubleclick/access the pdc of either domain, I must be authenticated to that pdc already in that domain... or else it doesn't let me see the shares -- it requests a password for IPC$. The smbclient command seems to be a lower level program, that will give me share information... so I'm using that to test. thanks though, good idea.