[Samba] net ads problem

M Azer azermina at gmail.com
Mon Jan 8 16:21:23 GMT 2007


this is my smb.conf

*smb.conf*
[global]
workgroup = CAD
netbios name = itbox
hosts allow = 192.168.1. 192.168.0. 127.
winbind separator = +
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes
winbind cache time = 10
template homedir = /home/%D/%U
template shell = /bin/bash
security = ADS
realm = CAD.TESTDOMAIN
password server = vdc2.CAD.TESTDOMAIN
encrypt passwords = yes
log file = /var/log/samba/%m.log
log level = 10
max log size= 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No
directory mask = 0700
create mask = 0700

On 1/8/07, M Azer <azermina at gmail.com> wrote:
>
> Amin,
>
> In your smb.conf make sure that "security = ADS"
>
> I used the "net ads join -Uwinadmin%'passwd' to join the domain
>
> On 1/7/07, Warren Beldad <advisory22 at gmail.com> wrote:
> >
> > you have an incorrect samba configuration. please post your smb.conf so
> > that
> > others can help you or visit samba's homepage and take a look at
> > howto's,
> > its all there on how to join ads domain.
> >
> > thanks,
> > warren
> >
> > On 1/8/07, Azher Amin <azher at niit.edu.pk> wrote:
> > >
> > > Hi,
> > >
> > > I am trying to join a server to AD domain and getting the following
> > error:
> > >
> > > [root at rev ~]# net ads join -S mnsvr.my.edu.pk -U rev
> > > Host is not configured as a member server.
> > > Invalid configuration.  Exiting....
> > > [root at rev ~]#
> > >
> > >
> > > Plz suggest, what can be the possible errors.
> > >
> > > Regards
> > > -Azher
> > >
> > > --
> > > This message has been scanned for viruses and
> > > dangerous content by MailScanner, and is
> > > believed to be clean.
> > >
> > > --
> > > To unsubscribe from this list go to the following URL and read the
> > > instructions:  https://lists.samba.org/mailman/listinfo/samba
> > >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  https://lists.samba.org/mailman/listinfo/samba
> >
>
>


More information about the samba mailing list