ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
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.
There is less than 24 hours left to vote in the 2015 LinuxQuestions.org Members Choice Awards. Click here to go to the polls. Vote now and make sure your voice is heard!
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 have a program that basically uses a function from samba to determin if the username and pass are valid on the given windows nt domain sadly this worked once and has since stoped working ( code snip at end of message )
when its valid it returns 0 and invalid it returns 1
the function is Valid_User (user, pass, server, backup, domain)
now from the code i can make out, the function should return a message of some sort ( am i right? ) i would like to print/echo on the screen any information given out from the vailid_user function
how would i go about doing this should i read it in to a varible first then put that on screen or can i take it directly from the function?
i am a bit of a newbie at the so please could you explain as much as you can
please please could some one help me ?!
i have looked around in valid.c and found the error 'codes' ( if you like )
i have re-written the program slightly and figured out that the Samba is having trouble with connecting to the server thats why its failing but i am now unsure if its a config error in samba or if its something else