[Samba] Is this possible? (syncing users between a system with samba 3 on and a win2k3 server)

Paul Gienger pgienger at ae-solutions.com
Sat Jun 19 20:14:43 GMT 2004

Mark Casey wrote:

>Okay, first a bit of background...
>It looks as though I'm going to be getting a consulting job soon to replace
>a guy at a company, turns out he has done something of a poor job (for
>example the router login is accessible from the outside, any ip etc).
>Now, the main server at this company is running Windows 2003 Server (SBS
>possibly) it also acts as the email server etc
If this is SBS, you may want to rethink your strategy.  SBS is designed 
to be AD controller and exchange for a company.  I don't believe it will 
either join an existing domain or allow any other DCs in a AD tree 
either, so beware.

>At the moment I plan to setup a linux system (either debian or gentoo.. Love
>those compile times) 
A word about being a hired gun (that is, a consultant), if you're not 
going to be hand holding these systems, maybe you should do the company 
a favor and not use a custom built distro... Gentoo is fine if it's your 
personal box, but in a situation where somebody else may have to install 
a program, etc,  try to go more mainstream.  If there's somebody with 
any knowlege at the place and they want to update the systems, it's a 
lot better if you can hand them a book on <insert favorite off the shelf 
distro> and say go to town rather than say 'read the entire gentoo 
installation howto and jump right in.  You may even get asked to come 
back for the serious upgrade/maintenance rather than getting cursed off 
the property (or sued for shoddy work) if they have to ask you to come 
back for every little thing.  Try to leave the place in better shape, 
and more maintainable than you came in or you're doing all of us 
consultants a disservice.  But I digress...

>Here is what I want to do:
>Whenever a new user (or any other currently existing users) are created on
>the win 2k3 server they are replicated on the email server (same username &
>password) automatically.
>Is it possible to do this with Samba?
Maybe what you really want to do is have your samba server be the DC and 
the w2k3 server simply be a member of its domain.  Then you have your 
unix uids for email and logins.  You'll have to run winbind if you're 
leaving windows as the DC, and that 'can' be a PITA in some cases.  You 
can use various methods to transfer login information to the samba 
passdb, but there will be some manual labor involved.

>It's mostly because they'll be a good number of currently existing users on
>the win 2k3 server and so when I setup the email server I don't want to be
>creating a very large number of users, I'd much rather it was totally
>Sorry about this being a bit long, I tried to shorten it.

Paul Gienger                     Office:		701-281-1884
Applied Engineering Inc.         Cell:			701-306-6254
Information Systems Consultant   Fax:			701-281-1322
URL: www.ae-solutions.com        mailto:pgienger at ae-solutions.com

More information about the samba mailing list