[Samba] Problem to enter in domain
Walmiro Muzzi
walmiro_muzzi at yahoo.com.br
Thu Jun 21 17:48:30 GMT 2007
The problem seems to be in ldap configuration...
Sorry and thank you all.
Sincerely
[]s
Walmiro Muzzi
Walmiro Muzzi escreveu:
> I am with a problem to enter the server samba+ldap that I configured.
>
> When I go in Rwindow$ XP and I try to enter the domain, I type login and
> the password of root.
>
> If I type the password certain the error is “was not possible to locate
> the uruário name”.
> If I type the password wrong the error is “imperfection of logon: name
> of unknown user or incorrect password”.
>
> I looked for regarding the error and nothing that I tried works.
>
> Please, somebody can help me?
>
> Mine smb.conf is:
>
> #======================= Global Settings =======================
>
> [global]
>
> # Change this to the workgroup/NT-domain name your Samba server will
> part of
> workgroup = HIDRAUTRONICA
>
>
> server string = %h server (Samba, Ubuntu)
>
> ; wins support = no
>
> ; wins server = w.x.y.z
>
> dns proxy = no
>
> ; name resolve order = lmhosts host wins bcast
>
> #### Networking ####
>
> ; interfaces = 127.0.0.0/8 eth0
>
> ; bind interfaces only = true
>
>
> #### Debugging/Accounting ####
>
>
> log file = /var/log/samba/log.%m
>
> max log size = 1000
>
> ; syslog only = no
>
> syslog = 0
>
> panic action = /usr/share/samba/panic-action %d
>
>
> ####### Authentication #######
>
> ; security = user
>
> encrypt passwords = true
>
> passdb backend = ldapsam:ldap://127.0.0.1
> ldap suffix = dc=hidrautronica,dc=com,dc=br
> ldap machine suffix = ou=Computadores
> ldap user suffix = ou=Usuarios
> ldap group suffix = ou=Grupos
> ldap admin dn = cn=admin,dc=hidrautronica,dc=com,dc=br
> ldap delete dn = no
> domain logons = yes
> enable privileges = yes
>
> obey pam restrictions = yes
>
> ; guest account = nobody
>
> ; unix password sync = no
>
> passwd program = /usr/bin/passwd %u
> passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
> *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
>
> ; pam password change = no
>
> ########## Domains ###########
>
> ; domain logons = yes
> ; logon path = \\%N\profiles\%U
>
> ; logon path = \\%N\%U\profile
>
> ; logon drive = H:
> ; logon home = \\%N\%U
>
> ; logon script = logon.cmd
>
> ; add user script = /usr/sbin/adduser --quiet --disabled-password
> --gecos "" %u
>
> ########## Printing ##########
>
> ; load printers = yes
>
> ; printing = bsd
> ; printcap name = /etc/printcap
>
> ; printing = cups
> ; printcap name = cups
>
> ; printer admin = @lpadmin
>
>
> ############ Misc ############
>
> ; include = /home/samba/etc/smb.conf.%m
>
> # SO_RCVBUF=8192 SO_SNDBUF=8192
> socket options = TCP_NODELAY
>
> ; message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &
>
> ; domain master = auto
>
> ; idmap uid = 10000-20000
> ; idmap gid = 10000-20000
> ; template shell = /bin/bash
>
> #======================= Share Definitions =======================
>
> ;[homes]
> ; comment = Home Directories
> ; browseable = no
>
> ; valid users = %S
>
> ; writable = no
>
> ; create mask = 0600
>
> ; directory mask = 0700
>
> ;[netlogon]
> ; comment = Network Logon Service
> ; path = /home/samba/netlogon
> ; guest ok = yes
> ; writable = no
> ; share modes = no
>
> ;[profiles]
> ; comment = Users profiles
> ; path = /home/samba/profiles
> ; guest ok = no
> ; browseable = no
> ; create mask = 0600
> ; directory mask = 0700
>
> [printers]
> comment = All Printers
> browseable = no
> path = /tmp
> printable = yes
> public = no
> writable = no
> create mode = 0700
>
> [print$]
> comment = Printer Drivers
> path = /var/lib/samba/printers
> browseable = yes
> read only = yes
> guest ok = no
>
> ; write list = root, @ntadmin
>
> ;[cdrom]
> ; comment = Samba server's CD-ROM
> ; writable = no
> ; locking = no
> ; path = /cdrom
> ; public = yes
>
> ; preexec = /bin/mount /cdrom
> ; postexec = /bin/umount /cdrom
>
>
> Thaks in advance.
>
>
> []s
> Walmiro Muzzi
>
>
>
>
>
> _______________________________________________________ Yahoo! Mail -
> Sempre a melhor opção para você! Experimente já e veja as novidades.
> http://br.yahoo.com/mailbeta/tudonovo/
_______________________________________________________
Yahoo! Mail - Sempre a melhor opção para você!
Experimente já e veja as novidades.
http://br.yahoo.com/mailbeta/tudonovo/
More information about the samba
mailing list