Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I am working on a samba server which I setup as PDC on my network. I can join all my XP pro on the domain, I can access to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    4

    Samba server


    Hi,
    I am working on a samba server which I setup as PDC on my network. I can join all my XP pro on the domain, I can access to shared docs on samba server using login and passwd. My problem is that I can't login session to the domain but it seems to recognize credentials but the system shutdown automaticaly with blue screen. It seems to block while preparing account settings.
    Here is my smb config:
    Code:
    [global]
     workgroup = ub
     netbios name = serveurweb
     security= user
     encrypt passwords = yes
     time server = yes
    
     # Option de connection
     socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    
     # Configuration des logs du serveur
     log file = /var/log/samba/%m.log 
    
     #option LDAP
     passdb backend = ldapsam:ldap://127.0.0.1
     ldap suffix = dc=ub,dc=edu,dc=bi
     ldap machine suffix = ou=Machines
     ldap user suffix = ou=Users
     ldap group suffix = ou=Group
     ldap admin dn = "cn=Manager,dc=ub,dc=edu,dc=bi"
    
     ldap ssl = no
     ldap passwd sync = Yes
     enable privileges = Yes
    
    
     os level = 66
     domain logons = yes
     domain master = yes
     preferred master = yes
    
     wins support = yes
     dns proxy = no 
    
     name resolve order = lmhosts wins host bcast 
    
    add user script = /usr/sbin/useradd -d /home/samba/home/%u -G Domain Users -s /bin/false -m %u 
    
    add machine script = /usr/sbin/useradd -d /dev/null -G Domain Computers -s /bin/false -m %m$ 
    
     template shell = /bin/false
     winbind use default domain = no
    
    [netlogon]
    comment = NETLOGON service
    path = /home/samba/netlogon
    locking = no
    public = no
    writable = no
    
    
    [profile]
    path = /home/samba/profiles
    read only = yes
    browsable = yes
    
    [public]
    path = /home/samba/public
    comment = Répertoire Public
    create mask = 0774
    directory mode = 0775
    force directory mode = 0775
    browsable = yes
    writable = yes
    vfs objects = recycle
    recycle:keeptree = Yes
    Could someone tell me what is going wrong with my config?
    Thank you in advance.

  2. #2
    Just Joined!
    Join Date
    Jul 2010
    Posts
    4
    Please, I need a help, i am stuck on it since more than a month!

  3. #3
    Just Joined!
    Join Date
    Jul 2010
    Posts
    4
    Hi everybody,
    I have already found that the problem is coming from LDAP because when I use :
    Code:
     passdb backend = tdbsam
    , it open normaly the session.
    Is there someone who can tell me why? I thought account already created on Ldap and smbpasswd done, I can login in domain from any PC.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •