[Samba] Login to domain.

Felipe Augusto van de Wiel felipe at paranacidade.org.br
Wed Oct 25 14:54:34 GMT 2006


On 10/09/2006 06:11 PM, Roberto Mason escreveu:
> I'm running Centos 4.2, with 3.0.23b-SerNet-RedHat as a NT 4 Domain. My
> Window XP machine logs in perfectly well to the domain. I have another
> machine running Opensuse 10.2 which I joined to the domain with no
> problems.
> 
> using opensuse, I'm unable to loging to the domain. I get the message
> xserver: login (domain\user) is disabled. On the server samba.conf the
> shell is set to template shell = /bin/bash. I rebooted both the server
> and client. Here's samba.conf and getent passwd
> 
> # Samba config file created using SWAT
> # from 0.0.0.0 (0.0.0.0)
> # Date: 2006/10/09 15:18:04
> 
> [global]
>         workgroup = MEPHISTOPHELES
>         server string = Samba Server
>         password server = 
>         passdb backend = tdbsam
>         log file = /var/log/samba/%m.log
>         max log size = 50
>         name resolve order = wins bcast host
>         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>         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
>         shutdown script = /var/lib/samba/scripts/shutdown.sh
>         abort shutdown script = /sbin/shutdown -c
>         logon script = %U
>         logon path = 
>         logon drive = z:
>         domain logons = Yes
>         os level = 70
>         preferred master = Yes
>         domain master = Yes
>         wins support = Yes
>         ldap ssl = no
>         preload = global
>         idmap uid = 10000-20000
>         idmap gid = 10000-20000
>         template shell = /bin/sh
>         cups options = raw
> 
> squid:x:31:65534:WWW-proxy squid:/var/cache/squid:/bin/false
> sshd:x:71:65:SSH daemon:/var/lib/sshd:/bin/false
> suse-ncc:x:108:110:Novell Customer Center
> User:/var/lib/YaST2/suse-ncc-fakehome:/bin/bash
> uucp:x:10:14:Unix-to-Unix CoPy system:/etc/uucp:/bin/bash
> wwwrun:x:30:8:WWW daemon apache:/var/lib/wwwrun:/bin/false
> baubba:x:1000:100:Roberto Mason:/home/baubba:/bin/bash
> MEPHISTOPHELES
> \root:*:10000:10000:root:/home/MEPHISTOPHELES/root:/bin/false
> MEPHISTOPHELES\baubba:*:10001:10000:Roberto
> Mason:/home/MEPHISTOPHELES/baubba:/bin/false
> MEPHISTOPHELES\linuxbasic:*:10002:10000:Roberto
> Mason:/home/MEPHISTOPHELES/linuxbasic:/bin/false
> MEPHISTOPHELES\jo-ann:*:10003:10000:Jo-Ann
> Mason:/home/MEPHISTOPHELES/jo-ann:/bin/false
> MEPHISTOPHELES\roberto:*:10004:10000:Roberto
> Mason:/home/MEPHISTOPHELES/roberto:/bin/false
> MEPHISTOPHELES\programmer:*:10005:10000:Roberto
> Mason:/home/MEPHISTOPHELES/programmer:/bin/false
> MEPHISTOPHELES\desrochers:*:10006:10000:Guillaume
> Desrochers:/home/MEPHISTOPHELES/desrochers:/bin/false
> baubba at opensuse:~>     
> 
> I don't see what's wrong

	Neither do I.

	Did you join the Linux machine to the domain? (net join)

	Can you provide logs? If you could increase the loglevel
and send logs with the entries while you are trying to log in,
that could help a lot.


> Thanks
> Roberto

	Kind regards,

-- 
Felipe Augusto van de Wiel <felipe at paranacidade.org.br>
Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE
http://www.paranacidade.org.br/           Phone: (+55 41 3350 3300)


More information about the samba mailing list