[PATCH] winbind use default domain
Alexander Bokovoy
a.bokovoy at sam-solutions.net
Thu Dec 20 02:43:06 GMT 2001
On Thu, Dec 20, 2001 at 09:13:33PM +1100, Mathew McKernan wrote:
> Hi all,
>
> I have tried to apply this patch locally after grabbing latest CVS from the
> Samba Head branch.
>
> All hunks fail. Any ideas?
Seems that this night was productive in HEAD. :) I'll do new patch today.
>
> Thanks
>
> Mathew
>
>
> ----- Original Message -----
> From: "Alexander Bokovoy" <a.bokovoy at sam-solutions.net>
> To: <samba-technical at samba.org>
> Sent: Thursday, December 20, 2001 3:49 AM
> Subject: [PATCH] winbind use default domain
>
>
> > Following patch adds support for default domain in Winbindd.
> > That is, with 'winbind use default domain = true' winbind starts to
> > accept both users with and without domain specified as same if omitted
> > domain is default domain (one specified in 'workgroup = <DOMAIN>' option).
> >
> > By default this functionality is disabled (winbind use default domain =
> false)
> >
> > Below is sample session log (long lines wrapped with \):
> > 1. With 'winbind use default domain = true'
> >
> > $ getent passwd test
> > test:x:10302:10103:test:/home/AID/test:/bin/bash
> >
> > $ getent passwd AID+test
> > AID+test:x:10302:10103:test:/home/AID/test:/bin/bash
> >
> > $ getent group 'Domain Users'
> > Domain Users:x:10103:Administrator,Guest,TsInternetUser,NetShowServices,\
> > IUSR_KERBER,IWAM_KERBER,krbtgt,test
> >
> > $ getent group 'AID+Domain Users'
> > AID+Domain Users:x:10103:Administrator,Guest,TsInternetUser,NetShowServices,\
> > IUSR_KERBER,IWAM_KERBER,krbtgt,test
> >
> > 2. With 'winbind use default domain = false'
> >
> > $ getent passwd test
> > <EMPTY>
> >
> > $ getent passwd AID+test
> > AID+test:x:10302:10103:test:/home/AID/test:/bin/bash
> >
> > $ getent group 'Domain Users'
> > <EMPTY>
> >
> > $ getent group 'AID+Domain Users'
> > AID+Domain Users:x:10103:AID+Administrator,AID+Guest,AID+TsInternetUser,\
> > AID+NetShowServices,AID+IUSR_KERBER,AID+IWAM_KERBER,AID+krbtgt,AID+test
> >
> > Patch is against latest CVS HEAD.
> >
> > --
> > / Alexander Bokovoy
> > $ cat /proc/identity >~/.signature
> > `Senior software developer and analyst for SaM-Solutions Ltd.`
> > ---
> > Nov 21 20:58:58 alconost kernel: VFS: Busy inodes after unmount.
> > Self-destruct in 5 seconds. Have a nice day...
> >
--
/ Alexander Bokovoy
$ cat /proc/identity >~/.signature
`Senior software developer and analyst for SaM-Solutions Ltd.`
---
Nov 21 20:58:58 alconost kernel: VFS: Busy inodes after unmount.
Self-destruct in 5 seconds. Have a nice day...
More information about the samba-technical
mailing list