RE: [suse-linux-uk-schools] Help please with Samba
We've used PAM_auth to check passwords against the NT domain - but we still needed to create the users on the Linux box. Samba works best the other way around (i.e. make NT boxes authnticate against Samba). -----Original Message----- From: Richard Rothwell To: suse-linux-uk-schools@suse.com Sent: 7/9/03 11:06 AM Subject: [suse-linux-uk-schools] Help please with Samba Hi, Is there anyone out there who has rigged Linux box to authenticate off an NT server? We have stumbled around and can work out how to use either Samba or SMB PAM. Neither can we find a decent Howto. Thanks in advance, ===== rgds, Richard Rothwell -------------------------------------------------------------------- GNU and Wine are rirds. Rird is recursively defined. ________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://uk.messenger.yahoo.com/ -- To unsubscribe, e-mail: suse-linux-uk-schools-unsubscribe@suse.com For additional commands, e-mail: suse-linux-uk-schools-help@suse.com
I agree with Chris, I have always found, from way back, that NT works best (!!!) if Samba takes charge. A small bug, which I don't think is fixed yet, requires that, if you are authenticating Win2k/XP machines into a domain, the user "with authority to add a machine" must be root, so be a little cautious and don't forget to add a root user to smbpasswd!
On Wed, 9 Jul 2003 11:15:53 +0100 , Chris Puttick
We've used PAM_auth to check passwords against the NT domain - but we still needed to create the users on the Linux box. Samba works best the other way around (i.e. make NT boxes authnticate against Samba).
-----Original Message----- From: Richard Rothwell To: suse-linux-uk-schools@suse.com Sent: 7/9/03 11:06 AM Subject: [suse-linux-uk-schools] Help please with Samba
Hi,
Is there anyone out there who has rigged Linux box to authenticate off an NT server? We have stumbled around and can work out how to use either Samba or SMB PAM. Neither can we find a decent Howto.
Thanks in advance,
===== rgds, Richard Rothwell -------------------------------------------------------------------- GNU and Wine are rirds. Rird is recursively defined.
_____________________________________________________________________ ___ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://uk.messenger.yahoo.com/
-- To unsubscribe, e-mail: suse-linux-uk-schools-unsubscribe@suse.com For additional commands, e-mail: suse-linux-uk-schools-help@suse.com
-- To unsubscribe, e-mail: suse-linux-uk-schools-unsubscribe@suse.com For additional commands, e-mail: suse-linux-uk-schools-help@suse.com
-- Best wishes, Derek
Hi, Can someone please help with autostarting a program. When Linux starts, I want to start an exe before a user logs in (i.e as the machine boots), how do I do this? Kind regards Adrian Wells
If you want to run the exe you would have to do it as the user opens a Windows session - in which case include it in the relevant startup script (as set by the smb.conf entry).
If you want to do it for a Linux session - you would have to ensure it runs under wine and force it to run at login on X - unless anyone has better ideas! I'm certainly open to learn from this one. I don't see how you could run an exe (unless it runs under DOS and you use dosemu, perhaps) from a startup script of any kind - Linux and exes don't talk - well, Linux might!
What about University Challenge then - "Unix, C, Linux" being the right answers!
On Thu, 10 Jul 2003 11:05:34 +0100, "adrian.wells"
Hi,
Can someone please help with autostarting a program.
When Linux starts, I want to start an exe before a user logs in (i.e as the machine boots), how do I do this?
Kind regards
Adrian Wells
-- To unsubscribe, e-mail: suse-linux-uk-schools-unsubscribe@suse.com For additional commands, e-mail: suse-linux-uk-schools-help@suse.com
-- Best wishes, Derek
Had a look in init.d ... Scary!
Sorry exe meaning an executable rather than specifically a windows program.
The first that I want to tackle is Squid. I have built 2.5 manually and have
to start it from the command line. auto starting would be nice since most
things fall over when I'm not here :-) (except when I fiddle!)
Kind regards
Adrian
----- Original Message -----
From: Derek Harding
If you want to run the exe you would have to do it as the user opens a Windows session - in which case include it in the relevant startup script (as set by the smb.conf entry). If you want to do it for a Linux session - you would have to ensure it runs under wine and force it to run at login on X - unless anyone has better ideas! I'm certainly open to learn from this one. I don't see how you could run an exe (unless it runs under DOS and you use dosemu, perhaps) from a startup script of any kind - Linux and exes don't talk - well, Linux might!
What about University Challenge then - "Unix, C, Linux" being the right answers!
On Thu, 10 Jul 2003 11:05:34 +0100, "adrian.wells"
wrote: Hi,
Can someone please help with autostarting a program.
When Linux starts, I want to start an exe before a user logs in (i.e as the machine boots), how do I do this?
Kind regards
Adrian Wells
-- To unsubscribe, e-mail: suse-linux-uk-schools-unsubscribe@suse.com For additional commands, e-mail: suse-linux-uk-schools-help@suse.com
-- Best wishes, Derek
--- "adrian.wells"
Had a look in init.d ... Scary!
Umm, no :) It is not :)
Sorry exe meaning an executable rather than specifically a windows program.
We tend to call the "applications"
The first that I want to tackle is Squid. I have built 2.5 manually and have to start it from the command line. auto starting would be nice since most things fall over when I'm not here :-) (except when I fiddle!)
Adrian, When squid installs, it usually has a script file in: /etc/init.d such that: /etc/init.d/squid start can be issued. This is done at Init usually. You might also want to edit the file "/etc/rc.config" and set SQUID_START=Yes HTH, -- Thomas Adam ===== Thomas Adam "The Linux Weekend Mechanic" -- www.linuxgazette.com ________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://uk.messenger.yahoo.com/
Had a look in init.d ... Scary!
Umm, no :) It is not :)
I may be easily scared - the scripts looked overly complicated, why not just a program location and name?
Sorry exe meaning an executable rather than specifically a windows program. We tend to call the "applications"
We? :-) You can call then that in windows too! :-)
When squid installs, it usually has a script file in:
/etc/init.d
such that:
/etc/init.d/squid start
Can't see it, I'd already looked
can be issued.
This is done at Init usually.
You might also want to edit the file "/etc/rc.config" and set SQUID_START=Yes
Isn't this set up when installing the SuSE RPM of squid? How does it know where I put Squid? Adrian
--- "adrian.wells"
Had a look in init.d ... Scary!
Umm, no :) It is not :)
I may be easily scared - the scripts looked overly complicated, why not just a program location and name?
Heh -- because most of what you see there is designed to be bullet proof,
Sorry exe meaning an executable rather than specifically a windows program. We tend to call the "applications"
We? :-) You can call then that in windows too! :-)
When squid installs, it usually has a script file in:
/etc/init.d
such that:
/etc/init.d/squid start
Can't see it, I'd already looked
can be issued.
This is done at Init usually.
You might also want to edit the file "/etc/rc.config" and set SQUID_START=Yes
Isn't this set up when installing the SuSE RPM of squid? How does it know where I put Squid?
Right, I'll assume that you compiled squid from source, and not from an RPM. In that case, you have two options. Either you can add a line thus into /etc/init.d/boot.local: squidctl start --or-- squid Alternatively, you can use this script that I developed just a minute ago: ------------------------------------------------------------------------ #!/bin/sh # # Start or stop squid daemon # OPTS='-D' case "$1" in start) start-stop-daemon --start --verbose --exec /usr/local/squid/bin/squid -- ${OPTS} & ;; stop) start-stop-daemon --stop --verbose --exec /usr/local/squid/bin/squid ;; *) echo "Usage: /etc/init.d/squid {start|stop}" exit 1 esac exit 0 --------------------------------------------------------------------------- This assumes that you have the "start-stop-daemon" program available. HTH, -- Thomas Adam ===== Thomas Adam "The Linux Weekend Mechanic" -- www.linuxgazette.com ________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://uk.messenger.yahoo.com/
--- "adrian.wells"
wrote: Had a look in init.d ... Scary!
Umm, no :) It is not :)
I may be easily scared - the scripts looked overly complicated, why not just a program location and name?
Heh -- because most of what you see there is designed to be bullet proof,
Sorry exe meaning an executable rather than specifically a windows program. We tend to call the "applications"
We? :-) You can call then that in windows too! :-)
When squid installs, it usually has a script file in:
/etc/init.d
such that:
/etc/init.d/squid start
Can't see it, I'd already looked
can be issued.
This is done at Init usually.
You might also want to edit the file "/etc/rc.config" and set SQUID_START=Yes
Isn't this set up when installing the SuSE RPM of squid? How does it know where I put Squid?
Right, I'll assume that you compiled squid from source, and not from an RPM. In that case, you have two options.
Either you can add a line thus into /etc/init.d/boot.local:
squidctl start
--or--
squid
Alternatively, you can use this script that I developed just a minute ago:
------------------------------------------------------------------------ #!/bin/sh # # Start or stop squid daemon #
OPTS='-D'
case "$1" in start) start-stop-daemon --start --verbose --exec /usr/local/squid/bin/squid -- ${OPTS} & ;; stop) start-stop-daemon --stop --verbose --exec /usr/local/squid/bin/squid ;; *) echo "Usage: /etc/init.d/squid {start|stop}" exit 1 esac
exit 0 --------------------------------------------------------------------------
Thanks for this Thomas,
off to play :-)
Kind regards
Adrian
----- Original Message -----
From: Thomas Adam
This assumes that you have the "start-stop-daemon" program available.
HTH,
-- Thomas Adam
===== Thomas Adam
"The Linux Weekend Mechanic" -- www.linuxgazette.com
________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://uk.messenger.yahoo.com/
-- To unsubscribe, e-mail: suse-linux-uk-schools-unsubscribe@suse.com For additional commands, e-mail: suse-linux-uk-schools-help@suse.com
participants (4)
-
adrian.wells
-
Chris Puttick
-
Derek Harding
-
Thomas Adam