Re: [ILUG] The "I've given up on that" Samba Q

From: Stephen Shirley (diamond at domain skynet.csn.ul.ie)
Date: Fri 23 Apr 1999 - 14:37:02 IST


Hold it - I've seen the light!!! I could set the
add user script =
line to
add user script = cat %u >> /etc/smbpasswd
or someat which would add the username to the end of the
nobody =
line in smbusers

Would that work?

Steve

Stephen Shirley wrote:
>
> Mornin',
> Thanks for the reply. When you mention automagically does
> this mean that when a new user tries to access the shares
> his gets an account on my machine? I can't have all users
> having accounts - there's over 10,000 possible users - at least
> 1000 who reguraly use my stuff.
>
> Steve
>
> Paul Jakma wrote:
> >
> > hi stephen,
> >
> > i've had samba and NT doamins working fine with the samba-2.0.3 rpm from
> > the redhat-5.2 kernel 2.2 updates.
> >
> > you need the encrypt passwords setting, you need to know the ip/netbios
> > name of the PDC. and you need to either create an account on the unix
> > machine for every domain account, or set the adduser option to a proper
> > script and users will be added automagically.
> >
> > should work fine with the code that's in samba. you don't need the
> > pam_smb module.
> >
> > (and make sure to set domain logon's to off and os level to something
> > low. or chaos will reign)
> >
> > eg a snippet from smb.conf:
> >
> > # Global parameters
> > workgroup = MYDOMAIN
> > server string = Easy Server
> > security = DOMAIN
> > encrypt passwords = Yes
> > passwd program = /usr/bin/passwd %u
> > password server = ....
> > add user script = /usr/sbin/useradd -c samba_user -e 03/05/99 -f
> > 1 -g smbusers -n %u
> > os level = 16
> > domain logons = no
> > local master = no
> >
> > this worked fine for me with NT4sp4 PDC.
>
> --
>
> =============================================
>
> It was quiet... too quiet.
>
> Then it was loud... too loud.
>
> Quiet again... too quiet.
>
> And once more, loud... way too loud.
>
> "Damn snooze button," I mumbled to
> myself as I got out of bed and
> checked the time: late... too late.
>
> --
> Irish Linux Users' Group: ilug at domain linux.ie
> http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
> List maintainer: listmaster at domain linux.ie

--
=============================================
It was quiet... too quiet.
Then it was loud... too loud.
Quiet again... too quiet.
And once more, loud... way too loud.
"Damn snooze button," I mumbled to
myself as I got out of bed and
checked the time:  late... too late.


This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:09 GMT