LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-14-2004, 06:01 AM   #1
brasuca
LQ Newbie
 
Registered: Apr 2004
Location: Costa da Caparica <- born in RJ
Distribution: gentoo
Posts: 21

Rep: Reputation: 15
automatic adding machines to domain in samba


Cheers foks,

I want to automatically add machines to my domain in samba, and I've added the following line im my smb.conf:

add user script = /usr/sbin/useradd -g machines -d /dev/null -c "machine account" -s /bin/false %m

i've tried with %m and %u , anyway, it didn't make this to work; in win2k, when trying to add a machine to the domain, this error show up:

The user name could not be found.

Any ideas?

Last edited by brasuca; 05-14-2004 at 06:34 AM.
 
Old 05-14-2004, 07:09 AM   #2
brasuca
LQ Newbie
 
Registered: Apr 2004
Location: Costa da Caparica <- born in RJ
Distribution: gentoo
Posts: 21

Original Poster
Rep: Reputation: 15
I have changed from "add user script" to "add machine script". It now work, I can add the machines to domain, but when trying to log in, it says " domain is not available". this is weird stuff :|

now I really need help
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
samba: acl's for machines outside the domain Clemente Linux - Software 0 06-20-2004 06:21 AM
2nd root (for adding client machines to Samba PDC) ? muah Linux - Security 4 02-01-2004 09:26 AM
Adding Machine to domain with Samba 3 fails bedwardj Linux - Networking 6 12-16-2003 08:23 PM
Adding RH9/Samba to NT domain cockblocker Linux - Software 0 07-04-2003 11:22 AM
Adding Samba client to NT domain PhilHalf Linux - Networking 1 02-20-2003 07:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration