Link: File-List

   Apologies for using nasty words but this is really true ..

    

    I have been trying hard to migrate Windows domain controller migrated to
   Samba 3.0. 5.Everything works fine as per the following link. 

   http://samba.idealx.org/smbldap-howto.fr.html#htoc9

    

   But things fail on

    

   "net  -w test -S RAHUL  -U administrator%test  rpc vampire -d 3

    

   [2000/01/04 13:10:04, 3] param/loadparm.c:lp_load(3877)

     lp_load: refreshing parameters

   [2000/01/04 13:10:04, 3] param/loadparm.c:init_globals(1307)

    Initialising global parameters

   [2000/01/04 13:10:04, 3] param/params.c:pm_process(566)

    params.c:pm_process() - Processing configuration file
   "/etc/samba/smb.conf"

    

   [2000/01/04 13:10:04, 3] param/loadparm.c:do_section(3375)

    Processing section "[global]"

   [2000/01/04 13:10:04, 2] lib/interface.c:add_interface(79)

     added interface ip=192.168.1.8 bcast=192.168.1.255 nmask=255.255.255.0

   [2000/01/04 13:10:04, 3] libsmb/cliconnect.c:cli_start_connection(1373)

   Connecting to host=RAHUL

   [2000/01/04 13:10:04, 3] lib/util_sock.c:open_socket_out(735)

   Connecting to 192.168.1.9 at port 445

   Fetching DOMAIN database

   Failed to fetch domain database: NT_STATUS_ACCESS_DENIED

   [2000/01/04 13:10:04, 1] utils/net_rpc.c:run_rpc_command(141)

   rpc command function failed! (NT_STATUS_ACCESS_DENIED)

   [2000/01/04 13:10:04, 2] utils/net.c:main(792)

    return code = 1

    

    

   Interesting thing is that NT server Manager shows the PC after joining as
   Computer not as Backup Domain Controller.

    

   You guys are the master please figure this out.

    

   Regards,

   Sumit

    

   smb. conf

   -------------

   workgroup = test

   netbios name =DC

   security = domain

   admin users= @"Domain Admins"

   encrypt passwords = yes

   min passwd length = 8

   obey pam restrictions = No

    

   ldap passwd sync = Yes

   local master = no

   os level = 32

   domain master = yes

   preferred master = no

    

   passdb backend = ldapsam:ldap://127.0.0.1/

     # ldap admin dn=cn=samba,ou=DSA,dc=dataarmor,dc=net

      ldap admin dn= cn=Manager,dc=dataarmor,dc=net

      ldap suffix = dc=dataarmor,dc=net

      ldap group suffix = ou= Groups

      ldap user suffix = ou=Users

      ldap machine suffix = ou= Users

      ldap idmap suffix = ou=Users

      ldap ssl = no

    

   #  ldap filter = (&(objectclass=sambaSamAccount)(uid=%u))

     add user script = /usr/local/sbin/smbldap-useradd -m "%u"

     ldap delete dn = Yes

    

     delete user script = /usr/local/sbin/smbldap-userdel "%u"

     add machine script = /usr/local/sbin/smbldap-useradd -w "%u"

     add group script = /usr/local/sbin/smbldap-groupadd -p "%g"

    

   delete group script = /usr/local/sbin/smbldap-groupdel "%g"

    add user to group script = /usr/local/sbin/smbldap-groupmod -m "%u" "%g"

     delete user from group script = /usr/local/sbin/smbldap-groupmod -x "%u"
   "%g"

     set primary group script = /usr/local/sbin/smbldap-usermod -g "%g" "%u"

    

    wins support = yes

    

    

    

    
_______________________________________________
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to