Bare with me please :-) I know this question has probably been asked before but a quick overview of the archives didn't help me out. Couple of parts 1. Can a samba domain be established that doesn't require registry hacks on an XP machine to add the XP machine? 2. What would a VERY basic smb.conf file look like that creates a samba domain for W2K and XP machines? 3. Does anyone remember my name? :-) I used to be a big samba lister about 2-3 years ago, but havent been around due to changes in jobs. Thanks for any help I can get -Conlan Adams
On Mon, Dec 29, 2003 at 05:17:12PM -0500, Conlan Adams wrote:> Bare with me please :-) > > I know this question has probably been asked before but a quick overview of > the archives didn't help me out. > > Couple of parts > > 1. Can a samba domain be established that doesn't require registry hacks on > an XP machine to add the XP machine?Samba 3.0 supports this.> 2. What would a VERY basic smb.conf file look like that creates a samba > domain for W2K and XP machines?See the HOWTO.> 3. Does anyone remember my name? :-)No, Andrew Bartlett
On Mon, 29 Dec 2003, Conlan Adams wrote:> Bare with me please :-) > > I know this question has probably been asked before but a quick overview of > the archives didn't help me out. > > Couple of parts > > 1. Can a samba domain be established that doesn't require registry hacks on > an XP machine to add the XP machine?Yes. Use Samba-3.0.x. Can not be done with Samba-2.2.x.> > 2. What would a VERY basic smb.conf file look like that creates a samba > domain for W2K and XP machines?# Global parameters [global] workgroup = MIDEARTH server string = Samba3 passdb backend = tdbsam username map = /etc/samba/smbusers log file = /var/log/samba/%m smb ports = 139 445 add user script = /usr/sbin/useradd -m %u delete user script = /usr/sbin/userdel -r %u add group script = /usr/sbin/groupadd %g delete group script = /usr/sbin/groupdel %g add user to group script = /usr/sbin/usermod -G %g %u add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u domain logons = Yes os level = 35 preferred master = Yes domain master = Yes idmap uid = 15000-20000 idmap gid = 15000-20000 winbind use default domain = Yes Is that basic enough?> > 3. Does anyone remember my name? :-)Nope. But I trust you. :)> > I used to be a big samba lister about 2-3 years ago, but havent been around > due to changes in jobs.Thanks for hepling out.> Thanks for any help I can getFee for service remains the same. Cheers, John T. -- John H Terpstra Email: jht@samba.org
>Samba 3.0 supports this.All versions of samba 3.0?>See the HOWTO.By any chance got a link? Type samba howto into google and you get about 50,000 different hits Thanks -Conlan
On Mon, Dec 29, 2003 at 05:45:34PM -0500, Conlan Adams wrote:> > >Samba 3.0 supports this. > > All versions of samba 3.0? > > >See the HOWTO. > > By any chance got a link? Type samba howto into google and you get about > 50,000 different hitsThe official one - should abe about 3rd. http://www.samba.org/samba/docs/man/ or http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection.html for all-on-one-page or http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection.pdf for the pdf. Lots of choice :-) Andrew Bartlett
> By any chance got a link? Type samba howto into google and you get about > 50,000 different hitshttp://hr.uoregon.edu/davidrl/samba.html is a good start. Holger
"John H Terpstra" <jht@samba.org> wrote in message news:Pine.LNX.4.50.0312292223120.7658-100000@dp.samba.org...> add user script = /usr/sbin/useradd -m %u > delete user script = /usr/sbin/userdel -r %u > add group script = /usr/sbin/groupadd %g > delete group script = /usr/sbin/groupdel %g > add user to group script = /usr/sbin/usermod -G %g %u > add machine script = /usr/sbin/useradd -s /bin/false -d /dev/nullThis is useful info. Let us see now... The add machine script does the creation of the Linux machine account when adding the Windows client to the domain. (/etc/passwd) The add/delete user scripts do the addition/deletion of the Linux user account when using a tool like usrmgr.exe or smbpasswd. (/etc/passwd) How would I use the add/delete group scripts? How do they tie in with mapping Samba groups to Linux groups using the "net groupmap" command? Thanks.